Comments (5)
1. As agreed, no need to change the protocol with additional server-id field
2. we'll use the from_address of the packet to map the packet to the right peer.
3. This can be done, based on the gap analysis feature in the server, that uses
hash table to map packet to the right peer.
4. As said, the PacketTimes array (and the statistics at the end), are already
written (by me) with this mode in mind.
5. This feature should be 1st implemented for sockperf_v1 and only after it is
completed to be merged into sockperf_v2.
6. Igor, please specify your design/plan and then assign my the issue for
approval. Don't start coding before I see the plan.
Original comment by [email protected]
on 3 Apr 2011 at 8:25
- Changed state: Accepted
- Added labels: Branch-1.x, Priority-High
- Removed labels: Branch-2.x, Priority-Medium
from sockperf.
Requirements to be clarified:
1. Is there limitation to number of servers;
2. Should a client and all servers use the same multicast group for
send/recieve operations;
3. What way should be used on client side for ping-pong mode (wait for answers
from all servers, etc);
Original comment by [email protected]
on 15 Apr 2011 at 3:00
- Changed state: Started
from sockperf.
Design in assumptions:
- Do not care about number of servers (note: system limitations related amount
of memory can raise error);
- Use the same multicast group for send/recieve on server/client (note: VTG
defines specific sockets for recieving);
- Client waits for reply-packets from number of servers defined in commad-line;
Plan:
1. add servers list array in ClientBase class; This array is filled in
accordance with order of getting reply-packets from unique addresses;
2. implement client_get_server_id() method for Client class returning server No
by recieved address. Function should return -1 in case address is not found in
servers list array;
3. call client_get_server_id() to define server No before saving Rx time.
Recieved reply-packet is ignored in case returned value is -1;
4. in ping-pong mode client send next packet in case accepted all reply-packets
from number of servers defined in option --srv-num.
Original comment by [email protected]
on 20 Apr 2011 at 8:12
from sockperf.
1. I think we would like to support "big" number of members in the multicast
group (say tens or hundreds); hence, I would recommend using the code we
already have in the server for gap analysis feature. This hash maps the peer
address to the right peer number. In the fast path it is better to use this
way than to scan entire array.
2. In ping-pong mode the client must wait for all expected pongs before sending
next ping. In under-load, there shouldn't be big changes.
3. Please consult AlexR whether to use same MC group for send & receive or to
behave like VTG?
4. In case reply packets match more then --srv-num peers you can abort.
5. Please assign me back the issue after you have answers for all points
(before starting to code)
Original comment by [email protected]
on 27 Apr 2011 at 9:55
from sockperf.
r54
This ability is enclosed in EXTRA_ABILITY macro definition. It is disabled in
build process by default. User needs to set --enable-extra option in configure
as ($ ./configure --prefix=<path to install> --enable-extra) to make
functionality workable.
Note: Implemented approach using the same multicast group for send/recieve on
server/client.
Original comment by [email protected]
on 13 May 2011 at 6:36
- Changed state: Fixed
from sockperf.
Related Issues (20)
- ERROR: _seqN > m_maxSequenceNo in v3.7 HOT 9
- ping-pong on Arm seems does not respect --mps parameter HOT 3
- Configure attempts to compile c++ code with gcc but not with g++ HOT 2
- print date&time every time it is executed HOT 4
- Floating point exception with --histogram HOT 2
- How to read sockperf output HOT 4
- _seqN > m_maxSequenceNo (100% reproducible on ppc64le architecture) HOT 4
- sockperf tcp mode: 100% cpu HOT 7
- Void function returing according to the documentation a value
- Non documented argument of function process_buffer
- Confusing commenting out code
- Need help on Sockperf configuration on Azure Ubuntu instances HOT 9
- sockperf server hung on sockperf: [tid1269] using recvfrom() to block on socket(s) HOT 4
- how to install sockperf onwindows 10 and window 11 machines HOT 8
- RedHat support HOT 2
- Simetimes I get "No messages received" and have to retry HOT 3
- sockperf crashed due to segment fault when using libvma HOT 13
- Soak Testing Multicast Environments with More Than One Receiver HOT 2
- TCP testing with -F doesn't work HOT 1
- Memory issues HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sockperf.