BusyBox dynamic linked on uClibc for init? [resources usage] (fwd)

Rich Felker dalias at aerifal.cx
Fri May 13 11:15:40 UTC 2011


On Fri, May 13, 2011 at 11:48:40AM +0200, Denys Vlasenko wrote:
> On Friday 13 May 2011 06:00, Rich Felker wrote:
> > On Fri, May 13, 2011 at 03:45:06AM +0200, Denys Vlasenko wrote:
> > > IOW: static i686 build, running on 64-bit kernel, consumes 46 mb of RAM
> > > per 1000 busybox sleep processes, or 46 kbytes per process.
> > 
> > This is pretty good, but in theory it could be as low as 8k per
> > process (1 page data and 1 page stack). I wonder if there's a good way
> > to get the number of dirty pages in BB down closer to 2, at least when
> > trivial apps are run...
> 
> It is already down to 3 pages in userspace. (You need to build uclibc
> carefully - with right options - to reach that, though...)

Yes, I was just counting userspace. I suppose your measurement counted
kernel too.. Sorry.

Rich


More information about the busybox mailing list