| Latency Tests | |||
|---|---|---|---|
| <<< Previous | Chapter 5. Scenarios | Next >>> | Blog |
TS1 was designed to be the baseline test. The target operates with virtually no load. The results track the amount of time it takes from a hardware interrupt for data to flow to one user-space process then back out through the same hardware device.
Table 5-2. TS1 Target
| Component | Parameters | Instances |
|---|---|---|
| latency-client | /dev/ttyS0[a] 0 | 0 drones |
| Notes: a. this is an on-board serial port | ||
This can be accomplished by running the following:
# latency-client /dev/<serial device> 0 &
# chrtgroup.sh -n 98
# nicegroup.sh
(now you have to find the PID of the process running the interrupt used
for the serial device you specified above. NOTE: this is only available
for the RT kernels)
# chrt -fp 99 <pid>
|
| <<< Previous | Home | Next >>> |
| Scenarios | Up | Test Scenario 2 (TS2) |