Hi
as you said, pfbridge is just an example on top of standard pf_ring. 
A more powerful example on top of DNA/Libzero is pfdnabounce, 
able to operate at 10Gbit line-rate (14.88 Mpp/s) and above on adequate hw
with a latency of a few usecs, but you need an intel card 
(e1000/e1000e/igb/ixgbe).
BTW, with pfbridge, beside transparent_mode, you can also play with the -p 
option.

Regards
Alfredo

On Sep 12, 2012, at 12:22 PM, A G <[email protected]> wrote:

> 
> Hi
> Thanks, that did the trick. I'm am doing some testing with PF_ring, just to 
> learn about its capabilities.
> I have this setup:
> client -- linux machine -- server
> 
> When a client is connected directly to the server, the client can send about 
> 151458 transactions/min
> When I place a linux machine configured as a bridge with brctl, the client 
> sends about 131822/transactions/min
> with two instance of pfbridge (one each way) and pf_ring.ko at transparent=0 
> running on the linux machine, the throughput is 7236/min
> the same as above with transparent = 1, the throughput is 38040/min
> with transparent = 2, the throughput is 57001/min
> 
> Is this the expected performance? Or would pf_bridge at full performance be 
> expected to operate at about the same level as brctl?
> I realise pf_bridge is just an example, but it is impressive to see the 
> transparent options in action.
> 
> Thanks
> 
> ----------------------------------------
>> From: [email protected]
>> Date: Mon, 10 Sep 2012 19:17:12 +0200
>> To: [email protected]
>> Subject: Re: [Ntop-misc] pfbridge example crashes
>> 
>> Please update from svn and try loading pf_ring with:
>> insmod pf_ring.ko enable_tx_capture=0
>> 
>> Alfredo
>> 
>> On Sep 10, 2012, at 4:09 PM, A G <[email protected]> wrote:
>> 
>>> 
>>> Hi
>>> I am testing and learning about PF_Ring. I can compile and run pfbridge. 
>>> However when I run two instances of pfbridge (one for each way of 
>>> fowarding) ie
>>> ./pfbridge -a eth1 -b eth2
>>> ./pfbridge -a eth2 -b eth1
>>> 
>>> it bridges traffic correctly and as expected for several seconds, but then 
>>> the entire computer crashes; the mouse and keyboard stop working. What 
>>> should I do to start debugging this?
>>> 
>>> Thanks
>>> 
>>> _______________________________________________
>>> Ntop-misc mailing list
>>> [email protected]
>>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>> 
>> _______________________________________________
>> Ntop-misc mailing list
>> [email protected]
>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>                                         
> _______________________________________________
> Ntop-misc mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc

_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to