Hi Martin,
Thank you so much for the information! It helps a lot.
Best,
-Zheng
Martin Casado wrote:
First I have one question about the NOX thread model. Based on my
understanding, there are three pollables added in the poll_loop:
conn, event_dispatcher and timer_dispatcher. Then the poll_loop is
initiated with 8 threads. Does this mean that each pollable can have
more than one thread running for it? In other words, if there are a
lot of events posted, will there be multiple threads spawned to
handle them in parallel?
The system uses cooperative threading so while there is a thread pool,
the system will only spawn multiple threads if the current thread
releases control (e.g. by writing to storage). In that case, yes, you
may have multiple threads for a given pollable. However, there is no
preemption.
Second, I was wondering is there an application that parses policy
files written in Pol-Eth(shown in the Ethane paper), and can be
accessed by other applications like routing to decide whether to
allow a flow? I have seen that there is the authenticator
application, but I have not been able to find the code to handle
Pol-Eth yet.
We did release a version of Pol-Eth (called sepl) in versions of nox
prior to 0.5 (e.g. 0.4). However, we found it difficult to maintain
and only two groups were using it so we pulled it out. If you're
interested, you can download older versions from
(http://noxrepo.org/wp/?page_id=15).
.martin
Thanks a lot,
-Zheng
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org