tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Lua as a scripting language in NetBSD

On Mon, Oct 19, 2009 at 10:05:13AM -0400, der Mouse wrote:
> >>> The memory requirements are actually low, 64K RAM per state.
> >> That doesn't strike me as all that low, in the kernel.
> > I understand where you're coming from, but these days that kind of
> > overhead fits in the Unix kernel on cellphones.
> Has NetBSD lost its interest in running on old or otherwise constrained
> hardware, then?  I know lots of machines - I even own some - where 64K
> of overhead in the kernel is nontrivial.

I think the 64KB RAM is the amount for an active VM. Consider it
logically equivalent to a kernel thread. Compare that to the size of a
uarea (12KB on my system) and it is not huge. E.g. for the use as a
packet filter it can sanely be limited to one state per CPU. It still
remains an optional feature.


Home | Main Index | Thread Index | Old Index