This is my favorite type of HN post, and definitely going to be a classic in the genre for me. > Memory optimization on ultra-high core count systems differs a lot from single-threaded memory management. Memory allocators themselves become contention points, memory bandwidth is divided across more cores, and allocation patterns that work fine on small systems can create cascading performance problems at scale. It is…
The most ideal arrangement is one in which you do not need to use the memory subsystem in the first place. If two threads need to communicate back-forth with each other in a very tight loop in order to get some kind of job done, there is almost certainly a much faster technique that could be ran on a single thread. Physically moving the information between the cores of processing is the most expensive part. You can t…
Optimizing ClickHouse for Intel's ultra-high core count processors
31–40 of 53 posts
Re: Optimizing ClickHouse for Intel's ultra-high core count processors
#32I'm generally surprised they're still using the unmaintained old version of jemalloc instead of a newer allocator like the Bazel-based TCMalloc or mimalloc which have significantly better techniques due to better OS primitives & about a decade or so of R&D behind them.
Re: Optimizing ClickHouse for Intel's ultra-high core count processors
#33288 cores is an absurd number of cores. Do these things have AVX512? It looks like some of the Sierra Forest chips do have AVX512 with 2xFMA… That’s pretty wide. Wonder if they should put that thing on a card and sell it as a GPU (a totally original idea that has never been tried, sure…).
So is 2 GB of storage.
And 2K of years.
Re: Optimizing ClickHouse for Intel's ultra-high core count processors
#34Earlier quoted context omitted.
how long until I have 288 cores under my desk I wonder?
Does 2x160 cores count? https://www.titancomputers.com/Titan-A900-Octane-Dual-AMD-EP...
320 cores starts at $28,000.. $34k with 1TB of memory..
Re: Optimizing ClickHouse for Intel's ultra-high core count processors
#35Clickhouse is excellent btw. I took it for a spin, loading a few TB of orderbook changes into it as entire snapshots. The double compression (type-aware and generic) does wonders. It's amazing how you get both the benefit of small size and quick querying, with minimal tweaks. I don't think I changed any system level defaults, yet I can aggregate through the entire few billion snapshots in a few minutes.
Re: Optimizing ClickHouse for Intel's ultra-high core count processors
#36Earlier quoted context omitted.
Sierra Forest (the 288-core one) does not have AVX512. Intel split their server product line in two: * Processors that have only P-cores (currently, Granite Rapids), which do have AVX512. * Processors that have only E-cores (currently, Sierra Forest), which do not have AVX512. On the other hand, AMD's high-core, lower-area offerings, like Zen 4c (Bergamo) do support AVX512, which IMO makes things easier.
Largely true, but there is always a caveat. On Zen4 and Zen4c the register is 512 bits wide. However, internally, many “datapaths” (execution units, floating-point units, vector ALUs, etc.) are 256 bits wide for much of the AVX-512 functional units… Zen5 is supposed to be different, and again, I wrote the kernels for Zen5 last year, but still have no hardware to profile the impact of this implementation difference on…
Re: Optimizing ClickHouse for Intel's ultra-high core count processors
#37288 cores is an absurd number of cores. Do these things have AVX512? It looks like some of the Sierra Forest chips do have AVX512 with 2xFMA… That’s pretty wide. Wonder if they should put that thing on a card and sell it as a GPU (a totally original idea that has never been tried, sure…).
CPU on PCIe card seems like it matches with the Intel Xeon Phi... I've wondered if that could boost something like an Erlang mesh cluster...
Re: Optimizing ClickHouse for Intel's ultra-high core count processors
#38288 cores is an absurd number of cores. Do these things have AVX512? It looks like some of the Sierra Forest chips do have AVX512 with 2xFMA… That’s pretty wide. Wonder if they should put that thing on a card and sell it as a GPU (a totally original idea that has never been tried, sure…).
Re: Optimizing ClickHouse for Intel's ultra-high core count processors
#39Earlier quoted context omitted.
Does 2x160 cores count? https://www.titancomputers.com/Titan-A900-Octane-Dual-AMD-EP...
Damn, when I first landed on the page I saw $7,600 and thought "for 320 cores that's pretty amazing!" but that's the default configuration with 32 cores & 64GB of memory. 320 cores starts at $28,000.. $34k with 1TB of memory..