Article View: news.software.nntp
Article #6438Re: Poor performance with INN and FreeBSD.
From: Karl L. Swartz
Date: Tue, 09 Apr 1996 00:00
Date: Tue, 09 Apr 1996 00:00
31 lines
2125 bytes
2125 bytes
In article <4itdar$oqh@sunrise.gv.ssi1.com>, Don Lewis <gdonl@gv.ssi1.com> wrote: >I believe the "toaster" has a non-volatile write cache for it's disks, >which would speed up file creation and deletion significantly, since >these usually involve synchronous writes to the disk on your typical >Unix local filesystem. Yes, it does, and that's certainly part of the performance boost. The other big part is that an in-core hash table for each directory is built when the directory is accessed, so adding a file to a directory with n files in it is O(1) instead of O(n). >I've heard that Suns with Prestoserve boards (which are generally >installed to optimize NFS serving) experience a similar performance >boost. Expire is reported to run really fast ;-) I hadn't thought of that before but it certainly makes sense. You can help expire with INN's fastpurge (?) feature, though, while creating a file still requires a linear search of the whole directory to make sure there isn't already a file with the desired name. The toaster's hash table addresses that problem nicely. -- Karl Swartz |INet kls@unixhub.slac.stanford.edu SLAC Computing Services | or kls@chicago.com 1-415/926-3630 |UUCP uunet!lll-winken!unixhub!kls -or- ditka!kls (SLAC and the US Dept. of Energy don't necessarily agree with my opinions.)
Technical Details
Message-ID:
<DpHI86.2Dz@unixhub.SLAC.Stanford.EDU>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!not-for-mailReferences:
<311F8C62.4BC4@pluto.njcc.com> <4go23v$8hp@fozzie.sun3.iaf.nl>Show Full Headers
Complete Article Headers
Message-ID: <DpHI86.2Dz@unixhub.SLAC.Stanford.EDU> Subject: Re: Poor performance with INN and FreeBSD. Date: Tue, 09 Apr 1996 00:00:00 +0000 From: kls@MAILBOX.SLAC.Stanford.EDU (Karl L. Swartz) References: <311F8C62.4BC4@pluto.njcc.com> <4go23v$8hp@fozzie.sun3.iaf.nl> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!not-for-mail X-Deja-AN: 146559360 Distribution: world Sender: zorch@ftp.UU.NET Organization: Stanford Linear Accelerator Center Newsgroups: comp.unix.bsd.freebsd.misc,news.admin.technical,news.software.nntp