Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Aug 1997 16:36:44 -0700
From:      David Greenman <dg@root.com>
To:        Paul Dekkers <psd@worldaccess.nl>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: FreeBSD is slower than Linux !? 
Message-ID:  <199708132336.QAA19513@implode.root.com>
In-Reply-To: Your message of "Thu, 14 Aug 1997 00:43:04 %2B0200." <Pine.LNX.3.96.970814003604.104A-100000@gromit.nev.ml.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
>	Linux	FreeBSD
>dd	2.61	4.95	dd if=/dev/zero of=/test bs=1024 count=5000
>gzip	12.50	11.01	gzip -9 test
>gunzip	3.86	8.12
>sync	4.21	0.9	-> So it seems FreeBSD writes everything to 
>			   disk directly?! WHY? This makes FreeBSD
>			   much slower!
>unzips	4.45	41.92	decompress the sendmail distr
>compil	353.79	371.87	compile sendmail (makesendmail)
>
>Yes, I used the same (slow) disk on my i486
>But I was really surprised discovering that FreeBSD is much slower in disk
>access than Linux, so why is the filesystem called FFS (fast-filesystem?!)
>;-)
>
>But, my main question -> I think FreeBSD is that slow because it writes
>everything to disk directly, without a good cache. Why is this like it is?
>This does not make FreeBSD very attractive for me to use as a fileserver
>(nfs or samba) or e.g. a mail server.

   If you don't mind the potential for filesystem corruption, you can enable
async updates with the "async" mount option. This will give you the behavior
you desire at the risk of losing everything if the system should crash at
the wrong time.

-DG

David Greenman
Core-team/Principal Architect, The FreeBSD Project



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708132336.QAA19513>