Networking stress test

Published April 10, 2005
Advertisement
I started a network stress test, and it doesn't look too good.

At around 200 connections, my CPU usage reaches 100%. What's weird is that the server process itself "only" takes 20%. The remaining 80% are in the "SYSTEM" process. I have no idea why. At first i thought i was transfering too much data, but no. Don't tell me that 2000 packets of 50 bytes each can bring Windows XP to its knees.

I profiled the code, it seems 60% of the CPU time is spent in a kernel module called "amdk8.sys" in an unknown function. Then around 8% in "hal.dll", in a function called "HalMakeBeep". Now that's really weird. I don't hear any beep, and i'm not playing any sound.. Around 10% in various functions of "fwdrv.sys". The rest in my code. Huh ?

If anybody has suggestions, or knows what these modules do ("amdk8.sys, hal.dll and fwdrv.sys")...
0 likes 4 comments

Comments

Silvanis
Don't know how much this'll help, but here goes:

amdk8.sys is the Windows driver for the CPU

hal.dll is Window's library for interfacing hardware (the Hardware Abstraction Layer)

fwdrv.sys seems to be a driver for some firewall programs...are you running a third party firewall?
April 10, 2005 10:01 AM
Ravuya
My guess is that either the XPee firewall is screwing up (likely, it sucks ass) or that you have installed a third-party chunk of firewall soft that sucks more (ZoneAlarm).
April 25, 2005 01:32 PM
Ysaneya
Thank you for your post CXL - i basically found out the same thing than you (although i haven't updated my journal with it). This was the conclusion of some tests many people did in a thread i posted in the Multiplayer and Network Programming forum. Some machines had no problem keeping up with the network load, some others are quickly topping their CPU usage. In any case it doesn't seem to come from my code, because i could reproduce the problem with some minimal code sample.
May 11, 2005 03:53 AM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement