- Max simultaneous TCP connections in Win98?
- Posted by Mr. Wood on July 15th, 2004
Does anyone know what the maximum number of simultaneous TCP/IP sessions
that Win98 can handle is?
I'm trying to help a friend who is using AOL+very cheap router. Everything
is fine, except when using bittorrent with 50+ peers connected.
Symptoms are total loss of connectivity, as if ethernet cable was unplugged.
He tells me that switching router off and on again gets things going, but I
don't know if this is the router locking up or a problem with Win98. I've
not been there when it happens, so i can't try the router's web page or
telnet to find out....
Anyone seen anything like this before? The router is a 'mentor' - conexant
chipset, and i've already tried latest firmware, which made no difference...
Thanks,
Dan.
- Posted by Greg Hennessy on July 15th, 2004
On Thu, 15 Jul 2004 22:28:08 +0100, "Mr. Wood"
<mr.wood@no.spamthanks.bigfoot.com> wrote:
That isnt the cause of your problem.
That is the cause of the problem.
Yes, the p2p peers are filling up the 256k reverse path.
Congesting TCP ACK traffic as a consequence.
Use a decent btorrent client and limit uploads to 192 kilobits.
greg
--
Konnt ihr mich horen?
Konnt ihr mich sehen?
Konnt ihr mich fuhlen?
Ich versteh euch nicht
- Posted by Mr. Wood on July 15th, 2004
D'oh. Obvious when you think about it! Cheers...
Dan.
- Posted by Colin Wilson on July 16th, 2004
Oooooh yes it is. Win98 has a problem where it forgets to drop
connections and eventually won`t accept any more connections, reporting
buffer deadlock / tcpip stack errors.
My cheap router is fine, and has been since around last April - never
been rebooted unless I changed settings.
No, I have the same problem, and i`ve used a decent bittorrent client for
months.
The data traffic up/downstream is of no consequence to this particular
problem, and it can manifest itself with zero traffic. I can have ~4
active connections in total, but the machine can still throw out errors.
Having said all that, www.sourceforge.net and download Azureus.
The update feature on it is a pain in the ass, but if you go through the
config page and limit the max connections per torrent and overall max
connections to about 45-50 and you`ll find the problem alleviates for a
while, but will still need to reboot regularly.
You can sometimes get an app to connect to the net again once you hit
this problem by closing down a *working* stack connection, ie. a torrent,
and you might find you can suddenly get mail etc. again - but it is a
sure sign you need to reboot and swear on oath you will never buy another
M$ product again.
--
Please add "[newsgroup]" in the subject of any personal replies via email
--- My new email address has "ngspamtrap" & @btinternet.com in it ;-) ---
- Posted by Greg Hennessy on July 16th, 2004
On Fri, 16 Jul 2004 00:40:39 +0100, Colin Wilson <void@btinternet.com>
wrote:
That's because you have no clue about what I am referring to.
A 'decent' bittorrent client will congest a 256k reverse path serving peers
every bit as easily as an 'indecent' one.
The number of active connections is *irrelevant* if TCP ACK traffic is
disrupted by congestion.
Clueless bullshit. 45-50 active peer connections down a 256k pipe just
wont work period.
I suggest figuring out how TCP retransmit and backoff works to see why.
Which *removes* congestion from the reverse path. Allowing TCP ACK traffic
to flow, what a surprise.
Oh puhleeze get a f*cking grip. It has SFA to do with what OS is running.
Try reading
http://btfaq.com/cgi-bin/fom?_recurse=1&file=34#file_38
"Sometimes, limiting your upload rate will increase your download rate.
This is especially true for asymmetric connections such as cable and ADSL,
where the outbound bandwidth is much smaller than the inbound bandwidth. If
you are seeing very high upload rates and low download rates, this is
probably the case. The reason this happens is due to the nature of TCP/IP
-- every packet received must be acknowledged with a small outbound packet.
If the outbound link is saturated with BitTorrent data, the latency of
these TCP/IP ACKs will rise, causing poor efficiency."
http://www.benzedrine.cx/ackpri.html
It may enlighten you somewhat.
greg
--
Konnt ihr mich horen?
Konnt ihr mich sehen?
Konnt ihr mich fuhlen?
Ich versteh euch nicht
- Posted by Mr. Wood on July 16th, 2004
Not wishing to prolong the slanging match, but if they substitute a
Windows2000 laptop for the Win98 machine and leave all other settings as
they are, the problem goes away.
It could be that Win2000 has the ability to have many simultaneous TCP/IP
sessions, while Win98 cannot. Or it could be that Win2000 has a more
intelligent TCP/IP stack that gives priority to sending ACK packets before
anything else...
Don't suppose we'll really know what's happening until I can get over there
and sniff some packets with a cheapo hub and Ethereal...
Has anyone running win98 got a 'preferred' bittorrent client they could
recommend?
Cheers,
Dan.
- Posted by Greg Hennessy on July 16th, 2004
On Fri, 16 Jul 2004 17:06:22 +0100, "Mr. Wood"
<mr.wood@no.spamthanks.bigfoot.com> wrote:
IF the uplink is congested, the OS is irrelevant.
It doesnt.
greg
--
Konnt ihr mich horen?
Konnt ihr mich sehen?
Konnt ihr mich fuhlen?
Ich versteh euch nicht
- Posted by Colin Wilson on July 16th, 2004
Azureus www.sourceforge.net
--
Please add "[newsgroup]" in the subject of any personal replies via email
--- My new email address has "ngspamtrap" & @btinternet.com in it ;-) ---
- Posted by Colin Wilson on July 16th, 2004
I see this problem even if there are <5 peer connections with no
throughput (ie. on well seeded torrents) after the machine has been on
for a couple of days.
Win98 *has* got a well documented problem with the tcp/ip stack which I
believe was resolved (eventually) in the NT kernel.
I don`t hear many complaints from linux users on this issue.
You talk a good game though.
--
Please add "[newsgroup]" in the subject of any personal replies via email
--- My new email address has "ngspamtrap" & @btinternet.com in it ;-) ---
- Posted by Greg Hennessy on July 16th, 2004
On Fri, 16 Jul 2004 22:13:54 +0100, Colin Wilson <void@btinternet.com>
wrote:
You haven't produced a whit of documentary evidence.
Least of all evidence linking this allegedly 'documented' problem with that
of reverse path congestion.
Which has *what* to do with reverse path congestion on asymmetric broadband
traffic.
Don't teach your grandmother how to suck eggs.
http://tinyurl.com/6b2nm
Note the newsgroup and the date.
greg
--
Konnt ihr mich horen?
Konnt ihr mich sehen?
Konnt ihr mich fuhlen?
Ich versteh euch nicht
- Posted by Colin Wilson on July 17th, 2004
I, admittedly, have not got a thorough knowledge of the tcp/ip stack or
their implementation across the numerous operating systems.
Perhaps you can educate us by explaing the mechanisms behind reverse path
congestion when there are very few connections, and why some
implementations are apparently more affected more than others ?
Noted. There was a lot of (perhaps anecdotal) talk about the win9x stack
being fixed with the release of win2k upwards though.
I don`t know of a single user of winXP who suffers from these problems,
but lots on win9x.
--
Please add "[newsgroup]" in the subject of any personal replies via email
--- My new email address has "ngspamtrap" & @btinternet.com in it ;-) ---
- Posted by Greg Hennessy on July 17th, 2004
On Sat, 17 Jul 2004 14:06:35 +0100, Colin Wilson <void@btinternet.com>
wrote:
The number of connections is irrelevant, the problem is over utilisation of
the 256k reverse path .
Even a single connection making sustained full usage of it will cause
problems.
It has nothing to do with P2P.
Try sending someone a suitably large file using FTP/SCP or any other tcp
based protocol to see identical behaviour.
I packet shape all traffic here and dedicate 15% of it just for handling
empty ACKs.
Damned leechers ;-)
greg
--
Konnt ihr mich horen?
Konnt ihr mich sehen?
Konnt ihr mich fuhlen?
Ich versteh euch nicht