Re: Kernel Preemption

Erik Zeek <[email protected]>
Newsgroups gmane.linux.gentoo.ppc
Organization The University of Georgia
Message-ID <[email protected]>
On Wed August 3 2005 08:15 am, Mike S wrote:
> <snipped from another thread>
>
> On Mon August 1 2005 07:26 am, Mike S wrote:
> >> > Is kernel preemption a bad thing?
> >> >
> >> > --Mike S
> > >
> > > No, just broken.
> >
> > Unless you enable SMP in conjunction with it (yes, even if you _only have
> > one CPU_!).
>
> I opted to use an upstream kernel.  Is this also broken here, or just in
> the gentoo kernel?  And I do have SMP enabled.  Basically whatever
> speed-ups I can get I am trying to use.
>
> --Mike S

As I understand, it preemption is not exactly a speedup.  It is supposed to 
improve the responsiveness of the kernel to user input.  The kernel can 
switch contexts in more places inside the kernel in response to other inputs.  
This is great for desktops, but probably not for servers/number crunchers.

I have no idea if it's fixed or not.  Try disabling SMP and enabling 
preemption followed by an emerge of something large (openoffice, kde, you 
pick).  If it succeeds, maybe it's fixed.  If not, then it's still broken.

Erik

P.S.  I'm no expert on the kernel (I'm a laser physicist.), so you might be 
better off Googling for an answer.
-- 
*******************************************
Dr. Erik Zeek
Postdoctoral Research Associate
Department of Physics and Astronomy
The University of Georgia
Athens, GA 30602-2451

Tel: 706-542-7293
Email: mailto:[email protected]
Html:  http://www.physast.uga.edu/~zeekec
*******************************************
Against stupidity the very gods
Themselves contend in vain.
  - Johann Christoph Friedrich von Schiller (1801)
*******************************************
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQBC8h50heDjW4eQKVYRAv3hAKCfYGfeBmUqSw7tW8t8rPSe2i6oTACfSuZ+
vZyf4/yjuMh3GZ2R8wj8d0M=
=czeW
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.