DD1984 / sockperf

Automatically exported from code.google.com/p/sockperf
Other
1 stars 0 forks source link

Sockperf in throughput mode with message size 256/128 bytes doesn't work over VMA #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Steps to reproduce:
1.LD_PRELOAD=libvma.so sockperf sr -A 10000
2.LD_PRELOAD=libvma.so sockperf tp -i <srv IP> -m 256 -A 10000 -t 100

Expected:
The server successfully receives the traffic:
#The received packets counters increments.
#The number of received packet by the server is equal to the number
of transmitted packets by clinet

Actually:
One of the following:
1. The client receives a mesage with zero payload and terminates.
2. The client hangs while the server prints an abnormal results:
the number of received packets is not proportionally high to the number of sent 
packets, and even when the client is terminated the server continues to prints 
as if it recevie a new data till it is terminated with Ctl+C.

Versions:
Sockperf: 2.5.30
VMA: 5.0.6-0

- Seems that in some scenarios the server enters inside an infinite loop where 
it prints the statistic regarding the last received bytes.
- Maybe the server performs a wrong parsing of the receved message header?
- Maybe there is some corruption of the rx qeueue?

Please notice that the issue happens only with sockperf, it is not reproducable 
with other testing tools.

Original issue reported on code.google.com by alexonli...@gmail.com on 17 Apr 2011 at 8:27

GoogleCodeExporter commented 9 years ago
AFAIK, This works smoothly with current versions of sockperf/VMA.

Original comment by avne...@gmail.com on 23 Sep 2012 at 11:01