Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-performance
Navigation:
Lists: gentoo-performance: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-performance@g.o
From: Joost Roeleveld <joost@...>
Subject: Re: Horrible performance
Date: Thu, 26 Aug 2010 11:10:27 +0200
On Thursday 26 August 2010 01:06:59 Alex Schuster wrote:
> J. Roeleveld writes:
> > Can you post the result of: "ps axu"?
> > This will give an indication which processes are running and using a
> > lot of memory.
> 
> The fifth colums gives the memory, right? Should this add up to the total
> of the 'used' column in free -m?
> 
> Because it does not:
> 
> wonko@weird ~ $ free -m
>              total       used       free     shared    buffers     cached
> Mem:          3452       3117        334          0         39        279
> -/+ buffers/cache:       2798        653
> Swap:         4094       1472       2622
> 
> wonko@weird ~ $ total=0; for rss in $( ps aux | grep -v USER | awk '{print
> $6}' ); do (( total += rss )); done; echo $(( total / 1024 ))
> 1984
> 
> So, I get a sum of around 2 G with ps, while free -m shows 4.5 G. Whoops?
> Am I missing something here, or does it look like lots of RAM is not being
> freed?
> 
> 	Wonko

Don't forget the buffers/cache.
The 2.5G you're missing is what is used in the buffers/cache line.

At least, that is how I see it.
Also, I generally look at the percentages used for the memory to find the 
memory-hogs.

And your tv-viewer (java) is using quite a bit as well.
Maybe someone with more experience with tv-viewer apps can take a look and 
maybe give a few pointers? 

--
Joost


References:
Hello? Thump-thump?
-- Alex Schuster
Re: Horrible performance
-- J. Roeleveld
Re: Horrible performance
-- Alex Schuster
Navigation:
Lists: gentoo-performance: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Horrible performance
Next by thread:
Re: Horrible performance
Previous by date:
Re: Horrible performance
Next by date:
Re: Horrible performance


Updated Aug 26, 2010

Summary: Archive of the gentoo-performance mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.