<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://m204wiki.rocketsoftware.com/index.php?action=history&amp;feed=atom&amp;title=SDAEMDEL_parameter</id>
	<title>SDAEMDEL parameter - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://m204wiki.rocketsoftware.com/index.php?action=history&amp;feed=atom&amp;title=SDAEMDEL_parameter"/>
	<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=SDAEMDEL_parameter&amp;action=history"/>
	<updated>2026-05-09T02:05:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://m204wiki.rocketsoftware.com/index.php?title=SDAEMDEL_parameter&amp;diff=103112&amp;oldid=prev</id>
		<title>DCameron: /* Description */</title>
		<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=SDAEMDEL_parameter&amp;diff=103112&amp;oldid=prev"/>
		<updated>2017-05-24T14:59:35Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Description&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:59, 24 May 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l59&quot;&gt;Line 59:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 59:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If there is lots of daemon activity in a resource constrained Online, this can result in 204 not being able to do productive work because it&amp;#039;s too busy shuffling daemon and parent threads into and out of servers.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If there is lots of daemon activity in a resource constrained Online, this can result in 204 not being able to do productive work because it&amp;#039;s too busy shuffling daemon and parent threads into and out of servers.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The expected symptom of such a situation (when server swapping is being done in memory) is one task spending almost all its time server swapping and, in an MP environment, an inability to keep the other tasks busy.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The expected symptom of such a situation (when server swapping is being done in memory) is one task spending almost all its time server swapping and, in an &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;var&amp;gt;[[&lt;/ins&gt;MP&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/204#Multiprocessing_.28MP.2F204.29|MP]]&amp;lt;/var&amp;gt; &lt;/ins&gt;environment, an inability to keep the other tasks busy.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The number of tasks that can be kept busy is simply a function of the amount of work that can be done between swappable waits and has nothing to do with how much work there is to do because 204 can&amp;#039;t swap users in fast enough to keep all the MP tasks busy.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The number of tasks that can be kept busy is simply a function of the amount of work that can be done between swappable waits and has nothing to do with how much work there is to do because 204 can&amp;#039;t swap users in fast enough to keep all the MP tasks busy.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:System parameters]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:System parameters]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Parameters]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Parameters]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>DCameron</name></author>
	</entry>
	<entry>
		<id>https://m204wiki.rocketsoftware.com/index.php?title=SDAEMDEL_parameter&amp;diff=64152&amp;oldid=prev</id>
		<title>DmeWiccan: Automatically generated page update</title>
		<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=SDAEMDEL_parameter&amp;diff=64152&amp;oldid=prev"/>
		<updated>2013-08-27T16:43:44Z</updated>

		<summary type="html">&lt;p&gt;Automatically generated page update&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Template:SDAEMDEL parameter subtitle}}&lt;br /&gt;
==Summary==&lt;br /&gt;
&amp;lt;dl&amp;gt;&lt;br /&gt;
&amp;lt;dt&amp;gt;Default value&lt;br /&gt;
&amp;lt;dd&amp;gt;0&lt;br /&gt;
&amp;lt;dt&amp;gt;Parameter type&lt;br /&gt;
&amp;lt;dd&amp;gt;System&lt;br /&gt;
&amp;lt;dt&amp;gt;Where set&lt;br /&gt;
&amp;lt;dd&amp;gt;System manager resettable&lt;br /&gt;
&amp;lt;dt&amp;gt;Related products&lt;br /&gt;
&amp;lt;dd&amp;gt;All&lt;br /&gt;
&amp;lt;dt&amp;gt;Introduced&lt;br /&gt;
&amp;lt;dd&amp;gt;Sirius Mods 7.7&lt;br /&gt;
&amp;lt;/dl&amp;gt;&lt;br /&gt;
==Description==&lt;br /&gt;
This parameter indicates the number of milliseconds to &lt;br /&gt;
delay (hence SDAEMDEL) before allowing a daemon or       &lt;br /&gt;
parent thread to be swapped out when it&amp;#039;s waiting for    &lt;br /&gt;
the other. The default value of SDAEMDEL is 0 which      &lt;br /&gt;
means that there will be no delay. A value bigger than   &lt;br /&gt;
32767 (32.767 seconds) is treated as 32767 in Sirius Mods 7.7&lt;br /&gt;
and in Sirius Mods 7.8 and later, values bigger than 32767 are not allowed.                   &lt;br /&gt;
                                                         &lt;br /&gt;
The goal of setting SDAEMDEL is to prevent server swaps  &lt;br /&gt;
for quick parent/daemon interactions while allowing them &lt;br /&gt;
for longer interactions. So, if 90% of the parent/daemon &lt;br /&gt;
interactions are less than, say, 10 milliseconds&lt;br /&gt;
(parent tells daemon to do something and the daemon     &lt;br /&gt;
responds within 10 millisconds and then the parent      &lt;br /&gt;
tells the daemon to do something else within 10         &lt;br /&gt;
milliseconds), setting SDAEMDEL could be a big win in   &lt;br /&gt;
reducing server I/O. On the other hand, setting SDAEMDEL&lt;br /&gt;
too high can result in servers being tied up with       &lt;br /&gt;
parent or daemon threads that have been idle for quite a&lt;br /&gt;
while.                                                  &lt;br /&gt;
&lt;br /&gt;
A worst case scenario that would be significantly helped&lt;br /&gt;
by setting SDAEMDEL is a New/Run/Discard sequence. In   &lt;br /&gt;
this sequence, if the Online is thrashing, both the     &lt;br /&gt;
parent and daemon will suffer a server swap in/out      &lt;br /&gt;
sequence for each method, resulting in 12 server swaps  &lt;br /&gt;
for this simple sequence.                               &lt;br /&gt;
                                                        &lt;br /&gt;
SDAEMDEL will delay three kinds of server swaps:        &lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;A swap for a parent thread waiting for the daemon.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;A swap of a daemon thread waiting for the parent.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;A swap of an sdaemon thread waiting for the next unit&lt;br /&gt;
of work. This delay affects &amp;#039;&amp;#039;&amp;#039;all&amp;#039;&amp;#039;&amp;#039; sdaemon threads,   &lt;br /&gt;
including those used for daemon objects, $commxxx    &lt;br /&gt;
requests, web requests, server socket requests and so&lt;br /&gt;
on. Since sdaemon threads are reused on an MRU basis,&lt;br /&gt;
SDAEMDEL can eliminate many server swaps associated  &lt;br /&gt;
with an sdaemon going idle for an instant before being &lt;br /&gt;
reused for another purpose.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since SDAEMDEL is intended to prevent server swaps for &amp;#039;&amp;#039;&amp;#039;quick&amp;#039;&amp;#039;&amp;#039; interactions between the parent and daemon thread, and since server swaps should generally not occur for the brief waits resulting from these interactions, SDAEMDEL is only likely to have an effect in situations where there is a lot of server swapping happening.&lt;br /&gt;
If there is lots of daemon activity in a resource constrained Online, this can result in 204 not being able to do productive work because it&amp;#039;s too busy shuffling daemon and parent threads into and out of servers.&lt;br /&gt;
&lt;br /&gt;
The expected symptom of such a situation (when server swapping is being done in memory) is one task spending almost all its time server swapping and, in an MP environment, an inability to keep the other tasks busy.&lt;br /&gt;
The number of tasks that can be kept busy is simply a function of the amount of work that can be done between swappable waits and has nothing to do with how much work there is to do because 204 can&amp;#039;t swap users in fast enough to keep all the MP tasks busy.&lt;br /&gt;
&lt;br /&gt;
[[Category:System parameters]]&lt;br /&gt;
[[Category:Parameters]]&lt;/div&gt;</summary>
		<author><name>DmeWiccan</name></author>
	</entry>
	<entry>
		<id>https://m204wiki.rocketsoftware.com/index.php?title=SDAEMDEL_parameter&amp;diff=2620&amp;oldid=prev</id>
		<title>Dme: /* Description */</title>
		<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=SDAEMDEL_parameter&amp;diff=2620&amp;oldid=prev"/>
		<updated>2010-10-02T15:42:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Description&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Summary==&lt;br /&gt;
&amp;lt;dl&amp;gt;&lt;br /&gt;
&amp;lt;dt&amp;gt;Default value&lt;br /&gt;
&amp;lt;dd&amp;gt;0&lt;br /&gt;
&amp;lt;dt&amp;gt;Parameter type&lt;br /&gt;
&amp;lt;dd&amp;gt;System&lt;br /&gt;
&amp;lt;dt&amp;gt;Where set&lt;br /&gt;
&amp;lt;dd&amp;gt;System manager resettable&lt;br /&gt;
&amp;lt;dt&amp;gt;Related products&lt;br /&gt;
&amp;lt;dd&amp;gt;All&lt;br /&gt;
&amp;lt;dt&amp;gt;Introduced&lt;br /&gt;
&amp;lt;dd&amp;gt;Sirius Mods 7.7&lt;br /&gt;
&amp;lt;/dl&amp;gt;&lt;br /&gt;
==Description==&lt;br /&gt;
This parameter indicates the number of milliseconds to &lt;br /&gt;
delay (hence SDAEMDEL) before allowing a daemon or       &lt;br /&gt;
parent thread to be swapped out when it&amp;#039;s waiting for    &lt;br /&gt;
the other. The default value of SDAEMDEL is 0 which      &lt;br /&gt;
means that there will be no delay. A value bigger than   &lt;br /&gt;
32767 (32.767 seconds) is treated as 32767 in Sirius Mods 7.7&lt;br /&gt;
and in Sirius Mods 7.8 and later, values bigger than 32767 are not allowed.                   &lt;br /&gt;
                                                         &lt;br /&gt;
The goal of setting SDAEMDEL is to prevent server swaps  &lt;br /&gt;
for quick parent/daemon interactions while allowing them &lt;br /&gt;
for longer interactions. So, if 90% of the parent/daemon &lt;br /&gt;
interactions are less than, say, 10 milliseconds&lt;br /&gt;
(parent tells daemon to do something and the daemon     &lt;br /&gt;
responds within 10 millisconds and then the parent      &lt;br /&gt;
tells the daemon to do something else within 10         &lt;br /&gt;
milliseconds), setting SDAEMDEL could be a big win in   &lt;br /&gt;
reducing server I/O. On the other hand, setting SDAEMDEL&lt;br /&gt;
too high can result in servers being tied up with       &lt;br /&gt;
parent or daemon threads that have been idle for quite a&lt;br /&gt;
while.                                                  &lt;br /&gt;
&lt;br /&gt;
A worst case scenario that would be significantly helped&lt;br /&gt;
by setting SDAEMDEL is a New/Run/Discard sequence. In   &lt;br /&gt;
this sequence, if the Online is thrashing, both the     &lt;br /&gt;
parent and daemon will suffer a server swap in/out      &lt;br /&gt;
sequence for each method, resulting in 12 server swaps  &lt;br /&gt;
for this simple sequence.                               &lt;br /&gt;
                                                        &lt;br /&gt;
SDAEMDEL will delay three kinds of server swaps:        &lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;A swap for a parent thread waiting for the daemon.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;A swap of a daemon thread waiting for the parent.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;A swap of an sdaemon thread waiting for the next unit&lt;br /&gt;
of work. This delay affects &amp;#039;&amp;#039;&amp;#039;all&amp;#039;&amp;#039;&amp;#039; sdaemon threads,   &lt;br /&gt;
including those used for daemon objects, $commxxx    &lt;br /&gt;
requests, web requests, server socket requests and so&lt;br /&gt;
on. Since sdaemon threads are reused on an MRU basis,&lt;br /&gt;
SDAEMDEL can eliminate many server swaps associated  &lt;br /&gt;
with an sdaemon going idle for an instant before being &lt;br /&gt;
reused for another purpose.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since SDAEMDEL is intended to prevent server swaps for &amp;#039;&amp;#039;&amp;#039;quick&amp;#039;&amp;#039;&amp;#039; interactions between the parent and daemon thread, and since server swaps should generally not occur for the brief waits resulting from these interactions, SDAEMDEL is only likely to have an effect in situations where there is a lot of server swapping happening.&lt;br /&gt;
If there is lots of daemon activity in a resource constrained Online, this can result in 204 not being able to do productive work because it&amp;#039;s too busy shuffling daemon and parent threads into and out of servers.&lt;br /&gt;
&lt;br /&gt;
The expected symptom of such a situation (when server swapping is being done in memory) is one task spending almost all its time server swapping and, in an MP environment, an inability to keep the other tasks busy.&lt;br /&gt;
The number of tasks that can be kept busy is simply a function of the amount of work that can be done between swappable waits and has nothing to do with how much work there is to do because 204 can&amp;#039;t swap users in fast enough to keep all the MP tasks busy.&lt;br /&gt;
&lt;br /&gt;
[[Category:System Parameters]]&lt;br /&gt;
[[Category:Parameters]]&lt;/div&gt;</summary>
		<author><name>Dme</name></author>
	</entry>
	<entry>
		<id>https://m204wiki.rocketsoftware.com/index.php?title=SDAEMDEL_parameter&amp;diff=2618&amp;oldid=prev</id>
		<title>Alex: Created page with &quot;==Summary== &lt;dl&gt; &lt;dt&gt;Default value &lt;dd&gt;0 &lt;dt&gt;Parameter type &lt;dd&gt;System &lt;dt&gt;Where set &lt;dd&gt;System manager resettable &lt;dt&gt;Related products &lt;dd&gt;All &lt;dt&gt;Introduced &lt;dd&gt;Sirius Mods 7.7...&quot;</title>
		<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=SDAEMDEL_parameter&amp;diff=2618&amp;oldid=prev"/>
		<updated>2010-09-23T23:48:34Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Summary== &amp;lt;dl&amp;gt; &amp;lt;dt&amp;gt;Default value &amp;lt;dd&amp;gt;0 &amp;lt;dt&amp;gt;Parameter type &amp;lt;dd&amp;gt;System &amp;lt;dt&amp;gt;Where set &amp;lt;dd&amp;gt;System manager resettable &amp;lt;dt&amp;gt;Related products &amp;lt;dd&amp;gt;All &amp;lt;dt&amp;gt;Introduced &amp;lt;dd&amp;gt;Sirius Mods 7.7...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Summary==&lt;br /&gt;
&amp;lt;dl&amp;gt;&lt;br /&gt;
&amp;lt;dt&amp;gt;Default value&lt;br /&gt;
&amp;lt;dd&amp;gt;0&lt;br /&gt;
&amp;lt;dt&amp;gt;Parameter type&lt;br /&gt;
&amp;lt;dd&amp;gt;System&lt;br /&gt;
&amp;lt;dt&amp;gt;Where set&lt;br /&gt;
&amp;lt;dd&amp;gt;System manager resettable&lt;br /&gt;
&amp;lt;dt&amp;gt;Related products&lt;br /&gt;
&amp;lt;dd&amp;gt;All&lt;br /&gt;
&amp;lt;dt&amp;gt;Introduced&lt;br /&gt;
&amp;lt;dd&amp;gt;Sirius Mods 7.7&lt;br /&gt;
&amp;lt;/dl&amp;gt;&lt;br /&gt;
==Description==&lt;br /&gt;
This parameter indicates the number of milliseconds to &lt;br /&gt;
delay (hence SDAEMDEL) before allowing a daemon or       &lt;br /&gt;
parent thread to be swapped out when it&amp;#039;s waiting for    &lt;br /&gt;
the other. The default value of SDAEMDEL is 0 which      &lt;br /&gt;
means that there will be no delay. A value bigger than   &lt;br /&gt;
32767 (32.767 seconds) is treated as 32767 in Sirius Mods 7,7&lt;br /&gt;
and in Sirius Mods 7.8 and later, values bigger than 32767 are not allowed.                   &lt;br /&gt;
                                                         &lt;br /&gt;
The goal of setting SDAEMDEL is to prevent server swaps  &lt;br /&gt;
for quick parent/daemon interactions while allowing them &lt;br /&gt;
for longer interactions. So, if 90% of the parent/daemon &lt;br /&gt;
interactions are less than, say, 10 milliseconds&lt;br /&gt;
(parent tells daemon to do something and the daemon     &lt;br /&gt;
responds within 10 millisconds and then the parent      &lt;br /&gt;
tells the daemon to do something else within 10         &lt;br /&gt;
milliseconds), setting SDAEMDEL could be a big win in   &lt;br /&gt;
reducing server I/O. On the other hand, setting SDAEMDEL&lt;br /&gt;
too high can result in servers being tied up with       &lt;br /&gt;
parent or daemon threads that have been idle for quite a&lt;br /&gt;
while.                                                  &lt;br /&gt;
&lt;br /&gt;
A worst case scenario that would be significantly helped&lt;br /&gt;
by setting SDAEMDEL is a New/Run/Discard sequence. In   &lt;br /&gt;
this sequence, if the Online is thrashing, both the     &lt;br /&gt;
parent and daemon will suffer a server swap in/out      &lt;br /&gt;
sequence for each method, resulting in 12 server swaps  &lt;br /&gt;
for this simple sequence.                               &lt;br /&gt;
                                                        &lt;br /&gt;
SDAEMDEL will delay three kinds of server swaps:        &lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;A swap for a parent thread waiting for the daemon.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;A swap of a daemon thread waiting for the parent.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;A swap of an sdaemon thread waiting for the next unit&lt;br /&gt;
of work. This delay affects &amp;#039;&amp;#039;&amp;#039;all&amp;#039;&amp;#039;&amp;#039; sdaemon threads,   &lt;br /&gt;
including those used for daemon objects, $commxxx    &lt;br /&gt;
requests, web requests, server socket requests and so&lt;br /&gt;
on. Since sdaemon threads are reused on an MRU basis,&lt;br /&gt;
SDAEMDEL can eliminate many server swaps associated  &lt;br /&gt;
with an sdaemon going idle for an instant before being &lt;br /&gt;
reused for another purpose.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since SDAEMDEL is intended to prevent server swaps for &amp;#039;&amp;#039;&amp;#039;quick&amp;#039;&amp;#039;&amp;#039; interactions between the parent and daemon thread, and since server swaps should generally not occur for the brief waits resulting from these interactions, SDAEMDEL is only likely to have an effect in situations where there is a lot of server swapping happening.&lt;br /&gt;
If there is lots of daemon activity in a resource constrained Online, this can result in 204 not being able to do productive work because it&amp;#039;s too busy shuffling daemon and parent threads into and out of servers.&lt;br /&gt;
&lt;br /&gt;
The expected symptom of such a situation (when server swapping is being done in memory) is one task spending almost all its time server swapping and, in an MP environment, an inability to keep the other tasks busy.&lt;br /&gt;
The number of tasks that can be kept busy is simply a function of the amount of work that can be done between swappable waits and has nothing to do with how much work there is to do because 204 can&amp;#039;t swap users in fast enough to keep all the MP tasks busy.&lt;br /&gt;
&lt;br /&gt;
[[Category:System Parameters]]&lt;/div&gt;</summary>
		<author><name>Alex</name></author>
	</entry>
</feed>