4 ms·
rbanffy, it was meant per core. Counting L1/L2 across the entire die is rather pointless. Pinning makes most sense in NUMA indeed. Nowadays my impression is th
by xxs 8y ago
rbanffy, it was meant per core. Counting L1/L2 across the entire die is rather pointless.
Pinning makes most sense in NUMA indeed. Nowadays my impression is that often times the multicore/socket hardware tend to be chopped down by virtual machines, though.
- rbanffy 8y agoIf you use VMs and don't pin VMs to cores (which is pretty sensible) yes, but if you run your processes on your metal, pinning processes will reduce pressure on their L1/L2 caches if a given process is running on it constantly, the odds the caches have the "right" data increase. The same goes for the processes that are not pinned, as they don't need to compete with the pinned one (unless they have the misfortune of being scheduled on those cores). In the end, it'll look like your cache is bigger.