Re: Problem with BackLog (TCP Queue)..
- From: "Willy Denoyette [MVP]" <willy.denoyette@xxxxxxxxxx>
- Date: Tue, 8 Jan 2008 11:55:28 +0100
"Chizl" <Chizl@xxxxxxxxxxxxxx> wrote in message news:uLoUPMZUIHA.748@xxxxxxxxxxxxxxxxxxxxxxx
FYI, I changed the registry settings.. I have zero socket errors now..
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"TcpNumConnections"=dword:00fffffe
"MaxFreeTcbs"=dword:000007d0
"MaxHashTableSize"=dword:00000200
"TcpTimedWaitDelay"=dword:000000f0
What OS are you running this on?
Seems like you are using a "Client OS" (non Vista), not a "Server OS". The TCP stack on client OS'ses is non "optimized" for this kind of stress testing, you simply increased the default parameters to the default values for a server OS.
Also, it looks like you are running the stress test tool on the same box as the "web server" (please correct me if I'm wrong), this makes little or no sense, the results of your tests are quite meaningless. The reason for this is that the client requires so many resources that you are negatively influencing the behavior of the "web server". In your case , the number of threads (one thread per connected client at the server side plus a thread at the client side) in the system will rocket sky-high, consuming an insane amount of memory (1MB per thread) and CPU resources (thread switches). Also by increasing the MaxFreeTcbs, you are consuming more memory from the page pool which is smaller on a "Client OS" then on a "Server OS".
This will negatively influence the results of the test
When (seriously) stressing TCP/IP servers you need to run the server on a server box loaded with a server OS and the clients need to run on separate boxes interconnected over a LAN.
Willy.
.
- References:
- Problem with BackLog (TCP Queue)..
- From: Chizl
- Re: Problem with BackLog (TCP Queue)..
- From: Peter Duniho
- Re: Problem with BackLog (TCP Queue)..
- From: Chizl
- Re: Problem with BackLog (TCP Queue)..
- From: Chizl
- Problem with BackLog (TCP Queue)..
- Prev by Date: RE: Data-bound comboboxes refusing to release focus
- Next by Date: Re: XP like ProcessBar
- Previous by thread: Re: Problem with BackLog (TCP Queue)..
- Next by thread: Re: Problem with BackLog (TCP Queue)..
- Index(es):
Relevant Pages
|
Loading