Re: Home LAN performance
Carl Karsten <[email protected]>
| Newsgroups | gmane.org.user-groups.luni.tech |
|---|---|
| Message-ID | <[email protected]> |
for these kind of tests I use rsync and iotop $ rsync -P chipy-1.dv /tmp chipy-1.dv 127172608 11% 8.32MB/s 0:01:56 $ iotop Total DISK READ: 78.03 M/s | Total DISK WRITE: 90.26 M/s TID PRIO USER DISK READ DISK WRITE SWAPIN IO> COMMAND 2076 be/3 root 0.00 B/s 15.69 K/s 0.00 % 80.82 % [jbd2/sdc1-8] 3356 be/4 juser 78.03 M/s 0.00 B/s 0.00 % 37.35 % rsync -rtvP /media/pycon26thurs/pyohio/pyohio_2010 . 3359 be/4 root 0.00 B/s 7.64 M/s 0.00 % 31.57 % [flush-8:32] 3358 be/4 juser 0.00 B/s 77.70 M/s 0.00 % 0.00 % rsync -rtvP /media/pycon26thurs/pyohio/pyohio_2010 . iotop numbers flutter a bit - I am moving 5gig files around, and the 78 read is pretty stable, but the write number swings from 0 to 92, watching it for 10 or so swings makes me think it might be averaging 80, or prolly 78 given that's all that is being read. The target drive is a 5400 rpm stata: http://www.microcenter.com/single_product_results.phtml?product_id=0349903 The source is an external esata: [ 48.559446] scsi 0:0:0:0: Direct-Access ATA Seagate FreeAgen 4115 PQ: 0 ANSI: 5 [ 48.559598] sd 0:0:0:0: Attached scsi generic sg2 type 0 [ 48.559683] sd 0:0:0:0: [sdb] 2930277168 512-byte logical blocks: (1.50 TB/1.36 TiB) On Sat, Feb 26, 2011 at 12:01 PM, Jay Strauss <[email protected]> wrote: > Is this a meaningful test of the USB performance? > I copied a big file to the dd-wrt. Then I read it and wrote it > root@myrouter new $ ls -lah big.file > -rwxr----- 1 nobody 65534 469.8M Sep 5 23:33 big.file > root@myrouter new $ time dd if=/mnt/share/new/big.file of=/dev/null > 962103+1 records in > 962103+1 records out > real 0m 16.02s > user 0m 1.53s > sys 0m 9.53s > 470MB / 16s = 29.375 MB/s > Is this meaningful of the max the router can read? > I also did: > root@myrouter new $ time cp big.file big.file.2 > real 0m 39.77s > user 0m 0.19s > sys 0m 14.28s > Which seems consistent that it can read and write at about the same speeds. > > Thanks > Jay > > > -- > Linux Users Of Northern Illinois (Chicago) - Technical Discussion > http://luni.org/mailman/listinfo/luni > > -- Carl K -- Linux Users Of Northern Illinois (Chicago) - Technical Discussion http://luni.org/mailman/listinfo/luni