On Mon, Apr 13, 2009 at 11:27 PM, Giuseppe Scrivano <[email protected]>wrote:
> Hi, > > Alexandru IANCU <[email protected]> writes: > > > I have problems using sendfile over SCTP :( > > > > Did you tried it already? > > I haven't tried it yet but I thought it wasn't working properly when > multiple streams are available. Which version of the linux kernel are > you using? `sendfile' itself is a recent feature, without it I > seriously doubt SCTP can reach the performance of static files sent over > TCP. I think sendfile is a great feature but, we are not replacing TCP so sendfile will be available for TCP transport. On the other hand, as I said in that paper, up until now, optimizations were made in application software like this sendfile OS feature while using this new transport we are trying to improve the performance other places: at transport layer. On the other hand this feature is marginal to our server because it's not available on windows and used just by HTTP(S). Did you measure into an real world environment how myserver's performs using sendfile vs. not using this feature? Or do you know studies that show how much gain ones can have using sendfile instead read/send? Because I think in Internet the real server's botleneck is not the processor's power but the number of connections the server(as a whole: user and kernel spaces) can handle concurrently. SCTP helps me to handle more connections concurrently. So, I'm optimistic about using SCTP even without sendfile. Anyway, I think the design of myserver is great(although it can be improved) and it'll let's us integrate both transports. Andu. > Giuseppe > >
