Re: [PATCH] Split futex global spinlock futex_lock

From: Ulrich Drepper
Date: Mon Sep 15 2003 - 23:51:03 EST


Rusty Russell wrote:

> Uli, can we ask you for benchmarks with this change, too?

After these changes the code still works but I couldn't really measure
any differences to the code without the extra attributes. This is on a
4p machine with 10 processes running in concurrently using mutexes and
condvars with 250 threads each. This might be because either the hash
function is good or very bad (i.e., hashes all futexes in the same
bucket or far away). I guess the extra attributes don't hurt.

--
--------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at redhat.com `---------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/