NSERVS parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (misc formatting)
 
Line 15: Line 15:


==Description==
==Description==
<p>The number of servers</p>
<p>
<p>When NSERVS is not set explicitly, <var class="product">Model&nbsp;204</var> gives it a value equal to the setting of NUSERS. NSERVS cannot be set to a value greater than NUSERS - if it is, then the parameter is reset to the value of NUSERS during Model 204 initialization. Its minimum value is 1.</p>
<var>NSERVS</var> specifies the number of servers.</p>
<p>The algorithm to determine if NSERVS, NUSERS, and <var>[[NSUBTKS_parameter|NSUBTKS]]</var> are too large is: </p>
<p>
When <var>NSERVS</var> is not set explicitly, <var class="product">Model&nbsp;204</var> gives it a value equal to the setting of <var>NUSERS</var>. <var>NSERVS</var> cannot be set to a value greater than <var>NUSERS</var> &mdash; if you try to do so, the parameter gets reset to the value of <var>NUSERS</var> during Model&nbsp;204 initialization. The <var>NSERVS</var> minimum value is 1.</p>
<p>
The algorithm to determine if <var>NSERVS</var>, <var>NUSERS</var>, and <var>[[NSUBTKS_parameter|NSUBTKS]]</var> are too large is: </p>
<p class="code">IF NUSERS=NSERVS
<p class="code">IF NUSERS=NSERVS
   NUSERS + NSUBTKS + 1 > 32767
   NUSERS + NSUBTKS + 1 > 32767
Line 23: Line 26:
   NSERVS + NUSERS + NSUBTKS + 1 > 32767
   NSERVS + NUSERS + NSUBTKS + 1 > 32767
</p>
</p>
<p>If too many process control blocks have been requested, the user receives the following message: </p>
<p>
If too many process control blocks are requested, the user receives the following message: </p>
<p class="code">M204.0021: NSERVS+NUSERS(IF SWAPPING)+NSUBTKS+1 > 32767
<p class="code">M204.0021: NSERVS+NUSERS(IF SWAPPING)+NSUBTKS+1 > 32767
</p>
</p>
<p>Each server, user, pseudo subtask, and the Scheduler has a process control block. There may not be more than 32767 process control blocks.</p>
<p>
<p>If you receive the M204.0021 message, adjust the combination of NUSERS, NSERVS, and NSUBTKS + 1 so that it does not exceed 32767.</p>
Each server, user, pseudo subtask, and the Scheduler has a process control block. There may not be more than 32767 process control blocks.</p>
<p>
If you receive the <code>M204.0021</code> message, adjust the combination of <var>NUSERS</var>, <var>NSERVS</var>, and <var>NSUBTKS</var> + 1 so that it does not exceed 32767.</p>
 
[[Category:System parameters]]
[[Category:System parameters]]
[[Category:Parameters]]
[[Category:Parameters]]

Latest revision as of 20:37, 8 June 2016

Number of servers

Summary

Default value
NUSERS
Parameter type
System
Where set
On User 0's parameter line
Related products
All
Introduced
Model 204 V2.1 or earlier

Description

NSERVS specifies the number of servers.

When NSERVS is not set explicitly, Model 204 gives it a value equal to the setting of NUSERS. NSERVS cannot be set to a value greater than NUSERS — if you try to do so, the parameter gets reset to the value of NUSERS during Model 204 initialization. The NSERVS minimum value is 1.

The algorithm to determine if NSERVS, NUSERS, and NSUBTKS are too large is:

IF NUSERS=NSERVS NUSERS + NSUBTKS + 1 > 32767 ELSE NSERVS + NUSERS + NSUBTKS + 1 > 32767

If too many process control blocks are requested, the user receives the following message:

M204.0021: NSERVS+NUSERS(IF SWAPPING)+NSUBTKS+1 > 32767

Each server, user, pseudo subtask, and the Scheduler has a process control block. There may not be more than 32767 process control blocks.

If you receive the M204.0021 message, adjust the combination of NUSERS, NSERVS, and NSUBTKS + 1 so that it does not exceed 32767.