Outils du site

Le trop de quelque chose est un manque de quelque chose. [Proverbe Arabe]

04-linux:10-administration:95-ssd

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
04-linux:10-administration:95-ssd [2016/06/09 02:33] Roge04-linux:10-administration:95-ssd [2020/02/15 05:57] (Version actuelle) – [Over-provisioning] Roge
Ligne 1: Ligne 1:
 +====== SDD ======
 +
 +<note important>
 +
 +Référence: https://easylinuxtipsproject.blogspot.com/p/ssd.html
 +
 +
 +</note>
 +
 +
 +===== UEFI =====
 +
 +Passer l'AHCI en SATA (au lieu de IDE)
 +
 +Recherche driver Samsung SSD 840 PRO SATA
 +
 +===== Over-provisioning =====
 + 
 +Max: 10 Go
 +
 +--> Plus d'actualité.
 +
 +===== Formatage =====
 +
 +
 +Choisir une partition en **ext4** et laisser 10Go non patitionnés
 +
 +**__Note:__** don't select the **BTRFS** file system! Because under certain circumstances, BTRFS causes a huge amount of write actions.
 +
 +===== Modifier fstab =====
 +
 +With **"noatime"** in '/etc/fstab', you disable the write action "access time stamp", that the operating system puts on a file whenever it's being read by the operating system. For an SSD "noatime" is much better.
 +
 +''sudo apt-get install gksu leafpad''
 +
 +''gksudo leafpad /etc/fstab''
 +
 +Modifier le fichier ''/etc/fstab'' pour ajouter la **noatime** (mais pas pour la ligne de la partition de swap).
 +
 +Exemple:
 +
 +''UUID=f0ae2c59-83d2-42e7-81c4-2e870b6b255d   /   ext4 **noatime**,errors=remount-ro     1''
 +
 +
 +===== install Firmware ??? =====
 +
 +https://unix.stackexchange.com/questions/333853/update-firmware-of-samsung-840-pro/
 +
 +
 +===== TRIM =====
 +
 +Le TRIM est nécessaire pour que le SSD conserve de bonne performances sur le long terme.
 +
 +Voir https://easylinuxtipsproject.blogspot.com/p/ssd.html
 +
 +
 +===== Désactiver l'hibernation =====
 +
 +
 +''sudo mv -v /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla /''
 +
 +Pour remettre en place l'hibernation :
 +
 +''sudo mv -v /com.ubuntu.enable-hibernate.pkla /etc/polkit-1/localauthority/50-local.d''
 +
 +
 +===== Virtual Box =====
 +
 +Il existe une option dans le paramétrage du disque pour dire qu'il fonctionne sur un SSD.
 +
 +
 +===== Firefox =====
 +
 +Set the cache to 0:
 +Firefox menu button (with the three dashes on it) - Preferences - Advanced
 +Tab Network
 +section "Cached Web Content": tick Override automatic cache management and set the cache to 0 MB. 
 +
 +===== Limit the write actions of Chrome and Chromium =====
 +
 +The write actions of Google Chrome and Chromium can be limited as follows.
 +
 +- Launch Chrome / Chromium.
 +
 +- Now press the F12 key, in order to open the developers' console. Click on the little gear wheel in the panel of the console, in order to open the settings.
 +
 +In the settings window you tick: Disable cache (while DevTools is open).
 +