Hi all,
I've been doing some tests on my 15" MacBook Pro and a 2.6.18 + imac patches + 
Ingo Molnar's realtime preempt rt5 with full preemption option (realtime) 
enabled. The kernel configuration used is available here:
http://www.mambasoft.it/software/development/linux/kernel/kernel26-2.6.18mamba-i586-config

Problems:
- loading the sky2 module freezes the kernel (fortunately I use wireless)
- the ACPI "processor" module (required by speedstep-centrino for frequency 
scaling) has problems:
  * with CONFIG_HPET_TIMER=y loading processor module freezes the kernel; 
that's a pity because the realfeel tests gave RTC latencies < 100us
  * if I don't load the ACPI processor module the CPU starts overclocked 
according to /proc/cpuinfo (I have a 1.83 GHz dual core CPU and get about 
1.94 GHz instead and system clock goes slower than hw clock with general 
problems e.g. with audio)
   * with CONFIG_HPET_TIMER not set loading processor module works when the AC 
adapter is plugged in but the system hangs when using batteries (both on 
system boot or after). The last lines of the trace are (I'm copying from a 
paper, sorry for any mistake):
[<c0342d8d>] rt_spin_lock_slowlock+0xda/0x14d
[<c0236b13>] acpi_os_acquire_lock+0x9/0xc
[<c0243673>] acpi_set_register+0x51/0x158
[<f90c93ff>] acpi_processor_idle+0x1b6/0x353
[<c0101686>] cpu_idle+0x84/0xbd
[<c0429756>] start_kernel+0x3a8/0x3ae

Benefits:
- system is far more stable than older rt patches I have tested in the past 
even using ATI drivers
- audio with jack+oss2jack+arts works with few xruns (but still too many)

Without HPET the realfeel test shows a little number of very big latencies 
(>9ms). These big latencies should not be related to graphics or networking. 
I disabled anything possible and got these results. The same kernel (with 
HPET disabled) is working fine (latencies <100us) on a more traditional PC (a 
2GHz AMD Athlon XP.

For reference here are some of the components I used (RPM source and binary 
packages for the QiLinux distribution):
http://www.mambasoft.it/distromatic/index.html?tag=devel-sc&pkg=kernel26.source
http://www.mambasoft.it/distromatic/index.html?tag=devel-sc&pkg=captest.source
http://www.mambasoft.it/distromatic/index.html?tag=devel-sc&pkg=rtirq.source
http://www.mambasoft.it/distromatic/index.html?tag=devel-sc&pkg=rtc_wakeup.source
http://www.mambasoft.it/distromatic/index.html?tag=devel-sc&pkg=macbook-tools.source

Has anybody had similar (or better, or worse) experiences with a 
realtime-preempt kernel on a MacBook?
Thanks.

bye
Silvan

-- 
mambaSoft di Silvan Calarco - http://www.mambasoft.it

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mactel-linux-devel mailing list
Mactel-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mactel-linux-devel

Reply via email to