Hi Luca,
I got another question regarding to pfsend. Why is it taking over %95 CPU on a
single core even if at very low rate traffic tests? For example when I run the
command:
sudo PF_RING/userland/examples/pfsend -i dna0@0 -r 0.01
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ P COMMAND
7149 root 20 0 39436 1228 1008 R 99.8 0.0 0:04.72 19 pfsend
TX rate: [current 14'495.94 pps/0.01 Gbps][average 14'495.94 pps/0.01
Gbps][total 14'496.00 pkts]
TX rate: [current 14'517.72 pps/0.01 Gbps][average 14'506.83 pps/0.01
Gbps][total 29'014.00 pkts]
Below also uses %99 CPU:
sudo PF_RING/userland/examples/pfsend -i dna0@0 -r 5
Dumping statistics on /proc/net/pf_ring/stats/7188-dna0.3262
TX rate: [current 7'307'134.38 pps/4.91 Gbps][average 7'307'134.38 pps/4.91
Gbps][total 7'307'149.00 pkts]
TX rate: [current 7'318'726.26 pps/4.92 Gbps][average 7'312'930.37 pps/4.91
Gbps][total 14'626'007.00 pkts]
On Tuesday, February 11, 2014 2:18 PM, M. Serkant Uluderya <[email protected]>
wrote:
Thanks Luca, it solved my problem.
On Monday, February 10, 2014 5:12 PM, Luca Deri <[email protected]> wrote:
Serkant,
only one app at time can use a dna device. In your case you need
to insmod the dna driver with 2 queues and then have one pfsend
that send on dna0@0 and the other on dna0@1
Regards Luca
On 02/10/2014 03:21 PM, M. Serkant Uluderya wrote:
Hi,
>
>
>Is there anyway to run pfsend as multithreaded? I'm running "pfsend -i dna0 -r
>1" on a machine has 2 X Intel(R) Xeon(R) CPU X5650 @ 2.67GHz and it seems the
>pfsend process takes %100 CPU on a single core. I tried to run multiple pfsend
>instances but it did not work. (Unable to enable ring)
>
>
>Regards,
>Serkant
>
>
>
>
>_______________________________________________
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