Re: Packet Construction and Protocol Testing...

2006-07-20 Thread gnn
At Thu, 20 Jul 2006 10:48:14 -0400 (EDT), Andrew R. Reiter wrote: > > > Aren't there already tools for doing this -- libnet / libdnet that both > have py wrappers? I looked at all those, and more, but they miss an important point. That is, in PCS you define a packet like this (from pcs/packets/

Re: Packet Construction and Protocol Testing...

2006-07-20 Thread gnn
At Thu, 20 Jul 2006 10:40:41 -0400, Chuck Swiger wrote: > This strikes me as a pretty cool thing, thank you for putting the source out > there...given a bit of free time, I'd like to at least test this, if not > contribute. [1] :-) Thanks :-) > The port is missing a dependency on net/py-pcap, B

Re: complement to sendfile()?

2006-07-20 Thread Mikhail Teterin
четвер 20 липень 2006 14:11, Jack Vogel написав: > Similar work was done for Linux and is in the 2.6.18 kernel. > > We see as much as a 20% improvement in CPU utilization > when doing a sustained iperf test. > > We are hoping to get this code into CURRENT soon if there > is interest. There is. I'm

Re: complement to sendfile()?

2006-07-20 Thread Julian Elischer
Jack Vogel wrote: We, myself and Prafulla Deuskar at Intel LAD, have a driver and stack changes that support Intel's new I/OAT DMA hardware. This is a DMA engine in the chipset. shades of the old PC with the built in DMA on hte motherboard :-) There is potential to use the hardware in

Re: complement to sendfile()?

2006-07-20 Thread Jack Vogel
We, myself and Prafulla Deuskar at Intel LAD, have a driver and stack changes that support Intel's new I/OAT DMA hardware. This is a DMA engine in the chipset. There is potential to use the hardware in a number of ways, what we have right now is a receive-side async dma assist from tcp_input() to

Re: complement to sendfile()?

2006-07-20 Thread Julian Elischer
David G. Lawrence wrote: Hello! My program receives data from the socket and writes it to a file -- with the usual read()/write() tedium. Is there anything zero-copying like sendfile() for the socket->file direction? In fact, sendfile's API may allow to use it in any direction, but the manu

Query for current status of TCP optimization project

2006-07-20 Thread Angelo Turetta
I've not been able to find follow-up reports on the project referenced at: http://people.freebsd.org/~andre/tcpoptimization.html Has this been merged to the main CVS tree? Or is the result visible in some P4 branch? Thanks, Angelo Turetta - Italy ___

Re: Packet Construction and Protocol Testing...

2006-07-20 Thread Andrew R. Reiter
Aren't there already tools for doing this -- libnet / libdnet that both have py wrappers? On Thu, 20 Jul 2006, [EMAIL PROTECTED] wrote: :Hi, : :Sorry for the length of this email but I figured I'd get this out :early in case there was anyone else who wanted to play with this. : :I have now gott

Re: Packet Construction and Protocol Testing...

2006-07-20 Thread Chuck Swiger
Hi-- [EMAIL PROTECTED] wrote: [ ... ] The Source Forge page is here: http://sourceforge.net/projects/pcs and the shar files submitted to get the ports created are now on: http://www.freebsd.org/~gnn/pcs.port.shar http://www.freebsd.org/~gnn/py-pypcap.shar This strikes me as a pretty cool th

Packet Construction and Protocol Testing...

2006-07-20 Thread gnn
Hi, Sorry for the length of this email but I figured I'd get this out early in case there was anyone else who wanted to play with this. I have now gotten out version 0.1 of the Packet Construction Set. This is a set of Python libraries which make writing protocol testing software much easier. Of