[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Comparative timings for cp using two SDHC-USB adapters; was Re(3ish): USB adapter for SD card.



Timings for copying 1434 files from an SDHC card to a hdd and from the 
hdd to the SDHC using two different adapters follow.  A is the 
mount point for the SDHC-USB adapter.  Backup is a directory on the hdd.
File sizes range from 0 to 51.5 MiB.

AtoBackup is approximately 16 times faster using the second adapter 
compared to the first.  BackuptoA is more than three times faster using 
the second adapter compared to the first.  One USB socket was used 
for all tests.  

http://carnot.yi.org/SdhcUsbAdapters.html

Regards,                      ... Peter E.

=========================
$ grep Ato .bashrc
AtoBackup() { cp -vauf  /home/peter/A/*    /home/peter/Backup; }
$ grep toA .bashrc
BackuptoA() { cp -vauf  /home/peter/Backup/*    /home/peter/MY; }

$ # http://www.ebay.ca/itm/111153740723
$ # with 4 GB SDHC, mounted at A.
$ ls -1 A | wc -l
1434
$ du -s A
721056	A
$ Backup is a directory on the hdd.
$ rm Backup/*
$ time AtoBackup
[output omitted]
real	7m46.016s
user	0m0.196s
sys	0m2.824s
$ rm A/*
$ time BackuptoA
[output omitted]
real	8m53.698s
user	0m0.276s
sys	0m2.208s
$ ls -1 A | wc -l
1434
$ du -s A
721056	A

$ # http://www.ebay.ca/itm/231081576986
$ # with same 4 GB SDHC, mounted at A.
$ rm Backup/*
$ time AtoBackup
[output omitted]
real	0m24.459s
user	0m0.120s
sys	0m2.600s
$ ls -1 Backup | wc -l
1434
$ du -s Backup
407504	Backup
$ rm A/*
$ time BackuptoA
[output omitted]
real	2m24.244s
user	0m0.164s
sys	0m2.308s
$ ls -1 A | wc -l
1434
$ du -s A
721056	A
=========================




-- 
123456789 123456789 123456789 123456789 123456789 123456789 123456789 12
Tel +13606390202  Bcc: peasthope at shaw.ca  http://carnot.yi.org/


Reply to: