leopold0favre
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Tests des systemes logiciels : TP tests de performances ## Leopold FAVRE - Mathis MARION - Sylvain PRAT ## Rapports CLIF des tests #### 4.1 Description de l'infrastructure de test ##### 4.1.1 Machine sous test : ``` OS: Ubuntu 20.04.3 LTS CPU: Intel(R) Core(TM) i5-7500 CPU @ 3.40Ghz Memory: 32 GiB (Machine de l'ensimag, connectée au réseau de l'ecole) ``` Machine Clif : ``` OS: EndeavourOS Linux x86_64 CPU: Intel i7-10510U (8) @ 4.900GHz Memory: 7789MiB (Machine perso, connectée à Eduroam à l'école et au VPN). ``` #### 4.2 Compréhension des scénarios ##### 4.2.1 Ce comportement est censé effectuer 20 itérations de boucle. ##### 4.2.2 Le programme est censé envoyer 20 requêtes. ##### 4.2.3 L'hypothèse est que le temps de réponse du serveur doit être inférieur à 50ms. Si cette hyposthèse n'est pas respectée, le client attendra de toute façons la réponse avant d'effectuer de nouvelles requêtes, il n'y aura donc jamais de contentions. Cependant, si un paquet est perdu, le client sera bloqué à jamais. ##### 4.2.4 - Le paquet UDP est perdu - La latence trop grande - Le temps de traitement de la requête par le serveur est trop long ##### 4.2.5 // TODO #### 4.3 Premier Test ``` action type calls min max mean median std dev throughput errors LOG 0 NaN NaN NaN NaN NaN NaN 112 UDP CONNECT 1 81 81 81.000 81 NaN NaN 0 UDP RECEIVE 1121 273 7405 1251.620 1220 388.350 18.724 0 UDP SEND 1121 30 362 117.488 111 35.974 18.724 0 GLOBAL LOAD 2243 30 7405 684.285 308 630.645 37.463 112 Quick statistics report done ``` ##### 4.3.1 Le temps d'attente moyen pour le traitement d'un paquet est de 1,251 ms (en négligeant la latence du réseau loopback). ##### 4.3.2 $d_{max} = 1 / t_{min} = 1 / 273e-6 \simeq 3663$ Le débit maximum des requêtes gérable par le serveur est de 3663 paquets par seconde. ##### 4.3.3 $f = 20$ (nombre de requêtes par seconde par utilisateur) Si $d_{max} < f \times u$ (nombre d'utilisateurs), il y a contention. Donc $u_{max} = \lfloor d_{max} / f \rfloor = 183$. ##### 4.3.4 Puisque le temps de latence du réseau est négligeable et que le temps de traitement max est inférieur à 50ms, on sait que chaque boucle du client (lors de laquelle a lieu une requête) s'est effectuée pendant la durée minimale de $t_1 = 50ms$. Or en moyenne, chaque paquet a été traité en $t_2 = 1,251 ms$. le taux d'utilisation du serveur de calcul dans ce test est donc de $t_2 / t_1 \simeq 2.5 \%$ ##### 4.3.5 Il n'y a pas eu d'erreur lors de ce test (0%). #### 4.4 Deuxième test ##### 4.4.1 ``` action type calls min max mean median std dev throughput errors LOG 0 NaN NaN NaN NaN NaN NaN 115 UDP CONNECT 1 171 171 171.000 171 NaN NaN 0 UDP RECEIVE 1154 1603 67011 3966.415 2859 4477.685 19.273 0 UDP SEND 1154 22 736 89.532 92 41.816 19.273 0 GLOBAL LOAD 2309 22 67011 2027.169 736 3711.612 38.561 115 Quick statistics report done ``` Dans le test précédent, le temps de traitement moyen (sans latence réseau) est de $t_1 = 1,251ms$. Dans celui-ci (avec latence réseau), il est de $t_2 = 3,966ms$. Le temps de latence réseau est donc de $t_2 - t_1 = 2.715ms$. #### 4.5 Troisième test ##### 4.5.1 ``` action type calls min max mean median std dev throughput errors LOG 0 NaN NaN NaN NaN NaN NaN 1673 UDP CONNECT 20 58 258 131.600 117 63.776 10.537 0 UDP RECEIVE 16735 1270 64844 3040.734 2669 2790.573 270.395 77 UDP SEND 16812 2 7651 49.876 48 67.036 271.639 0 GLOBAL LOAD 33567 2 64844 1541.032 185 2474.014 542.348 1750 Quick statistics report done ``` Le temps moyen de réponse est de $t_1 = 3,040ms$ ##### 4.5.2 Le temps de latence (calculé précédemment) est de $t_2 = 2,715ms$. Puisque le temps moyen de réception d'une réponse Le temps de traitement moyen par le serveur pour ce test est égal à $t_1 - t_2 = 0,325ms$ ##### 4.5.3 Nous avons eu 77 erreurs pour 16735 paquets reçus. Cela correspond à un taux d'erreur de $0,46\%$ ##### 4.5.4 Il peut aussi y avoir comme des paquets non reçus à cause le contention réseau. #### 4.6 Quatrième test ##### 4.6.1 Le test ne fonctionne pas car l'ordinateur utilisant CLIF n'a pas assez de sockets réseaux utilisables. ##### 4.6.2 Pour pouvoir injecter plus de charge au serveur, il faudrait utiliser plusieurs ordinateurs au lieu d'un seul. $min_{z \in R}(\sum_{y \in Y} |y - z|)$

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully