2 <!-- <TITLE>Administrating openMosix</TITLE> -->
3 <TITLE>openMosix ¤Î´ÉÍý</TITLE>
4 <!-- <SECT1><TITLE>Basic Administration</TITLE> -->
5 <SECT1><TITLE>´ÉÍý¤Î´ðËÜ</TITLE>
8 <PARA>openMosix provides the advantage of process migration to HPC-applications.
11 openMosix ¤Ï¡¢¥×¥í¥»¥¹¡¦¥Þ¥¤¥°¥ì¡¼¥·¥ç¥ó¤È¤¤¤¦Ä¹½ê¤ò HPC ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó
15 The administrator can configure and tune the openMosix-cluster by using
16 the openMosix-user-space-tools
17 or the /proc/hpc interface which will be now described in detail.
19 ´ÉÍý¼Ô¤Ï¥æ¡¼¥¶¶õ´Ö¤ÇÆ°¤¯¥Ä¡¼¥ë¤â¤·¤¯¤Ï¡¢/proc/hpc ¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤ò»È¤Ã¤Æ
20 openMosix ¥¯¥é¥¹¥¿¤ÎÀßÄê¤È¥Á¥å¡¼¥Ë¥ó¥°¤¬¹Ô¤¨¤Þ¤¹¡£¾ÜºÙ¤òÀâÌÀ¤·¤Æ¤¤¤¤Þ¤·¤ç¤¦¡£
24 Up till openMosix version 2.4.16 the /proc interface was named
26 Until openMosix version 2.4.17 it was named /proc/hpc.
28 openMosix ¥Ð¡¼¥¸¥ç¥ó 2.4.16 ¤Þ¤Ç¤Ï¡¢/proc ¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Ï /proc/mosix
29 ¤Ç¤·¤¿¡£openMosix ¥Ð¡¼¥¸¥ç¥ó 2.4.17 ¤Ë¤Ê¤Ã¤Æ /proc/hpc ¤È¤Ê¤ê¤Þ¤·¤¿¡£
32 <!-- </SECT1><SECT1><TITLE>Configuration</TITLE> -->
33 </SECT1><SECT1><TITLE>ÀßÄê</TITLE>
36 The values in the flat files in the /proc/hpc/admin directory presenting
37 the current configuration of
38 the cluster. Also the administrator can write its own values into these
39 files to change the configuration
42 /proc/hpc/admin ¥Ç¥£¥ì¥¯¥È¥ê¤Ëʤó¤À¥Õ¥¡¥¤¥ë¤ÎÃͤϡ¢¥¯¥é¥¹¥¿¤Î¸½ºß¤ÎÀßÄê¤ò
43 ɽ¤·¤Æ¤¤¤Þ¤¹¡£´ÉÍý¼Ô¤Ï¤³¤ÎÃͼ«¿È¤ò¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ë½ñ¤¹þ¤à¤³¤È¤Ç¡¢Æ°ºîÃæ¤Ë
47 <table frame=all><title>Changing /proc/hpc parameters</title>
49 <table frame=all><title>/proc/hpc ¥Ñ¥é¥á¥¿¤ÎÊѹ¹</title>
50 <tgroup cols=2 align=left>
54 echo 1 > /proc/hpc/admin/block</entry><entry>blocks the arrival of remote processes</entry>
56 echo 1 > /proc/hpc/admin/block</entry><entry> ¥ê¥â¡¼¥È¤«¤é¤Î¥×¥í¥»¥¹¤ò¥Ö¥í¥Ã¥¯
62 echo 1 > /proc/hpc/admin/bring</entry><entry>bring all migrated processes home</entry>
64 echo 1 > /proc/hpc/admin/bring</entry><entry> ¥Þ¥¤¥°¥ì¡¼¥È¤·¤Æ¤¤¤ë¥×¥í¥»¥¹¤ò
65 ¤¹¤Ù¤Æ¥Û¡¼¥à¥Î¡¼¥É¤Ë»ý¤Ã¤Æ¤¯¤ë¡£</entry>
73 <table frame=all><title>/proc/hpc/admin/</title>
74 <tgroup cols=3 align=left>
78 (binary files) </entry><entry> config </entry><entry>
79 the main configuration file (written by the setpe util)</entry></row>
81 (binary files) </entry><entry> config </entry><entry>
82 ¥á¥¤¥óÀßÄê¥Õ¥¡¥¤¥ë(setpe ¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤¬ºîÀ®)</entry></row>
86 (flat files)</entry><entry> block </entry><entry> allow/forbid arrival of remote processes</entry></row>
88 (flat files)</entry><entry> block </entry><entry> ¥ê¥â¡¼¥È
89 ¤«¤é¤Î¥×¥í¥»¥¹¤Îµö²Ä¡¦¶Ø»ß</entry></row>
92 <row><entry></entry><entry> bring </entry><entry> bring home all migrated processes
94 <row><entry></entry><entry> bring </entry><entry> ¥Þ¥¤¥°¥ì¡¼¥ÈºÑ¤ß¤Î¥×¥í¥»¥¹¤¹¤Ù¤Æ¤ò¥Û¡¼¥à¥Î¡¼¥É¤Ë»ý¤Ã¤Æ¤¯¤ë
97 <row><entry></entry><entry>
98 dfsalinks </entry><entry> list of current symbolic dfsa-links
100 <row><entry></entry><entry>
101 dfsalinks </entry><entry> ¸½¾õ¤Î¥·¥ó¥Ü¥ê¥Ã¥¯
106 <row><entry></entry><entry>
107 expel </entry><entry> sending guest processes home
109 <row><entry></entry><entry>
110 expel </entry><entry> ¥²¥¹¥È¥×¥í¥»¥¹¤ò¥Û¡¼¥à¥Î¡¼¥É¤ËÁ÷¤ë
114 <row><entry></entry><entry>
115 gateways </entry><entry> maximum number of gateways
117 <row><entry></entry><entry>
118 gateways </entry><entry> ¥²¡¼¥È¥¦¥§¥¤¤ÎºÇÂç¿ô
122 <row><entry></entry><entry>
123 lstay </entry><entry> local processes should stay
125 <row><entry></entry><entry>
126 lstay </entry><entry> ¥í¡¼¥«¥ë¥×¥í¥»¥¹¤Ï¥Þ¥¤¥°¥ì¡¼¥È¤·¤Ê¤¤
129 <row><entry></entry><entry>
131 mospe </entry><entry> contains the openMosix node id
133 mospe </entry><entry> openMosix ¤Î¥Î¡¼¥É ID ¤¬Æþ¤ë
136 <row><entry></entry><entry>
137 nomfs </entry><entry> disables/enables MFS
139 <row><entry></entry><entry>
140 nomfs </entry><entry> MFS ¤Î͸ú¡¦Ìµ¸ú
143 <row><entry></entry><entry>
144 overheads </entry><entry> for tuning
146 <row><entry></entry><entry>
147 overheads </entry><entry> ¥Á¥å¡¼¥Ë¥ó¥°ÍÑ
150 <row><entry></entry><entry>
151 quiet </entry><entry> stop collecting load-load-balancing informations
153 <row><entry></entry><entry>
154 quiet </entry><entry> Éé²Ùʬ»¶¾ðÊó¤Î¼ý½¸¤òÄä»ß
157 <row><entry></entry><entry>
158 decay-interval </entry><entry> interval for collecting informations about load-balancing
160 <row><entry></entry><entry>
161 decay-interval </entry><entry> Éé²Ùʬ»¶¾ðÊó¤Î¼ý½¸¤Î´Ö³Ö
164 <row><entry></entry><entry>
165 slow-decay </entry><entry> default 975
167 <row><entry></entry><entry>
168 slow-decay </entry><entry> ¥Ç¥Õ¥©¥ë¥È¤Ï 975
171 <row><entry></entry><entry>
172 fast-decay </entry><entry> default 926
174 <row><entry></entry><entry>
175 fast-decay </entry><entry> ¥Ç¥Õ¥©¥ë¥È¤Ï 926
178 <row><entry></entry><entry>
179 speed </entry><entry> speed relative to PIII/1GHz)
181 <row><entry></entry><entry>
182 speed </entry><entry> Pentium III/1GHz ¤È¤ÎÁêÂЮÅÙ
185 <row><entry></entry><entry>
186 stay </entry><entry> enables/disables automatic process migration
188 <row><entry></entry><entry>
189 stay </entry><entry> ¼«Æ°¥Þ¥¤¥°¥ì¡¼¥·¥ç¥ó¤Î͸ú¡¦Ìµ¸ú
191 </tbody></tgroup></table>
194 <table frame=all><title>Writing a 1 to the following files /proc/hpc/decay/</title>
196 <table frame=all><title>/proc/hpc/decay/ ¤Ë¤¢¤ë¥Õ¥¡¥¤¥ë¤Ë 1 ¤ò½ñ¤¹þ¤à</title>
197 <tgroup cols=2 align=left>
201 clear </entry><entry> clears the decay statistics
203 clear </entry><entry> ʬ»¶Åý·×¥Ç¡¼¥¿¤Î¥¯¥ê¥¢
208 cpujob </entry><entry> tells openMosix that the process is cpu-bound
211 cpujob </entry><entry> openMosix ¤Ë¥×¥í¥»¥¹¤¬ CPU ¤òÄϤó¤Ç¤¤¤ë¤³¤È¤òÄÌÃÎ
215 iojob </entry><entry> tells openMosix that the process is io-bound
217 iojob </entry><entry> openMosix ¤Ë¥×¥í¥»¥¹¤¬
218 IO ¤òÄϤó¤Ç¤¤¤ë¤³¤È¤òÄÌÃÎ
223 slow </entry><entry> tells openMosix to decay its statistics slow
226 slow </entry><entry> openMosix ¤ËÅý·×¤ò¼è¤ë´Ö³Ö¤òÃÙ¤¯¤¹¤ë¤è¤¦¤ËÄÌÃÎ
230 fast </entry><entry> tells openMosix to decay its statistics fast
232 fast </entry><entry> openMosix ¤ËÅý·×¤ò¼è¤ë´Ö³Ö¤òÁ᤯¤¹¤ë¤è¤¦¤ËÄÌÃÎ
234 </tbody></tgroup></table>
239 <table frame=all><TITLE>Informations about the other nodes</TITLE>
241 <table frame=all><TITLE>¤½¤Î¾¤Î¥Î¡¼¥É¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó</TITLE>
242 <tgroup cols=2 align=left>
246 /proc/hpc/nodes/[openMosix_ID]/CPUs </entry><entry> how many CPU's the node has
248 /proc/hpc/nodes/[openMosix_ID]/CPUs </entry><entry> ¤½¤Î¥Î¡¼¥É¤¬»ý¤Ã¤Æ¤¤¤ë CPU ¤Î¿ô
253 /proc/hpc/nodes/[openMosix_ID]/load </entry><entry> the openMosix load of this node
255 /proc/hpc/nodes/[openMosix_ID]/load </entry><entry> ¤³¤Î¥Î¡¼¥É¤Î opeMosix ¤ÎÉé²Ù
259 /proc/hpc/nodes/[openMosix_ID]/mem </entry><entry> available memory as openMosix believes
261 /proc/hpc/nodes/[openMosix_ID]/mem </entry><entry> openMosix ¤¬»ÈÍѲÄǽ¤Ê¥á¥â¥ê
265 /proc/hpc/nodes/[openMosix_ID]/rmem </entry><entry> available memory as Linux believes
267 /proc/hpc/nodes/[openMosix_ID]/rmem </entry><entry> Linux ¤¬»ÈÍѲÄǽ¤Ê¥á¥â¥ê
271 /proc/hpc/nodes/[openMosix_ID]/speed </entry><entry> speed of the node relative to PIII/1GHz
273 /proc/hpc/nodes/[openMosix_ID]/speed </entry><entry> Pentium III/1GHz ¤È¤ÎÁêÂЮÅÙ
277 /proc/hpc/nodes/[openMosix_ID]/status </entry><entry> status of the node
279 /proc/hpc/nodes/[openMosix_ID]/status </entry><entry> ¥Î¡¼¥É¤Î¾õÂÖ
283 /proc/hpc/nodes/[openMosix_ID]/tmem </entry><entry> available memory
285 /proc/hpc/nodes/[openMosix_ID]/tmem </entry><entry> ÍøÍѲÄǽ¥á¥â¥ê
289 /proc/hpc/nodes/[openMosix_ID]/util </entry><entry> utilization of the node
291 /proc/hpc/nodes/[openMosix_ID]/util </entry><entry> ¥Î¡¼¥É¤Î²ÔƯ»þ´Ö
298 <table frame=all><title>
300 Additional Informations about local processes
302 ¥í¡¼¥«¥ë¥×¥í¥»¥¹¤Ë¤Ä¤¤¤Æ¤ÎÄɲþðÊó
305 <tgroup cols=2 align=left>
311 /proc/[PID]/cantmove </entry><entry> reason why a process cannot be migrated
313 /proc/[PID]/cantmove </entry><entry> ¥×¥í¥»¥¹¤¬¥Þ¥¤¥°¥ì¡¼¥È¤·¤Ê¤¤Íýͳ
317 /proc/[PID]/goto </entry><entry> to which node the process should migrate
319 /proc/[PID]/goto </entry><entry> ¥×¥í¥»¥¹¤¬¥Þ¥¤¥°¥ì¡¼¥È¤¹¤ë¤Ï¤º¤Î¥Î¡¼¥É
323 /proc/[PID]/lock </entry><entry>if a process is locked to its home node
325 /proc/[PID]/lock </entry><entry>¥×¥í¥»¥¹¤¬¥Û¡¼¥à¥Î¡¼¥É¤Ë¥í¥Ã¥¯¤µ¤ì¤Æ¤¤¤ë¤«
329 /proc/[PID]/nmigs </entry><entry>how many times the process migrated
331 /proc/[PID]/nmigs </entry><entry>¥×¥í¥»¥¹¤¬¥Þ¥¤¥°¥ì¡¼¥È¤·¤¿²ó¿ô
335 /proc/[PID]/where </entry><entry>where the process is currently being computed
337 /proc/[PID]/where </entry><entry>¸½ºß¥×¥í¥»¥¹¤¬±é»»¤ò¤·¤Æ¤¤¤ë¤È¤³¤í
341 /proc/[PID]/migrate </entry><entry>same as goto remote processes
343 /proc/[PID]/migrate </entry><entry>¥ê¥â¡¼¥È¥×¥í¥»¥¹¤ÈƱ¤¸
347 /proc/hpc/remote/from </entry><entry>the home node of the process
349 /proc/hpc/remote/from </entry><entry>¥×¥í¥»¥¹¤Î¥Û¡¼¥à¥Î¡¼¥É
353 /proc/hpc/remote/identity </entry><entry>additional informations about the process
355 /proc/hpc/remote/identity </entry><entry>¥×¥í¥»¥¹¤Ë¤Ä¤¤¤Æ¤ÎÄɲþðÊó
359 /proc/hpc/remote/statm </entry><entry>memory statistic of the process
361 /proc/hpc/remote/statm </entry><entry>¥×¥í¥»¥¹¤Î¥á¥â¥êÅý·×
366 /proc/hpc/remote/stats </entry><entry>cpu statistics of the process
368 /proc/hpc/remote/stats </entry><entry>¥×¥í¥»¥¹¤Î CPU Åý·×¥Ç¡¼¥¿
371 </tbody></tgroup></table>
375 <!-- <SECT1><TITLE>the userspace-tools</TITLE> -->
376 <SECT1><TITLE>¥æ¡¼¥¶¶õ´Ö¤Î¥Ä¡¼¥ë</TITLE>
380 These following tools are providing easy administration to openMosix
383 ²¼µ¤Î¥Ä¡¼¥ë¤ò»È¤¦¤È¡¢openMosix ¥¯¥é¥¹¥¿¤Î´ÉÍý¤¬³Ú¤Ë¤Ê¤ê¤Þ¤¹¡£
387 migrate -send a migrate request to a process
389 migrate [PID] [openMosix_ID]
391 migrate ¡§¥×¥í¥»¥¹¤Ë¥Þ¥¤¥°¥ì¡¼¥È¤¹¤ë¤è¤¦¤Ë»Ø¼¨¤ò½Ð¤·¤Þ¤¹¡£
393 migrate [PID] [openMosix_ID]
399 mon -is a ncurses-based terminal monitor
400 several informations about the current status are displayed in bar-charts
402 mon ¡§ncurses ¥Ù¡¼¥¹¤ÎüËö¥¿¥¤¥×¤Î¥â¥Ë¥¿¡¼¡£ËÀ¥°¥é¥Õ¤òɽ¼¨¤·¤Æ
403 ¸½ºß¤Î¾õ¶·¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó¤òɽ¼¨¤·¤Þ¤¹¡£
408 mosctl -is the openMosix main configuration utility
416 [gettune|getyard|getdecay]
418 mosctl whois [openMosix_ID|IP-address|hostname]
420 mosctl [getload|getspeed|status|isup|getmem|getfree|getutil] [openMosix_ID]
422 mosctl setyard [Processor-Type|openMosix_ID||this]
424 mosctl setspeed interger-value
426 mosctl setdecay interval [slow fast]
428 mosctl ¡§¤Ï¡¢openMosix ¤Î¥á¥¤¥ó¤ÎÀßÄê¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ç¤¹¡£
436 [gettune|getyard|getdecay]
438 mosctl whois [openMosix_ID|IP-address|hostname]
440 mosctl [getload|getspeed|status|isup|getmem|getfree|getutil] [openMosix_ID]
442 mosctl setyard [Processor-Type|openMosix_ID||this]
444 mosctl setspeed interger-value
446 mosctl setdecay interval [slow fast]
449 <!-- <table frame=all><title>more detailed</title> -->
450 <table frame=all><title>¾ÜºÙ</title>
451 <tgroup cols=2 align=left>
456 stay </entry><entry>no automatic process migration
458 stay </entry><entry>¼«Æ°Åª¤Ë¥×¥í¥»¥¹¤ò¥Þ¥¤¥°¥ì¡¼¥È¤·¤Þ¤»¤ó¡£
463 nostay </entry><entry>automatic process migration (default)
465 nostay </entry><entry>¼«Æ°Åª¤Ë¥×¥í¥»¥¹¤ò¥Þ¥¤¥°¥ì¡¼¥È¤·¤Þ¤¹(¥Ç¥Õ¥©¥ë¥È)¡£
470 lstay </entry><entry>local processes should stay
472 lstay </entry><entry>¥í¡¼¥«¥ë¥×¥í¥»¥¹¤Î¤Þ¤Þ¤Ë¤·¤Æ¤ª¤¤Þ¤¹¡£
476 nolstay </entry><entry>local processes could migrate
478 nolstay </entry><entry>¥í¡¼¥«¥ë¥×¥í¥»¥¹¤ò¥Þ¥¤¥°¥ì¡¼¥È¤·¤Þ¤¹¡£
482 block </entry><entry>block arriving of guest processes
484 block </entry><entry>¥²¥¹¥È¥×¥í¥»¥¹¤Î¼õ¤±Æþ¤ì¤òµñÈݤ·¤Þ¤¹¡£
488 noblock </entry><entry>allow arriving of guest processes
490 noblock </entry><entry>¥²¥¹¥È¥×¥í¥»¥¹¤ò¼õ¤±Æþ¤ì¤Þ¤¹¡£
494 quiet </entry><entry>disable gathering of load-balancing informations
496 quiet </entry><entry>Éé²Ùʬ»¶¾ðÊó¤Î¼ý½¸¤ò̵¸ú¤Ë¤·¤Þ¤¹¡£
500 noquiet </entry><entry>enable gathering of load-balancing informations
502 noquiet </entry><entry>Éé²Ùʬ»¶¾ðÊó¤Î¼ý½¸¤ò͸ú¤Ë¤·¤Þ¤¹¡£
507 nomfs </entry><entry>disables MFS
509 nomfs </entry><entry>MFS ¤ò̵¸ú¤Ë¤·¤Þ¤¹¡£
513 mfs </entry><entry>enables MFS
515 mfs </entry><entry>MFS ¤ò͸ú¤Ë¤·¤Þ¤¹¡£
519 expel </entry><entry>send away guest processes
521 expel </entry><entry>¥²¥¹¥È¥×¥í¥»¥¹¤òÁ÷¤ê½Ð¤·¤Þ¤¹¡£
525 bring </entry><entry>bring all migrated processes home
527 bring </entry><entry>¥Þ¥¤¥°¥ì¡¼¥È¤·¤¿¥×¥í¥»¥¹¤ò¤¹¤Ù¤Æ¥Û¡¼¥à¥Î¡¼¥É¤Ë»ý¤Ã¤Æ¤¤Þ¤¹¡£
531 gettune </entry><entry>shows the current overhead parameter
533 gettune </entry><entry>¸½¾õ¤Î¥ª¡¼¥Ð¡¼¥Ø¥Ã¥É¥Ñ¥é¥á¥¿¤òɽ¼¨¤·¤Þ¤¹¡£
537 getyard </entry><entry>shows the current used Yardstick
539 getyard </entry><entry>¸½ºß¤Î´ð½à¤òɽ¼¨¤·¤Þ¤¹¡£
543 getdecay </entry><entry>shows the current decay parameter
545 getdecay </entry><entry>¸½ºß¤Îʬ»¶¥Ñ¥é¥á¥¿¤òɽ¼¨¤·¤Þ¤¹¡£
549 whois </entry><entry>resolves openMosix-ID, ip-addresses and hostnames of the cluster
551 whois </entry><entry>¥¯¥é¥¹¥¿¤Î openMosix ID¡¢IP ¥¢¥É¥ì¥¹¡¢¥Û¥¹¥È̾
555 getload </entry><entry>display the (openMosix-) load
557 getload </entry><entry>(openMosix)¤ÎÉé²Ù¤òɽ¼¨¤·¤Þ¤¹¡£
561 getspeed </entry><entry>shows the (openMosix-) speed
563 getspeed </entry><entry>(openMosix)¤Î®ÅÙ¤òɽ¼¨¤·¤Þ¤¹¡£
567 status </entry><entry>displays the current status and configuration
569 status </entry><entry>¸½ºß¤Î¾õ¶·¤ÈÀßÄê¤òɽ¼¨¤·¤Þ¤¹¡£
573 isup </entry><entry>is a node up or down (openMosix kind of ping)
575 isup </entry><entry>¥Î¡¼¥É¤Î²ÔÆ°¡¦Ää»ß(openMosix ¤Î ping ¤Î¤è¤¦¤Ê¤â¤Î)
579 getmem </entry><entry>shows logical free memory
581 getmem </entry><entry>ÏÀÍý¥á¥â¥ê¤Î¶õ¤¤òɽ¼¨¤·¤Þ¤¹¡£
585 getfree </entry><entry>shows physical free mem
587 getfree </entry><entry>ʪÍý¥á¥â¥ê¤Î¶õ¤¤òɽ¼¨¤·¤Þ¤¹¡£
591 getutil </entry><entry>display utilization
593 getutil </entry><entry>²ÔƯΨ¤òɽ¼¨¤·¤Þ¤¹¡£
597 setyard </entry><entry>sets a new Yardstick-value
599 setyard </entry><entry>¿·¤·¤¤´ð½àÃͤòÀßÄꤷ¤Þ¤¹¡£
603 setspeed </entry><entry>sets a new (openMosix-) speed value
605 setspeed </entry><entry>¿·¤·¤¤(openMosix)¤Î®ÅÙ¤òÀßÄꤷ¤Þ¤¹¡£
609 setdecay </entry><entry>sets a new decay-interval
611 setdecay </entry><entry>ʬ»¶´Ö³Ö¤òÀßÄꤷ¤Þ¤¹¡£
613 </tbody></tgroup></table>
620 mosrun -run a special configured command on a chosen node
622 mosrun [-h|openMosix_ID| list_of_openMosix_IDs] command [arguments]
624 mosrun ÁªÂò¤·¤¿¥Î¡¼¥É¤ÇÀßÄꥳ¥Þ¥ó¥É¤òÆ°¤«¤·¤Þ¤¹¡£
626 mosrun [-h|openMosix_ID| list_of_openMosix_IDs] command [arguments]
630 The mosrun command can be executed with several more commandline options.
631 To ease this up there are several preconfigured run-scripts for executing
632 jobs with a special (openMosix) configuration.
634 mosrun ¥³¥Þ¥ó¥É¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Î¥ª¥×¥·¥ç¥ó¤ò¤µ¤é¤Ë¤¤¤¯¤Ä¤«ÉÕ¤±¤Æ¼Â¹Ô
636 ´Êñ¤Ë¼Â¹Ô¤Ç¤¤ë¤è¤¦¤Ë¡¢ÀßÄêºÑ¤ß¤Îµ¯Æ°¥¹¥¯¥ê¥×¥È¤¬¤¢¤ê¤Þ¤¹¡£ÀßÄêÍÑÅÓÊ̤Ë
637 (openMosix)¥¸¥ç¥Ö¤ò¼Â¹Ô¤·¤Þ¤¹¡£
640 <!-- <table frame=all><title>extra options for mosrun</title> -->
641 <table frame=all><title>mosrun ¤ÎÄɲ媥ץ·¥ç¥ó</title>
642 <tgroup cols=2 align=left>
645 nomig </entry><entry>runs a command which process(es) won't migrate
647 nomig </entry><entry>¥Þ¥¤¥°¥ì¡¼¥È¤·¤ÆÍߤ·¤¯¤Ê¤¤¥×¥í¥»¥¹¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Þ¤¹¡£
651 runhome </entry><entry>executes a command locked to its home node
653 runhome </entry><entry>¥Û¡¼¥à¥Î¡¼¥É¤Ë¥í¥Ã¥¯¤µ¤ì¤ë¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Þ¤¹¡£
657 runon </entry><entry>runs a command which will be directly migrated and locked to a node
659 runon </entry><entry>¤¢¤ë¥Î¡¼¥É¤Ë¤¹¤°¥Þ¥¤¥°¥ì¡¼¥È¤·¡¢¤½¤³¤Ë¥í¥Ã¥¯¤µ¤ì¤ë¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Þ¤¹¡£
663 cpujob </entry><entry>tells the openMosix cluster that this is a cpu-bound process
665 cpujob </entry><entry>openMosix ¥¯¥é¥¹¥¿¤Ë¥×¥í¥»¥¹¤¬ CPU ¸ÇÄê¤Ç¤¢¤ë¤³¤È¤ò
670 iojob </entry><entry>tells the openMosix cluster that this is a io-bound process
672 iojob </entry><entry>openMosix ¥¯¥é¥¹¥¿¤Ë¥×¥í¥»¥¹¤¬ IO ¸ÇÄê¤Ç¤¢¤ë
677 nodecay </entry><entry>executes a command and tells the cluster not to refresh the load-balancing statistics
679 nodecay </entry><entry>¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¡¢¥¯¥é¥¹¥¿¤ËÉé²Ùʬ»¶¤Î¾õÂÖ¤ò¥ê¥Õ¥ì¥Ã¥·¥å¤¹¤ë¤è¤¦¤ËÄÌÃΤ·¤Þ¤¹¡£
683 slowdecay </entry><entry>executes a command with a slow decay interval for collecting load-balancing statistics
685 slowdecay </entry><entry>ʬ»¶´Ö³Ö¤òÃÙ¤¯¤·¤Æ¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¡¢Éé²Ùʬ»¶¤Î
690 fastdecay </entry><entry>executes a command with a fast decay interval for collecting load-balancing statistics
692 fastdecay </entry><entry>ʬ»¶´Ö³Ö¤ò®¤¯¤·¤Æ¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¡¢Éé²Ùʬ»¶¤Î
695 </tbody></tgroup></table>
700 setpe -manual node configuration utility
702 setpe -w -f [hpc_map]
703 setpe -r [-f [hpc_map]]
706 setpe ¥Þ¥Ë¥å¥¢¥ë¤Ç¥Î¡¼¥É¤òÀßÄꤹ¤ë¥æ¡¼¥Æ¥£¥ê¥Æ¥£¡£
708 setpe -w -f [hpc_map]
709 setpe -r [-f [hpc_map]]
712 -w reads the openMosix configuration from a file (typically /etc/hpc.map)
713 -r writes the current openMosix configuration to a file (typically /etc/hpc.map)
714 -off turns the current openMosix configuration off
716 -w ¥Õ¥¡¥¤¥ë¤«¤é openMosix ¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤òÆɤ߹þ¤ß¤Þ¤¹(Ä̾ï¤Ï /etc/hpc.map)¡£
717 -r ¸½ºß¤Î openMosix ¤ÎÀßÄê¤ò¥Õ¥¡¥¤¥ë¤Ë½ñ¤¹þ¤ß¤Þ¤¹(Ä̾ï¤Ï /etc/hpc.map)¡£
718 -off ¸½¾õ¤Î openMosix ÀßÄê¤ò̵¸ú¤Ë¤¹¤·¤Þ¤¹¡£
723 tune openMosix calibration and optimizations utility.
724 (for further informations review the tune-man page)
726 tune openMosix ¤ÎÄ´À°¤ÈºÇŬ²½Íѥ桼¥Æ¥£¥ê¥Æ¥£¡£
727 (¾Ü¤·¤¤¾ðÊó¤Ï¡¢tune ¤Î man ¤ò¸«¤Æ¤¯¤À¤µ¤¤)
734 Additional to the /proc interface and the commandline-openMosix utilities
736 /proc interface) there is a patched "ps" and "top" available (they are
737 called "mps" and "mtop")
738 which displays also the openMosix-node ID on a column. This is useful for
740 specific process is currently being computed.
742 /proc ¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤È¥³¥Þ¥ó¥É¥é¥¤¥ó¥Ù¡¼¥¹¤Î openMosix ¥æ¡¼¥Æ¥£¥ê¥Æ¥£
743 (/proc ¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤òÍøÍѤ¹¤ë)¤Ë²Ã¤¨¤Æ¡¢¥Ñ¥Ã¥Á¤òÅö¤Æ¤¿¡Öps¡×¤È¡Ötop¡×¤¬
744 ÍøÍѤǤ¤Þ¤¹(¡Ömps¡×¤È¡Ömtop¡×¤È¸Æ¤Ð¤ì¤Æ¤¤¤Þ¤¹)¡£¤³¤ì¤Ï¡¢openMosix ¤Î¥Î¡¼¥É
745 ID ¤¬Îó¤Ë²Ã¤ï¤ê¤Þ¤¹¡£ÆÃÄê¤Î¥×¥í¥»¥¹¤¬¸½ºß¤É¤³¤Ç±é»»¤µ¤ì¤Æ¤¤¤ë¤Î¤«¸«¤Ä¤±¤ë
748 <!-- ¸¶Ê¸¤Ç¥³¥á¥ó¥È¥¢¥¦¥È¤·¤Æ¤¢¤ë¤Î¤ÇÌõ½Ð¤·¤Þ¤»¤ó¡£ -->
751 The administrator can have a overview about the current status of the
752 cluster and its nodes with
753 the "Mosix Cluster Information Tool PHP" which can be found at
754 <ulink url="http://wijnkist.warande.uu.nl/mosix/"><citetitle> http://wijnkist.warande.uu.nl/mosix/
758 (the path to the NODESDIR has to be adjusted to
759 $NODESDIR="/proc/hpc/nodes/")
763 This actually summarised the command line tools, but have a look at
764 openMosixview which is
767 GUI for the most common
768 administration tasks, and which ill be discussed in a future chapter.
770 ¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»È¤¦¥Ä¡¼¥ë¤ò¼êû¤ËÀâÌÀ¤·¤Æ¤¤Þ¤·¤¿¤¬¡¢openMosixview ¤â
771 ¸«¤Æ¤ª¤¤Þ¤·¤ç¤¦¡£¤è¤¯»È¤¦´ÉÍýºî¶È¸þ¤±¤Ë GUI ¤òÍøÍѤ·¤¿¥Ä¡¼¥ë¤Ç¤¹¡£
772 ¤³¤Î¸å¤Î¾Ï¤ÇÏÀ¤¸¤ë¤Ä¤â¤ê¤Ç¤¹¡£
777 <sect1><title>Cluster Mask</title>
779 <sect1><title>¥¯¥é¥¹¥¿¤Ë¥Þ¥¹¥¯¤ò¤«¤±¤ë</title>
781 <!-- (by Moshe Bar) -->
785 Several people have asked for a feature in openMosix which allows to
786 specifiy to which nodes a given process and it's children can migrate
787 and to which nodes it cannot.
789 openMosix ¤Ë¤¢¤ëµ¡Ç½¤òµá¤á¤ë¿Í¡¹¤¬¤¤¤Þ¤¹¡£
790 ¤½¤Îµ¡Ç½¤È¤Ï¡¢¤¢¤ë¥×¥í¥»¥¹¤òÆÃÄê¤Î¥Î¡¼¥É¤Ë½èÍý¤µ¤»¤ë¤³¤È¡¢¤½¤·¤Æ¤½¤Î
791 »Ò¥×¥í¥»¥¹¤ò¥Þ¥¤¥°¥ì¡¼¥È¤µ¤»¤¿¤ê¡¢¥Î¡¼¥É¤Ë¤è¤Ã¤Æ¤Ï¤½¤ì¤¬¤Ç¤¤Ê¤¤¤è¤¦¤Ë
796 Simone Ettore has just committed a new patch to the CVS which allows
799 Simone Ettore »á¤Ï CVS ¤Ë¿·¤·¤¤¥Ñ¥Ã¥Á¤ò¥³¥ß¥Ã¥È¤·¤Æ¡¢¤Þ¤µ¤Ë¤³¤Îµ¡Ç½¤ò²Äǽ
803 <!-- Here is how it works: -->
804 ¤É¤Î¤è¤¦¤ËÆ°¤¯¤«¤³¤³¤Çµó¤²¤Æ¤ß¤Þ¤¹¡£
806 <itemizedlist><listitem>
809 /proc/[pid]/migfilter enable/disable the capability of filter migration.
811 /proc/[pid]/migfilter ¤Ï¥Þ¥¤¥°¥ì¡¼¥·¥ç¥ó¤Î¥Õ¥£¥ë¥¿¤ò͸ú¡¦Ìµ¸ú¤Ë¤·¤Þ¤¹¡£
817 /proc/[pid]/mignodes is a bit-list of nodes. The bit position of a node
818 is calculated as 2^(PE-1). PE is node number.
820 /proc/[pid]/mignodes ¤Ï¥Î¡¼¥É¤Î¥Ó¥Ã¥È·Á¼°¤Î¥ê¥¹¥È¤Ç¤¹¡£¤¢¤ë¥Î¡¼¥É¤Î¥Ó¥Ã¥È
821 °ÌÃÖ¤Ï 2^(PE-1) ¤Ç·×»»¤µ¤ì¤Þ¤¹¡£PE ¤Ï¥Î¡¼¥ÉÈÖ¹æ¤Ç¤¹¡£
825 /proc/[pid]/migpolicy is the policy of the filtering:
826 0=DENY: the process can migrate in all nodes except when the relative
828 1=ALLOW: the process can migrate in all nodes where the relative bit on
831 /proc/[pid]/migpolicy ¤Ï¥Õ¥£¥ë¥¿¤Îµ¬Â§¤Ç¤¹¡£
832 0=DENY ¤Ï mignodes ¤ÎÂбþ¤¹¤ë¥Ó¥Ã¥È¤¬ 1 ¤Ç¤Ê¤±¤ì¤Ð¡¢¥×¥í¥»¥¹¤Ï¤¹¤Ù¤Æ¤Î
833 ¥Î¡¼¥É¤Ç¥Þ¥¤¥°¥ì¡¼¥È²Äǽ¤Ç¤¹¡£
834 1=ALLOW ¤Ï mignodes ¤ÎÂбþ¤¹¤ë¥Ó¥Ã¥È¤¬ 1 ¤Ç¤¢¤ë¤¹¤Ù¤Æ¤Î¥Î¡¼¥É¤Ç¥×¥í¥»¥¹¤¬
835 ¥Þ¥¤¥°¥ì¡¼¥È²Äǽ¤Ç¤¹¡£
843 We are shortly going to release also a simple user-land tool to set the
844 node mask, but I would like you guys to give it a try asap before we
845 release it as openMosix 2.4.20-3.
847 ¤Þ¤â¤Ê¤¯¥·¥ó¥×¥ë¤Ê¥æ¡¼¥¶¶õ´Ö¤Î¥Ä¡¼¥ë¤ò¥ê¥ê¡¼¥¹¤·¤Þ¤¹¡£¤½¤Î¥Ä¡¼¥ë¤ò»È¤¨¤Ð
848 ¥Î¡¼¥É¤Ë¥Þ¥¹¥¯¤¬¤«¤±¤é¤ì¤Þ¤¹¡£¤·¤«¤· openMosix 2.4.20-3 ¤È¤·¤Æ¥ê¥ê¡¼¥¹
849 ¤µ¤ì¤ëÁ°¤Ë¡¢¤¹¤°¤Ë¤Ç¤âÀè¤ÎÊýË¡¤ò»î¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£