2008-06-22 18:09:31

by Justin P. Mattock

[permalink] [raw]
Subject: stuck tcp connections 2.6.26-rc7

Hello; I too am experiencing internet connectivity problems, for a
while I thought
It was due to low bandwidth(or being ddos attacked) but yesterday I
noticed with watch netstat -ntu
send-Q was stuck on a number; the connection would not go to TIME_WAIT
resulting in music to pause, and t.v. to freeze.
In my experiences running xmms streaming music is fine, no problems,
but as soon as
you watch something with flash player the stream start's getting
really bad. In the past with older kernel's
I usually can watch t.v.(with flash) and stream music at the same time
without any trouble.
lately I've been Running the kernel in No forced Preemption with a
time frequency at 100. having the kernel set in this mode really shows
the connection problems, but if I change the preemption to another,
and bump up the timer frequency the poor internet connection is not as
bad(or stuck tcp) but still prevalent. more pops in the music, and
sudden internet loss for around five seconds, then goes back
So from over here streaming music has no problems from what I can see,
but as soon as I watch media, it becomes a mess.
regards;
--
Justin P. Mattock


2008-06-23 03:59:40

by Andrew Morton

[permalink] [raw]
Subject: Re: stuck tcp connections 2.6.26-rc7

On Sun, 22 Jun 2008 18:09:16 +0000 "Justin Mattock" <[email protected]> wrote:

> Hello; I too am experiencing internet connectivity problems, for a
> while I thought
> It was due to low bandwidth(or being ddos attacked) but yesterday I
> noticed with watch netstat -ntu
> send-Q was stuck on a number; the connection would not go to TIME_WAIT
> resulting in music to pause, and t.v. to freeze.
> In my experiences running xmms streaming music is fine, no problems,
> but as soon as
> you watch something with flash player the stream start's getting
> really bad. In the past with older kernel's
> I usually can watch t.v.(with flash) and stream music at the same time
> without any trouble.
> lately I've been Running the kernel in No forced Preemption with a
> time frequency at 100. having the kernel set in this mode really shows
> the connection problems, but if I change the preemption to another,
> and bump up the timer frequency the poor internet connection is not as
> bad(or stuck tcp) but still prevalent. more pops in the music, and
> sudden internet loss for around five seconds, then goes back
> So from over here streaming music has no problems from what I can see,
> but as soon as I watch media, it becomes a mess.

(cc netdev)

2008-06-23 07:13:32

by Justin P. Mattock

[permalink] [raw]
Subject: Re: stuck tcp connections 2.6.26-rc7

On Mon, Jun 23, 2008 at 3:59 AM, Andrew Morton
<[email protected]> wrote:
> On Sun, 22 Jun 2008 18:09:16 +0000 "Justin Mattock" <[email protected]> wrote:
>
>> Hello; I too am experiencing internet connectivity problems, for a
>> while I thought
>> It was due to low bandwidth(or being ddos attacked) but yesterday I
>> noticed with watch netstat -ntu
>> send-Q was stuck on a number; the connection would not go to TIME_WAIT
>> resulting in music to pause, and t.v. to freeze.
>> In my experiences running xmms streaming music is fine, no problems,
>> but as soon as
>> you watch something with flash player the stream start's getting
>> really bad. In the past with older kernel's
>> I usually can watch t.v.(with flash) and stream music at the same time
>> without any trouble.
>> lately I've been Running the kernel in No forced Preemption with a
>> time frequency at 100. having the kernel set in this mode really shows
>> the connection problems, but if I change the preemption to another,
>> and bump up the timer frequency the poor internet connection is not as
>> bad(or stuck tcp) but still prevalent. more pops in the music, and
>> sudden internet loss for around five seconds, then goes back
>> So from over here streaming music has no problems from what I can see,
>> but as soon as I watch media, it becomes a mess.
>
> (cc netdev)
>


Cool, Thanks for sending the cc
regards;
--
Justin P. Mattock

2008-06-23 17:15:29

by Didier Raboud

[permalink] [raw]
Subject: Re: stuck tcp connections 2.6.26-rc7

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Justin Mattock wrote:

> On Mon, Jun 23, 2008 at 3:59 AM, Andrew Morton
> <[email protected]> wrote:
>> On Sun, 22 Jun 2008 18:09:16 +0000 "Justin Mattock"
>> <[email protected]> wrote:
>>
>>> Hello; I too am experiencing internet connectivity problems, for a
>>> while I thought
>>> It was due to low bandwidth(or being ddos attacked) but yesterday I
>>> noticed with watch netstat -ntu
>>> send-Q was stuck on a number; the connection would not go to TIME_WAIT
>>> resulting in music to pause, and t.v. to freeze.
>>> In my experiences running xmms streaming music is fine, no problems,
>>> but as soon as
>>> you watch something with flash player the stream start's getting
>>> really bad. In the past with older kernel's
>>> I usually can watch t.v.(with flash) and stream music at the same time
>>> without any trouble.
>>> lately I've been Running the kernel in No forced Preemption with a
>>> time frequency at 100. having the kernel set in this mode really shows
>>> the connection problems, but if I change the preemption to another,
>>> and bump up the timer frequency the poor internet connection is not as
>>> bad(or stuck tcp) but still prevalent. more pops in the music, and
>>> sudden internet loss for around five seconds, then goes back
>>> So from over here streaming music has no problems from what I can see,
>>> but as soon as I watch media, it becomes a mess.
>>
>> (cc netdev)
>>
>
>
> Cool, Thanks for sending the cc
> regards;

Hi,

I get something like a similar bug: when pinging my local gateway, I loose
packets (over wifi (iwl3945) ). Before the update to 2.6.26-rc7 (Debian), I
had no such issues (which makes Internet browsing working but weirdly).

I can't know for sure that my bug is related to the above, but suppose so.
Please ask for details !

Regards,

Didier Raboud
- --
Swisslinux.org − Le carrefour GNU/Linux en Suisse −
http://www.swisslinux.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkhf17gACgkQwW1nnOmiePC/jQCcDxxCCFQbWV9swc0LY/o+/8o1
gL4An225WZd8UquZMtRfYRklKi9kiOEI
=hXPR
-----END PGP SIGNATURE-----

2008-06-24 01:45:43

by Justin P. Mattock

[permalink] [raw]
Subject: Re: stuck tcp connections 2.6.26-rc7

On Mon, Jun 23, 2008 at 5:04 PM, Didier Raboud <[email protected]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Justin Mattock wrote:
>
>> On Mon, Jun 23, 2008 at 3:59 AM, Andrew Morton
>> <[email protected]> wrote:
>>> On Sun, 22 Jun 2008 18:09:16 +0000 "Justin Mattock"
>>> <[email protected]> wrote:
>>>
>>>> Hello; I too am experiencing internet connectivity problems, for a
>>>> while I thought
>>>> It was due to low bandwidth(or being ddos attacked) but yesterday I
>>>> noticed with watch netstat -ntu
>>>> send-Q was stuck on a number; the connection would not go to TIME_WAIT
>>>> resulting in music to pause, and t.v. to freeze.
>>>> In my experiences running xmms streaming music is fine, no problems,
>>>> but as soon as
>>>> you watch something with flash player the stream start's getting
>>>> really bad. In the past with older kernel's
>>>> I usually can watch t.v.(with flash) and stream music at the same time
>>>> without any trouble.
>>>> lately I've been Running the kernel in No forced Preemption with a
>>>> time frequency at 100. having the kernel set in this mode really shows
>>>> the connection problems, but if I change the preemption to another,
>>>> and bump up the timer frequency the poor internet connection is not as
>>>> bad(or stuck tcp) but still prevalent. more pops in the music, and
>>>> sudden internet loss for around five seconds, then goes back
>>>> So from over here streaming music has no problems from what I can see,
>>>> but as soon as I watch media, it becomes a mess.
>>>
>>> (cc netdev)
>>>
>>
>>
>> Cool, Thanks for sending the cc
>> regards;
>
> Hi,
>
> I get something like a similar bug: when pinging my local gateway, I loose
> packets (over wifi (iwl3945) ). Before the update to 2.6.26-rc7 (Debian), I
> had no such issues (which makes Internet browsing working but weirdly).
>
> I can't know for sure that my bug is related to the above, but suppose so.
> Please ask for details !
>
> Regards,
>
> Didier Raboud
> - --
> Swisslinux.org $B!](B Le carrefour GNU/Linux en Suisse $B!](B
> http://www.swisslinux.org
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkhf17gACgkQwW1nnOmiePC/jQCcDxxCCFQbWV9swc0LY/o+/8o1
> gL4An225WZd8UquZMtRfYRklKi9kiOEI
> =hXPR
> -----END PGP SIGNATURE-----
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

Cool;(cool as in I'm not the only one,not cool for sh*%y internet connections)
there is something definitely happening with the tcp connection.,
After looking more at the situation
I get a good connection when just streaming music, but as soon as I
watch with flash or even search through firefox
I'm getting a dead period of no internet, and then a few seconds later
no problems.Almost as if some timer in the code is missing something
or not firing off at the right time.
At this point I'm still uncertain with what is happening.
regards;

--
Justin P. Mattock

2008-06-24 17:16:40

by Ray Lee

[permalink] [raw]
Subject: Re: stuck tcp connections 2.6.26-rc7

2008/6/23 Justin Mattock <[email protected]>:
> On Mon, Jun 23, 2008 at 5:04 PM, Didier Raboud <[email protected]> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Justin Mattock wrote:
>>
>>> On Mon, Jun 23, 2008 at 3:59 AM, Andrew Morton
>>> <[email protected]> wrote:
>>>> On Sun, 22 Jun 2008 18:09:16 +0000 "Justin Mattock"
>>>> <[email protected]> wrote:
>>>>
>>>>> Hello; I too am experiencing internet connectivity problems, for a
>>>>> while I thought
>>>>> It was due to low bandwidth(or being ddos attacked) but yesterday I
>>>>> noticed with watch netstat -ntu
>>>>> send-Q was stuck on a number; the connection would not go to TIME_WAIT
>>>>> resulting in music to pause, and t.v. to freeze.
>>>>> In my experiences running xmms streaming music is fine, no problems,
>>>>> but as soon as
>>>>> you watch something with flash player the stream start's getting
>>>>> really bad. In the past with older kernel's
>>>>> I usually can watch t.v.(with flash) and stream music at the same time
>>>>> without any trouble.
>>>>> lately I've been Running the kernel in No forced Preemption with a
>>>>> time frequency at 100. having the kernel set in this mode really shows
>>>>> the connection problems, but if I change the preemption to another,
>>>>> and bump up the timer frequency the poor internet connection is not as
>>>>> bad(or stuck tcp) but still prevalent. more pops in the music, and
>>>>> sudden internet loss for around five seconds, then goes back
>>>>> So from over here streaming music has no problems from what I can see,
>>>>> but as soon as I watch media, it becomes a mess.
>>>>
>>>> (cc netdev)
>>>>
>>>
>>>
>>> Cool, Thanks for sending the cc
>>> regards;
>>
>> Hi,
>>
>> I get something like a similar bug: when pinging my local gateway, I loose
>> packets (over wifi (iwl3945) ). Before the update to 2.6.26-rc7 (Debian), I
>> had no such issues (which makes Internet browsing working but weirdly).
>>
>> I can't know for sure that my bug is related to the above, but suppose so.
>> Please ask for details !
>>
>> Regards,
>>
>> Didier Raboud
>> - --
>
> Cool;(cool as in I'm not the only one,not cool for sh*%y internet connections)
> there is something definitely happening with the tcp connection.,
> After looking more at the situation
> I get a good connection when just streaming music, but as soon as I
> watch with flash or even search through firefox
> I'm getting a dead period of no internet, and then a few seconds later
> no problems.Almost as if some timer in the code is missing something
> or not firing off at the right time.
> At this point I'm still uncertain with what is happening.
> regards;

If you leave a ping running as root to your local gateway from a
console ( nice -n -10 ping -i 0.5 192.168.1.1
or whichever ip ), does it show dropouts?

2008-06-24 20:03:35

by Justin P. Mattock

[permalink] [raw]
Subject: Re: stuck tcp connections 2.6.26-rc7

On Tue, Jun 24, 2008 at 5:16 PM, Ray Lee <[email protected]> wrote:
> 2008/6/23 Justin Mattock <[email protected]>:
>> On Mon, Jun 23, 2008 at 5:04 PM, Didier Raboud <[email protected]> wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> Justin Mattock wrote:
>>>
>>>> On Mon, Jun 23, 2008 at 3:59 AM, Andrew Morton
>>>> <[email protected]> wrote:
>>>>> On Sun, 22 Jun 2008 18:09:16 +0000 "Justin Mattock"
>>>>> <[email protected]> wrote:
>>>>>
>>>>>> Hello; I too am experiencing internet connectivity problems, for a
>>>>>> while I thought
>>>>>> It was due to low bandwidth(or being ddos attacked) but yesterday I
>>>>>> noticed with watch netstat -ntu
>>>>>> send-Q was stuck on a number; the connection would not go to TIME_WAIT
>>>>>> resulting in music to pause, and t.v. to freeze.
>>>>>> In my experiences running xmms streaming music is fine, no problems,
>>>>>> but as soon as
>>>>>> you watch something with flash player the stream start's getting
>>>>>> really bad. In the past with older kernel's
>>>>>> I usually can watch t.v.(with flash) and stream music at the same time
>>>>>> without any trouble.
>>>>>> lately I've been Running the kernel in No forced Preemption with a
>>>>>> time frequency at 100. having the kernel set in this mode really shows
>>>>>> the connection problems, but if I change the preemption to another,
>>>>>> and bump up the timer frequency the poor internet connection is not as
>>>>>> bad(or stuck tcp) but still prevalent. more pops in the music, and
>>>>>> sudden internet loss for around five seconds, then goes back
>>>>>> So from over here streaming music has no problems from what I can see,
>>>>>> but as soon as I watch media, it becomes a mess.
>>>>>
>>>>> (cc netdev)
>>>>>
>>>>
>>>>
>>>> Cool, Thanks for sending the cc
>>>> regards;
>>>
>>> Hi,
>>>
>>> I get something like a similar bug: when pinging my local gateway, I loose
>>> packets (over wifi (iwl3945) ). Before the update to 2.6.26-rc7 (Debian), I
>>> had no such issues (which makes Internet browsing working but weirdly).
>>>
>>> I can't know for sure that my bug is related to the above, but suppose so.
>>> Please ask for details !
>>>
>>> Regards,
>>>
>>> Didier Raboud
>>> - --
>>
>> Cool;(cool as in I'm not the only one,not cool for sh*%y internet connections)
>> there is something definitely happening with the tcp connection.,
>> After looking more at the situation
>> I get a good connection when just streaming music, but as soon as I
>> watch with flash or even search through firefox
>> I'm getting a dead period of no internet, and then a few seconds later
>> no problems.Almost as if some timer in the code is missing something
>> or not firing off at the right time.
>> At this point I'm still uncertain with what is happening.
>> regards;
>
> If you leave a ping running as root to your local gateway from a
> console ( nice -n -10 ping -i 0.5 192.168.1.1
> or whichever ip ), does it show dropouts?
>

I'll give that a try and see what happens.
regards;

--
Justin P. Mattock

2008-06-25 06:25:59

by Justin P. Mattock

[permalink] [raw]
Subject: Re: stuck tcp connections 2.6.26-rc7

On Tue, Jun 24, 2008 at 8:03 PM, Justin Mattock <[email protected]> wrote:
> On Tue, Jun 24, 2008 at 5:16 PM, Ray Lee <[email protected]> wrote:
>> 2008/6/23 Justin Mattock <[email protected]>:
>>> On Mon, Jun 23, 2008 at 5:04 PM, Didier Raboud <[email protected]> wrote:
>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>> Hash: SHA1
>>>>
>>>> Justin Mattock wrote:
>>>>
>>>>> On Mon, Jun 23, 2008 at 3:59 AM, Andrew Morton
>>>>> <[email protected]> wrote:
>>>>>> On Sun, 22 Jun 2008 18:09:16 +0000 "Justin Mattock"
>>>>>> <[email protected]> wrote:
>>>>>>
>>>>>>> Hello; I too am experiencing internet connectivity problems, for a
>>>>>>> while I thought
>>>>>>> It was due to low bandwidth(or being ddos attacked) but yesterday I
>>>>>>> noticed with watch netstat -ntu
>>>>>>> send-Q was stuck on a number; the connection would not go to TIME_WAIT
>>>>>>> resulting in music to pause, and t.v. to freeze.
>>>>>>> In my experiences running xmms streaming music is fine, no problems,
>>>>>>> but as soon as
>>>>>>> you watch something with flash player the stream start's getting
>>>>>>> really bad. In the past with older kernel's
>>>>>>> I usually can watch t.v.(with flash) and stream music at the same time
>>>>>>> without any trouble.
>>>>>>> lately I've been Running the kernel in No forced Preemption with a
>>>>>>> time frequency at 100. having the kernel set in this mode really shows
>>>>>>> the connection problems, but if I change the preemption to another,
>>>>>>> and bump up the timer frequency the poor internet connection is not as
>>>>>>> bad(or stuck tcp) but still prevalent. more pops in the music, and
>>>>>>> sudden internet loss for around five seconds, then goes back
>>>>>>> So from over here streaming music has no problems from what I can see,
>>>>>>> but as soon as I watch media, it becomes a mess.
>>>>>>
>>>>>> (cc netdev)
>>>>>>
>>>>>
>>>>>
>>>>> Cool, Thanks for sending the cc
>>>>> regards;
>>>>
>>>> Hi,
>>>>
>>>> I get something like a similar bug: when pinging my local gateway, I loose
>>>> packets (over wifi (iwl3945) ). Before the update to 2.6.26-rc7 (Debian), I
>>>> had no such issues (which makes Internet browsing working but weirdly).
>>>>
>>>> I can't know for sure that my bug is related to the above, but suppose so.
>>>> Please ask for details !
>>>>
>>>> Regards,
>>>>
>>>> Didier Raboud
>>>> - --
>>>
>>> Cool;(cool as in I'm not the only one,not cool for sh*%y internet connections)
>>> there is something definitely happening with the tcp connection.,
>>> After looking more at the situation
>>> I get a good connection when just streaming music, but as soon as I
>>> watch with flash or even search through firefox
>>> I'm getting a dead period of no internet, and then a few seconds later
>>> no problems.Almost as if some timer in the code is missing something
>>> or not firing off at the right time.
>>> At this point I'm still uncertain with what is happening.
>>> regards;
>>
>> If you leave a ping running as root to your local gateway from a
>> console ( nice -n -10 ping -i 0.5 192.168.1.1
>> or whichever ip ), does it show dropouts?
>>
>
> I'll give that a try and see what happens.
> regards;
>
> --
> Justin P. Mattock
>

Hmm, well I really don't know what to say with the tcp
connection(issue), It seems to go in and out of phases i.g.
at first running music, and t.v.(through flash) there's moments of
pauses,(around 5 secs or so) then after a while
the tcp seems to even itself out, but then after a while(5min or so)
the same pauses begin. Maybe due to some missing packet, or
some deadlock if this is proper to say.
regards;

--
Justin P. Mattock

2008-06-25 15:16:33

by Ray Lee

[permalink] [raw]
Subject: Re: stuck tcp connections 2.6.26-rc7

On Tue, Jun 24, 2008 at 11:25 PM, Justin Mattock
<[email protected]> wrote:
> On Tue, Jun 24, 2008 at 8:03 PM, Justin Mattock <[email protected]> wrote:
>> On Tue, Jun 24, 2008 at 5:16 PM, Ray Lee <[email protected]> wrote:
>>> 2008/6/23 Justin Mattock <[email protected]>:
>>>> On Mon, Jun 23, 2008 at 5:04 PM, Didier Raboud <[email protected]> wrote:
>>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>>> Hash: SHA1
>>>>>
>>>>> Justin Mattock wrote:
>>>>>
>>>>>> On Mon, Jun 23, 2008 at 3:59 AM, Andrew Morton
>>>>>> <[email protected]> wrote:
>>>>>>> On Sun, 22 Jun 2008 18:09:16 +0000 "Justin Mattock"
>>>>>>> <[email protected]> wrote:
>>>>>>>
>>>>>>>> Hello; I too am experiencing internet connectivity problems, for a
>>>>>>>> while I thought
>>>>>>>> It was due to low bandwidth(or being ddos attacked) but yesterday I
>>>>>>>> noticed with watch netstat -ntu
>>>>>>>> send-Q was stuck on a number; the connection would not go to TIME_WAIT
>>>>>>>> resulting in music to pause, and t.v. to freeze.
>>>>>>>> In my experiences running xmms streaming music is fine, no problems,
>>>>>>>> but as soon as
>>>>>>>> you watch something with flash player the stream start's getting
>>>>>>>> really bad. In the past with older kernel's
>>>>>>>> I usually can watch t.v.(with flash) and stream music at the same time
>>>>>>>> without any trouble.
>>>>>>>> lately I've been Running the kernel in No forced Preemption with a
>>>>>>>> time frequency at 100. having the kernel set in this mode really shows
>>>>>>>> the connection problems, but if I change the preemption to another,
>>>>>>>> and bump up the timer frequency the poor internet connection is not as
>>>>>>>> bad(or stuck tcp) but still prevalent. more pops in the music, and
>>>>>>>> sudden internet loss for around five seconds, then goes back
>>>>>>>> So from over here streaming music has no problems from what I can see,
>>>>>>>> but as soon as I watch media, it becomes a mess.
>>>>>>>
>>>>>>> (cc netdev)
>>>>>>>
>>>>>>
>>>>>>
>>>>>> Cool, Thanks for sending the cc
>>>>>> regards;
>>>>>
>>>>> Hi,
>>>>>
>>>>> I get something like a similar bug: when pinging my local gateway, I loose
>>>>> packets (over wifi (iwl3945) ). Before the update to 2.6.26-rc7 (Debian), I
>>>>> had no such issues (which makes Internet browsing working but weirdly).
>>>>>
>>>>> I can't know for sure that my bug is related to the above, but suppose so.
>>>>> Please ask for details !
>>>>>
>>>>> Regards,
>>>>>
>>>>> Didier Raboud
>>>>> - --
>>>>
>>>> Cool;(cool as in I'm not the only one,not cool for sh*%y internet connections)
>>>> there is something definitely happening with the tcp connection.,
>>>> After looking more at the situation
>>>> I get a good connection when just streaming music, but as soon as I
>>>> watch with flash or even search through firefox
>>>> I'm getting a dead period of no internet, and then a few seconds later
>>>> no problems.Almost as if some timer in the code is missing something
>>>> or not firing off at the right time.
>>>> At this point I'm still uncertain with what is happening.
>>>> regards;
>>>
>>> If you leave a ping running as root to your local gateway from a
>>> console ( nice -n -10 ping -i 0.5 192.168.1.1
>>> or whichever ip ), does it show dropouts?
>>>
>>
>> I'll give that a try and see what happens.
>> regards;
>>
>> --
>> Justin P. Mattock
>>
>
> Hmm, well I really don't know what to say with the tcp
> connection(issue), It seems to go in and out of phases i.g.
> at first running music, and t.v.(through flash) there's moments of
> pauses,(around 5 secs or so) then after a while
> the tcp seems to even itself out, but then after a while(5min or so)
> the same pauses begin. Maybe due to some missing packet, or
> some deadlock if this is proper to say.

On my system, I've noticed that the flashplugin can manage to starve
other processes in a pure scheduler sort of way, so you might try
running latencytop to see if there's some sort of issue there. OTOH,
I've noticed firefox itself hang for 3-15 seconds in the middle of a
read (just as you describe), with nothing else going on in the system,
so <shrug>. I've been blaming firefox, but I could be wrong.

2008-06-25 16:22:51

by Justin P. Mattock

[permalink] [raw]
Subject: Re: stuck tcp connections 2.6.26-rc7

On Wed, Jun 25, 2008 at 3:16 PM, Ray Lee <[email protected]> wrote:
> On Tue, Jun 24, 2008 at 11:25 PM, Justin Mattock
> <[email protected]> wrote:
>> On Tue, Jun 24, 2008 at 8:03 PM, Justin Mattock <[email protected]> wrote:
>>> On Tue, Jun 24, 2008 at 5:16 PM, Ray Lee <[email protected]> wrote:
>>>> 2008/6/23 Justin Mattock <[email protected]>:
>>>>> On Mon, Jun 23, 2008 at 5:04 PM, Didier Raboud <[email protected]> wrote:
>>>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>>>> Hash: SHA1
>>>>>>
>>>>>> Justin Mattock wrote:
>>>>>>
>>>>>>> On Mon, Jun 23, 2008 at 3:59 AM, Andrew Morton
>>>>>>> <[email protected]> wrote:
>>>>>>>> On Sun, 22 Jun 2008 18:09:16 +0000 "Justin Mattock"
>>>>>>>> <[email protected]> wrote:
>>>>>>>>
>>>>>>>>> Hello; I too am experiencing internet connectivity problems, for a
>>>>>>>>> while I thought
>>>>>>>>> It was due to low bandwidth(or being ddos attacked) but yesterday I
>>>>>>>>> noticed with watch netstat -ntu
>>>>>>>>> send-Q was stuck on a number; the connection would not go to TIME_WAIT
>>>>>>>>> resulting in music to pause, and t.v. to freeze.
>>>>>>>>> In my experiences running xmms streaming music is fine, no problems,
>>>>>>>>> but as soon as
>>>>>>>>> you watch something with flash player the stream start's getting
>>>>>>>>> really bad. In the past with older kernel's
>>>>>>>>> I usually can watch t.v.(with flash) and stream music at the same time
>>>>>>>>> without any trouble.
>>>>>>>>> lately I've been Running the kernel in No forced Preemption with a
>>>>>>>>> time frequency at 100. having the kernel set in this mode really shows
>>>>>>>>> the connection problems, but if I change the preemption to another,
>>>>>>>>> and bump up the timer frequency the poor internet connection is not as
>>>>>>>>> bad(or stuck tcp) but still prevalent. more pops in the music, and
>>>>>>>>> sudden internet loss for around five seconds, then goes back
>>>>>>>>> So from over here streaming music has no problems from what I can see,
>>>>>>>>> but as soon as I watch media, it becomes a mess.
>>>>>>>>
>>>>>>>> (cc netdev)
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Cool, Thanks for sending the cc
>>>>>>> regards;
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I get something like a similar bug: when pinging my local gateway, I loose
>>>>>> packets (over wifi (iwl3945) ). Before the update to 2.6.26-rc7 (Debian), I
>>>>>> had no such issues (which makes Internet browsing working but weirdly).
>>>>>>
>>>>>> I can't know for sure that my bug is related to the above, but suppose so.
>>>>>> Please ask for details !
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Didier Raboud
>>>>>> - --
>>>>>
>>>>> Cool;(cool as in I'm not the only one,not cool for sh*%y internet connections)
>>>>> there is something definitely happening with the tcp connection.,
>>>>> After looking more at the situation
>>>>> I get a good connection when just streaming music, but as soon as I
>>>>> watch with flash or even search through firefox
>>>>> I'm getting a dead period of no internet, and then a few seconds later
>>>>> no problems.Almost as if some timer in the code is missing something
>>>>> or not firing off at the right time.
>>>>> At this point I'm still uncertain with what is happening.
>>>>> regards;
>>>>
>>>> If you leave a ping running as root to your local gateway from a
>>>> console ( nice -n -10 ping -i 0.5 192.168.1.1
>>>> or whichever ip ), does it show dropouts?
>>>>
>>>
>>> I'll give that a try and see what happens.
>>> regards;
>>>
>>> --
>>> Justin P. Mattock
>>>
>>
>> Hmm, well I really don't know what to say with the tcp
>> connection(issue), It seems to go in and out of phases i.g.
>> at first running music, and t.v.(through flash) there's moments of
>> pauses,(around 5 secs or so) then after a while
>> the tcp seems to even itself out, but then after a while(5min or so)
>> the same pauses begin. Maybe due to some missing packet, or
>> some deadlock if this is proper to say.
>
> On my system, I've noticed that the flashplugin can manage to starve
> other processes in a pure scheduler sort of way, so you might try
> running latencytop to see if there's some sort of issue there. OTOH,
> I've noticed firefox itself hang for 3-15 seconds in the middle of a
> read (just as you describe), with nothing else going on in the system,
> so <shrug>. I've been blaming firefox, but I could be wrong.
>

I agree, after playing around with different applications I'm noticing
this around firefox and flash as well.
When watching T.V. through mplayer there is no problem at all i.g.
having three T.V. stations playing all at
once plus music streaming gives me no errors or pauses at all, not
even any pops in the music.
But as soon as I load firefox the pauses occur, and so forth(ussually
have to restart firefox a couple of times to have it run smooth).
Maybe there is something in about:config that can resolve
this(I'll have to look into it)
regards;
--
Justin P. Mattock

2008-06-25 22:25:14

by David Miller

[permalink] [raw]
Subject: Re: stuck tcp connections 2.6.26-rc7

From: "Ray Lee" <[email protected]>
Date: Wed, 25 Jun 2008 08:16:20 -0700

> On my system, I've noticed that the flashplugin can manage to starve
> other processes in a pure scheduler sort of way, so you might try
> running latencytop to see if there's some sort of issue there. OTOH,
> I've noticed firefox itself hang for 3-15 seconds in the middle of a
> read (just as you describe), with nothing else going on in the system,
> so <shrug>. I've been blaming firefox, but I could be wrong.

See if firefox is stuck in disk wait when things get wedged like
this.

2008-06-25 23:29:23

by Justin P. Mattock

[permalink] [raw]
Subject: Re: stuck tcp connections 2.6.26-rc7

On Wed, Jun 25, 2008 at 10:24 PM, David Miller <[email protected]> wrote:
> From: "Ray Lee" <[email protected]>
> Date: Wed, 25 Jun 2008 08:16:20 -0700
>
>> On my system, I've noticed that the flashplugin can manage to starve
>> other processes in a pure scheduler sort of way, so you might try
>> running latencytop to see if there's some sort of issue there. OTOH,
>> I've noticed firefox itself hang for 3-15 seconds in the middle of a
>> read (just as you describe), with nothing else going on in the system,
>> so <shrug>. I've been blaming firefox, but I could be wrong.
>
> See if firefox is stuck in disk wait when things get wedged like
> this.
>

Hello; Thanks for the response. I must admit I need to figure out how
to do that(disk wait mode with firefox).
Aside from that, it seems there are reports of this with the latest
and so forth. As a note
This explains why and when I plugged in an older kernel that had no
problems at all,
was suddenly giving me problems, leading me to believe that my
service provider(was bandwidth limiting), or a script kiddie
was messing with the line, but this did not seem to be the case; Thankfully.
I'll look into it and let you know.
regards;

--
Justin P. Mattock

2008-06-26 07:54:23

by Justin P. Mattock

[permalink] [raw]
Subject: Re: stuck tcp connections 2.6.26-rc7

On Wed, Jun 25, 2008 at 11:29 PM, Justin Mattock
<[email protected]> wrote:
> On Wed, Jun 25, 2008 at 10:24 PM, David Miller <[email protected]> wrote:
>> From: "Ray Lee" <[email protected]>
>> Date: Wed, 25 Jun 2008 08:16:20 -0700
>>
>>> On my system, I've noticed that the flashplugin can manage to starve
>>> other processes in a pure scheduler sort of way, so you might try
>>> running latencytop to see if there's some sort of issue there. OTOH,
>>> I've noticed firefox itself hang for 3-15 seconds in the middle of a
>>> read (just as you describe), with nothing else going on in the system,
>>> so <shrug>. I've been blaming firefox, but I could be wrong.
>>
>> See if firefox is stuck in disk wait when things get wedged like
>> this.
>>
>
> Hello; Thanks for the response. I must admit I need to figure out how
> to do that(disk wait mode with firefox).
> Aside from that, it seems there are reports of this with the latest
> and so forth. As a note
> This explains why and when I plugged in an older kernel that had no
> problems at all,
> was suddenly giving me problems, leading me to believe that my
> service provider(was bandwidth limiting), or a script kiddie
> was messing with the line, but this did not seem to be the case; Thankfully.
> I'll look into it and let you know.
> regards;
>
> --
> Justin P. Mattock
>

Hello;
I must be mature too admit when I'm wrong, (I'm very wrong, and stupid);
I was too quick to judge. : ( (apologize firefox)
I had overlooked one aspect of the situation: "wpa_supplicant",
After watching wpa_supplicant do it's job, I had noticed that it keeps
CTRL-EVENT-DISCONNECT - Disconnect event - remove keys,
and CTRL-EVENT-SCAN-RESULTS and trying to associate with
XX:XX:XX:XX:XX (SSID= XX freq= 2462 MHz).
anyways despite the manual jargon of wpa_supplicant; basically
whenever wpa_supplicant disconnects and reconnects the keys
I had noticed flash player, and any other connection's to stop or even
pause during the playback, depending on how well the transmission was.
So for now as for what I can see: wpa_supplicant is the main cause of
my troubles.
regards,



--
Justin P. Mattock

2008-06-26 22:40:40

by Justin P. Mattock

[permalink] [raw]
Subject: Re: stuck tcp connections 2.6.26-rc7

On Thu, Jun 26, 2008 at 7:54 AM, Justin Mattock <[email protected]> wrote:
> On Wed, Jun 25, 2008 at 11:29 PM, Justin Mattock
> <[email protected]> wrote:
>> On Wed, Jun 25, 2008 at 10:24 PM, David Miller <[email protected]> wrote:
>>> From: "Ray Lee" <[email protected]>
>>> Date: Wed, 25 Jun 2008 08:16:20 -0700
>>>
>>>> On my system, I've noticed that the flashplugin can manage to starve
>>>> other processes in a pure scheduler sort of way, so you might try
>>>> running latencytop to see if there's some sort of issue there. OTOH,
>>>> I've noticed firefox itself hang for 3-15 seconds in the middle of a
>>>> read (just as you describe), with nothing else going on in the system,
>>>> so <shrug>. I've been blaming firefox, but I could be wrong.
>>>
>>> See if firefox is stuck in disk wait when things get wedged like
>>> this.
>>>
>>
>> Hello; Thanks for the response. I must admit I need to figure out how
>> to do that(disk wait mode with firefox).
>> Aside from that, it seems there are reports of this with the latest
>> and so forth. As a note
>> This explains why and when I plugged in an older kernel that had no
>> problems at all,
>> was suddenly giving me problems, leading me to believe that my
>> service provider(was bandwidth limiting), or a script kiddie
>> was messing with the line, but this did not seem to be the case; Thankfully.
>> I'll look into it and let you know.
>> regards;
>>
>> --
>> Justin P. Mattock
>>
>
> Hello;
> I must be mature too admit when I'm wrong, (I'm very wrong, and stupid);
> I was too quick to judge. : ( (apologize firefox)
> I had overlooked one aspect of the situation: "wpa_supplicant",
> After watching wpa_supplicant do it's job, I had noticed that it keeps
> CTRL-EVENT-DISCONNECT - Disconnect event - remove keys,
> and CTRL-EVENT-SCAN-RESULTS and trying to associate with
> XX:XX:XX:XX:XX (SSID= XX freq= 2462 MHz).
> anyways despite the manual jargon of wpa_supplicant; basically
> whenever wpa_supplicant disconnects and reconnects the keys
> I had noticed flash player, and any other connection's to stop or even
> pause during the playback, depending on how well the transmission was.
> So for now as for what I can see: wpa_supplicant is the main cause of
> my troubles.
> regards,
>
>
>
> --
> Justin P. Mattock
>

Yep that resolved the issue. i.e. madwifi latest svn and previous
versions has a bug in it to where it is causing wpa_supplicant
to constantly disconnect and connect (re keying event) under heavy
loads resulting in horrible internet connections.
loaded an older version prior to march 08 and voila no problems(knock on wood)
I'll monitor this for a few days, and see what results of it.
--
Justin P. Mattock