I am seeing similar behavior on Linux as well. In my case, I carry some data between two PCs which run user-level click. If I use RawSocket element, I get much better performance compared to using To/FromDevice and manually composing the frames.
On 10:42 am 07/19/10 Nicholas Weaver <[email protected]> wrote: > The test configuration: > > FromDevice(en0, PROMISC true) -> CheckIPHeader(14) -> > IPPrint('reply') -> Discard; > > > A TCPdump running at the same time gets all the packets as they are > received, but the click configuration gets them in bursts (but the > timestamps are right) > > On Jul 19, 2010, at 10:38 AM, Nicholas Weaver wrote: > > > I remember having a similar problem before and I don't remember what > > the solution is... > > On OS-X (latest version, latest devtools), FromDevice is buffering up > > a large number of packets rather than receiving them in real time. > > A TCPdump running at the same time does not have this problem. > > > > > > Suggestions? > > > > > > > > > _______________________________________________ > click mailing list > [email protected] > https://amsterdam.lcs.mit.edu/mailman/listinfo/click _______________________________________________ click mailing list [email protected] https://amsterdam.lcs.mit.edu/mailman/listinfo/click
