Almost 50% less free memory in joyride-2302 compared with Update.1 (708)
James Cameron
quozl at laptop.org
Sat Aug 23 07:31:30 EDT 2008
On Sat, Aug 23, 2008 at 12:01:07PM +0200, Marco Pesenti Gritti wrote:
> On Fri, Aug 22, 2008 at 1:47 PM, James Cameron <quozl at laptop.org> wrote:
> > I also tried using ps_mem.py to compare memory used by processes, but
> > the method that ps_mem.py uses has changed as a result of kernel change.
> >
> > http://dev.laptop.org/~quozl/2008-08-22-ps-mem/ has the samples that I
> > took, showing how they are difficult to compare.
>
> How they are difficult to compare?
They are difficult to compare *because* of the different method by which
ps_mem accounts for shared memory. Every process was changed in some
way, but when you realise that the cause included a different accounting
method, you see how difficult they are to compare.
Take for instance the "cat" process, which should not have changed
unduly from 703 to 2311. In the ps_mem of 703 the RAM used estimate is
464 KiB, but in 2311 it is 100 KiB. While it looks great, it doesn't
match other evidence. The change is mainly due to the different
accounting for shared memory. The private memory changed from 72 KiB in
build 703 to 76 KiB in build 2311.
> Btw it's a shame that the python processes are grouped all together. I
> wonder if we can fix ps_mem to show them separately, with the full
> command.
I agree.
--
James Cameron mailto:quozl at us.netrek.org http://quozl.netrek.org/
More information about the Devel
mailing list