Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Linux kernel scheduler has changed a lot, which imported
wake_wide to determine whether to use wake_affine in
try_to_wake_up other tasks, since some cpus don't share LLC ,
Under this situation, the behaviour of this case differs a lot,
before using wake_wide, two threads will work on same cpu,
after this, two threads will work on different cpus,
which causes a really big score gap.
For example:
(no using wake_wide) kernel 3.10 score 977
(using wake_wide) kernel 4.9 score 227
which confused me, so i suggest to bind two threads
on different cpus while theads booting up.In this way, we can ensue there always
has context switches.