diff --git a/public/tuto2/index.html b/public/tuto2/index.html index 0eb836b3c60b0fb1a1ba3d2f32793407cabc890d..13b974e931729a8e3520fb79bdc52c374bd4b400 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. 11:26 --> +<!-- 2019-11-29 ven. 11:32 --> <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="#org53a2f0c">1. Benchmarking a real application</a></li> -<li><a href="#org89b4bbc">2. Before you start</a> +<li><a href="#orgbf29491">1. Benchmarking a real application</a></li> +<li><a href="#org0ae0d9c">2. Before you start</a> <ul> -<li><a href="#orge231fe7">2.1. Grid'5000 stuffs</a></li> -<li><a href="#org955bb0c">2.2. Setup on Grid'5000</a></li> +<li><a href="#org3bec66a">2.1. Grid'5000 stuffs</a></li> +<li><a href="#orgc732703">2.2. Setup on Grid'5000</a></li> </ul> </li> -<li><a href="#org693a742">3. Deployment time !</a> +<li><a href="#orgd19e4c7">3. Deployment time !</a> <ul> -<li><a href="#org4b9f680">3.1. Deploy it</a></li> -<li><a href="#org8c1d302">3.2. Access it</a></li> +<li><a href="#orgfccfb5a">3.1. Deploy it</a></li> +<li><a href="#org2923149">3.2. Access it</a></li> </ul> </li> -<li><a href="#org019da78">4. Deploy the monitoring stack</a></li> -<li><a href="#orgab1fed6">5. Benchmark the system</a> +<li><a href="#org20e388b">4. Deploy the monitoring stack</a></li> +<li><a href="#org7a3492f">5. Benchmark the system</a> <ul> -<li><a href="#org9837ecb">5.1. Deploy the benchmarking nodes</a></li> -<li><a href="#org71aba15">5.2. Observations</a></li> +<li><a href="#org965af87">5.1. Deploy the benchmarking nodes</a></li> +<li><a href="#org77c2d29">5.2. Observations</a></li> </ul> </li> </ul> @@ -260,18 +260,18 @@ for the JavaScript code in this tag. </div> -<div id="outline-container-org53a2f0c" class="outline-2"> -<h2 id="org53a2f0c"><span class="section-number-2">1</span> Benchmarking a real application</h2> +<div id="outline-container-orgbf29491" class="outline-2"> +<h2 id="orgbf29491"><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="#orgbfb7df7">1</a> +text editor that uses Latex to produce pdf files. Figure <a href="#orgbea2241">1</a> is an overview of the editing part of the software. </p> -<div id="orgbfb7df7" class="figure"> +<div id="orgbea2241" 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-org89b4bbc" class="outline-2"> -<h2 id="org89b4bbc"><span class="section-number-2">2</span> Before you start</h2> +<div id="outline-container-org0ae0d9c" class="outline-2"> +<h2 id="org0ae0d9c"><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-orge231fe7" class="outline-3"> -<h3 id="orge231fe7"><span class="section-number-3">2.1</span> Grid'5000 stuffs</h3> +<div id="outline-container-org3bec66a" class="outline-3"> +<h3 id="org3bec66a"><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-org955bb0c" class="outline-3"> -<h3 id="org955bb0c"><span class="section-number-3">2.2</span> Setup on Grid'5000</h3> +<div id="outline-container-orgc732703" class="outline-3"> +<h3 id="orgc732703"><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 …) @@ -343,11 +343,11 @@ $<span style="color: #7590db;">frontend</span><span style="color: #4f97d7;">(</s </div> </div> -<div id="outline-container-org693a742" class="outline-2"> -<h2 id="org693a742"><span class="section-number-2">3</span> Deployment time !</h2> +<div id="outline-container-orgd19e4c7" class="outline-2"> +<h2 id="orgd19e4c7"><span class="section-number-2">3</span> Deployment time !</h2> <div class="outline-text-2" id="text-3"> <p> -Figure <a href="#org4421790">2</a> represents a simplified view of what we'll deploy. In blue +Figure <a href="#orgbc6f46d">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 @@ -358,7 +358,7 @@ involved to provide the chat feature, history feature, real-time interaction </p> -<div id="org4421790" class="figure"> +<div id="orgbc6f46d" 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> @@ -378,8 +378,8 @@ After the deployment you'll be able to: </div> </div> -<div id="outline-container-org4b9f680" class="outline-3"> -<h3 id="org4b9f680"><span class="section-number-3">3.1</span> Deploy it</h3> +<div id="outline-container-orgfccfb5a" class="outline-3"> +<h3 id="orgfccfb5a"><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 @@ -396,8 +396,8 @@ After the deployment you'll be able to: </div> </div> -<div id="outline-container-org8c1d302" class="outline-3"> -<h3 id="org8c1d302"><span class="section-number-3">3.2</span> Access it</h3> +<div id="outline-container-org2923149" class="outline-3"> +<h3 id="org2923149"><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: @@ -449,8 +449,8 @@ You can access the web portal of your friends by replacing the address of the we </div> </div> -<div id="outline-container-org019da78" class="outline-2"> -<h2 id="org019da78"><span class="section-number-2">4</span> Deploy the monitoring stack</h2> +<div id="outline-container-org20e388b" class="outline-2"> +<h2 id="org20e388b"><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 @@ -467,8 +467,8 @@ You can access the web portal of your friends by replacing the address of the we </div> </div> -<div id="outline-container-orgab1fed6" class="outline-2"> -<h2 id="orgab1fed6"><span class="section-number-2">5</span> Benchmark the system</h2> +<div id="outline-container-org7a3492f" class="outline-2"> +<h2 id="org7a3492f"><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. @@ -486,8 +486,8 @@ before destroying it </p> </div> -<div id="outline-container-org9837ecb" class="outline-3"> -<h3 id="org9837ecb"><span class="section-number-3">5.1</span> Deploy the benchmarking nodes</h3> +<div id="outline-container-org965af87" class="outline-3"> +<h3 id="org965af87"><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 @@ -504,8 +504,8 @@ before destroying it </div> </div> -<div id="outline-container-org71aba15" class="outline-3"> -<h3 id="org71aba15"><span class="section-number-3">5.2</span> Observations</h3> +<div id="outline-container-org77c2d29" class="outline-3"> +<h3 id="org77c2d29"><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: @@ -528,6 +528,15 @@ consumption and some application metrics</li> (in term of CPU/IO … consumed)</li> </ul> +</div> + +<div class="note"> +<p> +To help you, you can introduce soe <b>variations</b> in the generated load. See +<code>python overleaf.g5k bench --help</code> options; you'll be able to change the +frequency of creation of projects of the different types. +</p> + </div> </div> </div> @@ -535,7 +544,7 @@ consumption and some application metrics</li> </div> <div id="postamble" class="status"> <p class="author">Author: Matthieu Simonin</p> -<p class="date">Created: 2019-11-29 ven. 11:26</p> +<p class="date">Created: 2019-11-29 ven. 11:32</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 b29838f2a4698ae188c4b1c929029bef8bc60c28..6455d7bed2376ea957e3852ee2be52c78af71637 100644 --- a/public/tuto2/index.org +++ b/public/tuto2/index.org @@ -189,3 +189,11 @@ - They are 3 types of projects that are compiled, can you characterize each one of them ? (in term of CPU/IO ... consumed) #+end_question + + #+begin_note + To help you, you can introduce soe *variations* in the generated load. See + ~python overleaf.g5k bench --help~ options; you'll be able to change the + frequency of creation of projects of the different types. + #+end_note + +