Re: [PATCH] include listenq max backlog in /proc/net/tcp and include in tcp_info

2007-09-11 Thread Eric Dumazet
Sridhar Samudrala a écrit : On Mon, 2007-09-10 at 16:13 -0700, Rick Jones wrote: Return some useful information such as the maximum listen backlog and the current listen backlog in the tcp_info structure and have that match what one can see in /proc/net/tcp and /proc/net/tcp6. If we are also

Re: [PATCH] include listenq max backlog in /proc/net/tcp and include in tcp_info

2007-09-11 Thread Eric Dumazet
Eric Dumazet a écrit : Sridhar Samudrala a écrit : On Mon, 2007-09-10 at 16:13 -0700, Rick Jones wrote: Return some useful information such as the maximum listen backlog and the current listen backlog in the tcp_info structure and have that match what one can see in /proc/net/tcp and

Re: [PATCH] include listenq max backlog in /proc/net/tcp and include in tcp_info

2007-09-11 Thread Rick Jones
Eric Dumazet wrote: Sridhar Samudrala a écrit : On Mon, 2007-09-10 at 16:13 -0700, Rick Jones wrote: Return some useful information such as the maximum listen backlog and the current listen backlog in the tcp_info structure and have that match what one can see in /proc/net/tcp and

Re: [PATCH] include listenq max backlog in /proc/net/tcp and include in tcp_info

2007-09-11 Thread Eric Dumazet
On Tue, 11 Sep 2007 10:00:21 -0700 Rick Jones [EMAIL PROTECTED] wrote: Eric Dumazet wrote: Sridhar Samudrala a écrit : On Mon, 2007-09-10 at 16:13 -0700, Rick Jones wrote: Return some useful information such as the maximum listen backlog and the current listen backlog in the

Re: [PATCH] include listenq max backlog in /proc/net/tcp and include in tcp_info

2007-09-11 Thread Rick Jones
ss command from iproute2 package ( http://linux-net.osdl.org/index.php/Iproute2 ) Problem with /proc/net/tcp is its quadratic time O(N^2) to output N lines... I could see where that might be a problem. Rick, could you add this part in your patch, and add my Sign-off-by ? My pleasure. I

Re: [PATCH] include listenq max backlog in /proc/net/tcp and include in tcp_info

2007-09-11 Thread Sridhar Samudrala
On Tue, 2007-09-11 at 10:35 -0700, Rick Jones wrote: ss command from iproute2 package ( http://linux-net.osdl.org/index.php/Iproute2 ) Problem with /proc/net/tcp is its quadratic time O(N^2) to output N lines... I could see where that might be a problem. Rick, could you add this

Re: [PATCH] include listenq max backlog in /proc/net/tcp and include in tcp_info

2007-09-11 Thread Rick Jones
BTW, what do people think about doing the same thing with the rxqueue and txqueue's of netstat output? I dont understand this question, I thought your patch already handled this (for the txqueue, since rxqueue is already there), as netstat uses /proc/net/tcp (unfortunatly) Well, it

[PATCH] include listenq max backlog in /proc/net/tcp and include in tcp_info

2007-09-10 Thread Rick Jones
Return some useful information such as the maximum listen backlog and the current listen backlog in the tcp_info structure and have that match what one can see in /proc/net/tcp and /proc/net/tcp6. Signed-off-by: Rick Jones [EMAIL PROTECTED] --- diff -r bdcdd0e1ee9d

Re: [PATCH] include listenq max backlog in /proc/net/tcp and include in tcp_info

2007-09-10 Thread Sridhar Samudrala
On Mon, 2007-09-10 at 16:13 -0700, Rick Jones wrote: Return some useful information such as the maximum listen backlog and the current listen backlog in the tcp_info structure and have that match what one can see in /proc/net/tcp and /proc/net/tcp6. If we are also exporting max listen