TCP Connections maxing out

A place to discuss anything.
Post Reply
andyfuller
Posts: 4619
Joined: Wed Mar 25, 2009 12:23 pm

Does anyone know if there is anything that can be done to stop the TCP Connections hitting their maximum limit? Also are there any negative implications in increasing the number of TCP connections if it can be done?

I don't really know what TCP connections do but I loaded up my Resource Monitor and it seems the chart for this is maxing out particularly towards the end of a race.
User avatar
CaerMyrddin
Posts: 1271
Joined: Mon Sep 07, 2009 10:47 am

Sorry mate, clueless...
User avatar
Ethanol
Posts: 148
Joined: Thu Jun 09, 2011 9:09 am

What problem is this causing? Can you post a screenshot from the Resource Monitor?
74.5
Posts: 102
Joined: Tue Feb 14, 2012 9:43 am

andyfuller wrote:Does anyone know if there is anything that can be done to stop the TCP Connections hitting their maximum limit? Also are there any negative implications in increasing the number of TCP connections if it can be done?
Andy

I have a basic understanding of TCP.TCP stands for Transmission Control Protocol.It is a set of rules to enable data from a program running on one computer to be transmitted to a program running on another computer connected via the internet.In your case,TCP looks after the data transmitted between you and betfair.Data isn't usually sent via a single stream over the internet.It is sent in parts called packages. One of the functions of TCP is to ensure that data is spit into packets and sent on their way to the receiving computer. Another function is and to ensure that packets received from the other computer are error free and that they are complete.If packets are found to be in error or there are missing packets,TCP requests re-transmission from the sending computer. Sometimes,the packets are received out of sequence.In this case TCP puts them back into the correct sequence and passes them to the program.

TCP runs under the control of the operating system of your computer (Windows 7?).You therefore cannot control TCP.

Why is TCP maxing out, particularly at the end of a race?My best guess is that betfair may be running at its busiest at race end.It is therefore possible that data transmission from betfair gets flaky.In this case,you may receive duff packets and there may be missing ones.Your TCP will therefore be sending requests to betfair to retransmit packets and resequencing received packets and submitting them to the program running on your computer.This can increase the processing power requirements of TCP.

TCP is optimised for accuracy,not speed.Maxing out is a consequence.

TCP is also optimised for wired not wireless connections.Wireless links are known to suffer from temporary and sporadic issues such as fading,hand off, shadowing and other radio effects.This can increase the processing power requirements of TCP.

The way to overcome the maxing out issue is to buy a faster processor or to get a TCP offload engine.

Hope that the above is useful,I've got it right and haven't left egg on my face.
74.5
User avatar
JollyGreen
Posts: 2047
Joined: Sat Mar 21, 2009 10:06 am

Andy

Is the connection being dropped or is it just reporting errors? You can amend the max connections but you must be careful as this requires a registry edit and they are tricky at the best of times!

The other danger is it can open your network stack to vulnerability issues which can impact on security. Let me know what you are struggling with and I will try and find a solution.

JG
andyfuller
Posts: 4619
Joined: Wed Mar 25, 2009 12:23 pm

Cheers for all the replies!

I had the issue in the past and upgraded my PC to a new all singing all dancing one which largely got rid of the issues.

The problem only happens rarely, not all of the time and as 74.5 indicates in his excellent explanation it was made much better when I got a new processor.

I will try and grab some screen shots and pop them up plus a spec of the PC later when I get chance.

The issue tends to happen towards the end of a race when it is a relatively close finish as the prices I guess are changing much more. The moment the market is suspended the PC 'unlocks' and goes back to normal. During the lock up if I have tried to centre the ladders or place an order this is not getting through and all tries to go through when the race goes suspended and the PC 'unlocks'.

Cheers again for the replies.
Post Reply

Return to “General discussion”