Comment 20 for bug 1919154

Revision history for this message
gerald.yang (gerald-yang-tw) wrote :

Some observations from test results between NO_HZ_FULL built-in but not enable and default kernel
Tests are from LTP scheduling related under "realtime" category
And there is "no" taskset when running the tests

- Gettimeofday latency (ns basis)
For no_hz_full built-in:
The average is almost the same, diff is 0.x ns
But stddev is much higher

- Pthread kill latency (us basis)
For no_hz_full built-in:
The average is a bit higher, 0.x - 2 us
Stddev is a bit higher too

- Scheduling jitter (ns basis)
For no_hz_full built-in:
Realtime process delta is higher, delta is the time between doing a fixed amount of work
The scheduler overhead is higher?

code snippet:
clock_gettime(CLOCK_MONOTONIC, &start);
do_work(NUMLOOPS);
clock_gettime(CLOCK_MONOTONIC, &stop);

 /* calc delta, min and max */
delta = ts_sub(stop, start);

- Scheduling latency (us basis)
For no_hz_full built-in:
The average is little bit higher
And stddev is higher