Papers/Others

Performance Study and Dynamic Optimization Design for Thread Pool Syst

tomato13 2009. 4. 15. 14:24

재미있는(?) 논문을 하나 읽고 소개해 드립니다.


http://www.scl.ameslab.gov/Publications/Brett/CCCTFinal-color.pdf 


일반으로 multi-thread 환경에서 thread pool 을 자주 사용합니다. 그리고 대개는 pool size를 개발자가 고정된 값으로 세팅할 듯 합니다. 


Thread pool size가 커지면 가용할 thread 수가 많아져서 task 처리 속도가 빨라질 수도 있겠으나 thread monitoring 비용이 커질 우려도 있을 듯 합니다. 


논문에서는 최적의 pool size를 dynamic analysis 를 통해서 찾을 수 있다고 설명합니다. 


그리고 그 개선 결과는 8배 이상까지 차이를 보입니다.


논문에서는 performance를 어떠한 metric로 비교할지에 대해서 설명을 하는데 이에 대한 소개는 생략합니다.


...........


The performance monitoring job is very time-consuming and inconvenient for a system administer.


This approach makes a tradeoff between the thread pool performance and the management overhead.