Does this config optimally fit my Hardware?
Dear all,
I've set up a Xenomai system with Ubuntu 10.04 32bit/2.6.32-21/2.5.3 and everything seems to be fine (I'm new to Linux and RT anyway). However, I'd like to make sure that the kernel config is optimally adapted to my hardware (Intel Atom board, 945GCLF2, 4 cores with Hyperthreading, one RT thread only runs on CPU 1, the others are free).
I'm especially unsure about the timers/clocks, whether 8254, TSC, the counter on the LAPIC or HPET will be used and what would be preferable (HPET rather than TSC?). Btw, on startup I also get "MT-Bios Bug: 8264 timer not connected to IO-APIC". Could anyone tell me if my config fits my hardware?
User-space support with default options:
--enable-x86-tsc TRUE
--enable-smp FALSE
Kernel config:
CONFIG_HPET_TIMER y (HPET enabled in BIOS) CONFIG_HIGH_RES_TIMERS yCONFIG_XENO_HW_SMI_WORKAROUND yCONFIG_SMP yCONFIG_CPU_FREQ false ("# CONFIG_CPU_FREQ is not set") CONFIG_APM false ("# CONFIG_APM is not set") CONFIG_ACPI_PROCESSOR false ("# CONFIG_ACPI_PROCESSOR is not set") CONFIG_ACPI yCONFIG_SCHED_SMT yCONFIG_INPUT_PCSPKR m (?)CONFIG_PCSPKR_PLATFORM yCONFIG_X86_LOCAL_APIC yCONFIG_X86_IO_APIC yCONFIG_X86_TSC y
(tell me when I should post the complete config file)
Quoted 8 lines · jmf
Dear all,
I've set up a Xenomai system with Ubuntu 10.04 32bit/2.6.32-21/2.5.3 and everything seems to be fine (I'm new to Linux and RT anyway). However, I'd like to make sure that the kernel config is optimally adapted to my hardware (Intel Atom board, 945GCLF2, 4 cores with Hyperthreading, one RT thread only runs on CPU 1, the others are free).
Quoted 4 lines
I'm especially unsure about the timers/clocks, whether 8254, TSC, the counter on the LAPIC or HPET will be used and what would be preferable (HPET rather than TSC?). Btw, on startup I also get "MT-Bios Bug: 8264 timer not connected to IO-APIC". Could anyone tell me if my config fits my hardware?
Xenomai only know two timer sources, the 8254 and the LAPIC. LAPIC is better. The choice is made at compilation time. So, if LAPIC is enabled and Xenomai works, it means that Xenomai is happily using the LAPIC and that your configuration is optimal with regard to timer sources.
As for the clock sources, the two possible ar 8254 and TSC. Again, if your kernel has TSC enabled and Xenomai starts, it means that it is using it.
So, the reste of the options (HPET, etc...) only affect non real-time processes.
Quoted 5 lines
User-space support with default options:
--enable-x86-tsc TRUE
--enable-smp FALSE
You can probably enable --enable-x86-sep for better performances.
Quoted 6 lines
Kernel config:
CONFIG_HPET_TIMERy (HPET enabled in BIOS)CONFIG_HIGH_RES_TIMERSyCONFIG_XENO_HW_SMI_WORKAROUNDy
Ok. Be sure that this option does not cause any problem before activating it (see the TROUBLESHOOTING guide).
If you are worried about performances, please be sure to disable any Xenomai and I-pipe debugging options.
Quoted 13 lines
CONFIG_SMPyCONFIG_CPU_FREQfalse ("#CONFIG_CPU_FREQis not set")CONFIG_APMfalse ("#CONFIG_APMis not set")CONFIG_ACPI_PROCESSORfalse ("#CONFIG_ACPI_PROCESSORis not set")CONFIG_ACPIyCONFIG_SCHED_SMTyCONFIG_INPUT_PCSPKRm (?)CONFIG_PCSPKR_PLATFORMyCONFIG_X86_LOCAL_APICyCONFIG_X86_IO_APICyCONFIG_X86_TSCy(tell me when I should post the complete config file)
Signature · 1 line
Gilles.