iwlwifi kernel driver does not obey power saving settings
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
Poor ping times (high latency) can be observed after unplugging from a power source.
To recreate this issue start by disabling power saving and hw encryption while your laptop is plugged in.
Power saving can be turned off at module load time, or with iwconfig [dev] power off
rmmod iwldvm iwlwifi && modprobe iwlwifi power_save=0 swcrypto=1 power_level=1
Will remove the driver and re-insert with power saving off and sw encryption on.
start a ping to your router
Watch latency; should be 3ms or so.
Unplug laptop from power and watch latency rise to 60+ ms
To get reliable networking again, either plug laptop back in or re-issue commands to disable power saving.
Changing the power state of the machine changes the power state of the nic regardless of setting. What I've found is that setting power saving to on/off puts the card in power saving state instead of disabling or enabling based on power source.
If you unplug your machine you must re-issue the commands to disable power saving.
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: linux-image-
ProcVersionSign
Uname: Linux 3.11.0-12-generic x86_64
NonfreeKernelMo
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
Date: Thu Nov 7 11:20:09 2013
InstallationDate: Installed on 2013-10-19 (19 days ago)
InstallationMedia: Kubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MachineType: LENOVO 20193
MarkForUpload: True
ProcFB:
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.116
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/08/2013
dmi.bios.vendor: LENOVO
dmi.bios.version: 6BCN42WW(V2.02)
dmi.board.
dmi.board.name: INVALID
dmi.board.vendor: LENOVO
dmi.board.version: 31900003WIN8 STD MLT
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 20193
dmi.product.
dmi.sys.vendor: LENOVO
Maybe this is the intended method for this?
The best fix for the horrid performance this causes is to create a file in /etc/pm/power.d/ containing the "iwconfig wlan0 power off" command.