gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r27644 - in msh/doc: . fig/svg


From: gnunet
Subject: [GNUnet-SVN] r27644 - in msh/doc: . fig/svg
Date: Thu, 27 Jun 2013 11:53:00 +0200

Author: harsha
Date: 2013-06-27 11:52:59 +0200 (Thu, 27 Jun 2013)
New Revision: 27644

Modified:
   msh/doc/fig/svg/job_startup.svg
   msh/doc/msh.tex
Log:
diagram and writeup


Modified: msh/doc/fig/svg/job_startup.svg
===================================================================
--- msh/doc/fig/svg/job_startup.svg     2013-06-27 09:20:00 UTC (rev 27643)
+++ msh/doc/fig/svg/job_startup.svg     2013-06-27 09:52:59 UTC (rev 27644)
@@ -67,9 +67,9 @@
      borderopacity="1.0"
      inkscape:pageopacity="0.0"
      inkscape:pageshadow="2"
-     inkscape:zoom="2.8"
-     inkscape:cx="184.63266"
-     inkscape:cy="156.56654"
+     inkscape:zoom="5.6"
+     inkscape:cx="270.69217"
+     inkscape:cy="103.8325"
      inkscape:document-units="px"
      inkscape:current-layer="layer1"
      showgrid="false"
@@ -134,82 +134,62 @@
      transform="translate(-68.4375,-169.14286)">
     <text
        xml:space="preserve"
-       
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Serif"
-       x="137.85715"
-       y="334.14789"
-       id="text2985"
-       sodipodi:linespacing="125%"><tspan
-         sodipodi:role="line"
-         id="tspan2987"
-         x="137.85715"
-         y="334.14789">mshd</tspan></text>
-    <text
-       xml:space="preserve"
-       
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Serif"
-       x="379.79947"
-       y="334.14789"
-       id="text2985-4"
-       sodipodi:linespacing="125%"><tspan
-         sodipodi:role="line"
-         id="tspan2987-2"
-         x="379.79947"
-         y="334.14789">mshd</tspan></text>
-    <text
-       xml:space="preserve"
        
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Serif"
-       x="152.5"
+       x="144.5"
        y="382.57648"
        id="text3014"
        sodipodi:linespacing="125%"><tspan
          sodipodi:role="line"
          id="tspan3016"
-         x="152.5"
+         x="144.5"
          y="382.57648">Application</tspan></text>
     <text
        xml:space="preserve"
        
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Serif"
-       x="152.5"
+       x="144.5"
        y="426.36218"
        id="text3018"
        sodipodi:linespacing="125%"><tspan
          sodipodi:role="line"
          id="tspan3020"
-         x="152.5"
+         x="144.5"
          y="426.36218">msh</tspan></text>
     <path
        
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Mend)"
-       d="m 152.5,338.69358 0,31.94044"
+       d="m 144.5,343.7774 0,26.85662"
        id="path3022"
        inkscape:connector-curvature="0"
        sodipodi:nodetypes="cc" />
     <path
        
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Mend)"
-       d="m 152.5,387.394 0,26.82533"
+       d="m 144.5,387.394 0,26.82533"
        id="path4236"
        inkscape:connector-curvature="0"
        sodipodi:nodetypes="cc" />
     <text
        xml:space="preserve"
        
style="font-size:10px;font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans
 Italic"
-       x="154.5"
+       x="148.5"
        y="357.7193"
        id="text4420"
        sodipodi:linespacing="125%"><tspan
          sodipodi:role="line"
          id="tspan4422"
-         x="154.5"
-         y="357.7193">start</tspan></text>
+         x="148.5"
+         y="357.7193"
+         style="font-style:normal">10</tspan></text>
     <text
        xml:space="preserve"
        
style="font-size:10px;font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans
 Italic"
-       x="165.71429"
-       y="403.14789"
+       x="151.40085"
+       y="402.89536"
        id="text4424"
        sodipodi:linespacing="125%"><tspan
          sodipodi:role="line"
          id="tspan4426"
-         x="165.71429"
-         y="403.14789">use</tspan></text>
+         x="151.40085"
+         y="402.89536"
+         style="font-style:normal">11</tspan></text>
     <text
        xml:space="preserve"
        
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Serif"
@@ -233,19 +213,31 @@
          id="tspan4460"
          x="394.64285"
          y="426.29074">cmd</tspan></text>
+    <text
+       xml:space="preserve"
+       
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Serif"
+       x="110.22112"
+       y="333.25507"
+       id="text2985"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         x="110.22112"
+         y="333.25507"
+         id="tspan4262"
+         style="text-align:start;text-anchor:start">mshd 
(master)</tspan></text>
     <rect
        
style="fill:none;stroke:#0f0707;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
        id="rect4462"
-       width="46.68111"
-       height="14.80503"
-       x="128.21428"
-       y="323.43362" />
+       width="89.969322"
+       height="25.414677"
+       x="101.97963"
+       y="318.30737" />
     <rect
        
style="fill:none;stroke:#0f0707;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
        id="rect4464"
        width="70.584412"
        height="14.268419"
-       x="117.5565"
+       x="109.5565"
        y="372.52951"
        ry="0" />
     <rect
@@ -253,15 +245,15 @@
        id="rect4462-5"
        width="46.68111"
        height="14.80503"
-       x="128.98088"
+       x="120.98088"
        y="416.38824" />
     <rect
        
style="fill:none;stroke:#0f0707;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
        id="rect4462-55"
-       width="46.68111"
-       height="14.80503"
-       x="371.30231"
-       y="324.53854" />
+       width="85.793503"
+       height="24.507414"
+       x="354.93326"
+       y="319.3302" />
     <rect
        
style="fill:none;stroke:#0f0707;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
        id="rect4462-56"
@@ -271,7 +263,7 @@
        y="416.56683" />
     <path
        
style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:4,
 4;stroke-dashoffset:0;marker-end:url(#Arrow1Mend)"
-       d="m 175.66199,423.79076 193.25202,0.11546"
+       d="m 168.16199,423.96933 200.75202,-0.0631"
        id="path4498"
        inkscape:connector-curvature="0"
        sodipodi:nodetypes="cc" />
@@ -301,31 +293,31 @@
          style="font-style:normal">(indirect MPI)</tspan></text>
     <path
        
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Mend)"
-       d="m 128.98088,423.79076 c -47.630685,-9.62465 -39.895828,-89.4643 
-2.99874,-92.77605"
+       d="M 120.05231,424.68362 C 84.921624,410.23754 80.335048,349.14789 
100.44643,335.479"
        id="path4728"
        inkscape:connector-curvature="0"
        sodipodi:nodetypes="cc" />
     <text
        xml:space="preserve"
        
style="font-size:10px;font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans
 Italic"
-       x="85.105354"
-       y="379.60059"
+       x="78.388351"
+       y="379.25613"
        id="text4912"
        sodipodi:linespacing="125%"><tspan
          sodipodi:role="line"
          id="tspan4914"
-         x="85.105354"
-         y="379.60059"
-         style="font-style:normal">IPC</tspan></text>
+         x="78.388351"
+         y="379.25613"
+         style="font-style:normal">12</tspan></text>
     <path
-       
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-start:url(#Arrow1Mstart);marker-end:url(#Arrow1Mend)"
-       d="m 177.23137,330.93084 191.70486,0.67242"
+       
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-start:none;marker-end:url(#Arrow1Mend)"
+       d="m 192.35392,340.32647 c 76.98614,-0.0152 107.42483,-0.0879 
161.04659,-0.009"
        id="path4916"
        inkscape:connector-curvature="0"
        sodipodi:nodetypes="cc" />
     <path
        
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Mend)"
-       d="m 394.64287,339.34357 -1e-5,74.81255"
+       d="m 394.64287,343.09357 -1e-5,71.06255"
        id="path5100"
        inkscape:connector-curvature="0"
        sodipodi:nodetypes="cc" />
@@ -339,19 +331,20 @@
          sodipodi:role="line"
          id="tspan5286"
          x="396.73215"
-         y="375.54449">start</tspan></text>
+         y="375.54449"
+         style="font-style:normal">14</tspan></text>
     <text
        xml:space="preserve"
        
style="font-size:10px;font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans
 Italic"
-       x="265.58035"
-       y="325.76938"
+       x="266.08542"
+       y="315.98129"
        id="text5288"
        sodipodi:linespacing="125%"><tspan
          sodipodi:role="line"
          id="tspan5290"
-         x="265.58035"
-         y="325.76938"
-         style="font-style:normal">MPI</tspan></text>
+         x="266.08542"
+         y="315.98129"
+         style="font-style:normal">4, 8</tspan></text>
     <rect
        
style="fill:#000000;fill-opacity:0.68995631;stroke:#0f0707;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
        id="rect5666"
@@ -373,53 +366,30 @@
          style="font-style:normal">socket</tspan></text>
     <path
        
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Mend)"
-       d="m 394.64287,324.53854 c -1e-5,-24.23493 -36.98573,-33.13688 
-49.23384,-33.57883"
+       d="m 390.17858,318.64568 c -1e-5,-24.23493 -32.52144,-27.24402 
-44.76955,-27.68597"
        id="path5672"
        inkscape:connector-curvature="0"
        sodipodi:nodetypes="cc" />
     <text
        xml:space="preserve"
        
style="font-size:10px;font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans
 Italic"
-       x="366.18033"
-       y="309.7738"
+       x="370.46603"
+       y="307.2738"
        id="text5860"
        sodipodi:linespacing="125%"><tspan
          sodipodi:role="line"
          id="tspan5862"
-         x="366.18033"
-         y="309.7738">open</tspan></text>
+         x="370.46603"
+         y="307.2738">3</tspan></text>
     <path
        
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Mend)"
-       d="M 151.55483,323.43362 C 179.80715,289.69701 317.9455,290.67561 
329.56226,290.67561"
+       d="M 179.41198,318.25505 C 227.6643,289.1613 317.9455,290.67561 
329.56226,290.67561"
        id="path5864"
        inkscape:connector-curvature="0"
        sodipodi:nodetypes="cc" />
-    <text
-       xml:space="preserve"
-       
style="font-size:10px;font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans
 Italic"
-       x="265.58035"
-       y="289.69702"
-       id="text6052"
-       sodipodi:linespacing="125%"><tspan
-         sodipodi:role="line"
-         id="tspan6054"
-         x="265.58035"
-         y="289.69702">TCP try connect</tspan></text>
-    <text
-       xml:space="preserve"
-       
style="font-size:10px;font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans
 Italic"
-       x="265.58035"
-       y="307.87976"
-       id="text6060"
-       sodipodi:linespacing="125%"><tspan
-         sodipodi:role="line"
-         id="tspan6062"
-         x="265.58035"
-         y="307.87976"
-         style="font-style:normal">(non-blocking)</tspan></text>
     <path
        
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Mend)"
-       d="m 188.14091,379.66373 c 40.43052,-0.51583 164.53767,6.62702 
190.96624,35.19845"
+       d="m 180.46234,379.66373 c 40.43052,-0.51583 172.21624,6.62702 
198.64481,35.19845"
        id="path6064"
        inkscape:connector-curvature="0"
        sodipodi:nodetypes="cc" />
@@ -513,37 +483,37 @@
     <text
        xml:space="preserve"
        
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans"
-       x="180.79903"
+       x="188.65617"
        y="253.72234"
        id="text4235"
        sodipodi:linespacing="125%"><tspan
          sodipodi:role="line"
          id="tspan4237"
-         x="180.79903"
+         x="188.65617"
          y="253.72234"
-         style="font-style:italic">start</tspan></text>
+         style="font-style:normal">2</tspan></text>
     <text
        xml:space="preserve"
        
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans"
-       x="356.38687"
-       y="251.52196"
+       x="348.52972"
+       y="252.59338"
        id="text4235-4"
        sodipodi:linespacing="125%"><tspan
          sodipodi:role="line"
          id="tspan4237-7"
-         x="356.38687"
-         y="251.52196"
-         style="font-style:italic">start</tspan></text>
+         x="348.52972"
+         y="252.59338"
+         style="font-style:normal">2</tspan></text>
     <path
        
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Mend)"
-       d="M 157.77049,-39.228872 C 121.40108,-10.95579 97.031681,13.501186 
72.232143,53.714286"
+       d="M 157.77049,-39.228872 C 121.40108,-10.95579 100.0674,7.9654718 
75.267857,48.178572"
        id="path4260"
        inkscape:connector-curvature="0"
        transform="translate(68.4375,267.9375)"
        sodipodi:nodetypes="cc" />
     <path
        
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Mend)"
-       d="m 232.5,-39.228872 c 50.84902,29.8081673 82.82573,57.666622 
108.42648,94.235816"
+       d="m 232.5,-39.228872 c 50.84902,29.8081673 81.39715,52.309479 
106.9979,88.878673"
        id="path4448"
        inkscape:connector-curvature="0"
        transform="translate(68.4375,267.9375)"
@@ -551,14 +521,119 @@
     <text
        xml:space="preserve"
        
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans"
-       x="283.55939"
-       y="200.07765"
+       x="272.48795"
+       y="200.4348"
        id="text4636"
        sodipodi:linespacing="125%"><tspan
          sodipodi:role="line"
          id="tspan4638"
-         x="283.55939"
-         y="200.07765"
-         style="font-style:italic">starts</tspan></text>
+         x="272.48795"
+         y="200.4348"
+         style="font-style:normal">1</tspan></text>
+    <path
+       
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Mend)"
+       d="m 354.54962,320.25537 c -18.36215,-0.16369 -135.03737,0.0345 
-160.55643,0.60971"
+       id="path4039"
+       inkscape:connector-curvature="0"
+       sodipodi:nodetypes="cc" />
+    <text
+       xml:space="preserve"
+       
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans"
+       x="302.68573"
+       y="288.43341"
+       id="text4227"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan4229"
+         x="302.68573"
+         y="288.43341">5</tspan></text>
+    <text
+       xml:space="preserve"
+       
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans"
+       x="269.71039"
+       y="350.38989"
+       id="text4231"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan4233"
+         x="269.71039"
+         y="350.38989">6, 9, 13</tspan></text>
+    <rect
+       
style="fill:#000000;fill-opacity:0.68995631;stroke:#0f0707;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
+       id="rect5666-9"
+       width="11.616755"
+       height="10.101525"
+       x="194.42224"
+       y="287.16382" />
+    <text
+       xml:space="preserve"
+       
style="font-size:10px;font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans
 Italic"
+       x="191.44824"
+       y="284.38589"
+       id="text5668-4"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan5670-1"
+         x="191.44824"
+         y="284.38589"
+         style="font-style:normal">socket</tspan></text>
+    <path
+       
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Mend)"
+       d="m 156.46554,317.8949 c 4.10714,-16.42857 23.39286,-26.60714 
35.71428,-26.78571"
+       id="path3092"
+       inkscape:connector-curvature="0"
+       sodipodi:nodetypes="cc" />
+    <path
+       
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Mend)"
+       d="M 300.71429,149.91965 C 295.35714,134.38394 190.35714,120.09822 
139.82143,122.95536"
+       id="path4066"
+       inkscape:connector-curvature="0"
+       transform="translate(68.4375,169.14286)"
+       sodipodi:nodetypes="cc" />
+    <text
+       xml:space="preserve"
+       
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans"
+       x="175.18732"
+       y="307.54419"
+       id="text4254"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan4256"
+         x="175.18732"
+         y="307.54419">3</tspan></text>
+    <text
+       xml:space="preserve"
+       
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans"
+       x="227.53651"
+       y="288.34674"
+       id="text4258"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan4260"
+         x="227.53651"
+         y="288.34674">7</tspan></text>
+    <text
+       xml:space="preserve"
+       
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Sans"
+       x="266.65179"
+       y="333.34824"
+       id="text4272"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan4274"
+         x="266.65179"
+         y="333.34824">MPI</tspan></text>
+    <text
+       xml:space="preserve"
+       
style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Serif;-inkscape-font-specification:Serif"
+       x="358.54596"
+       y="334.14789"
+       id="text2985-5"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         x="358.54596"
+         y="334.14789"
+         id="tspan4262-0"
+         style="text-align:start;text-anchor:start">mshd 
(worker)</tspan></text>
   </g>
 </svg>

Modified: msh/doc/msh.tex
===================================================================
--- msh/doc/msh.tex     2013-06-27 09:20:00 UTC (rev 27643)
+++ msh/doc/msh.tex     2013-06-27 09:52:59 UTC (rev 27644)
@@ -4,6 +4,7 @@
 \usepackage{color}
 \usepackage{graphicx}
 \usepackage{import}
+\usepackage[pdftex,hyperfootnotes=false,pdfpagelabels]{hyperref}
 
 \graphicspath{{fig/svg/}}
 
@@ -40,25 +41,49 @@
 executed command is indirectly relayed from and to the respective \texttt{msh}
 client through the local \texttt{mshd}.
 
-Communication between the local and the remote \texttt{mshd} is done through
-MPI.  For this reason, \texttt{mshd} instances are to be started by the
-execution wrappers (\texttt{mpiexec}, \texttt{mpirun}, \texttt{poe},
-\texttt{srun}).  While starting the \texttt{mshd} instances an optional binary
-and its arguments to it can be given as arguments to \texttt{mshd} in the
-execution wrapper.  A process corresponding to the given binary is started with
-its arguments by the \texttt{mshd} instance running with MPI id $0$.  If the
-optional binary is not given a \texttt{bash} process is started by default.
-\texttt{msh} can only be used these processes as it requires to communicate 
with
-the local \texttt{mshd}.
-
-\texttt{msh} can only be used by the processes started by \texttt{mshd}.
-
-
 \begin{figure}[ht]
   \centering
   \input{fig/svg/job_startup.pdf_tex}
-  \caption{Job start-up overview}
+  \caption[Job start-up overview]{Job start-up overview }
   \label{fig:job_startup}
 \end{figure}
 
+An overview of the interactions involved in starting an application with MSH is
+shown in Figure~\ref{fig:job_startup}: 1. The job scheduler starts the 
execution
+wrapper which is used to start multiple instances of MPI programs.  Examples 
for
+execution wrappers are \texttt{mpiexec}, \texttt{mpirun}, \texttt{poe} and
+\texttt{srun}.  2. The execution wrapper starts an \texttt{mshd} instance on
+each of the allocated hosts.  We distinguish the instance having MPI id 0 as 
the
+master instance and all other instances as worker instances.  3. Each
+\texttt{mshd} instance opens a local socket with a random free port and binds 
it
+to all available IP addresses of its host.  4. The worker instances send their
+IP addresses and port numbers to which their local sockets were bound to the
+master instance using MPI messaging.  5. The master instance verifies the
+received group of IP addresses from each worker instance by opening a TCP
+connection to the socket with each of the received IP addresses in parallel and
+in non-blocking mode.  The IP address corresponding to the first successfully
+established TCP connection is deemed as the worker instance's IP.  6. After
+verifying the IP addresses of all worker instances, the master instance chooses
+a worker instance to verify its own IP addresses.  7.  The worker instance
+verifies the IP address of the master instance.  8. The worker instance 
notifies
+the master instance of its IP address.  9. the master instance broadcasts the
+instance--IP mapping to all worker instances through MPI.  10. All the 
instances
+open a local socket for IPC and set an environmental variable to refer to this
+socket.  The master instance then starts the given application which defaults 
to
+\texttt{bash} if it not specified as a parameter to \texttt{mshd} in the
+execution wrapper.  11. The application calls \texttt{msh} for executing a
+remote command on one of the allocated hosts.  12. The \texttt{msh} program
+inherits the environmental variable set by the master instance and communicates
+to the master instance the remote command to be executed through IPC.
+Additionally, it forwards its stdin and stderr as stdin and stderr respectively
+for the remote command to the master instance.  13. The master instance
+determines the worker instance responsible for executing the remote command 
from
+the instance--IP mapping and relays the remote command, its stdin and stderr to
+the worker instance through MPI.  14. The worker instance executes the remote
+command with the relayed stdin and stderr.  The remote command may also use
+\texttt{msh} to execute commands to other hosts.  In this case, the 
\texttt{msh}
+will connect to the local worker instance for relaying the command to the 
remote
+instance.
+
+
 \end{document}




reply via email to

[Prev in Thread] Current Thread [Next in Thread]