Skip to content

Instantly share code, notes, and snippets.

@heatd
Created August 8, 2023 11:59
Show Gist options
  • Save heatd/b02f0b76f39d799933d79d7103342a42 to your computer and use it in GitHub Desktop.
Save heatd/b02f0b76f39d799933d79d7103342a42 to your computer and use it in GitHub Desktop.
<heat> i'm out of the loop, what's idea behind the slub percpu caches and why does it sound suspiciously similar to the slab cpu_cache's? wasn't the entire point of slab to skip all this queueing?
<heat> erm, entire point of SLUB*
* mchauras has quit (Ping timeout: 480 seconds)
<vbabka> yeah, but some use cases might need it
<vbabka> https://mas.to/@carnage4life/110850691497063871
<heat> what happens to perf if you slap on the percpu cache unconditionally?
<vbabka> haven't tried, in the current state some caches will get worse due to it ignoring NUMA
<vbabka> and memory usage will bloat, which is already an issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment