Advice needed concerning SSD and Linux

  • I would boot both OSes from the NVme SSD (this should normally be the fastest). Apps would also be installed there.
  • (K)Ubuntu is about the most universal distro there is, in terms of hardware compatibility. You can check on the Canonical site if your hardware is certified with Ubuntu (warm fuzzies if it is, but don’t panic if it’s not) . Otherwise, check what distros the authors of your fave apps are using, you are more likely to get usable installation packages for the same. I have been a KDE user for years (Mandrake/Mandriva, then Kubuntu).
  • Ext4 is fine, there are options to optimize it for SSDs (like not rewrite the access time to disk each tile the file is accessed). The system is also set up to send regular “trim” commands. In my case, the Kubuntu 16.04 installer did use the adequate options.
  • The reason they recommend to avoid putting the swap file on a SSD is because SSDs wear out and a very active swap would wear them out fast. But recent SSDs are much more resilient, and you may hardly swap, especially if you tweak the system “swappiness”.
1 Like

First of all, nice machine :blush:

1- you may want to try Linux Mint (Cinnamon for a heavy environment, but not so much as KDE; or Mate for a nice, lighter environment)

2- I would definitely go for separate disks, but without dual boot: you will most likely alteady have a boot manager in your BIOS through F12 at machine bootup. M2 for linux and as default boot disk

3- ext4 is the safer choice, and quite good yet

4- as it has been said you can go swapless, or maybe get an appropriate pci-e adapter and use that killer Optane as swap

4.1- I would definitely go for swap partition, mostly for peace of mind if something gets ever screwed with the swap file that has some effect to other files in the same partition

4.2- to me the proper choice would be the Optane, as it has an unbelievable resistance to wear

But if I compare that system with mine (i7 4790, 32GB RAM, Corsair XT SSD as boot disk), either way should give you an amazing experience.

The only thing I would try to avoid at all cost is mixing linux and all Windows crappiness in the same disk.

Thanks to all responses so far!
@afre I’ve read that swap will work on almost any storage medium. Even a usb stick. The beauty is I can always change it later if needed.
@mbs I may just try it without swap. I could add it later if needed.
@martin.scharnke I’ve been wanting to do this for some time now. SSD prices are getting to be reasonable now.
@Ofnuts I’m not sure if I’ want to add more partitions to the Windows SSD. It already has 4 or 5 if my memory is right. Windows performance is not important to me. I’m looking for the Linux SSD to really carry the demanding things like photo/video editing.
@XavAL You hit on two things I didn’t think of. Instead of a grub screen , using the boot manager certainly wouldn’t be all that much more of a bother. I never even thought of what I was going to do with the Optane memory. I just wanted the M.2 slot for the Samsung 970 to blaze the trail. I had’t thought of using the Optane for swap. I guess I’d need a pcie to M.2 adapter of some sort, right?

Hi there, very nice hardware!
Just a thought: Why not using virtual box for windows? I use it myself for many years, performance is more than sufficient (Intel Xeon E3-1230). But I use it only for saal digital software to create photo albums.
I have experience with it on Ubuntu and Linux Mint and since several month I swapped to manjaro where it also works perfectly for me…

ALready your old pc was very good :smile:

The one is seems outstanding!

I agree with m2 slot.

  1. I really like Ubuntu Mate (LTS) and Q4os. The first one is fast, the second one is incredibly fast. See for example distrowatch for reviews of both. The second one makes a pentium 4 32 bit with a cheap Kingdian (cheap chinese but so far so good) ssd really usable, booting in something like 28-30 seconds on my 3.0 GHz. Your pc… is a bit faster.

  2. I would install it to nvme

  3. on ext 4 with fstab with noatime,nodiratime options

  4. swap: leave maybe some spare gb on a disk whilst partitioning, if you need it you can add it later.

Yes. One compatible with at least pci-e x4

And to take full advantage of the Optane speed, you will have to make sure that there aren’t any other cards or devices using the same pci lane as the slot you plug it in. You may need to read the motherboard manual

  1. Fedora or openSUSE
  2. Put it on the fastest
  3. This depends on which distro and features you want. With OpenSUSE, zypper and snapshots to roll back it is btrfs on / (root filesystem) and ext4 for /home. If you use Fedora use ext4.
  4. Depends on if you want do do hibernation.

I hope it was very cheap. See

grep bugs /proc/cpuinfo

@asn I plugged in a usb stick with Ubuntu Studio and ran your terminal command.Screenshot_2019-11-04_11-35-24
This is what resulted. I have no clue what this actually means. I remember reading a review on the i7-8700 that said the cpu cooler was inadequate for overclocking. That’s something I have no plans to do.

You haven’t heard of the CPU hardware bugs in Intel CPUs?

https://meltdownattack.com/

Here are benchmarks:

https://www.phoronix.com/scan.php?page=article&item=linux50-spectre-meltdown&num=1

TL;DR: Intel CPUs are 13-17% slower because of those hardware bugs, AMD CPUs are 3% slower.

3 Likes

@asn Very informative and as well as disturbing. I also ran the command on my present Linux system with similar results. I’ll definitely look into these things more.

Although those bugs are certainly to be taken into account, there are people that say there’s not much to worry about in a linux box, if you are a bit cautious about what and from where you install in the linux system: a malicious program is needed to exploit those bugs, so most FOSS programs should be safe to use.

Windows is a totally different matter…

Anyway, a 15-20% loss of performance in your machine shouldn’t be something to worry about: you will still have a fabulous machine to work with (for your intended use)

Thanks for the reminder that I need to take a look at my kernel commandline.

The primary issue with meltdown/spectre is that a hostile process in one user’s memory space can potentially read memory it doesn’t have access to (or at least get a hint as to the contents of memory it doesn’t have access to) by abusing branch prediction/speculative execution peculiarities.

If you’re running on a single-user system, there are very few (if any) situations where meltdown/specture will be problematic for you. Which is why, I believe, there’s documentation on how to turn off the Meltdown/Spectre mitigations and which scenarios it’s “mostly” safe to do so. It’s a MUCH bigger issue for virtual machine hosts - one VM could potentially “snoop” another VM.

3 Likes

W-e-l-l… there are no universal truths to your questions,
so please permit me to add my very personal thoughts:

  1. Distro? Ask x people and you will get x + y replies (some simply cannot make up their minds).
    I presently favour Manjaro/KDE. Very easy to keep up-to-date.
    The best one for you would probably be the one that you are accustomed to!

  2. Which SSD should I use for the Linux half of the dual boot?
    I favour the idea of having one OS per SSD/HD. Makes it a lot easier for future maintenance, experiments, and updates.

  3. Which file system to use?
    I use Ext4. And no swap or hibernation.

I presently have

  • an M.2 Nvme (fast! 3500/2300 read/write speeds) for my main OS, i.e. Manjaro/KDE.
  • an M.2 Sata (540/500 read/write speeds) for Win X.
  • an SSD (550/520 read/write speeds) for experimental purposes.

I have set my Bios to automatically boot to Manjaro.
If I have to go into any other OS, I simply hit F12 at boot, and pick the destination I want.

Have fun!
Claes in Lund, Sweden

I have a laptop with an SSD. I use KDE Neon on it because 1. I like Plasma desktop and KDE apps; 2. It is modern and stable. I formatted the SSD ext4 file system, I have no swap partition just a swap file.

That’s cute, on mine (Intel Core i7-6820HQ):

bugs: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs

:sunglasses:

Does anyone have a phobia of computer bugs or vulnerabilities? What would that be called anyway? :cold_sweat::space_invader:

hmm…cyberentomophobia?

5 Likes

cybersphalmophobia

(from σφάλμα (sfálma): error, fault, bloomer, slip).

PS: I thought was joking, but according to Google Translate, “σφάλμα” is actually the translation for “bug”: “This program has bugs” translates to “Αυτό το πρόγραμμα έχει σφάλματα”… Now, back to cybersphalmoclasting…

1 Like

It is a good thing that you have decided to use ssd. Every one is changing their old hdd ans buying a ssd. I was really surprised to see that now ssd comes with 3 years warranty where we got only 2 years of warranty from Hdd.