Which kernel features to enable/disable?
Hello all,
I am configuring a new PC for Xenomai 2.1 with a 2.6.16 kernel. In the past I have always used a vanilla kernel in the default configuration. I was wondering what features are recommended to enable or disable in the default kernel configuration? For example I know to enable the SMI workaround if the chipset supports it.
What about SMP?
Kernel pre-emption?
Power management ACPI/APM/frequency scaling?
Or, are all these irrelevant because Xenomai sits ahead of the kernel in the interrupt pipeline?
I had this thought because my new motherboard supports hyper-threading and the vanilla kernel build includes SMP support.
Thanks,
Sean
begin:vcard
fn:Sean McGranaghan
n:McGranaghan;Sean
org:Appcon Group
adr;dom:;;97 Ridgeland Rd;Rochester;NY;14623
email;internet:[email protected]
title:Embedded Software Engineer
tel;work:585-472-7830
tel;fax:585-472-2116
x-mozilla-html:TRUE
version:2.1
end:vcard
Quoted 5 lines · Sean McGranaghan
Hello all,
I am configuring a new PC for Xenomai 2.1 with a 2.6.16 kernel. In the past I have always used a vanilla kernel in the default configuration. I was wondering what features are recommended to enable or disable in the default kernel configuration? For example I know to enable the SMI workaround if the chipset supports it.
What about SMP?
If you have a SMP, HT or multi-core box, Xenomai will support this too (HT will introduce additional latency though). If not, well, it will still support this, but at the expense of the usual performance degradation of enforcing inter-CPU locks uselessly.
Quoted 1 line
Kernel pre-emption?
No problem.
Quoted 2 lines
Power management ACPI/APM/frequency scaling?
Not all ACPI is bad, but you will need to check the options that you really need and which don't hurt your setup. Frequency scaling is bad for instance. However, you may want to enable ACPI only for the purpose of enumerating multiple CPUs if you need to do so for booting (HT comes to mind). APM is a no go.
Quoted 2 lines
Or, are all these irrelevant because Xenomai sits ahead of the kernel in the interrupt pipeline?
This is unrelated. The pipeline only affects the dispatching of events (e.g. interrupts, faults, special kernel events).
Quoted 9 lines
I had this thought because my new motherboard supports hyper-threading and the vanilla kernel build includes SMP support.
Thanks,
Sean_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help
Signature · 1 line
Philippe.
Quoted 8 lines · Sean McGranaghan
Hello all,
I am configuring a new PC for Xenomai 2.1 with a 2.6.16 kernel. In the past I have always used a vanilla kernel in the default configuration. I was wondering what features are recommended to enable or disable in the default kernel configuration? For example I know to enable the SMI workaround if the chipset supports it.
What about SMP?
Kernel pre-emption?
Power management ACPI/APM/frequency scaling?
for more on config options to avoid, see
http://svn.gna.org/viewcvs/xenomai/trunk/TROUBLESHOOTING?rev=957&view=markup