Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Sep 2004 23:42:38 +0200
From:      Frode Nordahl <frode@nordahl.net>
To:        Mauro Triulzi <triulzi@freesurf.ch>
Cc:        freebsd-current@freebsd.org
Subject:   Re: ATA disk performance (ICH2 controller), some tests and comparison with Linux 2.6.5
Message-ID:  <D1DAFE66-0F3B-11D9-9DBA-000A95A9A574@nordahl.net>
In-Reply-To: <4155DC3F.5070904@freesurf.ch>
References:  <4155DC3F.5070904@freesurf.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sep 25, 2004, at 22:59, Mauro Triulzi wrote:
> b) Now the same under Linux (kernel 2.6.5)
>
> Write performance
>
> linux:/usr # date && dd if=/dev/zero of=deleteme.now count=1000000 && 
> date
> Sat Sep 25 21:38:30 CEST 2004
> 1000000+0 records in
> 1000000+0 records out
> Sat Sep 25 21:38:35 CEST 2004
>
> deleteme.now is about 488 MB, rate about 100 MB/sec!!

I'm pretty sure you have more than 488 MB memory, so the data will 
never actually be written to disk during this test. You should write a 
file at least twice the size of your memory, and rerun it three times 
to get any good results, running sync immedialtely after the dd will 
not hurt neither.

In general, your test is obviously run on a disk in a multiboot 
situation, this will not work. As FreeBSD and Linux will be put on 
different parts of the disk which has different characteristics when it 
comes to available performance.

Mvh,
Frode Nordahl



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D1DAFE66-0F3B-11D9-9DBA-000A95A9A574>