Hello~
I tried running ipc-bench on my desktop to check IPC performance.
Below is a comparison of the results of shm and mq.
Comparing the total time or average time, mq is faster than shm.
Is there something I haven't tested well?
$./shm -s 1000000 -c 128
============ RESULTS ================
Message size: 1000000
Message count: 128
Total duration: 52.356 ms
Average duration: 408.928 us
Minimum duration: 305.664 us
Maximum duration: 4580.096 us
Standard deviation: 375.195 us
Message rate: 2444 msg/s
$./mq -s 1000000 -c 128
============ RESULTS ================
Message size: 2048
Message count: 128
Total duration: 2.603 ms
Average duration: 20.246 us
Minimum duration: 18.688 us
Maximum duration: 82.432 us
Standard deviation: 5.764 us
Message rate: 49178 msg/s
Hello~
I tried running ipc-bench on my desktop to check IPC performance.
Below is a comparison of the results of shm and mq.
Comparing the total time or average time, mq is faster than shm.
Is there something I haven't tested well?
$./shm -s 1000000 -c 128
============ RESULTS ================
Message size: 1000000
Message count: 128
Total duration: 52.356 ms
Average duration: 408.928 us
Minimum duration: 305.664 us
Maximum duration: 4580.096 us
Standard deviation: 375.195 us
Message rate: 2444 msg/s
$./mq -s 1000000 -c 128
============ RESULTS ================
Message size: 2048
Message count: 128
Total duration: 2.603 ms
Average duration: 20.246 us
Minimum duration: 18.688 us
Maximum duration: 82.432 us
Standard deviation: 5.764 us
Message rate: 49178 msg/s