DD1984 / sockperf

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

bad calc of max packet times array #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.LD_PRELOAD=libvma.so sockperf server -i 224.18.7.81 -p 5001
2.LD_PRELOAD=libvma.so sockperf ping-pong -i 224.18.7.81 -p 5001 -t 3 -b 5
3.

What is the expected output? What do you see instead?
the client crashes with the following error:
ockperf: PacketTimes.cpp:60:ERROR: _seqNo=1600016 > m_maxSequenceNo=1600015 
(errno=25 Inappropriate ioctl for device)
sockperf: program exits because of an error.  current value of errno=25 
(Inappropriate ioctl for device)sockperf: [tid: 30599] ------
sockperf: [0] 0x578fff: sockperf [0x578fff]
sockperf: [1] 0x579090: sockperf [0x579090]
sockperf: [2] 0x57ad06: sockperf [0x57ad06]
sockperf: [3] 0x48a23b: sockperf [0x48a23b]
sockperf: [4] 0x48aa99: sockperf [0x48aa99]
sockperf: [5] 0x58a7fc: sockperf [0x58a7fc]
sockperf: [6] 0x58de96: sockperf [0x58de96]
sockperf: [7] 0x351421d994: /lib64/libc.so.6(__libc_start_main+0xf4) 
[0x351421d994]
sockperf: [8] 0x402e79: sockperf(__gxx_personality_v0+0x131) [0x402e79]

What version of the product are you using? On what operating system?

Please provide any additional information below.
looks like a problem with the calc of max pps

Original issue reported on code.google.com by lorats1...@gmail.com on 7 Apr 2011 at 9:25

GoogleCodeExporter commented 9 years ago
only relevant in sockperf_v2

Original comment by avne...@gmail.com on 7 Apr 2011 at 10:22

GoogleCodeExporter commented 9 years ago
fixed in rev 45
now max-pps in ping-pong is multiplied by burst-size (and can't be more than 
the ultimate max-pps in under-load = 10M) 

Original comment by avne...@gmail.com on 7 Apr 2011 at 10:24

GoogleCodeExporter commented 9 years ago
Yeela approved that now it is okay

Original comment by avne...@gmail.com on 7 Apr 2011 at 10:25