
30 Mar
2014
30 Mar
'14
noon
On 03/28/2014 11:21 AM, Niall Douglas wrote:
Out of curiosity, how many CPU cycles per op in your ASIO test case? AFIO seems to need ~9,000 CPU cycles per op processed, half of which is spent spinning on CAS locks - I would assume that ASIO can knock that down by two thirds?
1000 cycles/op -- measured via io_service::do_run_once(). It locks/unlocks four times per operation, which accounts for a total of 20% of the CPU time.