From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b2d5,2102aac47ce0089f X-Google-Attributes: gid10b2d5,public X-Google-Thread: fee84,2102aac47ce0089f X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-09-14 23:09:48 PST Path: bga.com!chinacat!cs.utexas.edu!uunet!not-for-mail From: P.Smee@bris.ac.uk (PE. Smee) Newsgroups: news.admin.technical,comp.unix.osf.osf1 Subject: Re: Tunefs the /news filesystem? Date: 14 Sep 1994 20:40:46 -0400 Organization: University of Bristol Sender: zorch@ftp.UU.NET Distribution: world Message-ID: <35856e$mu7@ftp.UU.NET> References: <352be5$mpc@kenya.isu.edu> Reply-To: P.Smee@bris.ac.uk (Paul Smee) NNTP-Posting-Host: ftp.uu.net Xref: bga.com news.admin.technical:275 comp.unix.osf.osf1:3548 In article <352be5$mpc@kenya.isu.edu>, A. Andrew Brennan wrote: > I'm still set with the defaults of reserving 10% of my filesystem to su > use ... roughly 100Mb and I figure the note "up to a factor of three in > throughput will be lost [by dropping minfree to 0%]" is serious enough > that I don't want to do this lightly. Still, 100Mb could be used much > better if weren't held out as a panic-comfort zone in a 1.05Gb drive. We run the (nonstandard) 'dexpire' package to handle expires. It expires things based on relative importance of the groups to you, rather than absolute 'time the article has been here', and it expires however much stuff is necessary to leave a specified amount of free space on the disk. With that bit of technology as background, I set up dexpire to try to leave 100 Meg free (on a 1 Gig disk), and run it every 3 hours to keep things that way. (It's fairly fast, since it doesn't update history. We run normal expire with LOONG expire times once a day to catch that up. We also disable dexpire, and use only expire, on some selected groups like *.answers and news.newusers, since dexpire also doesn't honor Expires headers - which probably also speeds it up.) Since that's 10%, I tunefs'ed that filesystem, which is used ONLY by news, to have a minfree of 0%. Works fine. We get (at least) 900 Meg of articles, plus whatever percent of the notionally- free 100Meg has been taken up by new articles arriving since the last dexpire run. Prior to that, we were running about 750 Meg articles, 150 Meg 'useable free space' (freed by expire - of course, highly variable depending on what had been happening recently), and 100 Meg 'lost' (reserved) space. Now, I've still got my 'performance' 10% free, but it's free in a useful manner. -- Paul Smee, Computing Service, University of Bristol, Bristol BS8 1UD, UK P.Smee@bristol.ac.uk - Tel +44 117 928 7865 - FAX +44 117 929 1576