[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [RFC PATCH v3 0/2] xen: credit2: flexible configuration for runqueues
Hello, The idea is to give user more flexibility to configure runqueue further. For most workloads and in most systems, using per-core means have too many small runqueues. Using per-socket is almost always better, but it may result in too few big runqueues. OPTION 1 : -------- The user can create runqueue per-cpu using Xen boot parameter like below: credit2_runqueue=cpu which would mean the following: - pCPU 0 belong to runqueue 0 - pCPU 1 belong to runqueue 1 - pCPU 2 belong to runqueue 2 and so on. OPTION 2 : -------- Further user can be allowed to say something shown below : credit2_runqueue=0,1,4,5;2,3,6,7;8,9,12,13;10,11,14,15 or (with exactly the same meaning, but a perhaps more clear syntax): credit2_runqueue=[[0,1,4,5][2,3,6,7][8,9,12,13][10,11,14,15]] which would mean the following: - pCPUs 0, 1, 4 and 5 belong to runqueue 0 - pCPUs 2, 3, 6 and 7 belong to runqueue 1 - pCPUs 8, 9, 12 and 13 belong to runqueue 2 - pCPUs 10, 11, 14 and 15 belong to runqueue 3 Thanks and Regards, Praveen Kumar. --- v3 has proper subject for RFC --- Praveen Kumar (2): xen: credit2: enable per cpu runqueue creation xen: credit2: provide flexible option to create runqueue docs/misc/xen-command-line.markdown | 9 +- xen/common/sched_credit2.c | 185 +++++++++++++++++++++++++++++++++++- 2 files changed, 188 insertions(+), 6 deletions(-) -- 2.12.0 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |