On Wed, Aug 13, 2008 at 10:19 AM, Komяpa <[EMAIL PROTECTED]> wrote:

> > >  - APs. Old C implementation was able to run on APs. New one depends on
> > > stackless python. There's only 1 mb of flash and 1-2 mb of free ram
> > > available on most APs, which is defenetely not enough. That's why I
> think
> > > that routing core should be rewritten in C.
> >
> > You can get a stackless python binary under the 1mb limit. You just need
> to
> > strip off everything you don't need from the original distribution.
> Even if it is possible to make a distribution of stackless in 700kb (we
> need
> ~250-300 kb for ntkd itself), i think we will be out of RAM. At the moment
> my
> htop shows me that pyntk listening to dummy interface uses 7 mb of ram. And
> there are 8 on devices at all in most cases.


Python may be a bit too resource heavy at the moment, but on the other hand
ntk is an extremely new technology, and by the time it takes off you can bet
that most APs will have more than enough resources to run stackless python
and pyntk. Even now, nearly all newer APs have upwards of 4 MB flash memory
and 8 MB RAM, and those numbers are just going up. I really don't think this
will be a problem by the time ntk gains popularity.

-- 
- Mike Zink
_______________________________________________
Netsukuku mailing list
[email protected]
http://lists.dyne.org/mailman/listinfo/netsukuku

Reply via email to