netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.6.19: very low transmit speed after suspend/resume with Sky2
@ 2006-12-02  9:16 Tino Keitel
  2006-12-02 13:18 ` Tino Keitel
  0 siblings, 1 reply; 5+ messages in thread
From: Tino Keitel @ 2006-12-02  9:16 UTC (permalink / raw)
  To: netdev

Hi folks,                                            
                                                     
since 2.6.19 I have the problem that I get lousy transmit speeds of < 1 
mbit/s.

Here is a quick test, the 5th column is the transfer speed in mbit/s:

>From the affected machine to my laptop over WLAN (the affected machine
is connected to a Fast Ethernet switch):

$ nttcp -r -l 1400 -n 500 dose
l   700000    8.16   0.04    0.6867    155.5469   824  101.04   22887.6     
1   700000    8.15   0.00    0.6873 560000.0000   500  61.37    50000000.0    

Only 0,68 mbit/s during transmit. :-(

>From my laptop to the affected machine:

$ nttcp -l 1400 -n 5000 dose
l  7000000    2.21   0.03   25.3427   1999.8572  5000  2262.74  178558.7     
1  7000000    2.25   0.07   24.8363    823.4810  9268  4110.41  136286.1 

This is ok, 25 mbit/s during receive, limited by the WLAN in the
laptop.

After reboot:

$ nttcp -l 1400 -n 5000 dose
l  7000000    2.04   0.03   27.5005   1749.8906  5000  2455.40  156240.2
1  7000000    2.08   0.06   26.9843    999.9464  9455  4556.00  168830.2

Now I got 27 mbit/s during receive, that's ok for WLAN.

Re-tested with 2.6.18.2 after a suspend/resume cycle:

$ nttcp -l 1500 -n 5000 dose
l  7500000  2.15  0.05   27.9219   1249.9219    5000   2326.83  104160.2
1  7500000  2.20  0.04   27.2441   1499.9250    5178   2351.16  129443.5

$ nttcp -r -l 1500 -n 5000 dose
l  7500000  2.07  0.09   28.9676    681.7794    5182   2501.83  58883.0
1  7500000  1.98  0.03   30.2748   2142.7806    5000   2522.90  178565.1

lspci output:

01:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053
PCI-E Gigabit Ethernet Controller (rev 22)

Any hints what I could try to get the full performance in 2.6.19?

Regards,
Tino

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.6.19: very low transmit speed after suspend/resume with Sky2
  2006-12-02  9:16 2.6.19: very low transmit speed after suspend/resume with Sky2 Tino Keitel
@ 2006-12-02 13:18 ` Tino Keitel
  2006-12-02 21:16   ` Stephen Hemminger
  0 siblings, 1 reply; 5+ messages in thread
From: Tino Keitel @ 2006-12-02 13:18 UTC (permalink / raw)
  To: netdev

On Sat, Dec 02, 2006 at 10:16:28 +0100, Tino Keitel wrote:
> Hi folks,                                            
>                                                      
> since 2.6.19 I have the problem that I get lousy transmit speeds of < 1 
> mbit/s.
> 
> Here is a quick test, the 5th column is the transfer speed in mbit/s:
> 
> From the affected machine to my laptop over WLAN (the affected machine
> is connected to a Fast Ethernet switch):
> 
> $ nttcp -r -l 1400 -n 500 dose
> l   700000    8.16   0.04    0.6867    155.5469   824  101.04   22887.6     
> 1   700000    8.15   0.00    0.6873 560000.0000   500  61.37    50000000.0    
> 
> Only 0,68 mbit/s during transmit. :-(
> 
> From my laptop to the affected machine:
> 
> $ nttcp -l 1400 -n 5000 dose
> l  7000000    2.21   0.03   25.3427   1999.8572  5000  2262.74  178558.7     
> 1  7000000    2.25   0.07   24.8363    823.4810  9268  4110.41  136286.1 
> 
> This is ok, 25 mbit/s during receive, limited by the WLAN in the
> laptop.
> 
> After reboot:
> 
> $ nttcp -l 1400 -n 5000 dose
> l  7000000    2.04   0.03   27.5005   1749.8906  5000  2455.40  156240.2
> 1  7000000    2.08   0.06   26.9843    999.9464  9455  4556.00  168830.2
> 
> Now I got 27 mbit/s during receive, that's ok for WLAN.

Sorry, I should give the number for _transmit_ here. This was ok, too.

Regards,
Tino

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.6.19: very low transmit speed after suspend/resume with Sky2
  2006-12-02 13:18 ` Tino Keitel
@ 2006-12-02 21:16   ` Stephen Hemminger
  2006-12-02 22:37     ` Tino Keitel
  2006-12-07 10:32     ` Tino Keitel
  0 siblings, 2 replies; 5+ messages in thread
From: Stephen Hemminger @ 2006-12-02 21:16 UTC (permalink / raw)
  To: Tino Keitel; +Cc: netdev

Tino Keitel wrote:
> On Sat, Dec 02, 2006 at 10:16:28 +0100, Tino Keitel wrote:
>   
>> Hi folks,                                            
>>                                                      
>> since 2.6.19 I have the problem that I get lousy transmit speeds of < 1 
>> mbit/s.
>>
>> Here is a quick test, the 5th column is the transfer speed in mbit/s:
>>
>> From the affected machine to my laptop over WLAN (the affected machine
>> is connected to a Fast Ethernet switch):
>>
>> $ nttcp -r -l 1400 -n 500 dose
>> l   700000    8.16   0.04    0.6867    155.5469   824  101.04   22887.6     
>> 1   700000    8.15   0.00    0.6873 560000.0000   500  61.37    50000000.0    
>>
>> Only 0,68 mbit/s during transmit. :-(
>>
>> From my laptop to the affected machine:
>>
>> $ nttcp -l 1400 -n 5000 dose
>> l  7000000    2.21   0.03   25.3427   1999.8572  5000  2262.74  178558.7     
>> 1  7000000    2.25   0.07   24.8363    823.4810  9268  4110.41  136286.1 
>>
>> This is ok, 25 mbit/s during receive, limited by the WLAN in the
>> laptop.
>>
>> After reboot:
>>
>> $ nttcp -l 1400 -n 5000 dose
>> l  7000000    2.04   0.03   27.5005   1749.8906  5000  2455.40  156240.2
>> 1  7000000    2.08   0.06   26.9843    999.9464  9455  4556.00  168830.2
>>
>> Now I got 27 mbit/s during receive, that's ok for WLAN.
>>     
>
> Sorry, I should give the number for _transmit_ here. This was ok, too.
>
> Regards,
> Tino

Most likely, the problem is similar to one I am working. The 
device_resume code gets run before
BIOS. And the BIOS wakeup screws up the device. The proper fix will 
happen in 2.6.20.
If you are using MSI, turn that off.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.6.19: very low transmit speed after suspend/resume with Sky2
  2006-12-02 21:16   ` Stephen Hemminger
@ 2006-12-02 22:37     ` Tino Keitel
  2006-12-07 10:32     ` Tino Keitel
  1 sibling, 0 replies; 5+ messages in thread
From: Tino Keitel @ 2006-12-02 22:37 UTC (permalink / raw)
  To: netdev

On Sat, Dec 02, 2006 at 13:16:28 -0800, Stephen Hemminger wrote:

[...]

> Most likely, the problem is similar to one I am working. The 

Great to hear that someone is working on this. If you need a tester,
just ask. :-)

> device_resume code gets run before
> BIOS. And the BIOS wakeup screws up the device. The proper fix will 
> happen in 2.6.20.
> If you are using MSI, turn that off.

I don't use it:

# CONFIG_PCI_MSI is not set

Regards,
Tino

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.6.19: very low transmit speed after suspend/resume with Sky2
  2006-12-02 21:16   ` Stephen Hemminger
  2006-12-02 22:37     ` Tino Keitel
@ 2006-12-07 10:32     ` Tino Keitel
  1 sibling, 0 replies; 5+ messages in thread
From: Tino Keitel @ 2006-12-07 10:32 UTC (permalink / raw)
  To: netdev; +Cc: Stephen Hemminger

On Sat, Dec 02, 2006 at 13:16:28 -0800, Stephen Hemminger wrote:

[...]

> Most likely, the problem is similar to one I am working. The 
> device_resume code gets run before
> BIOS. And the BIOS wakeup screws up the device. The proper fix will 
> happen in 2.6.20.

Hum, are you talking about suspend to RAM here? I forgot to mention
that I use suspend to disk.

Regards,
Tino

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-12-07 10:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-02  9:16 2.6.19: very low transmit speed after suspend/resume with Sky2 Tino Keitel
2006-12-02 13:18 ` Tino Keitel
2006-12-02 21:16   ` Stephen Hemminger
2006-12-02 22:37     ` Tino Keitel
2006-12-07 10:32     ` Tino Keitel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).