[KERNEL] 2.6.11 configs

John Richard Moser nigelenki at comcast.net
Sun Feb 13 12:58:33 CST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Could Ubuntu enable preempt and magicsysrq?  I do not understand the
design decisions which would lead the kernel team to decide to disable
these.  I've been looking forward to Linux as a soft realtime system for
desktop use; preemption is a part of that effort.

I understand that Preempt lowers latency, making it respond to
interrupts faster.  This could include the keyboard and mouse, improving
the user experience.

On the other hand, preempt decreases real throughput slightly.  I do not
believe this should be an issue on desktop machines.  If Ubuntu wishes
to support servers, it should deploy a special server kernel depended on
by a meta-package such as ubuntu-server (which would be installed instad
of ubuntu-desktop).

I find magicsysrq to be very useful when my system is dying.  Sometimes
X goes and I can only A-SRQ-{K|E} and then shut down properly.  This is
better than pressing the big red button.

To enable pre-empt, the following three lines need to go into the kernel
config file.  Only the first two are necessary; however, the third also
preempts the big kernel lock.

CONFIG_LOCK_KERNEL=y
CONFIG_PREEMPT=y
CONFIG_PREEMPT_BKL=y


These two should be added to enable magic sysrq.

CONFIG_DEBUG_KERNEL=y
CONFIG_MAGIC_SYSRQ=y

- --
All content of all messages exchanged herein are left in the
Public Domain, unless otherwise explicitly stated.

    Creative brains are a valuable, limited resource. They shouldn't be
    wasted on re-inventing the wheel when there are so many fascinating
    new problems waiting out there.
                                                 -- Eric Steven Raymond
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCD6NYhDd4aOud5P8RAvkUAJ96D26qeT/WJhh53MVT1dNUUvhQQACfRLQT
pmMcsaO5M8fhoLbLMdGn/H0=
=0PCs
-----END PGP SIGNATURE-----



More information about the ubuntu-devel mailing list