[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What Puts the Bloat in Mandrake 8.1



On Wed, 21 Nov 2001, guy keren wrote:

>
> On Tue, 20 Nov 2001, Shlomi Fish wrote:
>
> > > Have you checked for unnecessary servers? What were the main CPU and
> > > memory consumers?
> >
> > I don't know.
>
> as a rule, when you have slagishness problems - don't just go installing
> something else. instead, run the few tools you have on linux to diagnose
> the problem (usually 2 minutes of looking could reveal simple problems):
>
> top - to see how much free memory you have, and how much is in use, and if
>     there are pig processes with regards to CPU usage or memory usage.

shift-m to sort by memory with top. The X server may have a big ammount of
memory listed there, but this is normal. Also keep in mind that a
multi-threaded process appears there as multiple processes with exactly
the same ammount of memory. Those are all threads that share the same
memory space.

Don't forget to count out the amount of memory dedicated for "cache" and
"buffers" from what top reports as free memory. It may be better to run
'free' and look at the second line of the output ("+- buffer/cache")

Also, maybe not all of yout 256MB was recognized? As a last resort you may
need to add a boot-time parameter to the kernel (e.g append= in lilo.conf)
of MEM=255M (slightly less than 256M)

> tail -f /var/log/messages - to see if you have odd system messages.
>
> vmstat 3 - to see I/O operations (disk access, page in/out,
>          interrupts/second, context switches/second, etc). ignore
>          the 1st line of output (it is garbage) and look at the rest.
>          the '3' means 'show a line every 3 seconds'.

-- 
Tzafrir Cohen
mailto:tzafrir@technion.ac.il
http://www.technion.ac.il/~tzafrir


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il