Re: 2.2 -> 2.4: /proc/net/tcp 10x slower ?

2001-02-26 Thread Sean Hunter
The identd wot I wrote is still fast as anything on 2.4 :) As you can see from this teeny sample of my ident log, I take just a little over 1/100th of a second to respond (on average). :) 2001-02-25 16:18:35.714731500 Q [194.75.152.225] - [32907, 25] 2001-02-25 16:18:35.726085500 A [194.75.152.2

2.2 -> 2.4: /proc/net/tcp 10x slower ?

2001-02-26 Thread Sven Rudolph
Usually identd's on Linux parse /proc/net/tcp. When migrating from Linux 2.2.17 to 2.4.2 identd became much slower. I traced it back to the point where /proc/net/tcp is read. On the same slightly loaded system: 2.2.17 $ time cat /proc/net/tcp >/dev/null real0m0.004s user0m0.000s sys