<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://linux-vserver.at/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://linux-vserver.at/index.php?action=history&amp;feed=atom&amp;title=Scheduler_Parameters</id>
		<title>Scheduler Parameters - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://linux-vserver.at/index.php?action=history&amp;feed=atom&amp;title=Scheduler_Parameters"/>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/index.php?title=Scheduler_Parameters&amp;action=history"/>
		<updated>2026-04-09T13:46:52Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.20.2</generator>

	<entry>
		<id>http://linux-vserver.at/index.php?title=Scheduler_Parameters&amp;diff=4830&amp;oldid=prev</id>
		<title>Glenn: spelling</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/index.php?title=Scheduler_Parameters&amp;diff=4830&amp;oldid=prev"/>
				<updated>2011-10-21T18:59:59Z</updated>
		
		<summary type="html">&lt;p&gt;spelling&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 18:59, 21 October 2011&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 40:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 40:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;(note, the default is to use pure system scheduling)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;(note, the default is to use pure system scheduling)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Documentaion&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Documentation&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Glenn</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/index.php?title=Scheduler_Parameters&amp;diff=4816&amp;oldid=prev</id>
		<title>Glenn: +cat</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/index.php?title=Scheduler_Parameters&amp;diff=4816&amp;oldid=prev"/>
				<updated>2011-10-21T18:53:58Z</updated>
		
		<summary type="html">&lt;p&gt;+cat&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 18:53, 21 October 2011&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 39:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 39:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;(note, the default is to use pure system scheduling)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;(note, the default is to use pure system scheduling)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Documentaion]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Glenn</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/index.php?title=Scheduler_Parameters&amp;diff=3654&amp;oldid=prev</id>
		<title>Jze: migrated from old wiki Scheduler+Parameters</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/index.php?title=Scheduler_Parameters&amp;diff=3654&amp;oldid=prev"/>
				<updated>2009-03-27T16:18:19Z</updated>
		
		<summary type="html">&lt;p&gt;migrated from old wiki Scheduler+Parameters&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Scheduler parameters &amp;lt;tt&amp;gt;/etc/vservers/&amp;lt;server name&amp;gt;/schedule&amp;lt;/tt&amp;gt; should contain 6 lines:&lt;br /&gt;
# fill rate &lt;br /&gt;
# fill interval &lt;br /&gt;
# amount of &amp;quot;tokens&amp;quot; on start &lt;br /&gt;
# minimum number of tokens in token bucket &lt;br /&gt;
# maximum number of tokens &lt;br /&gt;
# dummy line &lt;br /&gt;
&lt;br /&gt;
Each &amp;lt;fill interval&amp;gt; jiffies &amp;lt;fill rate&amp;gt; tokens will be put into bucket. Any tokens more than &amp;lt;maximum number of tokens&amp;gt; are spilled.&lt;br /&gt;
&lt;br /&gt;
Processes will be back from &amp;quot;on hold&amp;quot; when in bucket is more than &amp;lt;minimum number of tokens&amp;gt;.&lt;br /&gt;
You should aim that the sum of (&amp;lt;fill rate&amp;gt; / &amp;lt;fill interval&amp;gt;) adds up to roughly the number of processors in your system. If the fill interval is too long, it might make performance erratic. Setting it as small as 1 or 2 is fine. It only actually recalculates the amount when it has to. Of course, with a fill interval of such a small value you're dishing out large chunks of the system :)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;amp;lt;romke&amp;gt; mugwump: so, wouldn't be better if fill interval be more like 10-20 ? and fill rate proportionally greater?&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;mugwump&amp;gt; it makes little difference. Just don't go expecting smooth scheduling behaviour when it gets near HZ (100 or 1000)&lt;br /&gt;
&lt;br /&gt;
(thx to mugwump)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 7&lt;br /&gt;
 32&lt;br /&gt;
 500&lt;br /&gt;
 200&lt;br /&gt;
 1000&lt;br /&gt;
 dummy&lt;br /&gt;
&lt;br /&gt;
Will aim to give the context 7/32 (21.9%) of one processor. If you turned on &amp;quot;hard&amp;quot; scheduling, then if the context ran out of tokens, it would be put on hold for (200 / 7) * 32 = 928 jiffies (~1 second if HZ = 1000, ~10 seconds if HZ = 100). If you didn't turn on 'hard' scheduling, it would be run a very low priority - meaning it gets much shorter timeslices.&lt;br /&gt;
&lt;br /&gt;
(Don't forget to put sched_prio or/and sched_hard flags in /etc/vservers/&amp;lt;vserver&amp;gt;/flags)&lt;br /&gt;
&lt;br /&gt;
If you have set sched_prio and/or sched_hard but there is no schedule file, the following default values are used:&lt;br /&gt;
 FillRate:              1&lt;br /&gt;
 Interval:              4&lt;br /&gt;
 TokensMin:            15&lt;br /&gt;
 TokensMax:           125&lt;br /&gt;
&lt;br /&gt;
(note, the default is to use pure system scheduling)&lt;/div&gt;</summary>
		<author><name>Jze</name></author>	</entry>

	</feed>