Busybox & memory

Denis Vlasenko vda.linux at googlemail.com
Sun Jul 1 22:15:31 UTC 2007


On Friday 29 June 2007 14:45, Alex Kums wrote:
> Thu, 21 Jun 2007 23:08:56 +0200, Denis Vlasenko <vda.linux at googlemail.com> 
> писал(а):
> 
> Hi.
> 
> >>Of course, if your particular NOMMU arch cannot share text/rodata section
> of several instances of running executables, then you have to split
> busybox to avoid having duplicate code loaded.
> 
> With 'ps' (VSZ section) I found that each instance of busybox - syslogd, 
> crond, inetd eat ~2Mb of memory. Does it mean that my arch (btw, ARM CPU 

VSZ shows total virtual memory use, without shared/private memory stats.
I use pmap (or cat /proc/PID/maps) in order to see more detailed picture.

Can you show "cat /proc/PID/maps" from your ARM box? BTW, which bbox version
is that?

> at91rm9200) doesn't support things you said, and I should split busybox 
> into small parts?

Honestly, I don't know about at91rm9200.
> 
> BTW, what about the feature 'Split busybox into standalone programs' in 
> config?

I'm not sure whether it exists/works :-/
--
vda



More information about the busybox mailing list