Re:In-memory vs. disk-based DB: Why do you need a larger tha...
by convolvatron on Saturday September 02, 2023 @02:57PM
(#37364407)
its also may be limited on iops/s. you _can_ really just work with latency, but you need to consider the pipeline depth.
Re:In-memory vs. disk-based DB: Why do you need a larger tha...
by semi-extrinsic on Saturday September 02, 2023 @04:09PM
(#37365072)
For example the latest AMD Genoa has 12 memory channels per socket, at dual socket and with enough DIMMs that's a 75x speed advantage even if you compare with RAID0 of high perfomance NVMe.
Re:In-memory vs. disk-based DB: Why do you need a larger tha...
by wtallis on Saturday September 02, 2023 @05:21PM
(#37365632)
> even if you compare with RAID0 of high perfomance NVMe.
Do you mean a RAID0 of just two or four NVMe SSDs? It's absolutely ridiculous to count aggregate DRAM bandwidth across two CPU sockets and not do the same for PCIe lanes. A fair comparison is that Genoa has about twice the DRAM bandwidth as it has PCIe bandwidth, though in a fully-loaded database server some portion of the PCIe bandwidth will be used for networking rather than storage.
Re:In-memory vs. disk-based DB: Why do you need a larger tha...
by zamadatix on Saturday September 02, 2023 @05:35PM
(#37365729)
FWIW I think you have the aggregation backwards, dual socket Genoa would have 24 channels of DRAM but sacrifice some of the PCIe lanes for the interconnect.
Re:In-memory vs. disk-based DB: Why do you need a larger tha...
by wtallis on Saturday September 02, 2023 @05:52PM
(#37365843)
Dual-socket Genoa would be 24 channels at DDR5-4800 (38.4 GB/s) for a total of ~921.6 GB/s. Typical PCIe configurations are 64 or 80 lanes per socket for dual-socket, so 128 or 160 lanes total, at PCIe 5.0 speed that's ~504 GB/s for 128 lanes total or ~630 GB/s for 160 lane configurations.
Single-socket Genoa would be 12 channels of DRAM (~460.8 GB/s) and 128 lanes of PCIe 5.0 (~504 GB/s), but none of the previous comments were specifically about single-socket Genoa and I wasn't going to silently switch from considering dual-socket in one sentence to single-socket in the next sentence.
Now if you’re comparing to spinning rust, memory is definitely going to blow it away, but commodity hardware isn’t running tens or hundreds of TBs of memory. Memory to SSD comparisons seem right.