Article View: news.software.nntp
Article #23438Re: Buffers/Tuning and Linux
From: bill davidsen
Date: Thu, 20 Nov 1997 00:00
Date: Thu, 20 Nov 1997 00:00
97 lines
4539 bytes
4539 bytes
In article <Pine.LNX.3.96.971118220630.23327A-100000@mercury.shreve.net>, Brian <signal@shreve.net> wrote: | I was wondering if anyone knew of any buffers or tuning that can be done | to Linux to allow it to behave better as a news server. | | I am always seeing posts about admins changing various kernel limits and | buffers, to fine tune there news setups with BSD. I was wondering if | anyone knew of anything that could be done with Linux in that respect. root can write /proc/sys/kernel/file-max as well as read, but even root can't change the max files open per process (at least up). Do you really have more than 256 file/proc open at a time? I don't remember having a problem with that, but I confess I never checked. | I truely beleive that the limit of our news server is the OS. We run | Linux. I am not saying Linux can't handle it, I am just wondering tuning | can be done. I am not interested in tuning the news subsystem, I have | already tuned it nicely. The only thing I have done Linux wise for tuning | is basically "noatime", and that seems to help. I'm not sure what problem you think you have with load average, I wouldn't worry much about that as long as it is that low and you have CPU left. Of course a high load average and lots of idle is a hint at io backlog, but your LA is not unreasonable. Have you run top to see where the cpu is going? Maybe some vmstat output would be useful here. | Tyan Tomcat IV dual processor motherboard | 2 Intel 200mhz matched cpus (SMP currently disabled) Good grief, why? | 256MB ECC memory | Linux 2.0.31 (2.0.32 by tommorow) Use a little care here, I have had great luck with 2.0.32pre5, and problems with 2.0.32pre6. I've run pre5 on a number of machines, single and SMP, pentium, 486 and PPro. YMMV. | Kingston Data Silo 500 RAID chassis holds: | DPT 3334UW Bus #1 | 5x4GB /var/news/spool (RAID0, Wide, noatime) | DPT 3334UW Bus #2 | 2x2GB /var/news/spool/over.view (RAID0, Wide, noatime) | 2GB / | 2GB /var/news/etc | | 2GB drives are Seagate ST32272W Barracuda | 4GB drives are Seagate ST34572W Barracuda | SCSI buses are well within spec for a 10mhz wide chain, properly terminated Did you tune the SCSI driver to up the number of commands in the command queue? I'm not familiar with this RAID box, but if it looks like a single large drive to Linux you may find that it's being used inefficiently. I tried a Core array configured like that and it performed poorly. I upped the queue and it got better, then I reconfigured to look like four drives, used the md driver to do RAID0 in software, and it ran better yet, although only slightly. | | Kingston 100BaseT Fast Switched Ethernet | | INN-1.7 | patches: | expireover patch | Joe Greco's Timer patch | C ONeill's history cache | his_cache fix | Joe Greco cancel patch | Joe Greco cancel patch fix | socket buff increase to 32K | actived | | innfeed 0.10.1.6 | gfilter | NOCEM How hard is this beating your disk? Have you looked there? | | Perhaps someone can post some similar information about there linux news | box (mem, ps -auxw, patches, load avg, etc) so that I can | compare........or you can email it to me. BSD is probably a better OS to | be doing a news server on, but I do beleive this task can be handled by | linux, and would like to try to get this done anyways. I have seen no indication that BSD will do any better than Linux on equal hardware. I have some reservatins about the BSD stability, although I'm going to get the new OpenBSD for eval when it comes out next month. -- -bill davidsen (davidsen@tmr.com) "As a software development model, Anarchy does not scale well." -Dave Welch
Technical Details
Message-ID:
<651of0$sm2$1@newssvr03-int.news.prodigy.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<Pine.LNX.3.96.971118220630.23327A-100000@mercury.shreve.net>Show Full Headers
Complete Article Headers
Message-ID: <651of0$sm2$1@newssvr03-int.news.prodigy.com> Subject: Re: Buffers/Tuning and Linux Date: Thu, 20 Nov 1997 00:00:00 +0000 From: davidsen@tmr.com (bill davidsen) References: <Pine.LNX.3.96.971118220630.23327A-100000@mercury.shreve.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 291029240 Organization: TMR Associates, Schenectady NY Newsgroups: news.software.nntp,comp.os.linux.misc Originator: davidsen@darkstar.prodigy.com