Wow, that's what I want lol. I only have one machine that will support booting from an NVMe at the moment...from what my research tells me. Supposedly this was not supported on Ivy Bridge and started with Haswell? My Haswell machine already has a SanDisk Ultra II 250GB SATA III SSD, so will leave it as that for now.
Thanks for sharing oshunluvr
Announcement
Collapse
No announcement yet.
What are the SSD and NVMe pre install procedures
Collapse
This topic is closed.
X
X
-
Can't go wrong with a Samsung 970 Pro if you can afford it. Results from "hdparm -T..."
WD Caviar "Black" HDD: Timing buffered disk reads: 432 MB in 3.01 seconds = 143.60 MB/sec
Samsung 840 Pro SATA SSD : Timing buffered disk reads: 1624 MB in 3.00 seconds = 541.04 MB/sec
Samsung 970 Pro nVME SSD : Timing buffered disk reads: 9632 MB in 3.00 seconds = 3210.58 MB/sec
- Top
- Bottom
Leave a comment:
-
Originally posted by Fargo View PostMy NVMe is a Samsung
- Top
- Bottom
Leave a comment:
-
The SSD will serve you just fine, in place of the stock platter drive. You will boot faster, and have generally faster response versus the spinner.
One thing that may make your life with the laptop better, is more RAM. According to the specs sheetyou can go up to 16 GB. Otherwise, you should be good with this package.
- Top
- Bottom
Leave a comment:
-
Originally posted by Fargo View PostMy NVMe is a Samsung, but unfortunatly the Samsung Magician does not work with Linux. So its of no use. In the end I did not create an extra drive for over partioning.
I believe you can change your Notification Settings by going here: Settings Top Right > General Settings on Left > Default Thread Subscription Mode: Use the dropdown to change it to what you want. Some forums have Notifications OFF by Default.
- Top
- Bottom
Leave a comment:
-
Thanks for all the replies. I'm not getting updates when a reply was posted so I missed them. My NVMe is a Samsung, but unfortunatly the Samsung Magician does not work with Linux. So its of no use. In the end I did not create an extra drive for over partioning. My understand was that the NVME should have a built in 7% due to the difference in GB vis Gib. My machine is used for business desktop use with a virtual machine. But I don't think it will be too demanding for hard drive usage.
- Top
- Bottom
Leave a comment:
-
Originally posted by Fargo View PostWhat are the best recommended procedures for installing Kubuntu on and SSD or NVMe M.2 drive?
TRIM - Does Kubuntu set trim automatically or will I need to set trim?
Alignment - In the past I followed some threads about putting 1MB of unallocated space at the beginning of the SSD to account for alignment of the drive. I have also seen comments about using 3MB for a NVMe drive. Does this need to be done?
Overprovisioning - Some people say you need 10% unallocated space at the end of the drive to account for over provisioning. Do I need to do this?
- Top
- Bottom
Leave a comment:
-
I am still undecided if I need to reserve unallocated space for over-provisioning.
- Top
- Bottom
Leave a comment:
-
Originally posted by Fargo View PostI am still undecided if I need to reserve unallocated space for over-provisioning.
- Top
- Bottom
Leave a comment:
-
Fargo, off topic but... are you a lawyer/studied law, and used to frequent "shooting/firearms" sites?
- Top
- Bottom
Leave a comment:
-
Thank you all for the information. I'm still researching and reading up on things. For the most part I am finding the same information as you guys have provided. Trim is done automatically and alignment is done automatically. So that really only leaves swap and over partitions.
I think oshunluvr makes a good point to keep swap on the NVME... if swap is even needed. Although my current system with 16GB does use it on occasions with 2 virtual machines and lots of browser tabs open.
I am still undecided if I need to reserve unallocated space for over-provisioning.
- Top
- Bottom
Leave a comment:
-
Personally - just my opinion - much of the advice about SSDs and trim, alignment, their life-span, and swap are FUD, out-of-date, or nonsensical.
First swap: Swap is used only when you run out of memory and need to move "live" stuff out of RAM onto another device (I am really over-simplifying here). Why the heck would you spend somewhere of the order of TEN times to cost of a hard drive to buy a NVMe drive and then not put swap on the fastest device on your system? Boggles the mind - totally backwards thinking. Dumbest thing I've heard. By all means, tune your swap - regardless if you use a hard drive or an SSD to swap to - but don't purposely cripple it by not using the SSD.
That leads to life expectancy: SSDs - modern SSDs - will last as long as any hard drive under normal use. Swap would be considered a normal use for a storage device, right? There are specific use-cases where a hard drive is better - like massive amounts of data, etc. And there are use-cases where the SSD is of little benefit. Regardless, your SSD will outlive your need to have it. Moore's Law says so.
Trim: Overused, period. Unless your SSD is 80-90% full, monthly is plenty of trim and still probably too much. Reasoning? Running trim is more activity than using swap (unless you're way low on RAM). If you're questioning swap, why are you trimming more often than necessary?
Finally, the easiest to address - Alignment. For about 2-3 years now (maybe longer) the partitioning tools supplied with Linux automatically align partitions properly when creating them. You'd have to deliberately make them un-aligned in order to get them that way. I do this (create a single un-aligned partition) because I use GRUB (in lieu of EFI) and it needs extra space on a GPT formatted drive. I use the free space of sectors 34 and 2047 to provide GRUB it's space as the first aligned partition begins at sector 2048.
- Top
- Bottom
Leave a comment:
-
*bunbtu has fstrim set to run weekly.
You can check it this way:
Code:claydoh@claydoh-ideapad:~$ systemctl status fstrim.timer ● fstrim.timer - Discard unused blocks once a week Loaded: loaded (/lib/systemd/system/fstrim.timer; enabled; vendor preset: enabled Active: active (waiting) since Sun 2018-12-09 17:17:14 EST; 4 days ago Trigger: Mon 2018-12-17 00:00:00 EST; 3 days left Docs: man:fstrim
If have the swap on the ssd, and you see it being used too heavily, you will want to change swappiness from the default of 60 down to 10, or even 1
https://help.ubuntu.com/community/Sw...I_change_it.3F
I forgot about this one, as I have not seen this issue consistently.
Swappiness is adjusted a little bit differently than how it is shown for the Debian setup page linked to by dibl. There may be some other differences as well, but I did not notice any others with a quick glance.
- Top
- Bottom
Leave a comment:
-
Review this guidance (*buntu is a Debian derivative), and prepare the SSD accordingly.
Set up your system to run the fstrim command periodically, or run it manually, on the root filesystem.
- Top
- Bottom
Leave a comment:
-
I don't think there is anything special required. I certainly have never done anything different or special with solid state drives the past 4 or 5+ years I have used them.
- Top
- Bottom
Leave a comment:
Users Viewing This Topic
Collapse
There are 0 users viewing this topic.
Leave a comment: