'2008/07'에 해당되는 글 1건

  1. 2008/07/02 100% CPU

100% CPU

2008/07/02 16:55
http://www.codeproject.com/KB/IP/AsyncSocketServerandClien.aspx?msg=1540676#xx1540676xx

This did the trick!!!!!! No 100% CPU load anymore

I understand the setting, but what on earth then is the default setting, some busy poll loop???
Can't MS sack that programmer for life

Well, looking a bit more on the internet (http://www.iis.net/922/SinglePageArticle.ashx[^] I found this:

"Due to a bug in the Windows Communication Foundation that isn't fixed in Beta 2 a net.tcp request to the net.tcp Listener Adapter service (SMSvcHost.exe) will peg the CPU at 90%. The workaround is to add the following to the file %windir%\WinFX\v3.0\Windows Communication Foundation\SMSvcHost.exe.config:

"socket alwaysUseCompletionPortsForAccept="true""

Apparently this bug isn't just in WCF, but already made his way to XP / .NET 2.0

-- modified at 12:37 Tuesday 20th June, 2006
Posted by xhoto

카테고리

분류 전체보기 (125)
日常茶飯事 (28)
明日があるさ (1)
ThinkWise (0)
Etc (12)
hidden (5)
Sinclair (0)
Through the Viewfinder (1)
I'm Developer (78)

최근에 받은 트랙백

달력

«   2008/07   »
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31