Gentoo Archives: gentoo-amd64

From: Joshua Hoblitt <jhoblitt@××××××××××.edu>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] complete crash with ondemand scheduler
Date: Mon, 06 Aug 2007 04:21:43
Message-Id: 20070806042526.GA19200@ifa.hawaii.edu
In Reply to: Re: [gentoo-amd64] complete crash with ondemand scheduler by Beso
1 On Sun, Aug 05, 2007 at 04:29:43PM +0200, Beso wrote:
2 > i don't want to have to adjust it. i want it to step by default as i need,
3 > and if there are daemons and better governors (the conservative one is
4 > better in my opionion) i don't really understand why i should something that
5 > will bother me with tunings when there are things that don't need them and
6 > which perform better?!
7
8 So you'd rather install and have to configure an additional userspace
9 daemon then have to adjusting a single parameter in sysfs? I don't
10 understand the logic of that. This is not to say that there aren't good
11 reasons for using a userspace governor but in the simple case of only
12 scaling the CPUs frequency in reason to load it is not required, not
13 necessary, and just adds an extra piece of software to your system that
14 will wake your CPU up from a deep C state (wasting power).
15
16 You have in no way explained what your criteria for "perform better",
17 quantified the claim of "very bad" performance or why this discussion is
18 even specific to amd64 CPUs.
19
20 I'm not interested in arguing with you about this. I just don't want to
21 leave your false claims unchallenged for the others reading this list as
22 power management is becoming a serious issue that all system
23 administrators need to deal with. That last thing we need is FUD
24 floating around.
25
26 >
27 > 2007/8/5, Joshua Hoblitt <jhoblitt@××××××××××.edu>:
28 > >
29 > > On Sun, Aug 05, 2007 at 09:24:17AM +0200, Bernhard Auzinger wrote:
30 > >
31 > > > I think you are wrong, because the ondemand governor does also switch
32 > > between
33 > > > all available frequencies. For example my amd64X2 is capable of
34 > > > 1000,1800,2000,2200,2400MHz and the ondemand governor does switch very
35 > > well
36 > > > between these frequencies if needed.
37 >
38 >
39 > i repeat: on my 2 systems it didn't worked in that way, so i don't want to
40 > spend time bothering about tunings when there is really no need for that.
41
42 I suggest that you try reading the documentation for the ondemand
43 governor. You can find it in the kernel sources as:
44
45 Documentation/cpu-freq/governors.txt
46
47 If you don't believe the documentation (or me), why don't you just try
48 adjusting the ondemand governors polling interval?
49
50 echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
51 cat /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate_max >
52 /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate
53
54 Cheers,
55
56 -J
57
58 --