* Discussion of Context switches.
@ 2001-06-04 21:18 Graculuss
2001-06-05 13:58 ` Bob Koehler
0 siblings, 1 reply; 5+ messages in thread
From: Graculuss @ 2001-06-04 21:18 UTC (permalink / raw)
Hi all,
My background is as a VMS system manager, but for the last 6 months I've
also had a couple of Tru64 systems to look after. I've been doing some
monitoring recently and have noticed that the Context switch rate seems quite
high, over 9000 sometimes. The systems are 10 CPU Alphaserver 8400's running
V4.0f, they are very quiet most of the time but occasionally we get a small
number (<10) of processes that do heavy CPU processing.
As far as I've been able to figure out from other sources context switching
occurs when switching processing between threads on CPU's, however as we seem
to have about 6 processes consuming 80-90% of a CPU each when the switch rate
goes up I don't see why the context switch rate is so high. If I'm right then
increasing the quantum value should decrease the context switch rate.
Questions:
1. Have I got the right idea about what Context switches are or am I completely
off the mark ?
2. Is a rate of 9000+ high, and is this bad?
3. Would adjusting Quantum (carefully!) be a usefull thing to do in this
situation?
4. Can you recommend anywhere to look for a decent discussion of this sort of
stuff? (I'm thinking about something like the VMS Performance & Tuning manual
in the VMS doc set).
TIA for any help.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Discussion of Context switches.
2001-06-04 21:18 Discussion of Context switches Graculuss
@ 2001-06-05 13:58 ` Bob Koehler
2001-06-08 3:44 ` Jack Patteeuw
0 siblings, 1 reply; 5+ messages in thread
From: Bob Koehler @ 2001-06-05 13:58 UTC (permalink / raw)
In article <5d328ddf.0106041318.2060bba8@posting.google.com>, mpatt@bigfoot.com (Graculuss) writes:
> Hi all,
> My background is as a VMS system manager, but for the last 6 months I've
> also had a couple of Tru64 systems to look after. I've been doing some
> monitoring recently and have noticed that the Context switch rate seems quite
> high, over 9000 sometimes. The systems are 10 CPU Alphaserver 8400's running
> V4.0f, they are very quiet most of the time but occasionally we get a small
> number (<10) of processes that do heavy CPU processing.
Context switching is generally higher on UNIX than on VMS. Fact of
life. Sorry, I don't know Tru64 internals well enough to really answer
your questions, but I think you're on the right track.
----------------------------------------------------------------------
Bob Koehler | Computer Sciences Corporation
NASA GSFC Flight Software | Federal Sector, Civil Group
| please remove ".aspm" when replying
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Discussion of Context switches.
2001-06-05 13:58 ` Bob Koehler
@ 2001-06-08 3:44 ` Jack Patteeuw
2001-06-12 14:10 ` Graculuss
0 siblings, 1 reply; 5+ messages in thread
From: Jack Patteeuw @ 2001-06-08 3:44 UTC (permalink / raw)
> Context switching is generally higher on UNIX than on VMS. Fact of
> life. Sorry, I don't know Tru64 internals well enough to really
> answer your questions, but I think you're on the right track.
Yep, Tru64 ain't VMS. Very few "knobs" to twiddle (I go back to the
days of SRPs, IRPs and LRPs). vmstat is a poor tool to try to monitor
things with. As long as you aren't swaping and you haven't hit any of
the ulimits, sit back, relax and watch the blinking lights.
One thing that drove me crazy for a long time was, there never was much
free memory. I kept worrying about it until I realized that Tru64 uses
all free memory to make more buffers !!! If you have a graphical
monitoring tool you will se that a small amount of swap will suddenly
cause Tru64 to "dump" a bunch of buffers amking a large amount of free
memory and there by stopping the swapping. If this doesn't happen you
need more physical memory.
Jack Patteeuw
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Discussion of Context switches.
2001-06-08 3:44 ` Jack Patteeuw
@ 2001-06-12 14:10 ` Graculuss
2001-06-12 17:05 ` Nick Hill
0 siblings, 1 reply; 5+ messages in thread
From: Graculuss @ 2001-06-12 14:10 UTC (permalink / raw)
Thanks to those who responded (including those who responded via
Email).
I'm not too stressed about the Context switch rates, and I think I
understand them better now.
One Question no one has answered yet is the one asking for any usefull
documentation about performance - does this mean there isn't any ?
<Snip>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Discussion of Context switches.
2001-06-12 14:10 ` Graculuss
@ 2001-06-12 17:05 ` Nick Hill
0 siblings, 0 replies; 5+ messages in thread
From: Nick Hill @ 2001-06-12 17:05 UTC (permalink / raw)
Graculuss wrote:
>
> One Question no one has answered yet is the one asking for any usefull
> documentation about performance - does this mean there isn't any ?
>
> <Snip>
Documentation can be found at:
http://www.tru64unix.compaq.com/faqs/publications/pub_page/doc_list.html
Under the various OS levels there is a System Configuration and Tuning
doc. This lists various parameters you can put in /etc/sysconfigtab for
tuning, sort of like modparams.dat. No autogen though :-(
Nikc Hill
ITD SCS Group
Rutherford Appleton Labs
UK
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-06-12 17:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-04 21:18 Discussion of Context switches Graculuss
2001-06-05 13:58 ` Bob Koehler
2001-06-08 3:44 ` Jack Patteeuw
2001-06-12 14:10 ` Graculuss
2001-06-12 17:05 ` Nick Hill
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox