Qi-Hardware Nanonote group purchase?

Joshua Judson Rosen rozzin at geekspace.com
Sun Sep 5 22:12:59 EDT 2010


Benjamin Scott <dragonhawk at gmail.com> writes:
>
> On Sun, Sep 5, 2010 at 10:45 AM, Tom Buskey <tom at buskey.name> wrote:
> > >    RAM may or may not be a problem.  It's got 32 MB, which is more
> > > than anything Project Athena had at first, but software seems to take
> > > up more and more memory as times goes on.  Maybe swapping to flash?
> >
> > My 1st linux box was a 486 w/ 16MB ram and ran X just fine.   I think
> > it could w/ just 8MB.  More was better of course.
> 
>   Yah, and these days the kernel takes up more than that.  On my
> desktop here, vmlinux is 2.2 MB, initrd is 8.4 MB, and those are both
> compressed.  X reports a resident size of 40 MB, although how much of
> that (if any) might actually be video card RAM I dunno.

I bet none of it is video-card RAM; a significant (not necessarily
majority, but significant) portion of the RAM `used by X', though,
is shared libraries that are also used by other processes--and those
are basically `gratis' since you'd be using them regardless.

You need to pick over it with something like memstat; on my laptop,
for example, the top allocations associated with an Xorg process
(hosting an xterm) are, as per mstat:

       9404k: PID  6649 (/usr/bin/Xorg)
       4401k: /usr/lib/dri/i915_dri.so 6649
       3364k: /lib/libc-2.7.so 1 1226 2874 2892 2930 3297 3312 3331 3347 3365 3366 3402 3511 3544 3550 3947 3970 4031 4054 4056 4112 4226 4243 4260 4261 4318 4320 4321 4344 4374 4376 4388 4402 4547 4560 4595 4621 4804 4805 4806 4807 4808 4955 5144 5151 5243 6561 6598 6648 6649 6655 6656 6683
       2584k: /usr/lib/xorg/modules/libpcidata.so 6649
       2564k: /lib/libm-2.7.so 3511 3947 3970 4056 4112 4226 4260 4388 4955 6649
       2552k: /usr/lib/libfreetype.so.6.3.18 4226 6649 6655
       2436k: /usr/lib/xorg/modules/extensions/libglx.so 6649
       2432k: /usr/lib/xorg/modules/drivers/intel_drv.so 6649
       2428k: /usr/lib/xorg/modules/libxaa.so 6649
       2300k: /usr/lib/libXfont.so.1.4.1 4226 6649
       2288k: /usr/lib/libdbus-1.so.3.4.0 3365 3366 3511 3970 4226 4243 4260 4261 4318 4320 4321 4344 4388 4402 4547 4560 5144 6649


The leading number is the amount of memory allocated privately by that item,
and the trailing numbers after shared libraries are the PIDs of all
of the processes using the shlib.

Also, bear in mind that much of the memory-allocations associated
with *X client* applications are inside the X server process....

-- 
"Don't be afraid to ask (λf.((λx.xx) (λr.f(rr))))."



More information about the gnhlug-discuss mailing list