Posts

PCI Express (PCIe) speeds and types explained

PCI Express (PCIe) is de razendsnelle interface die hardware direct verbindt met je CPU — denk aan videokaarten, NVMe-SSD's, netwerkkaarten en geluidskaarten. De basisfilosofie van PCIe is eenvoudig: elke nieuwe generatie verdubbelt de snelheid (bandbreedte) van de vorige, terwijl de compatibiliteit 100% behouden blijft. 1. PCIe-snelheden per generatie De bandbreedte van PCIe hangt af van de generatie en het aantal lanes (geschreven als x1, x4, x8 of x16). Hieronder zie je de theoretische maximale snelheden (in één richting) voor elke grote PCIe-generatie. Generatie Lancering Bruto datasnelheid Codering x1 (1 Lane) x4 (M.2 NVMe-SSD's) x16 (Videokaarten) PCIe 1.0 2003 2,5 GT/s 8b/10b 250 MB/s 1 GB/s 4 GB/s PCIe 2.0 2007 5,0 GT/s 8b/10b 500 MB/s 2 GB/s 8 GB/s PCIe 3.0 2010 8,0 GT/s 128b/130b ~1 GB/s ~4 GB/s ~16 GB/s PCIe 4.0 2017 16,0 GT/s 128b/130b ~2 GB/s ~8 GB/s ~32 GB/s PCIe 5.0 2019 32,0 GT/s 128b/130b ~4 GB/s ~16 GB/s ~64 GB/s PCIe 6.0 2022 64,0 GT/s PAM4 + FLI...

All PCI Express (PCIe) types explained

PCI Express (PCIe) is the high-speed interface that connects hardware directly to your CPU—including graphics cards, NVMe SSDs, network cards, and sound cards. The core philosophy of PCIe is simple: every new generation doubles the speed (bandwidth) of the previous one while maintaining 100% backward compatibility. 1. PCIe Speeds Across Generations PCIe bandwidth depends on generation and lane width (written as x1, x4, x8, or x16). Below are the theoretical maximum speeds (one direction) for every major PCIe generation. Generation Launch Raw Data Rate Encoding x1 (1 Lane) x4 (M.2 NVMe SSDs) x16 (GPUs) PCIe 1.0 2003 2.5 GT/s 8b/10b 250 MB/s 1 GB/s 4 GB/s PCIe 2.0 2007 5.0 GT/s 8b/10b 500 MB/s 2 GB/s 8 GB/s PCIe 3.0 2010 8.0 GT/s 128b/130b ~1 GB/s ~4 GB/s ~16 GB/s PCIe 4.0 2017 16.0 GT/s 128b/130b ~2 GB/s ~8 GB/s ~32 GB/s PCIe 5.0 2019 32.0 GT/s 128b/130b ~4 GB/s ~16 GB/s ~64 GB/s PCIe 6.0 2022 64.0 GT/s PAM4 + FLIT ~8 GB/s ~32 GB/s ~128 GB/s PCIe 7.0 2025 128.0 GT/s PAM4 +...

Sqlite draaien op een ramdisk met compressie nog steeds sneller dan op een NVMe SSD

Ja, absoluut. SQLite draaien op een gecomprimeerde RAM-disk (zoals ZRAM op Linux of een gecomprimeerde RAM-drive van een externe aanbieder op Windows) is in bijna alle scenario's ruim sneller dan op een NVMe-SSD. De achterliggende redenen waarom dit zo is, vallen op te splitsen in drie hoofdfactoren: latentie , bandbreedte en de page-cache van het besturingssysteem . 1. Latentie: Een onoverbrugbare kloof De meest kritische factor voor de prestaties van SQLite is de transactielatentie (vooral bij seriële, niet-gebatchte INSERT - of UPDATE -opdrachten). NVMe-SSD: Zelfs de snelste Gen 5 NVMe-drives hebben een hardwarematige latentiegrens van ongeveer 10 tot 50 microseconden (\mu s). RAM-disk: Toegang tot het systeemgeheugen gebeurt in nanoseconden — meestal rond de 10 tot 100 nanoseconden (ns). Omdat RAM ruwweg 1.000× tot 5.000× sneller is in puur reactievermogen dan flashgeheugen, hoeft SQLite niet te wachten tot de flashcontroller geheugencellen wist of fysieke pagina...

Sqlite on a ramdisk with compression still faster than on a NVMe SSD

Yes, absolutely. Running SQLite on a compressed RAM disk (like ZRAM on Linux or a compressed third-party RAM drive on Windows) will comfortably outpace an NVMe SSD in almost all scenarios. The mechanics behind why this holds true break down into three primary vectors: latency , bandwidth , and OS caching behaviors . 1. Latency: The Unbridgeable Gap The most critical factor for SQLite performance is transactional latency (especially for serial, unbatched INSERT or UPDATE operations). NVMe SSD: Even the fastest Gen 5 NVMe drives operate at a hardware latency floor of roughly 10 to 50 microseconds (\mu s). RAM Disk: Accessing system memory happens in nanoseconds—typically around 10 to 100 nanoseconds (ns). Because RAM is roughly 1,000× to 5,000× faster in pure latency than flash memory, SQLite doesn't have to wait for the flash controller to clear cells or handle physical page mapping. 2. Bandwidth vs. CPU Compression Overhead You might wonder if the CPU overhead of ...

Best backup strategy

The absolute gold standard in data protection is the 3-2-1 backup strategy (nowadays often expanded to the 3-2-1-1-0 rule to also provide protection against ransomware). The 3-2-1-1-0 Principle Rule Meaning Why? 3 Copies of your data Keep the original plus at least 2 backups . 2 Different media Store the backups on two different types of media (e.g., an external SSD/NAS and a cloud server). If one medium fails, you still have the other. 1 Off-site location Ensure at least 1 copy is located off-site (e.g., in the cloud or on an external drive at a family member's home or office). Protects against fire, theft, or water damage. 1 Offline / Immutable At least 1 copy is offline or immutable (air-gapped or WORM storage). This prevents ransomware from encrypting your backups along with your PC. 0 Zero errors (Testing) Regularly perform recovery tests. A backup you cannot restore does not exist. What does this look like in practice? For Home Users & Freelancers Original...

Beste backup strategie

De absolute gouden standaard in gegevensbescherming is de 3-2-1 backup strategie (tegenwoordig vaak uitgebreid naar de 3-2-1-1-0 regel om ook bescherming tegen ransomware te bieden). Het 3-2-1-1-0 Principe Regel Betekenis Waarom? 3 Kopieën van je data Bewaar het origineel plus minimaal 2 back-ups . 2 Verschillende media Sla de back-ups op twee verschillende dragers op (bijv. een externe SSD/NAS en een cloud-server). Mocht één medium falen, heb je de andere nog. 1 Off-site locatie Zorg dat minimaal 1 kopie buitenhuis staat (bijv. in de cloud of op een externe schijf bij familie/kantoor). Beschermt tegen brand, diefstal of waterschade. 1 Offline / Immutable Minimaal 1 kopie is offline of onveranderbaar (air-gapped of WORM-storage). Dit voorkomt dat ransomware je back-ups tegelijk met je pc versleutelt. 0 Nul fouten (Testen) Voer regelmatig een hersteltest uit. Een back-up die je niet kunt terugzetten, bestaat niet. Hoe ziet dit er in de praktijk uit? Voor Thuisgebruikers & ...

Can substrate replace ssd by speed and capacity

The short answer is: no, substrate does not replace the SSD as a "new storage medium," but it is changing SSDs from the inside out. To understand what this means for speed and capacity, we need to distinguish between the two ways the term substrate is currently used in the hardware world: 1. Glass Substrates Inside Chips In this case, glass replaces the traditional organic/plastic base layer (the "substrate") on which memory chips and controllers are mounted. Speed: Faster. Glass substrates do not warp under high temperatures, allowing copper traces to be placed much closer together. This leads to less signal loss and faster communication between the NAND memory cells and the controller (ideal for PCIe 5.0 and PCIe 6.0 SSDs). Capacity: Higher. Because glass is extremely flat and stable, chips can be stacked much more tightly and higher. This makes SSDs with much larger capacities possible within the same M.2 form factor. Conclusion: This does not repla...