Re: ext3 performance inconsistencies, 2.4/2.6

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


-----BEGIN PGP SIGNED MESSAGE-----
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 redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/qDrM2ijCOnn/RHQRAnAyAJ48OxeRGWefxHMVImZMiuZ2YaueOwCgk+8A
9k3SC5sMLghNmlMmzKwWv/E=
=UT6g
-----END PGP SIGNATURE-----

-
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/