On Thu, Jan 18, 2001 at 11:52:33AM -0800, Linus Torvalds wrote: > On Thu, 18 Jan 2001, Ingo Molnar wrote: > > > > i believe a network-conscious application should use MSG_MORE - that has > > no system-call overhead. > > I think Andrea was thinking more of the case of the anonymous IO > generator, and having the "controller" program thgat keeps the socket > always in CORK mode, but uses SIOCPUSH when it doesn't know what teh > future access patterns will be. Yes. Your one is an example where TCP_CORK is necessary to make sure not to send small packets and where instead MSG_MORE can't help. > Basically, it could use SIOCPUSH whenever its request queue is empty, > instead of uncorking (and re-corking when the next request comes in). Exactly. Andrea - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: [Fwd: [Fwd: Is sendfile all that sexy? (fwd)]] Zach Brown
- Re: [Fwd: [Fwd: Is sendfile all that sexy? (fwd)]] dean gaudet
- Re: [Fwd: [Fwd: Is sendfile all that sexy? (fwd)]] David Ford
- Re: [Fwd: [Fwd: Is sendfile all that sexy? (fwd)]] Rick Jones
- Re: [Fwd: [Fwd: Is sendfile all that sexy? (fwd)]] Linus Torvalds
- Re: [Fwd: [Fwd: Is sendfile all that sexy? (fwd)]] Andrea Arcangeli
- Re: [Fwd: [Fwd: Is sendfile all that sexy? (fwd)]] Ingo Molnar
- Re: [Fwd: [Fwd: Is sendfile all that sexy? (fwd)]] Linus Torvalds
- Re: [Fwd: [Fwd: Is sendfile all that sexy? (fwd)]] kuznet
- Re: [Fwd: [Fwd: Is sendfile all that sexy? (fwd)]] Ingo Molnar
- Re: [Fwd: [Fwd: Is sendfile all that sexy? (fwd)]] Andrea Arcangeli
- Re: [Fwd: [Fwd: Is sendfile all that sexy? (fwd)]] Andrea Arcangeli
- Re: [Fwd: [Fwd: Is sendfile all that sexy? (fwd)]] kuznet
- Re: [Fwd: [Fwd: Is sendfile all that sexy? (fwd)]] Andrea Arcangeli
- Re: [Fwd: [Fwd: Is sendfile all that sexy? (fwd)]] Olivier Galibert
- Re: [Fwd: [Fwd: Is sendfile all that sexy? (fwd)]] Rick Jones
- Re: [Fwd: [Fwd: Is sendfile all that sexy? (fwd)]] kuznet
- Re: [Fwd: [Fwd: Is sendfile all that sexy? (fwd)]] Andrea Arcangeli
- Re: [Fwd: [Fwd: Is sendfile all that sexy? (fwd)]] Ingo Molnar
- Re: [Fwd: [Fwd: Is sendfile all that sexy? (fwd)]] Andrea Arcangeli
- Re: [Fwd: [Fwd: Is sendfile all that sexy? (fwd)]] Ingo Molnar