LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-25-2011, 01:26 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,873

Rep: Reputation: 55
Average transfer rate between one hdd and another hdd.


I have to copy a hugh file from one dir to another one, both being on the same (hard) disk. How could I estimate the average transfer rate between one disk and the other?

I could, if I knew how to find out the access times of each of them. 'hdparm -I' does not say anything. Possibly only the manufacturer knows. Also, the mechanism involved has to be DMA, so
disk_0 -> RAM -> disk_1.

RAM times being negligible here, and the CPU not being envolved, I only must do Estimate= access_time_0 + access_time_1.

Is this correct?
 
Old 06-25-2011, 04:50 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Quote:
Originally Posted by stf92 View Post
I have to copy a hugh file from one dir to another one, both being on the same (hard) disk. How could I estimate the average transfer rate between one disk and the other?

I could, if I knew how to find out the access times of each of them. 'hdparm -I' does not say anything. Possibly only the manufacturer knows. Also, the mechanism involved has to be DMA, so
disk_0 -> RAM -> disk_1.
IIUC, you say that both directories are on the same disk and then say the transfer is from disk to disk ... ?

Either way you could test it which would be more valid than calculating.
 
Old 06-25-2011, 02:55 PM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,873

Original Poster
Rep: Reputation: 55
You're right, I can use dd, which gives transfer rate at stdout. Thanks.

PS: In fact the transfer is between different FSs so, I cannot use move, which wwould be ideal for me.

Last edited by stf92; 06-25-2011 at 03:13 PM.
 
Old 06-25-2011, 03:40 PM   #4
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,873

Original Poster
Rep: Reputation: 55
You're right, I can use dd, which gives transfer rate at stdout. Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow USB transfer rates (60kb p/s) External HDD --> Internal HDD drfrostbyte Linux - Hardware 4 03-28-2011 01:20 AM
[SOLVED] Transfer from IDE hdd to SATA hdd ? MBA Whore Linux - Hardware 3 01-25-2010 11:44 AM
hdd transfer speed ocueed Linux - Laptop and Netbook 1 05-05-2008 09:43 AM
Ubuntu HDD transfer phantom_cyph Linux - General 2 03-16-2007 06:00 PM
Transfer SuSE 9.2 to New HDD deepgrewal SUSE / openSUSE 8 03-08-2007 08:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration