Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Winsock IOCP consuming CPU even in idle state

4 views
Skip to first unread message

Mubashir Khan

unread,
Dec 23, 2009, 12:08:01 AM12/23/09
to
we are interested in developing scalable client/server application using
winsock IOCP. we have developed a test application for this purpose. the
issue is that when server starts running and no client is connected, say this
is the idle state, it takes 25% CPU. Why is that. should not the worker
threads be blocked on GetQueuedCompletionStatus. could anyone explain this
behaviour.

thanks
Mubashir

Mubashir Khan

unread,
Dec 23, 2009, 12:21:01 AM12/23/09
to
sorry there was a loop in the main thread that was taking cpu. IOCP is cool.

Thanks
Mubashir

0 new messages