[zeromq-dev] High throughput test on TCP & EPGM

董晓滨 dongxiaobin0614 at 163.com
Sun Jun 28 10:08:19 CEST 2020


yes, that is right.  But I just want to know why there are so big difference between the performance of TCP and EPGM?


| |
董晓滨
|
|
邮箱:dongxiaobin0614 at 163.com
|

签名由 网易邮箱大师 定制

On 06/28/2020 15:56, Doron Somech wrote:
Don't you want to multiply the rate by 8 as well? As it is bits?


On Mon, Jun 22, 2020 at 8:39 PM 董晓滨 <dongxiaobin0614 at 163.com> wrote:

Hi, everyone !
I want to use zeromq pub/sub to transport large size msgs (e.g. images data). 
I did the below test in python environment:
1. send different sizes of msg (from 2kb - 16mb) with random data
2. one publisher in one docker container, and one subscriber in one other seperate container
3. calculate the total data size and time, to estimate the throughput (total size / time) in MB/s


tcp have good performance, but epgm I only got 20M/s throughput even after I set the socket.rate, hwm ... Just want to know the reason. I hope I can use epgm because it is multicast protocol which should have advantage than tcp in multi subscriber cases.. test result have been shown below and test code has been attached. 








 

_______________________________________________
zeromq-dev mailing list
zeromq-dev at lists.zeromq.org
https://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20200628/078dbcbc/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 70512 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20200628/078dbcbc/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 131719 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20200628/078dbcbc/attachment-0001.png>


More information about the zeromq-dev mailing list