Big Files

Nikolas Britton nikolas.britton at gmail.com
Sun Aug 7 07:39:54 GMT 2005


> date && nice +20 cat /dev/urandom > testfile || date
06:27:43 to 12:44:06 (18919 seconds)

> ll
total 655028704
-rw-r--r--  1 nbritton  nbritton  670421843968 Aug  6 12:44 testfile

> df -h|grep mnt
/dev/da0s1d    679G    625G    2.0K   100%    /mnt

Average write speed: 670422MB / 18919 = 35.44MB/s
(Cat was CPU bound, load was 1, P4 3E GHz)

> date && cp testfile /dev/null && date
20:10:40 - 21:56:19 (6339 seconds)
Average read speed: 670422MB / 6339 = 105.76MB/s
(load was .3)

Not bad for a few SATA drives

> uname -a
FreeBSD puddlejumper.local 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #3:
Sat Aug  6 05:51:42 CDT 2005    
root at puddlejumper.local:/usr/obj/usr/src/sys/SE7210TP1E  i386


More information about the freebsd-questions mailing list