Re: Bug 7596 - Potential performance bottleneck for Linxu TCP

2006-12-19 Thread David Miller
From: Stephen Hemminger <[EMAIL PROTECTED]> Date: Tue, 19 Dec 2006 21:11:24 -0800 > It was the realtime/normal comments that piqued my interest. > Perhaps we should either tweak process priority or remove > the comments. I mentioned that to Linus once and he said the entire idea was bogus. With

Re: Bug 7596 - Potential performance bottleneck for Linxu TCP

2006-12-19 Thread Stephen Hemminger
On Tue, 19 Dec 2006 18:55:25 -0800 (PST) David Miller <[EMAIL PROTECTED]> wrote: > From: Herbert Xu <[EMAIL PROTECTED]> > Date: Wed, 20 Dec 2006 10:52:19 +1100 > > > Stephen Hemminger <[EMAIL PROTECTED]> wrote: > > > I noticed this bit of discussion in tcp_recvmsg. It implies that a better > > >

Re: Bug 7596 - Potential performance bottleneck for Linxu TCP

2006-12-19 Thread David Miller
From: Herbert Xu <[EMAIL PROTECTED]> Date: Wed, 20 Dec 2006 10:52:19 +1100 > Stephen Hemminger <[EMAIL PROTECTED]> wrote: > > I noticed this bit of discussion in tcp_recvmsg. It implies that a better > > queuing policy would be good. But it is confusing English (Alexey?) so > > not sure where to s

Re: Bug 7596 - Potential performance bottleneck for Linxu TCP

2006-12-19 Thread Herbert Xu
Stephen Hemminger <[EMAIL PROTECTED]> wrote: > I noticed this bit of discussion in tcp_recvmsg. It implies that a better > queuing policy would be good. But it is confusing English (Alexey?) so > not sure where to start. Actually I think the comment says that the current code isn't the most elegan

Re: Bug 7596 - Potential performance bottleneck for Linxu TCP

2006-12-19 Thread Stephen Hemminger
I noticed this bit of discussion in tcp_recvmsg. It implies that a better queuing policy would be good. But it is confusing English (Alexey?) so not sure where to start. > if (!sysctl_tcp_low_latency && tp->ucopy.task == user_recv) { > /* Install new reader */

Re: Bug 7596 - Potential performance bottleneck for Linxu TCP

2006-11-29 Thread Ingo Molnar
* Andrew Morton <[EMAIL PROTECTED]> wrote: > > Attached is the detailed description of the problem and one possible > > solution. > > Thanks. The attachment will be too large for the mailing-list servers > so I uploaded a copy to > http://userweb.kernel.org/~akpm/Linux-TCP-Bottleneck-Analysi

Re: Bug 7596 - Potential performance bottleneck for Linxu TCP

2006-11-29 Thread David Miller
The delays dealt with in your paper might actually help a highly loaded server with lots of sockets and threads trying to communicate. The packet processing delays caused by the scheduling delay paces the TCP sender by controlling the rate at which ACKs go back to that sender. Those ACKs will go

Re: Bug 7596 - Potential performance bottleneck for Linxu TCP

2006-11-29 Thread Andrew Morton
On Wed, 29 Nov 2006 17:22:10 -0600 Wenji Wu <[EMAIL PROTECTED]> wrote: > From: Wenji Wu <[EMAIL PROTECTED]> > > Greetings, > > For Linux TCP, when the network applcaiton make system call to move data > from > socket's receive buffer to user space by calling tcp_recvmsg(). The socket > will > be