[Solved] Desktop or server kernel

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

[Solved] Desktop or server kernel

Postby eldiener » May 18th, '14, 21:53

What is the difference between the desktop and server kernel for any given kernel release ?

I am running Mageia 4 on my desktop and the default boot item, which is for /boot/vmlinuz, does point to the latest desktop kernel. If I am using only the desktop kernel do I need to have any of the server kernels ?
Last edited by eldiener on Sep 21st, '14, 14:41, edited 1 time in total.
eldiener
 
Posts: 57
Joined: Oct 22nd, '12, 01:44

Re: Desktop or server kernel

Postby doktor5000 » May 18th, '14, 22:00

The server kernel is installed by default for systems which have more then 4GB of RAM, multiple processors, or for certain case types.
You don't need the server kernel usually.

For the differences in configuration, take a look:

[doktor5000@Mageia4 ~]$ urpmq -i kernel-desktop-3.12.18-1.mga4-1-1.mga4
Name : kernel-desktop-3.12.18-1.mga4
Version : 1
Release : 1.mga4
Group : System/Kernel and hardware
Size : 49333183 Architecture: x86_64
Source RPM : kernel-3.12.18-1.mga4.src.rpm
URL : http://www.kernel.org
Summary : Linux Kernel for desktop use with x86_64
Description :
The kernel package contains the Linux kernel (vmlinuz), the core of your
Mageia operating system. The kernel handles the basic functions
of the operating system: memory allocation, process allocation, device
input and output, etc. This kernel is compiled for desktop use, single or
multiple x86_64 processor(s)/core(s), using HZ_1000, voluntary preempt,
CFS cpu scheduler and cfq i/o scheduler.


This kernel relies on in-kernel smp alternatives to switch between up & smp
mode depending on detected hardware. To force the kernel to boot in single
processor mode, use the "nosmp" boot parameter.


[doktor5000@Mageia4 ~]$ urpmq -i kernel-server-3.12.18-1.mga4-1-1.mga4
Name : kernel-server-3.12.18-1.mga4
Version : 1
Release : 1.mga4
Group : System/Kernel and hardware
Size : 50768338 Architecture: x86_64
Source RPM : kernel-3.12.18-1.mga4.src.rpm
URL : http://www.kernel.org
Summary : Linux Kernel for server use with x86_64
Description :
The kernel package contains the Linux kernel (vmlinuz), the core of your
Mageia operating system. The kernel handles the basic functions
of the operating system: memory allocation, process allocation, device
input and output, etc. This kernel is compiled for server use, single or
multiple x86_64 processor(s)/core(s), using no preempt, HZ_100,
CFS cpu scheduler and cfq i/o scheduler.


This kernel relies on in-kernel smp alternatives to switch between up & smp
mode depending on detected hardware. To force the kernel to boot in single
processor mode, use the "nosmp" boot parameter.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Desktop or server kernel

Postby eldiener » May 18th, '14, 22:37

The only difference that I see in the descriptions for the kernel are that the desktop kernel uses "voluntary preempt" and the server kernel uses no preempt. Any idea how this translates to one kernel being for a desktop system and another kernel being for a server system ?
eldiener
 
Posts: 57
Joined: Oct 22nd, '12, 01:44

Re: Desktop or server kernel

Postby doktor5000 » May 19th, '14, 10:32

Check http://stackoverflow.com/questions/8170 ... t-good-for
It's set to voluntary preempt for the desktop kernel to make it feel more snappy, as users have a different expectation on response times for their desktops then servers.

The other difference is the HZ value - higher value also means less response times and allows for more interrupts per second.
For that you may want to check e.g. http://www.advenage.com/topics/linux-ti ... quency.php
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest