Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Nov 1996 22:03:13 +1100 (EDT)
From:      Darren Reed <avalon@coombs.anu.edu.au>
To:        julian@whistle.com (Julian Elischer)
Cc:        hackers@freebsd.org
Subject:   Re: "Thrashing" index
Message-ID:  <199611031103.DAA14877@freefall.freebsd.org>
In-Reply-To: <3278025C.41C67EA6@whistle.com> from "Julian Elischer" at Oct 30, 96 05:35:24 pm

next in thread | previous in thread | raw e-mail | index | archive | help
In some mail from Julian Elischer, sie said:
> 
> Does anyone have any ideas on how to describe or detirmine the 
> amount of thrashing going on on a machine?
> 
> one thing I can think of would be to count the number of processes
> sitting in 'vmwait' state, or to look at teh page-in and page-out
> numbers, but hte problem with the second approach is that
> you need to look twice separated by a time period, to detirmine if the
> system is doing a lot of work and should not be asked to do more...
> 
> basically I'm trying to make the system self limit when memory starts
> to become in short supply, in combination with a few other events.
> 
> for example.. If the cpu idle time is high, but there is not much
> memory free, and there are processes in vmwait, then it's probably
> not a good idea to launch more processes, as the system is probably
> thrashing..
> 
> another index might be to find out how long it takes to allocate an 8K
> region or similar..
> 
> but  I think I'd like to find some way that you can look at (say) 
> 3 or 4 static indeces instantly available (e.g. through /proc or sysctl)
> and munge them into a go/no-go decision for launching more work.

So how do you, as the sys admin login or if logged in do anything about it ?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611031103.DAA14877>