Article View: news.software.nntp
Article #11949Re: Overloaded newsserver (INN, Ultra1 w/Solaris 2.5.1)
From: Obi-Wan
Date: Mon, 28 Oct 1996 00:00
Date: Mon, 28 Oct 1996 00:00
43 lines
2496 bytes
2496 bytes
Ove Hansen (ohansen@cisco.com) wrote: : I've got a Sun Ultra 1 running INN 1.4unoff4 which is starting : to creak and wait for its disks most of the time: plenty of CPU : and memory left. Apart for the obvious solution, adding an : extra disk and/or controller and spreading the load to more : disks, what would people recommend? There are a lot of newsreaders : but only four incoming feeds. Anyway of tuning Solaris for more : disk buffers for example? Getting a second disk is by far the best solution to your problem. However, to answer your question, yes, Solaris can be tuned to allocate more memory to disk buffers. I've not tried it myself, so I can't comment on its effectiveness. The following info comes from a book: By default, up to 2% of RAM is used for disk buffers. You can change this by modifying the "bufhwm" kernel variable in /etc/system. For instance, adding the line: set bufhwm = 8192 would reserve 8 MB of RAM for disk buffers. Changes to /etc/system only take effect upon reboot. To monitor your disk buffer cache hit ratio, run: netstat -k | grep buffer_cache Divide "cache_hits" by "cache_lookups" to get your hit ratio. FYI, our lowly SS2 with 64 MB of RAM and the stock bufhwm has a 76% hit ratio. (That system is strapped for several resources, and we'll soon be upgrading the whole shabang.) I would think that news servers would get inherently lower hit ratios than most systems because disk access is spread all over the filesystem. Anyone care to comment on that? -- Obi-Wan -- Ben "Obi-Wan" Hollingsworth email: bvh@inetnebr.com Vice President and System Administrator voice: (402)434-8680 Internet Nebraska -- Nebraska's on-ramp to the information superhighway
Technical Details
Message-ID:
<551vln$2cj@hawk.inetnebr.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.sun.admin.mbox.zip!not-for-mailReferences:
<3270CCA7.167EB0E7@cisco.com>Show Full Headers
Complete Article Headers
Message-ID: <551vln$2cj@hawk.inetnebr.com> Subject: Re: Overloaded newsserver (INN, Ultra1 w/Solaris 2.5.1) Date: Mon, 28 Oct 1996 00:00:00 +0000 From: bvh@falcon.inetnebr.com (Obi-Wan) References: <3270CCA7.167EB0E7@cisco.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.sun.admin.mbox.zip!not-for-mail X-Deja-AN: 192678888 Distribution: inet Followup-to: comp.sys.sun.admin,news.software.nntp Organization: Internet Nebraska Newsgroups: comp.sys.sun.admin,news.software.nntp Nntp-posting-user: bvh