Same problem here:

During the power cable is connected the wireless connection works fine. This 
means I can ping my router with 1ms round trip time. And accessing my NAS via 
NFS to do diretory listings and viewing images is fast as usual.
As soon as I disconnect my laptop from the power plug the ping rountrip times 
go up rapidely. Sometimes up to 4000ms!
This bad network performance is hard to go undetected because a simple image 
takes very long to load (approx. one minute). Even diretory listings of NFS 
mounts takes a few seconds. Everything works fine after I plug in the power 
cord again.

Stock ubuntu 11.04. Fresh install on Dell Vostro V131, intel i5, 120GB
SSD.

sogue@valnik:/media$ uname -a
Linux valnik 2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:17:25 UTC 2011 
x86_64 x86_64 x86_64 GNU/Linux

sogue@valnik:/media$ cat /etc/issue.net 
Ubuntu 11.04

sogue@valnik:/media$ iwconfig # power plug is plugged in -> Power management is 
off
<snip>
wlan0     IEEE 802.11bgn  ESSID:"frodo"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:1E:69:69:6D:F4   
          Bit Rate=54 Mb/s   Tx-Power=15 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=70/70  Signal level=-40 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:6871   Missed beacon:0
<snip>

sogue@valnik:/media$ iwconfig # running from battery -> Power management is on
<snip>
          Power Management:on
<snip>

sogue@valnik:/media$ sudo lshw -C network
<snip>
  *-network
       description: Wireless interface
       product: Centrino Wireless-N 1030
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:09:00.0
       logical name: wlan0
       version: 34
       serial: ac:72:89:cb:44:40
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical 
wireless
       configuration: broadcast=yes driver=iwlagn 
driverversion=2.6.38-11-generic firmware=17.168.5.2 build 35905 ip=192.168.0.13 
latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
       resources: irq:49 memory:f7e00000-f7e01fff
<snip>

dmesg shows the following lines when disconnecting the battery, but that
is not a bug! This is the wanted behaviour, to commit the ext journal
more often when running from battery! So please do _not_ run "chmod -x
/usr/lib/pm-utils/power.d/journal-commit" unless you know what you are
doing.

After a "sudo chmod -x /usr/lib/pm-utils/power.d/wireless" the problem
is fixed: The ping round trip times are the same when running from power
plug and running from battery.

Also running "iwconfig" when running from battery now shows that the
power mangement of the network card is disabled.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/811552

Title:
  network delay increases when switching to battery

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/811552/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to