Date: Wed, 20 Jun 2007 14:35:14 -0700 From: "Maksim Yevmenkin" <maksim.yevmenkin@gmail.com> To: "Julian Elischer" <julian@elischer.org> Cc: freebsd-hackers@freebsd.org, John Polstra <jdp@polstra.com>, Nicolas Cormier <n.cormier@gmail.com> Subject: Re: in-kernel tcp server Message-ID: <bb4a86c70706201435n3aff7d07pc1139ac4272af5b6@mail.gmail.com> In-Reply-To: <467999C9.9000402@elischer.org> References: <c4630b800706180227x2f1f433dr4ef55e8623062bf1@mail.gmail.com> <467787EF.9060009@elischer.org> <46797825.10900@polstra.com> <c4630b800706201239jdf09685t1574e78493492029@mail.gmail.com> <46799032.5060009@polstra.com> <c4630b800706201350p176ddadcu6b4eb341751d94e7@mail.gmail.com> <467999C9.9000402@elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 6/20/07, Julian Elischer <julian@elischer.org> wrote: > Nicolas Cormier wrote: > > On 6/20/07, John Polstra <jdp@polstra.com> wrote: > >> Using ng_ksocket is almost the same as using the so* functions, since > >> the ksocket methods call the so* functions. But by using netgraph, you > >> get a nice management interface, too. > >> > >> For my application, I found that going through the socket layer (the so* > >> functions and/or ng_ksocket) hurt performance too much. That's why I > >> ended up bypassing them. > > > > Thanks for this precision. > > I would actually like to address the performance issues. > > is there any chance the oldest version (4.x based) might be released, > or at least it would be nice to get the code snippet that attaches to eh ng_ksocket and > reads and writes the stream.. > > I could make a TCP ECHO node that way and use it for tracking down the bottlenecks > I'm not too interested in the actual webserver itself. he can take a look at bluetooth rfcomm sockets that are implemented on top of l2cap socket and feed into netgraph :) not exactly an in-kernel tcp server, but might give some ideas. thanks, max
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bb4a86c70706201435n3aff7d07pc1139ac4272af5b6>