The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 23,818β€…    Votes:  14β€…    βœ… Solution
Tags: ssd   swap   18.04   memory-usage  
Link: πŸ” See Original Answer on Ask Ubuntu ⧉ πŸ”—

URL: https://askubuntu.com/q/1032093
Title: Is it still bad to use swap on a modern SSD?
ID: /2018/05/04/Is-it-still-bad-to-use-swap-on-a-modern-SSD_
Created: May 4, 2018    Edited:  June 12, 2020
Upload: September 15, 2024    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


I have the exact same SSD w/512 GB and Ubuntu 16.04 setup an GB SWAP partition on it. I see no problem because:

Monitoring Samsung Pro 960 M.2 NVMe Gen 3.0 x 4 SSD

First step is to install nvme-cli because it provides the most information:

sudo apt install nvme-cli

Next gather information available from SSD:

$ sudo nvme smart-log /dev/nvme0
Smart Log for NVME device:nvme0 namespace-id:ffffffff
critical_warning                    : 0
temperature                         : 36 C
available_spare                     : 100%
available_spare_threshold           : 10%
percentage_used                     : 0%
data_units_read                     : 8,743,226
data_units_written                  : 4,763,574
host_read_commands                  : 147,308,749
host_write_commands                 : 47,032,599
controller_busy_time                : 343
power_cycles                        : 519
power_on_hours                      : 376
unsafe_shutdowns                    : 66
media_errors                        : 0
num_err_log_entries                 : 198
Warning Temperature Time            : 0
Critical Composite Temperature Time : 0
Temperature Sensor 1                : 36 C
Temperature Sensor 2                : 43 C
Temperature Sensor 3                : 0 C
Temperature Sensor 4                : 0 C
Temperature Sensor 5                : 0 C
Temperature Sensor 6                : 0 C
Temperature Sensor 7                : 0 C
Temperature Sensor 8                : 0 C

The most important field is Percentage used which shows as 0%. This isn’t disk usage percent but life used percent. I’ve had this drive since October 2017 and now it’s May 2018. As soon as Percentage used hits 1% I can multiply the number of months I’ve owned it by 100 to find out when it will die. But they say the drive typically lives longer than that.

Source

⇧ Exact Copy (Backup) of Full Directory Tree To External (Backup) Drive How to integrate "run as shell script" in right click menu of file manager?  β‡©