Bug 1468 - [ANCK-4.19] Fix wrong cpu selecting from isolated domain
Summary: [ANCK-4.19] Fix wrong cpu selecting from isolated domain
Status: CLOSED FIXED
Alias: None
Product: ANCK 4.19 Dev
Classification: ANCK
Component: sched (show other bugs) sched
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: xunlei
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-14 13:20 UTC by xunlei
Modified: 2022-08-26 16:01 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description xunlei alibaba_cloud_group 2022-06-14 13:20:17 UTC
Description of problem:
采用isolated cpus进行CPU隔离,但在SMT开启的情况下会存在从隔离域中逃离的情况发生,影响调度QoS

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. with boot parameter: "isolcpus=domain,2-31"
   (thread lists: 0,16 and 1,17)
2. cgcreate -g cpu:test; cgexec -g cpu:test "test_threads"
3. some threads will be migrated to the isolated cpu16~17.


Actual results:


Expected results:


Additional info: