-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
z_ping/pong shm not work #1695
Comments
From the logs you provided it seems everything is working. Please provide more details. I'll mark this issue as invalid for the time being. |
the latency should 1-2 us in shm mode ,but the latency is same as no-shm |
What's your basis to affirm that latency should be Can you test with larger payloads? E.g. 1 MB to see wether you see a difference? |
./z_ping --enable-shm 1000000
|
Please run the examples with |
RUST_LOG=debug ./z_pong --enable-shm /release/examples# RUST_LOG=debug ./z_ping --enable-shm 100000 |
Describe the bug
./z_pong --enable-shm
./z_ping --enable-shm 1000
The following output in ping term:
root@ubuntu:/release/examples# ./z_ping --enable-shm 1000
Warming up for 1s...
1000 bytes: seq=0 rtt=127µs lat=63µs
1000 bytes: seq=1 rtt=124µs lat=62µs
1000 bytes: seq=2 rtt=128µs lat=64µs
1000 bytes: seq=3 rtt=237µs lat=118µs
1000 bytes: seq=4 rtt=267µs lat=133µs
1000 bytes: seq=5 rtt=189µs lat=94µs
1000 bytes: seq=6 rtt=148µs lat=74µs
1000 bytes: seq=7 rtt=135µs lat=67µs
1000 bytes: seq=8 rtt=171µs lat=85µs
1000 bytes: seq=9 rtt=150µs lat=75µs
1000 bytes: seq=10 rtt=180µs lat=90µs
1000 bytes: seq=11 rtt=148µs lat=74µs
1000 bytes: seq=12 rtt=142µs lat=71µs
1000 bytes: seq=13 rtt=143µs lat=71µs
1000 bytes: seq=14 rtt=136µs lat=68µs
1000 bytes: seq=15 rtt=142µs lat=71µs
1000 bytes: seq=16 rtt=140µs lat=70µs
1000 bytes: seq=17 rtt=133µs lat=66µs
1000 bytes: seq=18 rtt=149µs lat=74µs
1000 bytes: seq=19 rtt=169µs lat=84µs
1000 bytes: seq=20 rtt=173µs lat=86µs
1000 bytes: seq=21 rtt=175µs lat=87µs
1000 bytes: seq=22 rtt=157µs lat=78µs
1000 bytes: seq=23 rtt=131µs lat=65µs
1000 bytes: seq=24 rtt=157µs lat=78µs
1000 bytes: seq=25 rtt=137µs lat=68µs
1000 bytes: seq=26 rtt=143µs lat=71µs
To reproduce
Use example ping/pong demo with -enable-shm
System info
Linux tegra-ubuntu 5.15.98-rt-tegra #1 SMP PREEMPT_RT Mon Dec 23 18:22:56 CST 2024 aarch64 aarch64 aarch64 GNU/Linux
Zenoh version:
commit 0549678
Author: DenisBiryukov91 [email protected]
Date: Fri Dec 20 15:19:33 2024 +0100
reuse zenoh-examples common arguments parsing in zenoh-ext examples (#1679)
The text was updated successfully, but these errors were encountered: