humpty
Group: Members
Posts: 655
Joined: Sep. 2005 |
|
Posted: May 20 2006,18:39 |
|
2nd write is defintely faster. (but why would i do that?) it's the 1st write i'm interested in, cos i have large files to get from one disk to another. typically 300 to 700mb (and i only want to copy them once).
so anyway, i just loaded up a virgin copy of dsl2.4, nothing else added, and here are the timings for 1st copies straight after each re-boot.
file 1 = 319100928 bytes 'cp'=30 secs 'dd'=15 secs XP=8 secs
file 2 = 565446002 bytes 'cp'=85 secs 'dd'=35 secs XP=15 secs
'dd' was using a 5Mb bucket size. emelFM standard copy has the same time as a bash 'cp' command. XP using the windows explorer.
i didn't really want to compare this with windoze, but i'm curious to what the trick is. windoze is nearer to the 40 mbyte/sec performance i expect between two seperate HDs, they both run at dma100 and was checked with hdparm (udma5).
obviously the cp performance on linux got worse for the larger file. there was a lot of disk thrashing, maybe the caching? maybe too small a bucket? maybe some other background task?, though i made sure nothing else was going on.
|