Comment 12 for bug 1919154

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

Run some tests with Jammy hwe kernel (6.2.0) on AMD EPYC 7252

Test case 1, without NO_HZ_FULL built-in (default ubuntu kernel config):
Run test program 4 times without taskset
tail -n 2 log/notaskset.*
==> log/notaskset.1 <==
total 23703299350 nsec
avg 237 nsec

==> log/notaskset.2 <==
total 23738030187 nsec
avg 237 nsec

==> log/notaskset.3 <==
total 23777052540 nsec
avg 237 nsec

==> log/notaskset.4 <==
total 23773975186 nsec
avg 237 nsec

Run test program 4 times with taskset to CPU 4
tail -n 2 log/taskset.*
==> log/taskset.1 <==
total 23817956038 nsec
avg 238 nsec

==> log/taskset.2 <==
total 23734814153 nsec
avg 237 nsec

==> log/taskset.3 <==
total 23708314067 nsec
avg 237 nsec

==> log/taskset.4 <==
total 23776322738 nsec
avg 237 nsec

Test case 2, with NO_HZ_FULL built-in but not activate in kernel cmdline:
Run test program 4 times without taskset
tail -n 2 nohz-log/notaskset.*
==> nohz-log/notaskset.1 <==
total 24664321060 nsec
avg 246 nsec

==> nohz-log/notaskset.2 <==
total 24644369258 nsec
avg 246 nsec

==> nohz-log/notaskset.3 <==
total 24717800210 nsec
avg 247 nsec

==> nohz-log/notaskset.4 <==
total 24843361108 nsec
avg 248 nsec

Run test program 4 times with taskset to CPU 4
tail -n 2 nohz-log/taskset.*
==> nohz-log/taskset.1 <==
total 24644004125 nsec
avg 246 nsec

==> nohz-log/taskset.2 <==
total 24864693785 nsec
avg 248 nsec

==> nohz-log/taskset.3 <==
total 24745717217 nsec
avg 247 nsec

==> nohz-log/taskset.4 <==
total 24778959889 nsec
avg 247 nsec