this post was submitted on 20 Aug 2023
34 points (92.5% liked)

Linux

48329 readers
639 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I'm planning on giving an older machine a small upgrade with an SSD, but since that machine does not have an m.2 port, I was thinking about buying the cheapest PCIe adapter I could find. Besides the obvious stuff like ports, PCIe gen and lane count, is there anything I should look out for? Specifically regarding Linux?

top 20 comments
sorted by: hot top controversial new old
[–] Krafting@lemmy.world 22 points 1 year ago (2 children)

If you buy one with multiple M.2 slots, then your motherboard need to support lane bifurcation, if it just have one, it should work with no issue, however, I never booted an OS from these things.

Also, why not just a sata ssd if it's just to revive a PC? It might be cheaper no?

[–] agressivelyPassive@feddit.de 7 points 1 year ago

Mainly because I have an m.2 from another machine in the drawer, so the costs are zero.

But from my (admittedly very short) research, the prices are almost the same, regardless of the format.

[–] cmnybo@discuss.tchncs.de 6 points 1 year ago

As long as the system is new enough that the UEFI supports NVMe, it will be able to boot from it. It doesn't matter whether or not an adapter is used since the adapter is passive.

[–] Gurfaild@feddit.de 8 points 1 year ago (1 children)

If your machine doesn't have UEFI, only a few early NVMe SSDs are bootable, for example the Samsung 950 Pro. If you can't find one, you could try installing the bootloader on a USB stick.

[–] agressivelyPassive@feddit.de 1 points 1 year ago (1 children)

It's not that old and currently UEFI boots from a SATA SSD.

[–] phx@lemmy.ca 2 points 1 year ago

Maybe let's start with what the board+CPU is and we can make more informed recommendations. I do tend to agree with many posters in that in boards that don't already have an NVMe slot, adding a card for NVMe versus performance gains (against an SSD) may not be worth it.

[–] Anticorp@lemmy.ml 7 points 1 year ago (1 children)

They're some boot issues using the adapter. I had some difficulty getting the BIOS to identify the adapter as a bootable HDD. Unfortunately I don't remember how I solved it, but it was solvable. But you asked for potential pitfalls, so there's one. Heat is also another issue. You don't need to pay 200% more to get a NVMe drive with a heatsink already installed, you can just buy a normal NVMe and slap a $5 heatsink from Amazon onto it. I did that and it worked well.

[–] CanofBeanz@lemmy.world 3 points 1 year ago (1 children)

Unless your buying a superspeed pci-e gen 4 drive you really don't even need a heatsink for most drives.

[–] bruhduh@lemmy.world 1 points 1 year ago

Haha) me trying to fit pcie gen 4 ssd into pcie gen 1 motherboard)

[–] snekerpimp@lemmy.dbzer0.com 4 points 1 year ago (1 children)

Get as slow as you can, pcie 4 nvmes get pretty toasty and without proper cooling they will throttle anyway. Either that or make sure you get cooling options.

Not all adapter cards are the same or will run every ssd in every motherboard. I have half a dozen of those things because one brand will work in one computer with one type of ssd and not in any others.

If you get one with multiple, make sure your motherboard can split your pcie lanes so you can access all ssds on the card. Or find one with a pcie switch, though that can slow things down if you are not careful.

Stay away from dell and hp branded stuff unless it is going into a dell or hp. Dell made this awesome four ssd card with fan and everything, can only get it to run in dells.

[–] agressivelyPassive@feddit.de 2 points 1 year ago (1 children)

make sure your motherboard can split your pcie lanes

I heard of bifurcation in that context, but how is that called in "mainboard spec lingo"? What buzzword should I worry about?

Dell made this awesome four ssd card with fan and everything, can only get it to run in dells.

It's a Dell, so I'm safe here.

[–] snekerpimp@lemmy.dbzer0.com 1 points 1 year ago

Somewhere in the bios will be a pcie option, it will look like “4x4x8” or “8x8” or some combination of the like. Most dell workstations and servers have this option that I have run into. If you don’t see this in the bios then you will only be able to run one nvme ssd

[–] dr_jekell@lemmy.world 4 points 1 year ago* (last edited 1 year ago) (1 children)
[–] RegalPotoo@lemmy.world -1 points 1 year ago (1 children)

Unless you are using a SATA NVMe, these either don't work or seriously bottleneck your performance

[–] dr_jekell@lemmy.world 3 points 1 year ago

He didn't specify what sort of M.2 SSD he has so I thought that I would throw it out there as an option.

Plus as he said it was for an older computer & was looking for the cheapest adaptor that works, I guessed that he wasn't too concerned about getting the most performance possible out of the setup.

[–] hemko@lemmy.dbzer0.com 3 points 1 year ago* (last edited 1 year ago) (1 children)

Not gonna lie, unless you have some specific workloads that require faster storage access you are not going to see much improvement by swapping in nvme ssd over sata ssd..

Since your board doesn't have m.2 slot, I assume it's rather old system and would probably get best performance boost by swapping CPU to faster one on same socket. You can probably find a 2nd hand fitting i7 for the same price you'd pay for the pcie card for m.2 slot. Also ram upgrade to 16gb or more (if not kitted already) could be beneficial

[–] Anticorp@lemmy.ml 1 points 1 year ago (2 children)

That isn't accurate. I used a PCIe adapter for an m.2 HDD on my wife's computer and she's getting 400% faster write speeds.

[–] ReversalHatchery@beehaw.org 3 points 1 year ago (1 children)

OP was speaking about "a small upgrade", most probably in general performance. 400 MB/s write speed won't make the OS itself any faster than with a normal SATA SSD.

[–] Anticorp@lemmy.ml 2 points 1 year ago

I said 400%, not 400MB/s. 4x faster is definitely a noticeable upgrade.

[–] espi@mas.to 1 points 1 year ago

@Anticorp @hemko does she need 400% faster write speed?