From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d184db8c80aa0cd9 X-Google-Attributes: gidfee84,public X-Google-Thread: 10e254,d184db8c80aa0cd9 X-Google-Attributes: gid10e254,public From: rwa@cs.athabascau.ca (Ross Alexander) Subject: Re: Poor performance on news disk Date: 1995/09/18 Message-ID: <43k6v7$siu@aurora.cs.athabascau.ca>#1/1 X-Deja-AN: 110322852 distribution: inet references: <43b6jr$2vg@lugb.latrobe.edu.au> <43js9m$k2i@cliff.island.net> organization: Athabasca University newsgroups: comp.unix.osf.osf1,news.software.nntp rthomas@port.island.net (Robb Thomas) writes: >If you can, avoid using file systems that do not sort their freelist. >I know that a System V file system falls into this catagory. The >UFS file system may also be one of these very braindead file systems >as well. (does anyone know)? The OSF/1 UFS FS (really the Berkeley FFS) uses a bitmap freelist and is thus always sorted (for a suitable definition of `sorted', of course.) I've mounted OSF/1 UFS disks on little-endian 4.4BSD machines and it works fine - even the partition labels match fine. >[...] A number of Unix file systems are very braindead. So >braindead, that they don't bother to sort their FreeList during >usage. [...] These would generally be USG derived unixen. They also tend to have the 65k inode limit, which is a killer for partitions larger than about 140 MB in a news spool context. The USG filesytem is very dated and should be avoided at any cost. >[...] >Rumor: Split NEWS SPOOL vs rest of the system to seperate spindles. Hardly a rumour. Multiple spindles gives you an opportunity to have multiple outstanding I/Os and reduces the likelyhood of needing to seek on a given spindle (especially in the journaling areas like /usr/local/news and /var/log/news). Hot areas (under INN): /usr/local/news /var/log/news /var/spool/news/out.going (if you have downstream sites) /var/spool/news/over.view (if/how you're running overchan) plus the obvious traffic in the /var/spool/news/foo directories. I've got this stuff spread across three spindles (am planning to go to five) and an MFS; the load's balanced to about 20%. Giving alt.* it's own disk is a good first step. (FWIW, I usually build my news filesystems as "-b 4096 -f 512 -i 2048 -a 8 -d 2" under SunOS or BSD. Under DEC OSF/1, you're kind of stuck with -b 8192 -f 1024, which is a pretty poor default for news (and a bogus restriction.) The small block/frag values hold down internal fragmentation, and the small inode allocation quantum avoids inode starvation at the expense of burst transfer speeds.) regards, Ross -- Ross Alexander, ve6pdq -- (403) 675 6311 -- rwa@cs.athabascau.ca