🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #52207

Re: expire time suddenly jumps?

#52207
From: Greg Andrews
Date: Sun, 06 May 2001 17:29
59 lines
3657 bytes
Brian Edmonds <brian@gweep.ca> writes:
>
>But, but, but, I'm not swapping.  Really.  Shouldn't it be obviously and
>consistently swapping if memory is a problem?
>
># vmstat -S 5
> procs     memory            page            disk          faults      cpu
> r b w   swap  free  si  so pi po fr de sr f0 m1 m2 s1   in   sy   cs us sy id
> 0 1 0 278364 43836   0   0 237 14 14 0  0  0 15 62  0  370  329  149  4 30 66
> 0 2 0 310728 60340   0   0 392 39 39 0  0  0 30 92  0  585  821  298  4 32 63
> 0 2 0 310728 59900   0   0 432 42 42 0  0  0 31 104 0  599  839  274  5 34 62
> 0 3 0 310728 60144   0   0 187 16 16 0  0  0 11 132 0  580  228  273  2 23 75
> 0 2 0 310728 60340   0   0 244 28 28 0  0  0 22 129 0  599  312  213  4 20 76
> (and so on with si/so pegged at zero...)
>
>I'll admit I'm not a Solaris guru, but this does mean I'm not swapping,
>right?
>

You're looking at the wrong reading.  You should be watching sr rather
than si/so to find out whether the system has to flush memory pages to
disk in order to free up the ram.  You need to watch longer than the
20 seconds you showed above.


The thing that does stand out is the number of processes blocked
on I/O (the "b" column under "procs")

I've had expires hit a knee in the curve and suddenly take much
longer because my disks had become busy.

Insufficient memory is the first thing to check, but busy disk
is also on the list.

Here's advice cribbed from the Porshe Book (Sun Performance and Tuning
by Cockroft and Pettit):

Run "iostat -x 30" and pay attention to the %b and svc_t columns for
the disks you're interested in.  Whenever the %b column is 20 or more
(disk is at least 20% busy), look at the svc_t number.  If svc_t is
higher than 30-50, then you have a disk that's probably too busy.
(svc_t is the average time read/write commands waited before they were
serviced by the disk, in milliseconds)  Consistent readings less than
30 means your disk isn't slowing the computer down, consistent readings
(or long periods of time) in the range 30-50 means the disk might be
slowing the computer down some, and consistent readings (or long bursts)
over 50 mean the disk is almost surely slowing the computer down.

This can't tell you whether the disks themselves are too busy, or the
SCSI bus is the bottleneck.  There are some guidelines about how many
busy disks a SCSI bus can support (depends on if the bus is fast, or
fast/wide, etc).

  -Greg
-- 
+++++ Greg Andrews +++ gerg@panix.com +++++
I have a map of the United States that's actual size
		 -- Steven Wright
Technical Details
Message-ID: <9d41ll$6e1$1@news.panix.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!newsfeed.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!panix!news.panix.com!not-for-mail
References: <m3hez2gxoj.fsf@yuri.aq2.gweep.ca> <m38zkddu9g.fsf@yuri.aq2.gweep.ca> <yl8zkck844.fsf@windlord.stanford.edu> <m3r8y4blxq.fsf@yuri.aq2.gweep.ca>

Show Full Headers
Complete Article Headers
Message-ID: <9d41ll$6e1$1@news.panix.com>
Subject: Re: expire time suddenly jumps?
Date: Sun, 06 May 2001 17:29:25 +0000
From: gerg@panix.com (Greg Andrews)
References: <m3hez2gxoj.fsf@yuri.aq2.gweep.ca> <m38zkddu9g.fsf@yuri.aq2.gweep.ca> <yl8zkck844.fsf@windlord.stanford.edu> <m3r8y4blxq.fsf@yuri.aq2.gweep.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!newsfeed.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!panix!news.panix.com!not-for-mail
Newsgroups: news.software.nntp
Organization: I have a map of the United States that's actual size
Lines: 58
Distribution: inet
NNTP-Posting-Host: panix6.panix.com
X-Trace: news.panix.com 989170165 6593 166.84.0.231 (6 May 2001 17:29:25 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: 6 May 2001 17:29:25 GMT
X-Newsreader: trn 4.0-test74 (May 26, 2000)
Originator: gerg@panix.com (Greg Andrews)