Re: X much slower in 2.0.24 than in 1.2.13

Kevin Buhr (buhr@stat.wisc.edu)
03 Nov 1996 16:53:32 -0600


-----BEGIN PGP SIGNED MESSAGE-----

alan@lxorguk.ukuu.org.uk (Alan Cox) writes:
|
| Interesting. These only change the size of some fields. It may be a field
| size issue. Note that you dont want to run with that sock.h patch reversed
| as it lets people crash your machine..

The 2.0.24 changes to "struct sock" in "linux/include/net/sock.h" push
its size, in my kernel, up to 0x1fc. This new size, plus the
"kmalloc"'s "block_header" is just big enough to push "struct sock"
allocations to the next allocation order.

I'm guessing this is the cause of the performance hit.

Kevin <buhr@stat.wisc.edu>

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3
Charset: noconv
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQBVAwUBMn0iZYmVIQW1OgXhAQH1BgIAogEosXScz/4JW1pg6xmDBCFI59Q98g9Z
HS8w3+6JUTXPD14xGLbyAcMI228lJ/CRjF6NfuOXiQ+kF/ayE9pyQg==
=aJRM
-----END PGP SIGNATURE-----