[Cerowrt-devel] bulk packet transmission

Wes Felter wmf at felter.org
Wed Oct 15 15:49:35 EDT 2014


On 10/10/14, 7:52 PM, dpreed at reed.com wrote:
> The best approach to dealing with "locking overhead" is to stop thinking
> that if locks are good, more locking (finer grained locking) is better.
>   OS designers (and Linux designers in particular) are still putting in
> way too much locking.  I deal with this in my day job (we support
> systems with very large numbers of cpus and because of the "fine
> grained" locking obsession, the parallelized capacity is limited).   If
> you do a thoughtful design of your network code, you don't need lots of
> locking - because TCP/IP streams don't have to interact much - they are
> quite independent.   But instead OS designers spend all their time
> thinking about doing "one thing at a time".

The IX project looks like a promising step in that direction, although 
it still doesn't support sub-core granularity like Linux does.

https://www.usenix.org/conference/osdi14/technical-sessions/presentation/belay

-- 
Wes Felter
IBM Research - Austin




More information about the Cerowrt-devel mailing list