Re: ext3 performance inconsistencies, 2.4/2.6

From: Ulrich Drepper
Date: Tue Nov 04 2003 - 18:50:31 EST

Hash: SHA1

Linus Torvalds wrote:

> Is the TLS stuff done through an extra dynamically loaded indirection or
> something?

This has nothing to do with TLS. The code currently used got to use the
general libpthread locking code. This was, I think, the result of one
of the last changes in the locking code where the libc side wasn't
updated correctly. I've done this and this is what I see:

drepper@ht 20031104-2$ time ./u > /dev/null
real 0m1.272s
user 0m1.270s
sys 0m0.000s

drepper@ht 20031104-2$ time LD_ASSUME_KERNEL=2.4.1 ./u > /dev/null
real 0m0.316s
user 0m0.320s
sys 0m0.000s

drepper@ht 20031104-2$ time LD_LIBRARY_PATH=. ./u > /dev/null
real 0m0.207s
user 0m0.210s
sys 0m0.000s

The first is the old nptl code, the second LinuxThreads, the third the
current nptl code.

- --
- --------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at `---------------------------
Version: GnuPG v1.2.2 (GNU/Linux)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at