locked
Windows 8 upgrade - CPU spikes RRS feed

  • Question

  • Hi

    Recently i've upgraded my OS to windows 8 Pro. 
    Since then, when i open an app or a new internet tab that requires some effort either from shockwave plugin or gpu processes, i notice a cpu spike that lasts for 3-9 seconds. 

    Those spikes increase the cpu temperature of 50ºC to 70ºC. 
    But when the spike is over, temperature gets back to it's usual (50ºC).

    I've tried almost everything i read, but so far, nothing has solved the problem. I tried the clean boot, safe mode (network option checked), enabled manual windows updates, scheduled maintenance to a specific hour, disabled an option that allows atheros controller to turn off the device when the laptop is idle. 

    My drivers are all up to date, so i dont really know what's happening, thus i would sincerely appreciate your help. 

    Aditional Info:

    Toshiba Satellite L755 - PSK2YE (cpu - i5 - 2.30 GHz / RAM - 4 GB / 64 bits) 

    PS: Three months ago i sent my laptop for a toshiba center to clean up the vent.
    I use Balanced energy mode, but the same problem happens when i use the high performance one.

    However in power saver mode there are no spikes at all. I used to see the same behavior when i reduced the maximum processor state to 95%.
    Monday, September 16, 2013 2:33 PM

Answers

  • it still doesn't work. install the 8.1 WPT from the 8.1 ADK:

    http://www.microsoft.com/en-us/download/details.aspx?id=39982


    "A programmer is just a tool which converts caffeine into code"

    • Marked as answer by Niki Han Friday, October 4, 2013 5:37 AM
    Wednesday, September 18, 2013 5:23 AM
    Answerer

All replies

  • Make a xperf trace of the cpu usage. Install the Windows SDK [3] and select the "Windows Performance Toolkit" to be installed:



    After you did this, run this command [1]:

    REG ADD "HKLM\System\CurrentControlSet\Control\Session Manager\Memory Management" -v DisablePagingExecutive -d 0x1 -t REG_DWORD -f


    Or set the DisablePagingExecutive registry key your won with the registry editor. Now reboot and open a command prompt with admin rights [2] and run this command:


    xperf -on latency -stackwalk profile -buffersize 1024 -MaxFile 256 -FileMode Circular && timeout -1 && xperf -d HighCPUUsage.etl



    Now wait until you captured 30s-60s of the high CPU usage, go back to the cmd window and press a key.

    Zip the generated ETL file as 7z or RAR and upload it (Dropbox, SkyDrive) and send me the link. I take a look at it. if you want to analyze the tarce your own, watch this Video [4].

    [1] http://blogs.msdn.com/b/pigscanfly/archive/2009/08/06/stack-walking-in-xperf.aspx
    [2] http://windows.microsoft.com/en-US/windows7/How-do-I-run-an-application-once-with-a-full-administrator-access-token
    [3] http://social.technet.microsoft.com/wiki/contents/articles/4847.install-the-windows-performance-toolkit-wpt.aspx
    [4] http://channel9.msdn.com/Shows/Defrag-Tools/Defrag-Tools-42-WPT-CPU-Analysis


    "A programmer is just a tool which converts caffeine into code"

    Monday, September 16, 2013 6:18 PM
    Answerer
  • After the xperf generation i cannot find the file...but it exists since on the command prommpt i see a error message saying, "cannot create a file that already exists".

    Monday, September 16, 2013 7:14 PM
  • look into system32 folder. The error occurs if you run a Tool which also use ETW (like ProcessExplorer)

    "A programmer is just a tool which converts caffeine into code"

    Monday, September 16, 2013 8:13 PM
    Answerer
  • The file doesn't exist...anywhere. Command prompt doesn't allow me to create a new file not even with a new name, it says i have already a file named that way :( I'm not running any other programs or apps in the meantime. 

    Monday, September 16, 2013 9:53 PM
  • reboot and try again.

    "A programmer is just a tool which converts caffeine into code"

    Tuesday, September 17, 2013 5:13 AM
    Answerer
  • Done

    link:

    https://skydrive.live.com/redir?resid=EFA724B7D2F4D162!584&authkey=!AFekwDSZVftU-yU

    Tuesday, September 17, 2013 12:49 PM
  • the trace is incomplete. I can't see the stack. Have you set DisablePagingExecutive  to 1 and did the reboot?

    "A programmer is just a tool which converts caffeine into code"

    Tuesday, September 17, 2013 6:26 PM
    Answerer
  • Hi 

    Try now. I've updated the file.

    Tuesday, September 17, 2013 6:57 PM
  • it still doesn't work. install the 8.1 WPT from the 8.1 ADK:

    http://www.microsoft.com/en-us/download/details.aspx?id=39982


    "A programmer is just a tool which converts caffeine into code"

    • Marked as answer by Niki Han Friday, October 4, 2013 5:37 AM
    Wednesday, September 18, 2013 5:23 AM
    Answerer