▲ | colechristensen 3 days ago | |||||||
This is one of those way down the road optimizations for folks in fairly rare scale situations in fairly rare tight loops. Most of us are in the realm of the lowest hanging fruit being database queries that could be 100x faster and functions being called a million times a day that only need to be called twice. | ||||||||
▲ | stego-tech 3 days ago | parent | next [-] | |||||||
100% with you there. I can count one time in my entire 15 years where I had to pin a production workload for performance, and it was Hyperion. In 99% of use cases, there’s other, easier optimizations to be had. You’ll know if you’re in the 1% workload pinning is advantageous to. For everyone else, it’s an excellent explainer why most guides and documentation will sternly warn you against fussing with the NUMA scheduler. | ||||||||
| ||||||||
▲ | bboreham 3 days ago | parent | prev | next [-] | |||||||
Whilst you’re right in broad strokes, I would observe that “the garbage-collector” is one of those tight loops. Single-threaded JavaScript is perhaps one of the best defences against NUMA, but anyone running a process on multiple cores and multiple gigabytes should at least know about the problem. | ||||||||
▲ | frollogaston 3 days ago | parent | prev [-] | |||||||
Yeah, I was once in this situation with a perf-focused software defined networking project. Pinning to the wrong NUMA node slowed it down badly. Probably another situation is if you're working on a DBMS itself. |