none
Wake-On-Lan (WOL) after sleep causes high CPU usage

    Question

  • Hi,

    I noticed a problem with constant high CPU usage on one of my cores.
    As much as 60% was used.

    The problem occures after I put the system to "sleep" (S3 state) and perform a WOL with a "magic packet".

    I discovered that ACPI.sys+0x1af44 thread was responsible (using sysinternals ProcessExplorer) under the System process.

    If i perform WOL while the machine was shut down everything works perfectly.

    My NIC is  "Realtek PCIe GBE Family Controller" and I'm using the latest drivers.

    I discovered that if I disabled the option in Power Management for the device: "Allow this device to wake the computer", the CPU usage immediately went to normal (without restarting). But enabling it back the high CPU usage resumes. Performing another sleep and awaking the system with power button "resets" the CPU usage issue for "good". Until i WOL from sleep again ofcourse..

    I contacted the motherboard manufacturer of the problem but so far no real answer.


    I'm saddened because I need the WOL feature.


    I'm hoping somebody who has more insight in the behaviour of ACPI on W7 can answer my questions.

    Regards


    Specs:


    -------------------------------------------------------------------------------
    Model Name : GA-X58A-UD7(rev. 2.0)
    --------------------------
    M/B Rev : 2.0
    BIOS Ver : FC
    Serial No. :
    Purchase Dealer :
    -------------------------------------------------------------------------------
    VGA Brand : Nvidia      Model : 7950GT
    CPU Brand : Intel      Model : i7 950      Speed : 3.06GHz
    Operation System : Win 7 64-bit      SP :
    Memory Brand : Corsair      Type : DDR3
    Memory Size : 6GB      Speed : 1600MHz
    Power Supply : 450 W

    • Edited by _saiko Saturday, January 22, 2011 3:28 AM changed title
    Wednesday, January 19, 2011 3:28 AM

Answers

  • you have high DPC usage caused by the ACPI.sys driver:

    the ACPI.sys!OSNotifyDeviceWake causes the DPC issue.

    So notifying that Windows wakes up causes the issue. But I have no idea why.

    Update the BIOS and all drivers.

    If this doesn't solve it, contact the MS support.


    André


    "A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
    Saturday, January 22, 2011 1:29 PM

All replies

  • Hi,

    please make a xperf trace [1] to diagnostic the high CPU usage after doing WOL. Please upload the etl file to your SkyDrive [2] and post a link here.

    I'll take a look at it, maybe I can see more details.

    André

    [1] http://www.msfn.org/board/index.php?showtopic=140264
    [2] http://social.technet.microsoft.com/Forums/en-US/w7itproui/thread/4fc10639-02db-4665-993a-08d865088d65
    "A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
    Wednesday, January 19, 2011 2:26 PM
  • Here's the etl file: http://pub.insanity.in/razno/acpi_wol.etl

    You can clearly see when I disabled the "Allow this device to wake the computer" option DPC activity goes to 0.

    And it's almost always on Core 3...

    Thursday, January 20, 2011 4:03 AM
  • Andre did you manage to discover anything?

     

    Also setting the sleep state to S1 in BIOS the issue doesn't appear (yet the pc is actually still powered on so i'd prefer S3).

    Saturday, January 22, 2011 3:02 AM
  • you have high DPC usage caused by the ACPI.sys driver:

    the ACPI.sys!OSNotifyDeviceWake causes the DPC issue.

    So notifying that Windows wakes up causes the issue. But I have no idea why.

    Update the BIOS and all drivers.

    If this doesn't solve it, contact the MS support.


    André


    "A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
    Saturday, January 22, 2011 1:29 PM
  • Hi,

    I noticed a problem with constant high CPU usage on one of my cores.
    As much as 60% was used.

    The problem occures after I put the system to "sleep" (S3 state) and perform a WOL with a "magic packet".

    I discovered that ACPI.sys+0x1af44 thread was responsible (using sysinternals ProcessExplorer) under the System process.

    If i perform WOL while the machine was shut down everything works perfectly.

    My NIC is  "Realtek PCIe GBE Family Controller" and I'm using the latest drivers.

    I discovered that if I disabled the option in Power Management for the device: "Allow this device to wake the computer", the CPU usage immediately went to normal (without restarting). But enabling it back the high CPU usage resumes. Performing another sleep and awaking the system with power button "resets" the CPU usage issue for "good". Until i WOL from sleep again ofcourse..

    I contacted the motherboard manufacturer of the problem but so far no real answer.


    I'm saddened because I need the WOL feature.


    I'm hoping somebody who has more insight in the behaviour of ACPI on W7 can answer my questions.

    Regards


    Specs:


    -------------------------------------------------------------------------------
    Model Name : GA-X58A-UD7(rev. 2.0)
    --------------------------
    M/B Rev : 2.0
    BIOS Ver : FC
    Serial No. :
    Purchase Dealer :
    -------------------------------------------------------------------------------
    VGA Brand : Nvidia      Model : 7950GT
    CPU Brand : Intel      Model : i7 950      Speed : 3.06GHz
    Operation System : Win 7 64-bit      SP :
    Memory Brand : Corsair      Type : DDR3
    Memory Size : 6GB      Speed : 1600MHz
    Power Supply : 450 W

    same prob here.  has anyone found a solution?

     


    ...stephen
    Saturday, March 26, 2011 4:28 PM
  • Nothing so far....

    I had posted my problem on more forums in hope of a solution, as well as contacting the mobo manufacturer. No luck.

    The support from gigabyte continuously goes in cirles no matter how many details I give. They just start repeating similar questionsfrom the beginning of our conversation over and over again.

    Tried also to contact realtek (NIC manufacturer) but beside giving me the latest drivers (which didn't solve anything) they didn't do much.

    Stephen do you have the same motherboard, or at least a similar configuraction as I?


    Saturday, March 26, 2011 4:46 PM
  • After more than a year the problem is actually gone!

    Was living with this annoyance so far and just now went to look at the issue again.

    Updated the NIC drivers to the latest version as well as the latest BIOS for X58A-UD7 (version FD9).

    The problem is finally gone.

    Just wanted to make my tribute here...

    Regards

    EDIT:

    AND IT'S BACK AGAIN...

    repeated the procedure "put pc to sleep"->"wake on lan with magic packet" and the high CPU usage is back.

    GAHHH!!!

    How can I contact MS support?


    • Marked as answer by _saiko Saturday, March 17, 2012 7:44 PM
    • Unmarked as answer by _saiko Saturday, March 17, 2012 7:46 PM
    • Edited by _saiko Saturday, March 17, 2012 7:54 PM
    Saturday, March 17, 2012 7:44 PM
  • After more than a year the problem is actually gone!

    Was living with this annoyance so far and just now went to look at the issue again.

    Updated the NIC drivers to the latest version as well as the latest BIOS for X58A-UD7 (version FD9).

    The problem is finally gone.

    Just wanted to make my tribute here...

    Regards

    EDIT:

    AND IT'S BACK AGAIN...

    repeated the procedure "put pc to sleep"->"wake on lan with magic packet" and the high CPU usage is back.

    GAHHH!!!

    How can I contact MS support?


    Hi I recently encountered this problem once I started using the WOL on my machine running Windows 7. When I unchecked the "Allow this device to wake the computer" found in the NIC properties, the cpu usage drop and checking it again make the cpu went up to 100%.

    Please fix this problem!

    Saturday, December 28, 2013 1:38 PM
  • At my workplace we are experiencing the exact same problem.  Here is some extra information:

    - We are having this problem with the Optiplex 7010, Optiplex 9010 and Latitude E6530 range of Dell.  They all have the Intel 82579LM Gigabit network adapater.  Recently we have received their new line of Latitudes, namely the E5540 and they do not have this problem.  They have however a different Intel gigabit networkcard.

    - I have tried updating all the drivers and BIOS, but to no avail.  Also deleting all drivers and let Windows find them instead of Dell does nothing.

    - Seeing we use System Center Configurations manager to push windows updates, we try to actively wake our computers so they have the latest security updates.  Disabling WOL is not an option.

    - I have so far only tested the problem under Windows 7 64bit and Ubuntu.  Only Windows has the problem.  Linux just stays nice and quiet.  This makes me assume it is a driver issue?  Seeing the same Windows build does not have the problem on the aforementioned Latitude E5540

    What I would like to know, is there some way to go deeper into what is happening?  Basically like strace in Linux?  So really see what process is calling what and doing what?  Because now I see DPC latency, but that is not helping.  If there is a way to go deeper, maybe I can speed up the case I have logged with Dell about this.

    Greetings,

    Herman

    Friday, January 31, 2014 7:45 AM