Cyclonedds tools
install | |
---|---|
ddsperf
Measures primarily data throughput and latency of the cyclone-based applications within the network or within the same board,
Tip
Network throughput is a measure of how much data is successfully transferred from one point to another in a given period of time across a network. It's typically expressed in bits per second (bps)
Tip
Latency is the time delay wheen the packet is send and when it is received.
using ping whe measure to round trip latency for a packet
terminal 1 | |
---|---|
- pid
- time
- size of the data involved in this test (For example, 1024 bytes, which is the “size 1k” defined in the pub command).
- total packets received .
- The total packets lost (For example, 0).
- delta: the packets received in a 1 second reporting
- The packets lost in a 1 second report period (For example, 0).
- The number of samples processed by the Sub application in 1s (unit KS/s is 1000 samples per second).
publisher | |
---|---|
- rss: process memory usage
- vcsw: context switch (idle)
- ivcsw: context switch (block)
- ddsperf: cpu user space, cpu kernel space
using iperf3
iperf (or more commonly iperf3) is a powerful network testing tool used to measure:
- Network throughput (bandwidth)
- Data transfer rate (in both directions)
- Packet loss (UDP mode)
- Jitter (UDP mode)
- Retransmissions (TCP mode)
install | |
---|---|
run server | |
---|---|
run client | |
---|---|
Measure Throughput | |
---|---|
- Transfer: Total amount of data send during the duration
- Bitrate: average speed over the duration