[zeromq-dev] Non-contiguous message thoughts
Martin Sustrik
sustrik at 250bpm.com
Fri Mar 5 17:04:20 CET 2010
Michael,
> Or better yet, just send me the source code of the test and I'll run it on
> our IB network.
Here you go! The first test is attached. It does zero-copy transfer. Run
it like this:
./local_lat tcp://192.168.0.111:5555 1000000 100
&
./remote_lat tcp://192.168.0.111:5555 1000000 100
Try it for 1, 2, 4, 8, ..., 256MB messages.
Adjust number of roundtrips in the test so that each test takes at least
some time (couple of seconds). For very large messages there's no point
in running for extended periods of time so decrease the roundtrip count
accordingly.
Copy version of the test will follow shorty.
Thanks!
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: local_lat.cpp
Type: text/x-c++src
Size: 1453 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100305/3a088250/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remote_lat.cpp
Type: text/x-c++src
Size: 1985 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100305/3a088250/attachment-0001.cpp>
More information about the zeromq-dev
mailing list