From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,a2937378e89b2a99,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-06-04 14:18:33 PST Path: archiver1.google.com!newsfeed.google.com!postnews1.google.com!not-for-mail From: mpatt@bigfoot.com (Graculuss) Newsgroups: comp.unix.tru64 Subject: Discussion of Context switches. Date: 4 Jun 2001 14:18:32 -0700 Organization: http://groups.google.com/ Message-ID: <5d328ddf.0106041318.2060bba8@posting.google.com> NNTP-Posting-Host: 62.6.126.122 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 991689512 25258 127.0.0.1 (4 Jun 2001 21:18:32 GMT) X-Complaints-To: groups-support@google.com NNTP-Posting-Date: 4 Jun 2001 21:18:32 GMT Xref: archiver1.google.com comp.unix.tru64:2415 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.