On 03/09/2013 03:27 PM, [email protected] wrote:
When using --cpus 1
it works as trafgen 0.5.7
I send 1 M packets and I receive 1 M
but once I specify --cpus 2
I send 1 M and I receive 150k only .
there is something wrong I think

I'm sorry but if you want us to help, then you have to provide
a little more info than just "there is something wrong I think".

Otherwise no-one is willing to give a serious answer.

What is the output of trafgen in that case? Is it the output you've
sent in your previous mail? Also trafgen 0.5.7 does not have an
option --cups, 0.5.8rc0 has it. So which version are you running?

In your previous email, on each CPU 125k packets were sent. You've
mentioned something with 150k. Was that a typo on your side? If you
use --num, then the sent packets are distributed fairly among your
CPUs, so 1 Mio in total.

What is your application doing? Is it written in C? Do you have
access to any kernel drop counters? Is it running on the same node
as trafgen? What are the network driver statistics saying? Did they
see 1M packets?

E.g. on the sender:

  before: cat /proc/net/dev | grep ethX
  midde: trafgen ....
  after: cat /proc/net/dev | grep ethX

E.g. on the receiver:

  before: cat /proc/net/dev | grep ethX
  midde: <your app>
  after: cat /proc/net/dev | grep ethX

--
You received this message because you are subscribed to the Google Groups 
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to