Gentoo Archives: gentoo-user

From: "Brett I. Holcomb" <brettholcomb@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] kernel tuning
Date: Mon, 03 Oct 2005 20:19:23
Message-Id: Pine.LNX.4.63.0510031515560.11025@gandalf
In Reply to: Re: [gentoo-user] kernel tuning by Bastian Balthazar Bux
1 Out of curiosity and so I can learn. Why did you suggest CONFIG_HZ be set
2 to 100 (IIRC default is 250) and also what exactly is it supposed to do
3 for you. We did not have it before.
4
5 Also what about CONFIG_PREMPT being none? The help mentions it is for low
6 latency.
7
8 Thanks.
9
10 On Mon, 3 Oct 2005, Bastian Balthazar Bux wrote:
11
12 > John Jolet wrote:
13 >> On Saturday 01 October 2005 14:59, gentuxx wrote:
14 >>
15 >>
16 >>>> - Mark Shields
17 >>>
18 >>> IIRC, RedHat kernels are relatively generic in that they have almost
19 >>> MUCH faster. 1) Because you'll have a pre-defined kernel config. 2)
20 >>> You'll know what most of the kernel options are (at least
21 >>> superficially) and which ones you need enabled. You'll just have to
22 >>> read the help for any new ones that pop up. ;-)
23 >>>
24 >>>
25 >>
26 >> I've done all that, in terms of drivers/features turned on/off/modules. I
27 >> meant more in terms of things like threads per process, processes per user
28 >> (ulimit and friends), max data stack, that sort of thing.
29 >
30 > For that take a look at
31 > http://www.gentoo.org/news/en/gwn/20050808-newsletter.xml
32 > section "Tips and Tricks"
33 >
34 > The "sys-kernel/hardened-sources" give some more flexibility but the
35 > fact is not so widely used, as (on amd64) the vanilla ones has to be
36 > considered.
37 >
38 > Also setting ulimit and sysctl apply to every linux system not only
39 > gentoo and should be always checked, also if you trust that the distro
40 > you are using is optimized to be used as server.
41 >
42 > Also to consider:
43 > CONFIG_HZ=100
44 > CONFIG_PREEMPT_NONE=y
45 > IOSCHED_AS || IOSCHED_DEADLINE || IOSCHED_CFQ
46 >
47 > HTHToo
48 >
49
50 --
51
52 Brett I. Holcomb
53 brettholcomb@×××××××××××××.net
54 Registered Linux User #188143
55 Remove R777 to email
56 --
57 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] kernel tuning Bastian Balthazar Bux <BastianBalthazarBux@×××××××××.it>