Date: Sun, 29 Apr 2001 00:50:08 -0300 (BRST) From: Rik van Riel <riel@conectiva.com.br> To: Bruce Evans <bde@zeta.org.au> Cc: Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>, freebsd-current@FreeBSD.ORG Subject: Re: Experiences with new dir allocation on FFS? Message-ID: <Pine.LNX.4.21.0104290047430.19012-100000@imladris.rielhome.conectiva> In-Reply-To: <Pine.BSF.4.21.0104281418120.7618-100000@besplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 28 Apr 2001, Bruce Evans wrote: > On Fri, 27 Apr 2001, Cejka Rudolf wrote: > > > Right now, I have upgraded my -current machine from > > February 13 to April 26. > > > > I were pleased with change to dir allocation in FFS, > > but here are my unpleasant test results (UDMA33, partition > > is 3 GB where 1 GB is free, soft-updates are enabled): > > ... > > rm -r is much faster, but tar xvfz is much slower. > > This is probably caused by write caching now being off by default > in the ata driver, possibly amplified by not using soft updates. > Without the new dir allocation, -current would be even slower :(. > This is also probably caused by write caching not being done. For the people wanting to turn on write caching ... it WILL break the write ordering needed by softupdates and journaling filesystems, so don't do it unless you know what you're doing. I guess it would be better to do this kind of write caching at the kernel level, because the OS has a much better idea of when to write which data to platter than a harddisk can ever have. OTOH, note that switching off write caching on some drive doesn't actually work because the manufacturers would rather do well on some PC mag benchmarks than store your data reliably ... regards, Rik -- Virtual memory is like a game you can't win; However, without VM there's truly nothing to lose... http://www.surriel.com/ http://distro.conectiva.com/ Send all your spam to aardvark@nl.linux.org (spam digging piggy) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0104290047430.19012-100000>