Hello,
I have a windows service that accepts socket connections, receives tcp/ip packets from the open connection and then buffers the packets in an object. Another thread comes along and removes the packets one at a time and decodes the packets and then stores them into a database.
I have two different computer systems.
The developmental machine is running a single 2.4GHZ core with 1 gig of ram and a 30 gig hard drive.
The production machine is a dual core 2.4GHZ with a gig of ram and a 250 gig hard drive.
Neither system uses anywhere close to half its processing power during the test.
The service publishes without a problem and I can use the installutil on either machine to have it install correctly. The service also does all the work that is should do. However the problem is the fact that the less powerful developmental machine is able to handle 320 connections, each connection sends 4 packets and process them in about a minute. The same task takes the production computer almost 5 minutes to accomplish the same task. Both machines used the same published file for the test.
I have tried to pay careful attention to the software being used on both machines. The following is the software I know is the same.
Microsoft recent system patches for XP Professional (service pack 3)
MYSQL 5.0.51b
WardaemonFTP 1.8
MYSQL Connector/net 5.0.9
Apache
I am at a lose for what could be causing such a difference in performance.
I have a windows service that accepts socket connections, receives tcp/ip packets from the open connection and then buffers the packets in an object. Another thread comes along and removes the packets one at a time and decodes the packets and then stores them into a database.
I have two different computer systems.
The developmental machine is running a single 2.4GHZ core with 1 gig of ram and a 30 gig hard drive.
The production machine is a dual core 2.4GHZ with a gig of ram and a 250 gig hard drive.
Neither system uses anywhere close to half its processing power during the test.
The service publishes without a problem and I can use the installutil on either machine to have it install correctly. The service also does all the work that is should do. However the problem is the fact that the less powerful developmental machine is able to handle 320 connections, each connection sends 4 packets and process them in about a minute. The same task takes the production computer almost 5 minutes to accomplish the same task. Both machines used the same published file for the test.
I have tried to pay careful attention to the software being used on both machines. The following is the software I know is the same.
Microsoft recent system patches for XP Professional (service pack 3)
MYSQL 5.0.51b
WardaemonFTP 1.8
MYSQL Connector/net 5.0.9
Apache
I am at a lose for what could be causing such a difference in performance.