<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML ><HEAD ><TITLE >Configuration</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="The openMosix HOWTO" HREF="index.html"><LINK REL="UP" TITLE="Administrating openMosix" HREF="admin.html"><LINK REL="PREVIOUS" TITLE="Basic Administration" HREF="x572.html"><LINK REL="NEXT" TITLE="the userspace-tools" HREF="x739.html"></HEAD ><BODY CLASS="SECT1" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >The openMosix HOWTO: </TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="x572.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" >Chapter 8. Administrating openMosix</TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="x739.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="SECT1" ><H1 CLASS="SECT1" ><A NAME="AEN576" ></A >8.2. Configuration</H1 ><P >The values in the flat files in the /proc/hpc/admin directory presenting the current configuration of the cluster. Also the administrator can write its own values into these files to change the configuration during runtime, e.g.</P ><DIV CLASS="TABLE" ><A NAME="AEN579" ></A ><P ><B >Table 8-1. Changing /proc/hpc parameters</B ></P ><TABLE BORDER="1" CLASS="CALSTABLE" ><TBODY ><TR ><TD ALIGN="LEFT" VALIGN="TOP" >echo 1 > /proc/hpc/admin/block</TD ><TD ALIGN="LEFT" VALIGN="TOP" >blocks the arrival of remote processes</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" >echo 1 > /proc/hpc/admin/bring</TD ><TD ALIGN="LEFT" VALIGN="TOP" >bring all migrated processes home</TD ></TR ></TBODY ></TABLE ></DIV ><P >...</P ><DIV CLASS="TABLE" ><A NAME="AEN590" ></A ><P ><B >Table 8-2. /proc/hpc/admin/</B ></P ><TABLE BORDER="1" CLASS="CALSTABLE" ><TBODY ><TR ><TD ALIGN="LEFT" VALIGN="TOP" >(binary files) </TD ><TD ALIGN="LEFT" VALIGN="TOP" > config </TD ><TD ALIGN="LEFT" VALIGN="TOP" > the main configuration file (written by the setpe util)</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" >(flat files)</TD ><TD ALIGN="LEFT" VALIGN="TOP" > block </TD ><TD ALIGN="LEFT" VALIGN="TOP" > allow/forbid arrival of remote processes</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" > </TD ><TD ALIGN="LEFT" VALIGN="TOP" > bring </TD ><TD ALIGN="LEFT" VALIGN="TOP" > bring home all migrated processes</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" > </TD ><TD ALIGN="LEFT" VALIGN="TOP" > dfsalinks </TD ><TD ALIGN="LEFT" VALIGN="TOP" > list of current symbolic dfsa-links</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" > </TD ><TD ALIGN="LEFT" VALIGN="TOP" > expel </TD ><TD ALIGN="LEFT" VALIGN="TOP" > sending guest processes home</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" > </TD ><TD ALIGN="LEFT" VALIGN="TOP" > gateways </TD ><TD ALIGN="LEFT" VALIGN="TOP" > maximum number of gateways</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" > </TD ><TD ALIGN="LEFT" VALIGN="TOP" > lstay </TD ><TD ALIGN="LEFT" VALIGN="TOP" > local processes should stay </TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" > </TD ><TD ALIGN="LEFT" VALIGN="TOP" > mospe </TD ><TD ALIGN="LEFT" VALIGN="TOP" > contains the openMosix node id</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" > </TD ><TD ALIGN="LEFT" VALIGN="TOP" > nomfs </TD ><TD ALIGN="LEFT" VALIGN="TOP" > disables/enables MFS</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" > </TD ><TD ALIGN="LEFT" VALIGN="TOP" > overheads </TD ><TD ALIGN="LEFT" VALIGN="TOP" > for tuning</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" > </TD ><TD ALIGN="LEFT" VALIGN="TOP" > quiet </TD ><TD ALIGN="LEFT" VALIGN="TOP" > stop collecting load-load-balancing informations</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" > </TD ><TD ALIGN="LEFT" VALIGN="TOP" > decay-interval </TD ><TD ALIGN="LEFT" VALIGN="TOP" > interval for collecting informations about load-balancing</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" > </TD ><TD ALIGN="LEFT" VALIGN="TOP" > slow-decay </TD ><TD ALIGN="LEFT" VALIGN="TOP" > default 975</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" > </TD ><TD ALIGN="LEFT" VALIGN="TOP" > fast-decay </TD ><TD ALIGN="LEFT" VALIGN="TOP" > default 926</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" > </TD ><TD ALIGN="LEFT" VALIGN="TOP" > speed </TD ><TD ALIGN="LEFT" VALIGN="TOP" > speed relative to PIII/1GHz)</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" > </TD ><TD ALIGN="LEFT" VALIGN="TOP" > stay </TD ><TD ALIGN="LEFT" VALIGN="TOP" > enables/disables automatic process migration</TD ></TR ></TBODY ></TABLE ></DIV ><DIV CLASS="TABLE" ><A NAME="AEN658" ></A ><P ><B >Table 8-3. Writing a 1 to the following files /proc/hpc/decay/</B ></P ><TABLE BORDER="1" CLASS="CALSTABLE" ><TBODY ><TR ><TD ALIGN="LEFT" VALIGN="TOP" > clear </TD ><TD ALIGN="LEFT" VALIGN="TOP" > clears the decay statistics</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" > cpujob </TD ><TD ALIGN="LEFT" VALIGN="TOP" > tells openMosix that the process is cpu-bound</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" > iojob </TD ><TD ALIGN="LEFT" VALIGN="TOP" > tells openMosix that the process is io-bound</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" > slow </TD ><TD ALIGN="LEFT" VALIGN="TOP" > tells openMosix to decay its statistics slow</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" > fast </TD ><TD ALIGN="LEFT" VALIGN="TOP" > tells openMosix to decay its statistics fast</TD ></TR ></TBODY ></TABLE ></DIV ><DIV CLASS="TABLE" ><A NAME="AEN677" ></A ><P ><B >Table 8-4. Informations about the other nodes</B ></P ><TABLE BORDER="1" CLASS="CALSTABLE" ><TBODY ><TR ><TD ALIGN="LEFT" VALIGN="TOP" >/proc/hpc/nodes/[openMosix_ID]/CPUs </TD ><TD ALIGN="LEFT" VALIGN="TOP" > how many CPU's the node has</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" > /proc/hpc/nodes/[openMosix_ID]/load </TD ><TD ALIGN="LEFT" VALIGN="TOP" > the openMosix load of this node</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" >/proc/hpc/nodes/[openMosix_ID]/mem </TD ><TD ALIGN="LEFT" VALIGN="TOP" > available memory as openMosix believes</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" >/proc/hpc/nodes/[openMosix_ID]/rmem </TD ><TD ALIGN="LEFT" VALIGN="TOP" > available memory as Linux believes</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" >/proc/hpc/nodes/[openMosix_ID]/speed </TD ><TD ALIGN="LEFT" VALIGN="TOP" > speed of the node relative to PIII/1GHz</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" >/proc/hpc/nodes/[openMosix_ID]/status </TD ><TD ALIGN="LEFT" VALIGN="TOP" > status of the node</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" >/proc/hpc/nodes/[openMosix_ID]/tmem </TD ><TD ALIGN="LEFT" VALIGN="TOP" > available memory</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" >/proc/hpc/nodes/[openMosix_ID]/util </TD ><TD ALIGN="LEFT" VALIGN="TOP" > utilization of the node</TD ></TR ></TBODY ></TABLE ></DIV ><DIV CLASS="TABLE" ><A NAME="AEN705" ></A ><P ><B >Table 8-5. Additional Informations about local processes</B ></P ><TABLE BORDER="1" CLASS="CALSTABLE" ><TBODY ><TR ><TD ALIGN="LEFT" VALIGN="TOP" > /proc/[PID]/cantmove </TD ><TD ALIGN="LEFT" VALIGN="TOP" > reason why a process cannot be migrated</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" >/proc/[PID]/goto </TD ><TD ALIGN="LEFT" VALIGN="TOP" > to which node the process should migrate</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" >/proc/[PID]/lock </TD ><TD ALIGN="LEFT" VALIGN="TOP" >if a process is locked to its home node</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" >/proc/[PID]/nmigs </TD ><TD ALIGN="LEFT" VALIGN="TOP" >how many times the process migrated</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" >/proc/[PID]/where </TD ><TD ALIGN="LEFT" VALIGN="TOP" >where the process is currently being computed</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" >/proc/[PID]/migrate </TD ><TD ALIGN="LEFT" VALIGN="TOP" >same as goto remote processes</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" >/proc/hpc/remote/from </TD ><TD ALIGN="LEFT" VALIGN="TOP" >the home node of the process</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" >/proc/hpc/remote/identity </TD ><TD ALIGN="LEFT" VALIGN="TOP" >additional informations about the process</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" >/proc/hpc/remote/statm </TD ><TD ALIGN="LEFT" VALIGN="TOP" >memory statistic of the process</TD ></TR ><TR ><TD ALIGN="LEFT" VALIGN="TOP" >/proc/hpc/remote/stats </TD ><TD ALIGN="LEFT" VALIGN="TOP" >cpu statistics of the process </TD ></TR ></TBODY ></TABLE ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="x572.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="x739.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Basic Administration</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="admin.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >the userspace-tools</TD ></TR ></TABLE ></DIV ></BODY ></HTML >