Skip to Main Content
Linux Desktop Hacks
book

Linux Desktop Hacks

by Nicholas Petreley, Jono Bacon
March 2005
Beginner to intermediate content levelBeginner to intermediate
342 pages
15h 55m
English
O'Reilly Media, Inc.
Content preview from Linux Desktop Hacks
272
|
Chapter 10, Kernel
#90 Use CKO to Make Your Desktop Go to 11
HACK
will be 1,000 interrupts per second. This means the timer will trigger an
interrupt every millisecond. You can set the number lower, but you
shouldn’t set it higher. A higher number (more interrupts per second) can
improve or degrade performance depending on your machine’s speed. If
you’re running anything better than a ‘486 on your desktop, you should be
happy with the default setting of 1,000. But by all means, feel free to drop it
down to 500, and see how that affects the kind of desktop computing that
suits your style. You never know, the less overhead of having to interrupt
the CPU so often might actually improve performance, depending on what
kind of work or play you are doing.
The rest of the special configuration optimizations are riskier, so stop here
for now. Finish configuring the kernel for your machine’s specifications,
build it, and add it to your bootloader to try it out.
Tweaking CKO in Real Time
Memory and disk swapping are two of the most critical factors in desktop
performance. A system that is heavily swapping to disk is stealing time from
the tasks you want to perform without interruption, such as playing music
or videos. The CKO kernel addresses this by setting a “watermark” thresh-
old for the amount of memory applications can use before the kernel starts
to do what could be intrusive swapping. The default ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Linux Server Hacks, Volume Two

Linux Server Hacks, Volume Two

William von Hagen, Brian K. Jones
Introducing Linux Distros

Introducing Linux Distros

Jose Dieguez Castro

Publisher Resources

ISBN: 0596009119Supplemental ContentCatalog PageErrata