All times are UTC-06:00




Post new topic  Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Sat Jun 11, 2005 4:26 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 103
Location: Gothenburg, Sweden
Gentoo's very own Daniel Goller has figured out how to get preemption working on PPC without those horrible segfaults we have all grown to love.
In order to get preemption working simply enable SMP (Symmetric multi-processing support) in your kernel along with the "Preemptible Kernel" option, these can both be found under "Platform options". We are currently investigating why this solves the problems. With preemption enabled you should notice quite a difference in terms of responsiveness whenever running I/O-intense processes. On my desktop for instance I've noticed a huge difference when using my system while compiling complex C++ applications such as KDE or The Battle for Wesnoth. Compilations will generally complete faster with preemption enabled if using more than one make thread (set MAKEOPTS="-j2" in /etc/make.conf to enable two make threads, which should be sufficient on a single-CPU/core system).

We have been testing preemption (with SMP enabled:!:) on a number of ppc systems now (including Pegasos IIs) and have yet to experience a single issue related to it. If you decide to enable it and experience any strange behaviour please report back here.


Top
   
PostPosted: Sat Jun 11, 2005 8:45 am 
Offline

Joined: Wed Oct 20, 2004 11:20 pm
Posts: 82
dholm,

Thanks, I'll give it a try.

--Aaron
Gentoo 2005.0
Kernel: 2.6.12-rc6-love1


Top
   
PostPosted: Sun Jun 12, 2005 11:44 pm 
Offline

Joined: Tue May 10, 2005 11:17 pm
Posts: 21
Hello!

I have enabled SMP with preemption, and so far my system works ok. Did not help on Openoffice though... Right now kde is on the test... We will see.


Top
   
PostPosted: Mon Jun 13, 2005 8:29 am 
Offline

Joined: Fri Mar 11, 2005 12:13 am
Posts: 43
Location: Sweden
preemption will be enabled in the next version of mupper


Top
   
PostPosted: Wed Jun 15, 2005 5:59 am 
Offline

Joined: Sun Oct 24, 2004 7:37 am
Posts: 37
IMHO vanila kernel even with preempt enable works quite slow. I suggest to try the CK patchest for current 2.6.11 or 2.6.12rc6, both work realy nice with my Pegasos II machine.

http://members.optusnet.com.au/ckolivas/kernel/

If you want to give a try to CK patchset disable preemption. At last on my system preemption + ck works in a realy weird way and suprising slow.

In general ck gives a MUCH better results than preempt enabled kernel ... of coz if you want to patch your kernel with 3rd patches :)


Top
   
PostPosted: Wed Jun 15, 2005 1:03 pm 
Offline

Joined: Wed Oct 20, 2004 11:20 pm
Posts: 82
I've been running pre-emption + SMP for a few days now and haven't had a problem. My system has been very stable even on this experimental kernel that I'm running.
Quote:
I suggest to try the CK patchest for current 2.6.11 or 2.6.12rc6, both work realy nice with my Pegasos II machine.
I've been reading good things about -ck patches applied over the 2.6.12-rc6-mm1 kernel. Apparently the latest staircase scheduler is pretty good. I haven't tried it yet, though.

--Aaron
Gentoo 2005.0
Kernel: 2.6.12-rc6-love1


Top
   
PostPosted: Wed Jun 15, 2005 8:39 pm 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 103
Location: Gothenburg, Sweden
ck-sources will probably be moved into ~ppc soon.


Top
   
PostPosted: Thu Jun 16, 2005 2:27 am 
Offline

Joined: Wed Oct 20, 2004 11:20 pm
Posts: 82
Quote:
ck-sources will probably be moved into ~ppc soon.
If my endorsement counts for anything, I found the -ck patchset to be very stable on my system.

--Aaron
Gentoo 2005.0
Kernel: 2.6.12-rc6-love1


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 8 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group