Re: [PATCH 2.6.20-rc4 1/4] futex priority based wakeup

From: Ulrich Drepper
Date: Wed Jan 10 2007 - 13:16:15 EST


Pierre Peiffer wrote:
> But there can be a performance impact when several processes use
> different futexes which have the same hash key.
> In fact, the plist contains all waiters _of_all_futexes_ having the same
> hash key, not only the waiters of a given futex. This can be more a
> problem,

s/can be/is/

There are systems with thousands of active futexes, maybe tens of
thousands. Not only is hash collision likely, it's also a matter of
using and administering the plist. We have to make futexes less
connected, not more. Now I definitely want to see real world tests first.

--
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â

Attachment: signature.asc
Description: OpenPGP digital signature