tech-kern archive

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

Re: multiprocessor routing problem



On Wed 07 Apr 2010 at 10:15:27 AM +0000, Andrew Doran wrote:
>On Sat, Apr 03, 2010 at 11:12:33AM -0400, Thor Lancelot Simon wrote:
>> On Sat, Apr 03, 2010 at 09:31:21AM +0200, pif.paf.puf%volny.cz@localhost 
>> wrote:
>> >
>> > when I killed all routing daemons and write all routes as static,
>> > problem continue.
>> 
>> No surprise there.  Only one processor at a time can run in the NetBSD
>> network stack -- for now.
>
>We do have one completely multithreaded protocol - Unix IPC.  TCP/IP
>is of course single-threaded.
>
>If your processors have other work do do, like working on received data
>streams it can work very well as is.  Consider a machine acting as a 
>database server, or doing audio/video processing.  If all you're doing
>is routing packets, the system won't really take advantage of additional
>processors.
>

Perhaps 8 virtual machines will get some more net performance out
of the box?


Home | Main Index | Thread Index | Old Index