Browse code

20230418: update resource max of memory assign

root authored on2023-04-18 09:53:38
Showing2 changed files
... ...
@@ -67,13 +67,26 @@ $ qgroup
67 67
 
68 68
 ## Initial value of computing resources and the maximum value that can be specified with the --rsc option{#resouce}
69 69
 
70
-| Option | Description | SystemD<br>Initial Value | <br>Maximum Value | SystemE<br>Initial Value | <br>Maximum Value | SystemG<br>Initial Value | <br>Maximum Value | Cloud<br>Initial Value |<br>Maximum Value |
70
+| Option | Description | System B<br>Initial Value | <br>Maximum Value | System C<br>Initial Value | <br>Maximum Value  | System G<br>Initial Value | <br>Maximum Value | Cloud<br>Initial Value |<br>Maximum Value |
71 71
 | --- | --- | --- | --- |
72
-| p | Number of processes | 1     |  [Standard Resources](/run/resource#group)<br>(When c=1) | 1      |  [Standard Resources](/run/resource#group)<br>(When c=1)    | 1   |  [Standard Resources](/run/resource#group)<br>(When c=1)    | 1  | 1   |
73
-| t | Number of threads per process                | 1     | 112  | 1      | 112   | 1   | 36   | 1  | 36  |
74
-| c | Number of cores per process                  | 1     | 112  | 1      | 112   | 1   | 36   | 1  | 36  |
75
-| m | Amount of memory per process<br>(Unit:M, G) | 4571M | 512G | 18392M | 2060G | 8000M  | 512G |14222M | 512G|
76
-| g | Number of GPUs                               | - | - | - | - |1      | [Standard Resources](/run/resource#group) | - | - |
72
+| p | Number of processes                               | 1     |  [Standard Resources](/run/resource#group)<br>(When c=1) | 1      |  [Standard Resources](/run/resource#group)<br>(When c=1)    | 1   |  [Standard Resources](/run/resource#group)<br>(When c=1)    | 1  | 1   |
73
+| t | Number of threads per process                 | 1     | 112(224)   | 1      | 112(224)   | 1   | 64(128)   | 1  | 36(72)  |
74
+| c | Number of cores per process                    | 1     | 112   | 1      | 112   | 1   | 64   | 1  | 36  |
75
+| m | Amount of memory per process<br>(Unit:M, G) | 4571M | 500G | 18392M | 2011G | 8000M  | 500G |14222M | 500G|
76
+| g | Number of GPUs                                       |  - | - | - | - | 1    | [Standard Resources](/run/resource#group) | - | - |
77
+
78
+
79
+* The value of t in () is the maximum value when hyper-threading is enabled. Please specify that  t=c✕2 if hyper-threading is enabled.
80
+* If you do not specify the value of m, the initial value for the amount of memory per process✕ the number of cores per process is automatically set.
81
+* If a value of m is specified, it is assumed that the number of cores is required in proportion to it. Specifically, as follows.
82
+  * If p=1:t=4:c=4:m=9142M (initial value 4571M x2) is specified for a job using System B, the c option requires 4 cores and the m option requires 2 cores. In this case, the number of cores for the option that allocates more cores is used as the value of c, resulting in a job with 4 cores per process. Although the job uses 4 cores per process, the maximum amount of memory is the specified resource (9142M).
83
+  * If it is specified that p=1:t=2:c=2:m=13713M (initial value 4571M x3) in a job using system B, the c option require 2 cores and the m option require 3 cores. In this case, the number of cores required by the m option is larger than that required by the c option, resulting in 3 cores job per process.
84
+* If you use system G, you can require resources with either ptcm option or g option. 
85
+ * When you require resources for each ptcm option, 1 GPU per 16 cores is automatically allocated. 
86
+ * When you require GPU using g option, it will become as follows. 
87
+      * If g=1, the same parameter as p=1:c=16:m=128000M is automatically set as well as 1 GPU is allocated. 
88
+      * If g=2, the same parameter as p=2:c=16:m=128,000M is automatically set as well as 2 GPUs are allocated. If you use 2 GPUs in one process, it is available by specifying -n 1 option to the srun command in the job script1. (Example: srun -n 1 . /a.out) Conversely, if you want to increase the number of processes, please adjust the number of cores per process as well  with -c option of srun to adjust the number of cores per process as well. (Example: srun -n 9 -c 1 . /a.out)
89
+
77 90
 <!--
78 91
 | Option | Description | SysA<br>Initial Value |<br>Maximum Value  | SysB<br>Initial Value |<br>Maximum Value| SysC<br>Initial Value |<br>Maximum Value | SysG<br>Initial Value |<br>Maximum Value | Cloud<br>Initial Value |<br>Maximum Value |
79 92
 | --- | --- | --- | --- |
... ...
@@ -72,7 +72,7 @@ $ qgroup
72 72
 | p | プロセス数                               | 1     |  [標準資源量](/run/resource#group)<br>(c=1の場合) | 1      |  [標準資源量](/run/resource#group)<br>(c=1の場合)    | 1   |  [標準資源量](/run/resource#group)<br>(c=1の場合)    | 1  | 1   |
73 73
 | t | プロセスあたりのスレッド数               | 1     | 112(224)   | 1      | 112(224)   | 1   | 64(128)   | 1  | 36(72)  |
74 74
 | c | プロセスあたりのコア数                   | 1     | 112   | 1      | 112   | 1   | 64   | 1  | 36  |
75
-| m | プロセスあたりのメモリ量<br>(単位:M, G) | 4571M | 512G | 18392M | 2060G | 8000M  | 512G |14222M | 512G|
75
+| m | プロセスあたりのメモリ量<br>(単位:M, G) | 4571M | 500G | 18392M | 2011G | 8000M  | 500G |14222M | 500G|
76 76
 | g | GPU数                                    |  - | - | - | - | 1    | [標準資源量](/run/resource#group) | - | - |
77 77
 
78 78
 * tの()内は、ハイパースレッディングを有効にする場合の最大値です。なお、ハイパースレッディングを有効にする場合は、t=c✕2 となるように指定してください。