CHAAANY ARCHIVE

zero copy

1개의 기록을 주제별로 둘러보세요.

epoll·sendfile·False Sharing·TCP BBR: 병목이 다른 성능 최적화

epoll, sendfile, false sharing 완화, TCP BBR은 모두 고성능 서버 글에서 자주 만난다. 그렇다고 하나의 “빠르게 만드는 기술 묶음”은 아니다. 각각 다른 층의 비용을 줄인다.기술주로 다루는 병목먼저 볼 지표epoll많은 file descriptor의 readiness 대기active connection, ready event 수, event-loop 지연sendfile·copy avoidancefile data를 socket으로 옮기는 CPU·memory copyCPU, throughput, syscall, TLS 경로false sharing 완화여러 core 사이 cache-line coherence trafficperf c2c, cache miss, lock·field ..

728x90