Workshop – Fitting a PCIe SSD with your existing hardware
Afterburner
A PCIe SSD can accelerate your system considerably, but you need to do your homework and choose the right product for your computer.
PCIe is a downward-compatible interface technology with standardized slots, but the chaos with interface cards has not gone away. If you want to use fast mass storage to upgrade older systems without UEFI BIOS and NVMe support, you will certainly benefit from the advantages of the Peripheral Component Interconnect Express (PCIe) bus. However, before you buy expensive components, it makes sense to investigate the specifications; otherwise, you may end up spending several hundred dollars on equipment you can't use.
Understanding PCIe
PCIe [1] is a standard for extensions in personal computers that has been in use for around 15 years, and by now, it has completely replaced its predecessors PCI, PCI-X, and AGP.
The PCIe bus thoroughly eliminates many of the problems of its predecessors. Unlike the PCI bus and its variations, PCIe works with serial connections. Point-to-point connections are created between the components, which leads to significantly higher data transfer rates with significantly less overhead, because slow devices on the bus cannot slow down the faster devices (Table 1).
Table 1
Maximum PCIe Specification Transfer Rates
Version | PCIe x1 | PCIe x4 | PCIe x8 | PCIe x16 |
---|---|---|---|---|
PCIe 1.x |
250MB/s |
1GB/s |
2GB/s |
4GB/s |
PCIe 2.x |
500MB/s |
2GB/s |
4GB/s |
8GB/s |
PCIe 3.x |
0.98GB/s |
3.93GB/s |
7.87GB/s |
15.75GB/s |
PCIe 4.x |
1.96GB/s |
7.87GB/s |
15.75GB/s |
31.50GB/s |
With the legacy bus topology used by the PCI standard, all the connected components have to share the available bandwidth; with the PCIe specification, a switch integrated in the chipset enables the individual connections. The devices can use several lanes for data transmission; unlike the PCI bus, lanes do not have a specified and fixed clock signal. Depending on the specification, up to almost 2000MB/s can theoretically be transferred per lane. The PCIe bus operates in duplex mode, which enables simultaneous data transmission in both directions.
Since the PCIe bus is hot-pluggable, the system is also suitable for high-performance mass storage devices that can be swapped on-the-fly if defects occur. Especially in high-performance workstations and servers, the PCIe standard replaced the PCI standard at a very early stage.
However, even today, you occasionally find a mixture of one or two conventional PCI slots and (usually) four to six PCIe slots in such computer systems. Mixed operation of the different standards is also possible. Thanks to upward and downward compatibility, you can operate plugin cards of different specifications without the cards influencing each other in terms of performance.
Lanes
Data transfer within a PCIe infrastructure takes place along one or more lanes. The maximum transfer speed has increased with each new specification, and the connectors have changed accordingly. In addition to PCIe x1 connectors with only one lane, there are also standardized x4, x8, and x16 slots.
Short slots are sufficient for relatively slow plugin cards (such as USB 3.0 interfaces), but graphic cards, PCIe SSDs, and high-performance network cards in particular depend on many lanes and thus long slots. In the case of graphics cards, the problem of power supply also arises: Modern graphics adapters consume 300W or more of power.
Because a PCIe slot typically does not deliver more than 75W, such graphics cards require external power connections. The standard provides for standardized connectors for this purpose. In high-performance workstations, for simultaneous use with multiple graphics cards and multi-monitor operation, you'll need multiple PCIe x16 slots, along with a correspondingly dimensioned power supply (Figure 1).
Disadvantages of Modern SSDs
Especially with high-performance components such as PCIe SSDs, the use of the devices must always be compared with the technical capabilities of the host computer before you decide to purchase. Although the slots match mechanically, even across different specifications, and could therefore accommodate components of all standards, not every PCIe SSD is suitable for every computer.
Older computers with the PCIe 1.x and 2.x standards do not support all modern NVMe SSDs, but mostly only older ones that follow the AHCI standard. Since such computer systems still rely on a legacy BIOS, the SSDs must also provide a Boot ROM that allows the computer system to boot from the SSD despite having an older BIOS. Without the Boot ROM, an SSD in a computer with a legacy BIOS is not recognized as a bootable device.
The Boot ROMs of modern PCIe SSDs, however, usually only have routines for devices with a UEFI BIOS, so such mass storage devices do not work with older computer hardware despite the manufacturer claiming Linux compatibility. However, problems can also arise with seemingly suitable specifications. For example, certain older high-performance SSDs with a PCIe 2.x interface must be integrated with proprietary driver modules on Linux for them to be recognized as fast mass storage devices (Figure 2).
Kernel modules for these SSDs are usually available directly from the manufacturer, but only for a few distributions and often only for certain kernel versions. Although the support and thus also the driver development for such very expensive high-end components is generally much better (and also designed for longer periods of time) than for consumer products, the manufacturer's support expires after a few years at the latest.
In these cases, there is also the drawback that such SSDs promise an enormous speed boost in servers and workstations but are not bootable due to the lack of operating system integration. In such cases, another mass storage device is needed to boot the computer.
A further drawback when using high-performance SSDs lies in the high power draw and what can be a massive heat generation associated with it. Very fast PCIe SSDs therefore come with active cooling out of the box, as do high-performance graphics cards. Since these SSDs generally require longer slots with a higher number of lanes, it is important to ensure during installation that there is sufficient clearance for air to circulate between the components.
High-performance workstations, often equipped with eight to twelve internal fans, provide good air circulation out the box. For smaller systems, you need to make sure that there is enough space between an actively cooled graphics card and an SSD with its own fan, otherwise heat build-up may occur.
Since the individual memory cells of the SSDs usually also passively dissipate heat through a large heat sink, it may not be possible to use two adjacent PCIe slots simultaneously for such high-energy components.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Fedora Asahi 40 Remix Available for Macs with Apple Silicon
If you've been anticipating KDE's Plasma 6 for your Apple Silicon-powered Mac, then you're in luck.
-
Red Hat Adds New Deployment Option for Enterprise Linux Platforms
Red Hat has re-imagined enterprise Linux for an AI future with Image Mode.
-
OSJH and LPI Release 2024 Open Source Pros Job Survey Results
See what open source professionals look for in a new role.
-
Proton 9.0-1 Released to Improve Gaming with Steam
The latest release of Proton 9 adds several improvements and fixes an issue that has been problematic for Linux users.
-
So Long Neofetch and Thanks for the Info
Today is a day that every Linux user who enjoys bragging about their system(s) will mourn, as Neofetch has come to an end.
-
Ubuntu 24.04 Comes with a “Flaw"
If you're thinking you might want to upgrade from your current Ubuntu release to the latest, there's something you might want to consider before doing so.
-
Canonical Releases Ubuntu 24.04
After a brief pause because of the XZ vulnerability, Ubuntu 24.04 is now available for install.
-
Linux Servers Targeted by Akira Ransomware
A group of bad actors who have already extorted $42 million have their sights set on the Linux platform.
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.