Đang mở hậu trường...
Chọn đáp án để xem tỉ lệ cộng đồng và giải thích. Câu hỏi được chọn tự động — mọi người cùng làm 1 câu mỗi ngày.
In a high-throughput multi-threaded application, you replace a mutex-protected counter with a single `std::atomic<int64_t>` using `fetch_add`. While this initially improves throughput, the system experiences significant performance degradation on multi-socket servers under heavy contention, characterized by high CPU utilization despite low effective throughput. What is the physical mechanism causing this performance collapse, and what is the standard architectural mitigation for high-frequency write contention in this scenario?