|From:||"Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>|
|Date:||Mon, 02 Jul 2007 23:52:06 +0200|
So the only real issue are the network protocol threads, because they manage data structures used by random processes in the system. We would need to change the network mux from a mask to a lookup table.
I've noticed some other issues with 31-cpu mode, primarily the fact that we don't really need 31 TCP protocol threads and we certainly do not need to replicate the route table 31 times. I gotta say though, the fact that those things actually WORK properly even when replicated so many times is a great validation of the implementation!
I'm not going to worry about it at the moment. The number of network protocol threads are easy to restrict, the mux is just a mask (1, 2, 4, 8) and could be made a modulo. The route table is more of an issue since the routing infrastructure currently assumes each cpu has its own, but it should be possible to use a mux on that too or at least restrict it to the cpu's the network protocol threads are on.
-- Serve - BSD +++ RENT this banner advert +++ ASCII Ribbon /"\ Work - Mac +++ space for low €€€ NOW!1 +++ Campaign \ / Party Enjoy Relax | http://dragonflybsd.org Against HTML \ Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \
Description: OpenPGP digital signature