Systems and low latency
On a two-socket server, a latency-critical thread sometimes runs noticeably slower.
AdvancedMultiple choice
On a two-socket server, a latency-critical thread sometimes runs noticeably slower. Memory was allocated by a thread on the other socket. What is going on?
- AThe two sockets share one cache, so they evict each other’s data
- BNUMA: remote memory is slower than local memory
- CThe operating system is compressing the memory in the background
- DHyper-threading always halves the speed of the second socket
The worked solution is in Premium
The answer, the full working and the one idea to take away – for this and all 1,322 questions in the bank. Answer it in practice and your working is marked, with a known mistake named when you make one.
Report an issue with this question
Learn the method
Of the kind reported at
More systems and low latency questions
- A single scan reads 1 GB from main memory at a sustained 20 GB/s.Foundation · Premium
- Walking a matrix through the cache, part 1 of 3Foundation · Premium
- Traversing a linked list and traversing an array are both O(n).Applied · Premium
- An L1 data cache holds 32 KB. How many float64 values fit in it?Applied · Premium
- A loop executes 10⁸ data-dependent branches, half of them mispredicted, each…Applied · Premium
- A hot loop reads only the price field of a million order records, each record…Applied · Premium