Re: [Xen-devel] [PATCH RFC 1/2] xen: credit2: flexible configuration of runqueues

2017-03-22 Thread Dario Faggioli
Ok, now about the code. On Fri, 2017-03-10 at 23:56 +0530, Praveen Kumar wrote: > 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

Re: [Xen-devel] [PATCH RFC 1/2] xen: credit2: flexible configuration of runqueues

2017-03-22 Thread Dario Faggioli
Hey Praveen, Thanks for working on this and sending the patches! A couple of things on the submission itself. When we send more than 1 patch, we say that we send a "patch series". That basically is a set of related patches. They may be related in various ways. For instance, each patch may be a p

[Xen-devel] [PATCH RFC 1/2] xen: credit2: flexible configuration of runqueues

2017-03-10 Thread Praveen Kumar
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 runqueu