Thread View: news.software.nntp
3 messages
3 total messages
Started by Ove Hansen
Fri, 25 Oct 1996 00:00
Overloaded newsserver (INN, Ultra1 w/Solaris 2.5.1)
Author: Ove Hansen
Date: Fri, 25 Oct 1996 00:00
Date: Fri, 25 Oct 1996 00:00
14 lines
1138 bytes
1138 bytes
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? Thanks in advance, -- Ove Hansen
Re: Overloaded newsserver (INN, Ultra1 w/Solaris 2.5.1)
Author: 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
Re: Overloaded newsserver (INN, Ultra1 w/Solaris 2.5.1)
Author: ron nash
Date: Tue, 29 Oct 1996 00:00
Date: Tue, 29 Oct 1996 00:00
36 lines
1962 bytes
1962 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?
If you have spare RAM ( > 64MB ) you can allocate more memory for
Inode and UFS buffering. I use:
set ncsize = 20000
set ufs_ninode= 20000
set bufhwm = 15000
Place the above in /etc/system and reboot.
INN has 4 main areas of disk IO:
articles /var/spool/news
overview /var/spool/nov
active, history /opt/news
logs /var/log/news
On our server /var/spool/news is 5 striped 2.1GB disks and /var/spool/nov
is a 2.1GB disk on a fast wide SCSI controller. /opt/news and
/var/log/news are on seperate disks on a fast SCSI controller. /tmp is
a tmpfs filesystem.
--
_ ___,;;;/ | Ron Nash (nash@sdsu.edu) San Diego State University
,;( )__, )~\| |
;; // '--; | Gin-N-Tonic endurance horse
' ;\ | | Luv on Fire trusty trail horse
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads