Doron Somech <somdo...@gmail.com> writes:

> You need to create multiple connections to enjoy the multiple io threads.
>
> So in the remote/local_thr connect to the same endpoint 100 times and
> create 10 io threads.

Fantastic!

10 threads in both remote_thr and local_thr,
10 connect() calls in remote_thr.

[bviren@dune dev]$ ./libzmq/perf/.libs/local_thr tcp://10.0.1.117:5200 131072 
1000000 0 10
using 10 I/O threads
message size: 131072 [B]
message count: 1000000
mean throughput: 63112 [msg/s]
mean throughput: 66178.185 [Mb/s]

10 threads in both remote_thr and local_thr,
100 connect() calls in remote_thr.

[bviren@dune dev]$ ./libzmq/perf/.libs/local_thr tcp://10.0.1.117:5200 131072 
1000000 0 10
using 10 I/O threads
message size: 131072 [B]
message count: 1000000
mean throughput: 91633 [msg/s]
mean throughput: 96084.376 [Mb/s]


In the second case, the 10 threads in local_thr are using between
50-100% CPU.  remote_thr is much less active with about half threads
around 50% and half around 10%.

Now to see what this does across the spectrum of message sizes!


Thanks!
-Brett.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
https://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to