diff --git a/public/tuto2/index.html b/public/tuto2/index.html index f53ac325c09adf2471aa7472e3b89494ceb7e26e..6274bac735161f402c24c1f28418dcdf8bcef754 100644 --- a/public/tuto2/index.html +++ b/public/tuto2/index.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> -<!-- 2019-11-29 ven. 14:13 --> +<!-- 2019-11-29 ven. 15:36 --> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Distributed experiments on Grid'5000 … and beyond !</title> @@ -235,24 +235,24 @@ for the JavaScript code in this tag. <h2>Table of Contents</h2> <div id="text-table-of-contents"> <ul> -<li><a href="#org23e5860">1. Benchmarking a real application</a></li> -<li><a href="#org06948d2">2. Before you start</a> +<li><a href="#orga85c5d6">1. Benchmarking a real application</a></li> +<li><a href="#org7764958">2. Before you start</a> <ul> -<li><a href="#org6bd7542">2.1. Grid'5000 stuffs</a></li> -<li><a href="#org4776337">2.2. Setup on Grid'5000</a></li> +<li><a href="#orgd9c7ad4">2.1. Grid'5000 stuffs</a></li> +<li><a href="#org0e91667">2.2. Setup on Grid'5000</a></li> </ul> </li> -<li><a href="#orgfbf4f4f">3. Deployment time !</a> +<li><a href="#org8829a82">3. Deployment time !</a> <ul> -<li><a href="#org412b407">3.1. Deploy it</a></li> -<li><a href="#org6885494">3.2. Access it</a></li> +<li><a href="#orgc8ebccd">3.1. Deploy it</a></li> +<li><a href="#org1de908d">3.2. Access it</a></li> </ul> </li> -<li><a href="#orge6308b3">4. Deploy the monitoring stack</a></li> -<li><a href="#orgc211779">5. Benchmark the system</a> +<li><a href="#orgaffbc51">4. Deploy the monitoring stack</a></li> +<li><a href="#org5e54729">5. Benchmark the system</a> <ul> -<li><a href="#org78bc774">5.1. Deploy the benchmarking nodes</a></li> -<li><a href="#org8d75c13">5.2. Observations</a></li> +<li><a href="#org603f3a8">5.1. Deploy the benchmarking nodes</a></li> +<li><a href="#org347c25e">5.2. Observations</a></li> </ul> </li> </ul> @@ -260,18 +260,18 @@ for the JavaScript code in this tag. </div> -<div id="outline-container-org23e5860" class="outline-2"> -<h2 id="org23e5860"><span class="section-number-2">1</span> Benchmarking a real application</h2> +<div id="outline-container-orga85c5d6" class="outline-2"> +<h2 id="orga85c5d6"><span class="section-number-2">1</span> Benchmarking a real application</h2> <div class="outline-text-2" id="text-1"> <p> In this tutorial we'll cover some aspects of evaluating the performance of a real application. We'll work with <code>overleaf</code>. <code>overleaf</code> is a collaborative -text editor that uses Latex to produce pdf files. Figure <a href="#org1c3a7d7">1</a> +text editor that uses Latex to produce pdf files. Figure <a href="#org9d680d7">1</a> is an overview of the editing part of the software. </p> -<div id="org1c3a7d7" class="figure"> +<div id="org9d680d7" class="figure"> <p><a href="./figs/overleaf-v2-editor.png"><img src="./figs/overleaf-v2-editor.png" alt="overleaf-v2-editor.png" /></a> </p> <p><span class="figure-number">Figure 1: </span>Overview of <code>overleaf</code> editor: on the left users can collaboratively edit the document. On the right the document is rendered.</p> @@ -292,16 +292,16 @@ the official/commercial instance).</li> </div> </div> -<div id="outline-container-org06948d2" class="outline-2"> -<h2 id="org06948d2"><span class="section-number-2">2</span> Before you start</h2> +<div id="outline-container-org7764958" class="outline-2"> +<h2 id="org7764958"><span class="section-number-2">2</span> Before you start</h2> <div class="outline-text-2" id="text-2"> <p> Make sure you are ok with the following. </p> </div> -<div id="outline-container-org6bd7542" class="outline-3"> -<h3 id="org6bd7542"><span class="section-number-3">2.1</span> Grid'5000 stuffs</h3> +<div id="outline-container-orgd9c7ad4" class="outline-3"> +<h3 id="orgd9c7ad4"><span class="section-number-3">2.1</span> Grid'5000 stuffs</h3> <div class="outline-text-3" id="text-2-1"> <div class="note"> <p> @@ -315,8 +315,8 @@ we'll prefer to use higher level tools for now. </div> -<div id="outline-container-org4776337" class="outline-3"> -<h3 id="org4776337"><span class="section-number-3">2.2</span> Setup on Grid'5000</h3> +<div id="outline-container-org0e91667" class="outline-3"> +<h3 id="org0e91667"><span class="section-number-3">2.2</span> Setup on Grid'5000</h3> <div class="outline-text-3" id="text-2-2"> <p> Connect to a Grid'5000 frontend of your choice (e.g rennes, nancy …) @@ -344,11 +344,11 @@ $<span style="color: #7590db;">frontend</span><span style="color: #4f97d7;">(</s </div> </div> -<div id="outline-container-orgfbf4f4f" class="outline-2"> -<h2 id="orgfbf4f4f"><span class="section-number-2">3</span> Deployment time !</h2> +<div id="outline-container-org8829a82" class="outline-2"> +<h2 id="org8829a82"><span class="section-number-2">3</span> Deployment time !</h2> <div class="outline-text-2" id="text-3"> <p> -Figure <a href="#org64a797c">2</a> represents a simplified view of what we'll deploy. In blue +Figure <a href="#orgb157dc8">2</a> represents a simplified view of what we'll deploy. In blue some services of <code>overleaf</code> are represented. First the Web portal is the entry point to all the user requests. The three other services in the picture are involved when compiling a document. The compilation service interacts with the @@ -359,7 +359,7 @@ involved to provide the chat feature, history feature, real-time interaction </p> -<div id="org64a797c" class="figure"> +<div id="orgb157dc8" class="figure"> <p><a href="./figs/simple_compilation.png"><object type="image/svg+xml" data="./figs/simple_compilation.svg" class="org-svg"> Sorry, your browser does not support SVG.</object></a> </p> @@ -379,8 +379,8 @@ After the deployment you'll be able to: </div> </div> -<div id="outline-container-org412b407" class="outline-3"> -<h3 id="org412b407"><span class="section-number-3">3.1</span> Deploy it</h3> +<div id="outline-container-orgc8ebccd" class="outline-3"> +<h3 id="orgc8ebccd"><span class="section-number-3">3.1</span> Deploy it</h3> <div class="outline-text-3" id="text-3-1"> <div class="org-src-container"> <pre class="src src-bash">$<span style="color: #7590db;">frontend</span><span style="color: #4f97d7;">(</span>venv<span style="color: #4f97d7;">)</span>: python overleaf.py deploy --cluster=paravance @@ -397,8 +397,8 @@ After the deployment you'll be able to: </div> </div> -<div id="outline-container-org6885494" class="outline-3"> -<h3 id="org6885494"><span class="section-number-3">3.2</span> Access it</h3> +<div id="outline-container-org1de908d" class="outline-3"> +<h3 id="org1de908d"><span class="section-number-3">3.2</span> Access it</h3> <div class="outline-text-3" id="text-3-2"> <p> To know where your services are installed you can run: @@ -450,8 +450,8 @@ You can access the web portal of your friends by replacing the address of the we </div> </div> -<div id="outline-container-orge6308b3" class="outline-2"> -<h2 id="orge6308b3"><span class="section-number-2">4</span> Deploy the monitoring stack</h2> +<div id="outline-container-orgaffbc51" class="outline-2"> +<h2 id="orgaffbc51"><span class="section-number-2">4</span> Deploy the monitoring stack</h2> <div class="outline-text-2" id="text-4"> <div class="org-src-container"> <pre class="src src-bash">$<span style="color: #7590db;">frontend</span><span style="color: #4f97d7;">(</span>venv<span style="color: #4f97d7;">)</span>: python overleaf.py monitoring @@ -468,8 +468,8 @@ You can access the web portal of your friends by replacing the address of the we </div> </div> -<div id="outline-container-orgc211779" class="outline-2"> -<h2 id="orgc211779"><span class="section-number-2">5</span> Benchmark the system</h2> +<div id="outline-container-org5e54729" class="outline-2"> +<h2 id="org5e54729"><span class="section-number-2">5</span> Benchmark the system</h2> <div class="outline-text-2" id="text-5"> <p> Benchmarking will consist in generating some load on the system. @@ -487,8 +487,8 @@ before destroying it </p> </div> -<div id="outline-container-org78bc774" class="outline-3"> -<h3 id="org78bc774"><span class="section-number-3">5.1</span> Deploy the benchmarking nodes</h3> +<div id="outline-container-org603f3a8" class="outline-3"> +<h3 id="org603f3a8"><span class="section-number-3">5.1</span> Deploy the benchmarking nodes</h3> <div class="outline-text-3" id="text-5-1"> <div class="org-src-container"> <pre class="src src-bash">$<span style="color: #7590db;">frontend</span><span style="color: #4f97d7;">(</span>venv<span style="color: #4f97d7;">)</span>: python overleaf.py bench @@ -505,8 +505,8 @@ before destroying it </div> </div> -<div id="outline-container-org8d75c13" class="outline-3"> -<h3 id="org8d75c13"><span class="section-number-3">5.2</span> Observations</h3> +<div id="outline-container-org347c25e" class="outline-3"> +<h3 id="org347c25e"><span class="section-number-3">5.2</span> Observations</h3> <div class="outline-text-3" id="text-5-2"> <p> Observations can be made on two portals: @@ -534,7 +534,7 @@ consumption and some application metrics</li> <div class="note"> <p> To help you, you can introduce some <b>variations</b> in the generated load. See -<code>python overleaf.g5k bench --help</code> options; you'll be able to change the +<code>python overleaf.py bench --help</code> options; you'll be able to change the frequency of creation of projects of the different types. </p> @@ -545,7 +545,7 @@ frequency of creation of projects of the different types. </div> <div id="postamble" class="status"> <p class="author">Author: Matthieu Simonin</p> -<p class="date">Created: 2019-11-29 ven. 14:13</p> +<p class="date">Created: 2019-11-29 ven. 15:36</p> <p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p> </div> </body> diff --git a/public/tuto2/index.org b/public/tuto2/index.org index db84492835e6cef423cc9efcb6a9c6cb0c0375f0..b5036ad08521892311b42b1466f23ce7d34e7672 100644 --- a/public/tuto2/index.org +++ b/public/tuto2/index.org @@ -193,7 +193,7 @@ #+begin_note To help you, you can introduce some *variations* in the generated load. See - ~python overleaf.g5k bench --help~ options; you'll be able to change the + ~python overleaf.py bench --help~ options; you'll be able to change the frequency of creation of projects of the different types. #+end_note