Hammer performance

2008-07-07 Thread Michael Neumann
Hi, Just compared writing a 1 GB large file with Hammer and got: dragnas# dd if=/dev/zero of=test count=200 200+0 records in 200+0 records out 102400 bytes transferred in 26.880290 secs (38094827 bytes/sec) When I do the same (on the same hard disk) with UFS, I get

Re: Hammer performance

2008-07-07 Thread Michael Neumann
Michael Neumann wrote: Hi, Just compared writing a 1 GB large file with Hammer and got: dragnas# dd if=/dev/zero of=test count=200 200+0 records in 200+0 records out 102400 bytes transferred in 26.880290 secs (38094827 bytes/sec) When I do the same (on the same hard

Re: Hammer performance

2008-07-07 Thread Jasse Jansson
On Jul 7, 2008, at 11:20 AM, Michael Neumann wrote: Hi, Just compared writing a 1 GB large file with Hammer and got: dragnas# dd if=/dev/zero of=test count=200 200+0 records in 200+0 records out 102400 bytes transferred in 26.880290 secs (38094827 bytes/sec) When I

Re: Hammer performance

2008-07-07 Thread Matthew Dillon
: :Abother strange thing occurs if I dd directly to the device: : : dd if=/dev/zero of=/dev/ad4s1d count=2 : 2+0 records in : 2+0 records out : 1024 bytes transferred in 7.361097 secs (1391097 bytes/sec) : :Here I only get around 1.4 MB/sec. Shouldn't that me a much higer

Re: Hammer performance

2008-07-07 Thread Cédric Berger
Jasse Jansson wrote: Doesn't this use of the dd command create a sparse file ??? This is something I wanted to ask for quite some time: does hammer support sparse files? if I create an empty file, seek to 1M, and write one byte of data, will it waste 1M worth of real disk space or not? How

Re: Hammer performance

2008-07-07 Thread Michael Neumann
Matthew Dillon wrote: : :Abother strange thing occurs if I dd directly to the device: : : dd if=/dev/zero of=/dev/ad4s1d count=2 : 2+0 records in : 2+0 records out : 1024 bytes transferred in 7.361097 secs (1391097 bytes/sec) : :Here I only get around 1.4 MB/sec.

Re: Hammer performance

2008-07-07 Thread Matthew Dillon
:Jasse Jansson wrote: : : Doesn't this use of the dd command create a sparse file ??? : :This is something I wanted to ask for quite some time: does hammer :support sparse files? Yes. :if I create an empty file, seek to 1M, and write one byte of data, :will it waste 1M worth of real disk