Skip to contentSkip to conversation

CONFIG_PREEMPT_RT=y possible in Dom0 kernel?

DISCUSSION Chris Birkinshaw 2 participants 4 messages Feb 14, 2008

lore
Share & tools
lore
#0 lore raw

HI,

Is it possible to specify CONFIG_PREEMPT_RT=y in the Dom0 kernel? It seems that it is forbidden as it is not a menu option in make menuconfig and gets removed if I manually add it to the .config.

I want to run a sound server on Dom0 and am having problems with xruns at present, so need to be able to run a preemptive kernel.

Thanks,

Chris

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

No, involuntary preemption isn¹t supported.

-- Keir

Quoted 13 lines · Chris Birkinshaw

HI,

Is it possible to specify CONFIG_PREEMPT_RT=y in the Dom0 kernel? It seems that it is forbidden as it is not a menu option in make menuconfig and gets removed if I manually add it to the .config.

I want to run a sound server on Dom0 and am having problems with xruns at present, so need to be able to run a preemptive kernel.

Thanks,

Quoted 8 lines

Chris

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw

Is there any workaround or alternative approach which will solve my problem? Many thanks,

Chris

Quoted 21 lines · Keir Fraser

No, involuntary preemption isn't supported.

-- Keir

On 14/2/08 10:07, "Chris Birkinshaw" <[email protected]> wrote:

HI,

Is it possible to specify CONFIG_PREEMPT_RT=y in the Dom0 kernel? It seems that it is forbidden as it is not a menu option in make menuconfig and gets removed if I manually add it to the .config.

I want to run a sound server on Dom0 and am having problems with xruns at present, so need to be able to run a preemptive kernel.

Thanks,

Quoted 11 lines

Chris

------------------------------
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw

Pin dom0 to its own CPU? If the xruns are occurring because of competing load in dom0 itself, or you have a SMP dom0 and don¹t want to pin all its VCPUs, you could pull your sound server out into another domain and pin that instead. Either way, the VCPU pinning is ensuring that your sound server is not impacted by the Linux or Xen schedulers. The cost is that you burn a core or hyperthread on your sound server.

-- Keir

Quoted 41 lines · Chris Birkinshaw

Is there any workaround or alternative approach which will solve my problem?

Many thanks,

Chris

Quoted 29 lines · Keir Fraser

No, involuntary preemption isn't supported.

-- Keir

Quoted 21 lines · Chris Birkinshaw

HI,

Is it possible to specify CONFIG_PREEMPT_RT=y in the Dom0 kernel? It seems that it is forbidden as it is not a menu option in make menuconfig and gets removed if I manually add it to the .config.

I want to run a sound server on Dom0 and am having problems with xruns at present, so need to be able to run a preemptive kernel.

Thanks,

Chris

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel