/
fnscpuperformance.html
391 lines (384 loc) · 23.1 KB
/
fnscpuperformance.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Fvwm-Nightshade - Desktop environment based on Fvwm</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="generator" content="AsciiDoc 8.6.9">
<meta name="author" content="Fvwm-Nightshade">
<meta name="copyright" content="Fvwm-Nightshade">
<meta http-equiv="content-language" content="en">
<meta http-equiv="content-style-type" content="text/css">
<meta http-equiv="content-script-type" content="text/javascript">
<link rel="stylesheet" href="./styles/menu.css" type="text/css"><style type="text/css" media="screen"></style>
<link rel="stylesheet" href="./styles/asciidoc.css" type="text/css"><style type="text/css" media="screen"></style>
<link rel="stylesheet" href="./styles/sites.css" type="text/css"><style type="text/css" media="screen"></style>
<link rel="shortcut icon" href="./images/favicon.png" type="image/png">
<!-- JavaScripts-->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript">
$(function foo(){
// this will get the full URL at the address bar
var url = window.location.href;
// passes on every "a" tag
$(".inner a").each(function() {
// checks if its the same on the address bar
if(url == (this.href)) {
$(this).addClass("highlighted");
} else {
$(this).removeClass("highlighted");
}
});
setTimeout(foo, 1000);
})();
</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-38985450-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<!-- BEGIN: Sticky Header -->
<div id="header_container">
<div id="_header">
<body class="site" id="fnscpuperformance">
<div class="menu_templ">
<ul id="css3menu1" class="topmenu">
<li class="topmenu"><a href="./features.html" title="What you get with FNS" id="featuresnav"><img src="./images/menu/features.png" alt="">Features</a></li>
<li class="topmenu"><a href="" title="All news around FNS" id="newsblognav"><span><img src="./images/menu/news.png" alt="">News/Blog</span></a>
<ul>
<li><a href="./news.html" title="Release News" id="newsnav"><img src="./images/menu/news_small.png" alt="">News</a></li>
<li><a href="./blog.html" title="See our work in progress" id="blognav"><img src="./images/menu/blog_small.png" alt="">Blog</a></li>
</ul>
</li>
<li class="topmenu"><a href="./screenshots.html" title="" id="screennav"><img src="./images/menu/screen.png" alt="">Screenshots</a></li>
<li class="topmenu"><a href="" title="" id="docunav"><span><img src="./images/menu/documentation.png" alt="">Documentation</span></a>
<ul>
<li><a href="./faq.html" title="Frequently Asked Questions" id="faqnav"><img src="./images/menu/faq_small.png" alt="">FAQ</a></li>
<li><a href="./install.html" title="Install FNS to your system" id="installnav"><span><img src="./images/menu/install_small.png" alt="">Installation/Deinstallation</span></a>
<ul class="inner">
<li><a href="./install.html#Dependencies" title="Which packages are needed" id="depsnav"><img src="./images/menu/deps_small.png" alt="">Dependencies</a></li>
<li><a href="./install.html#InstallFvwm" title="How to install Fvwm" id="instfvwmnav"><img src="./images/menu/install_small.png" alt="">Step 1: Install Fvwm</a></li>
<li><a href="./install.html#InstallFNS" title="How to install FNS" id="instfnsnav"><img src="./images/menu/install_small.png" alt="">Step 2: Install Fvwm-Nightshade</a></li>
<li><a href="./install.html#UnInstallFNS" title="How to uninstall FNS" id="uninstfnsnav"><img src="./images/menu/uninstall_small.png" alt="">Uninstall Fvwm-Nightshade</a></li>
<li><a href="./install.html#Tips" title="How to get required packages" id="tipsnav"><img src="./images/menu/tips_small.png" alt="">Tips</a></li>
</ul>
</li>
<li><a href="./usage.html#Usage" title="How to use FNS" id="usenav"><span><img src="./images/menu/usage_small.png" alt="">Usage</span></a>
<ul class="inner">
<li><a href="./usage.html#FirstStart" title="" id="1ststartnav"><img src="./images/menu/1st_small.png" alt="">First Start</a></li>
<li><a href="./fnsbasesetup.html" title="SimpleGtk2 module to configure base settings" id="setupnav"><img src="./images/menu/setup_small.png" alt="">FNS-BaseSetup</a></li>
<li><a href="./fnswindowsbehaviour.html" title="SimpleGtk2 module to configure the windows behaviour" id="winbehavenav"><img src="./images/menu/winbehaviour.png" alt="">FNS-WindowsBehaviour</a></li>
<li><a href="./usage.html#DesktopOrganisation" title="Horizontal, Vertical & G2like Layout" id="desknav"><img src="./images/menu/desktop_small.png" alt="">Desktop Organisation</a></li>
<li><a href="./usage.html#RootMenu" title="Personal Applications, Configuration, Help, WinOops" id="rootnav"><img src="./images/menu/menu_small.png" alt="">Root Menu</a></li>
<li><a href="./fnsmenuconfigurator.html" title="SimpleGtk2 program to configure the root menu" id="menuconfnav"><img src="./images/menu/menuconfigurator.png" alt="">FNS-MenuConfigurator</a></li>
<li><a href="./fnspersonalmenu.html" title="SimpleGtk2 program to customize personal application menu" id="menubuildernav"><img src="./images/menu/menubuilder.png" alt="">FNS-MenuBuilder</a></li>
<li><a href="./usage.html#Bindings" title="Mouse and Keys" id="bindnav"><img src="./images/menu/bindings_small.png" alt="">Bindings</a></li>
<li><a href="./fnscompconfigurator.html" title="SimpleGtk2 program to configure composition" id="compconfnav"><img src="./images/menu/compconfigurator.png" alt="">FNS-CompConfigurator</a></li>
<li><a href="./fnscpuperformance.html" title="SimpleGtk2 program to configure cpu governor" id="cpuperfnav"><img src="./images/menu/cpuperf.png" alt="">FNS-CpuPerformance</a></li>
</ul>
</li>
<li><a href="./configuration.html#Configuration" title="How FNS works" id="confnav"><span><img src="./images/menu/conf_small.png" alt="">Configuration</span></a>
<ul class="inner">
<li><a href="./configuration.html#Structure" title="System and user parts" id="structnav"><img src="./images/menu/deps_small.png" alt="">Structure</a></li>
<li><a href="./configuration.html#LocationFiles" title="Location of Files and their Function" id="filesnav"><img src="./images/menu/files_small.png" alt="">Location of Files</a></li>
<li><a href="./configuration.html#Startup" title="Call Sequence while Startup" id="startupnav"><img src="./images/menu/startup_small.png" alt="">Startup</a></li>
<li><a href="./configuration.html#Autostart" title="Autostart of Applications" id="autonav"><img src="./images/menu/auto_small.png" alt="">Autostart</a></li>
</ul>
</li>
<li><a href="./advanced.html#Adv" title="All for customization" id="advnav"><span><img src="./images/menu/adv_small.png" alt="">Advanced</span></a>
<ul class="inner">
<li><a href="./advanced.html#EnvSpec" title="Global and FNS related Variables" id="envnav"><img src="./images/menu/deps_small.png" alt="">Environment Specifications</a></li>
<li><a href="./advanced.html#Debug" title="Possibilities to debug FNS" id="debugnav"><img src="./images/menu/debug_small.png" alt="">Debugging</a></li>
<li><a href="./tools.html" title="Used Tools in FNS" id="toolsnav"><span><img src="./images/menu/tools_small.png" alt="">Tools</span></a>
<ul class="inner">
<li><a href="./tools.html#menudesktop" title="Reads XDG menu files and creates Fvwm menus" id="fnsmenudesktopnav"><img src="./images/menu/tools_small.png" alt="">fns-menu-desktop</a></li>
<li><a href="./tools.html#findicon" title="Find icons for your panel, button etc." id="fnsfindiconnav"><img src="./images/menu/tools_small.png" alt="">fns-find-icon</a></li>
<li><a href="./tools.html#findfile" title="Get the path of a file" id="fnsfindfilenav"><img src="./images/menu/tools_small.png" alt="">fns-find-file</a></li>
<li><a href="./tools.html#startprogs" title="Start apps from a list" id="fnsstartnav"><img src="./images/menu/tools_small.png" alt="">fns-start-programs</a></li>
<li><a href="./tools.html#builttraylist" title="Create list of running stalonetray apps" id="fnstraynav"><img src="./images/menu/tools_small.png" alt="">fns-built-trayapplist</a></li>
<li><a href="./tools.html#poladd" title="Add or remove programs to/from polkit for gui view" id="fnspoladdnav"><img src="./images/menu/tools_small.png" alt="">fns-poladd</a></li>
<li><a href="./tools.html#banner" title="Show a banner while Fvwm-Nightshade's startup" id="fnsbannernav"><img src="./images/menu/tools_small.png" alt="">fns-show-banner</a></li>
<li><a href="./tools.html#transset" title="Set true transparency to windows if a composite manager is running" id="fnstranssetnav"><img src="./images/menu/tools_small.png" alt="">FvwmTransSet</a></li>
<li><a href="./tools.html#smartmax" title="Maximize window to the largest free area" id="smartmaxnav"><img src="./images/menu/tools_small.png" alt="">FvwmSmartMaximize</a></li>
</ul>
</li>
<li><a href="./advanced.html#Theme" title="How to create own Themes" id="themenav"><img src="./images/menu/themes_small.png" alt="">Theme Creation</a></li>
<li><a href="./advanced.html#Layout" title="How to create own Layouts" id="layoutnav"><img src="./images/menu/layout_small.png" alt="">Layout Creation</a></li>
<li><a href="./advanced.html#Language" title="How to create own Language" id="langnav"><img src="./images/menu/lang_small.png" alt="">Language Creation</a></li>
<li><a href="./advanced.html#Module" title="How to create own Modules" id="modulesnav"><img src="./images/menu/modules_small.png" alt="">Module Creation</a></li>
</ul>
</li>
<li><a href="http://thomasfunk.github.io/SimpleGtk2" title="RAD library to create Gtk2 apps/modules" id="simplegtk2nav"><img src="./images/menu/gtk2_small.png" alt="">SimpleGtk2</a></li>
</ul>
</li>
<li class="topmenu"><a href="" title="" id="involvednav"><span><img src="./images/menu/get-involved.png" alt="">Get Involved</span></a>
<ul>
<li><a href="./development.html" title="Become a part of us" id="devnav"><img src="./images/menu/devel_small.png" alt="">Development</a></li>
<li><a href="./contact.html" title="Get in touch with us" id="mailnav"><img src="./images/menu/mail_small.png" alt="">Contact</a></li>
</ul>
</li>
<li class="topmenu"><a href="./about.html" title="What is Fvwm-Nightshade" id="aboutnav"><img src="./images/menu/home.png" alt="">About</a></li>
<li class="topmenu"><a href="./downloads.html" title="Get Fvwm-Nightshade" id="downloadsnav"><img src="./images/menu/downloads.png" alt="">Downloads</a></li>
</ul>
</div>
</body>
</div>
</div>
<!-- END: Sticky Header -->
<!-- BEGIN: Page Content -->
<div id="container">
<div id="_content">
<body class="manpage">
<div class="bg_header">
<a href="./index.html" title="Home"><img style="display:block; margin-left:auto; margin-right:auto" src="./images/html_header.png" alt=""></a>
<p class="site" align="center">Desktop environment based on Fvwm</p>
</div>
<div id="header">
<div class="sectionbody">
</div>
</div>
<div id="content">
<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<table class="tableblock frame-none grid-none"
style="
margin-left:0; margin-right:auto;
width:95%;
">
<col style="width:75%;">
<col style="width:25%;">
<tbody>
<tr>
<td class="tableblock halign-left valign-top" ><p class="tableblock">FNS-CpuPerformance</p></td>
<td class="tableblock halign-right valign-top" ><p class="tableblock"><strong><span class="image">
<a class="image" href="./images/FNS-CpuPerformance.png">
<img src="./images/FNS-CpuPerformance.png" alt="Module FNS-CpuPerformance" width="150">
</a>
</span></strong></p></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
<div class="paragraph"><p><strong>FNS-CpuPerformance</strong> is used to configure the cpu governor. Two tools
are supported: <em>cpufreq</em> and <em>cpupower</em>.</p></div>
</div>
</div>
<div class="sect1">
<h2 id="_cpu_information">CPU Information</h2>
<div class="sectionbody">
<div class="paragraph"><p>It contains the CPU model, the count and the manufacturer.</p></div>
</div>
</div>
<div class="sect1">
<h2 id="_cpu_configuration">CPU Configuration</h2>
<div class="sectionbody">
<div class="paragraph"><p>Two types of tabs exists - one to configure the cores as a whole and
one for each core of the CPU.</p></div>
<div class="paragraph"><p>Deeper information about the CPU and its core(s) can be called in each tab, too.</p></div>
<div class="sect2">
<h3 id="_joined">Joined</h3>
<div class="paragraph"><p>In this tab the governor behaviour of the whole CPU is settable if they’re
not unlocked.</p></div>
<div class="dlist"><dl>
<dt class="hdlist1">
<strong>Unlock cores</strong>
</dt>
<dd>
<div class="paragraph"><p>Each core can be configured separately to set governor and frequencies
if this checkbox is set.</p></div>
</dd>
<dt class="hdlist1">
<strong>Governor</strong>
</dt>
<dd>
<div class="paragraph"><p>In this combobox the available governor can be chosen. For more information
about the different governors see <em>Governors</em> chapter below.</p></div>
</dd>
<dt class="hdlist1">
<strong>Min Fequency</strong>
</dt>
<dd>
<div class="paragraph"><p>Sets the minimum used frequency from the range of available frequencies.</p></div>
</dd>
<dt class="hdlist1">
<strong>Max Fequency</strong>
</dt>
<dd>
<div class="paragraph"><p>Sets the maximum used frequency from the range of available frequencies.</p></div>
</dd>
<dt class="hdlist1">
<strong>Information to Cores</strong>
</dt>
<dd>
<div class="paragraph"><p>Show deeper information about the cpu by clicking <em>More</em>.</p></div>
</dd>
</dl></div>
</div>
<div class="sect2">
<h3 id="_core_n">Core [n]</h3>
<div class="paragraph"><p>Each core has its own tab to set governor and frequencies separately.</p></div>
<div class="admonitionblock">
<table><tr>
<td class="icon">
<img src="./images/icons/note.png" alt="Note">
</td>
<td class="content">
<div class="paragraph"><p>The options are only active if "Unlock cores" is set.</p></div>
</td>
</tr></table>
</div>
<div class="dlist"><dl>
<dt class="hdlist1">
<strong>Governor</strong>
</dt>
<dd>
<div class="paragraph"><p>In this combobox the available governor can be chosen. For more information
about the different governors see <em>Governors</em> chapter below.</p></div>
</dd>
<dt class="hdlist1">
<strong>Min Fequency</strong>
</dt>
<dd>
<div class="paragraph"><p>Sets the minimum used frequency from the range of available frequencies.</p></div>
</dd>
<dt class="hdlist1">
<strong>Max Fequency</strong>
</dt>
<dd>
<div class="paragraph"><p>Sets the maximum used frequency from the range of available frequencies.</p></div>
</dd>
<dt class="hdlist1">
<strong>Information to Core n</strong>
</dt>
<dd>
<div class="paragraph"><p>Show deeper information about the core by clicking <em>More</em>.</p></div>
</dd>
</dl></div>
</div>
<div class="sect2">
<h3 id="_governors">Governors</h3>
<div class="paragraph"><p>The following governors are available:</p></div>
<div class="dlist"><dl>
<dt class="hdlist1">
<strong>Performance</strong>
</dt>
<dd>
<div class="paragraph"><p>This governor sets the CPU statically to the highest frequency within the
borders of Min Frequency and Max Frequency. Consequently, saving power is
not the focus of this governor.</p></div>
</dd>
<dt class="hdlist1">
<strong>Powersave</strong>
</dt>
<dd>
<div class="paragraph"><p>The CPU frequency is statically set to the lowest possibility. This can have
severe impact on the performance, as the system will never rise above this
frequency no matter how busy the processors are.</p></div>
<div class="paragraph"><p>However, using this governor often does not lead to the expected power savings
as the highest savings can usually be achieved at idle through entering C-states.
Due to running processes at the lowest frequency with the powersave governor,
processes will take longer to finish, thus prolonging the time for the system
to enter any idle C-states.</p></div>
</dd>
<dt class="hdlist1">
<strong>On-demand</strong>
</dt>
<dd>
<p>
The kernel implementation of a dynamic CPU frequency policy: The governor
monitors the processor utilization. As soon as it exceeds a certain threshold,
the governor will set the frequency to the highest available. If the utilization
is less than the threshold, the next lowest frequency is used. If the system
continues to be underutilized, the frequency is again reduced until the lowest
available frequency is set.
</p>
</dd>
<dt class="hdlist1">
<strong>Conservative</strong>
</dt>
<dd>
<div class="paragraph"><p>Similar to the on-demand implementation, this governor also dynamically adjusts
frequencies based on processor utilization, except that it allows for a more
gradual increase in power. If processor utilization exceeds a certain threshold,
the governor does not immediately switch to the highest available frequency
(as the on-demand governor does), but only to next higher frequency available.</p></div>
</dd>
<dt class="hdlist1">
<strong>Userspace</strong>
</dt>
<dd>
<div class="paragraph"><p>This governor allows the user, or any userspace program running with UID <em>root</em>,
to set the CPU to a specific frequency.</p></div>
<div class="admonitionblock">
<table><tr>
<td class="icon">
<img src="./images/icons/note.png" alt="Note">
</td>
<td class="content">
<div class="paragraph"><p><em>Userspace</em> is not supported yet, but to get the same result use governor
<em>powersave</em> and one of the frequencies in <em>Min Frequency</em>, or governor
<em>performance</em> in combination with <em>Max Frequency</em>.</p></div>
</td>
</tr></table>
</div>
</dd>
</dl></div>
</div>
<div class="sect2">
<h3 id="_apply">Apply</h3>
<div class="paragraph"><p>Applies the current settings to the cpufreq system.</p></div>
<div class="admonitionblock">
<table><tr>
<td class="icon">
<img src="./images/icons/note.png" alt="Note">
</td>
<td class="content">
<div class="paragraph"><p>This is only active for the current session. After reboot it falls back
to default settings. Therefore the settings are saved in ~/.fvwm-nightshade/.governor
for later use or while autostart if set.</p></div>
</td>
</tr></table>
</div>
</div>
<div class="sect2">
<h3 id="_cancel">Cancel</h3>
<div class="paragraph"><p>Closes <strong>FNS-CpuPerformance</strong> without setting the custom governor configuration.</p></div>
</div>
<div class="sect2">
<h3 id="_add_to_autostart">Add to Autostart</h3>
<div class="paragraph"><p>To use the changes permanently after each login enable this checkbox.</p></div>
</div>
</div>
</div>
<div class="sect1">
<h2 id="_files">FILES</h2>
<div class="sectionbody">
<div class="paragraph"><p>The new settings are saved in <span class="monospaced">~/.fvwm-nightshade/.governor</span> after each <em>Apply</em>.</p></div>
<div class="paragraph"><p>If Autostart is enabled <span class="monospaced">.governor</span> is added to <span class="monospaced">~/.fvwm-nightshade/.autostart</span>.</p></div>
</div>
</div>
<div class="sect1">
<h2 id="_author">AUTHOR</h2>
<div class="sectionbody">
<div class="paragraph"><p>© 2016 Thomas Funk <<a href="mailto:t.funk@web.de">t.funk@web.de</a>></p></div>
</div>
</div>
</div>
<div id="footnotes"></div>
<div id="footer">
<div id="footer-text">
Design by Thomas Funk and built with <a href="http://www.methods.co.nz/asciidoc/index.html">Asciidoc</a><br />
Last updated 2016-05-18 20:37:02 CEST
</div>
</div>
</body>
</html>