none
TiWorker.exe Excessive CPU Usage After Windows Update

    Question

  • Anyone else having a problem with excessive CPU usage from TiWorker.exe after todays Windows Updates? 

    After installing todays Windows 8 updates, when Automatic Maintenance is run TiWorker.exe just permanently sticks at around 50% CPU usage until the computer is turned off (Automatic Maintenance doesn't finish either).  After rebooting, as soon as Automatic Maintenance runs again, it does the same thing.  If I manually stop Automatic Maintenance from Action Centre, after about 30 seconds the CPU usage goes back to normal.

    All the updates seem to have installed OK, although the .NET update (KB2836947) initially failed, it showed as successful the second time.

    I went to uninstall the Servicing Stack update (KB2821895), but unlike the other updates, it doesn't give any option to uninstall it.  I'm not sure if this screenshot means anything, something about cbscore.dll?


    • Edited by AnaBna Tuesday, June 11, 2013 11:56 PM
    Tuesday, June 11, 2013 11:55 PM

Answers

  • ok, the TrustedInstaller/Windows module installer tries to cleanup the WinSxS folder by compressing some files:

    wcp.dll!CCSDirectTransaction::Scavenge

    wcp.dll!ComponentStore::CRawStoreLayout::DeltaCompressComponents

    msdelta_dl.dll!compo::PseudoLzxSearch::Lookup

    The LZX compression takes some CPU power.

    Just let the service run and enjoy more free space.


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

    • Marked as answer by AnaBna Wednesday, June 12, 2013 7:12 PM
    Wednesday, June 12, 2013 6:06 PM
    Answerer
  • ok, the TrustedInstaller/Windows module installer tries to cleanup the WinSxS folder by compressing some files:

    wcp.dll!CCSDirectTransaction::Scavenge

    wcp.dll!ComponentStore::CRawStoreLayout::DeltaCompressComponents

    msdelta_dl.dll!compo::PseudoLzxSearch::Lookup

    The LZX compression takes some CPU power.

    Just let the service run and enjoy more free space.

    You seem to have hit the nail on the head!  That was some serious compressing it was doing, as it must have run for a few hours in total.

    Thanks for your help, mystery solved.


    Wednesday, June 12, 2013 7:12 PM

All replies

  • I don't have this issue.

    Please run xperf to tarce the CPU usage.

    Install the WPT (http://social.technet.microsoft.com/wiki/contents/articles/4847.install-the-windows-performance-toolkit-wpt-en-us.aspx), open a CMD prompt with admin rights and type this:

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




    after you captured 30s of the high CPU usage of TiWorker, go back to CMD prompt and press a key to stop the logging. Now compress the HighCPUUSage.etl as 7z (LZMA2, ULTRA) to reduce the size. Upload this file to your SkyDrive or Dropbox and post a link here.


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

    Wednesday, June 12, 2013 4:40 AM
    Answerer
  • Thank you for the reply.  I have uploaded the xperf file to the following link:
    (Link Removed)

    Somehow I get the feeling this is due to KB2821895 update, as I uninstalled all the Windows Updates apart from this one (as it wouldn't let me) and the problem was still there. 

    I've just noticed someone else post about Windows Modules Installer Worker CPU usage today, which makes me wonder whether they're experiencing the same problem.
    http://social.technet.microsoft.com/Forums/en-US/w8itprogeneral/thread/e22dd6dd-a58f-4bcc-b14b-00a80c995090#e22dd6dd-a58f-4bcc-b14b-00a80c995090

     


    • Edited by AnaBna Wednesday, June 12, 2013 7:09 PM
    Wednesday, June 12, 2013 3:22 PM
  • ok, the TrustedInstaller/Windows module installer tries to cleanup the WinSxS folder by compressing some files:

    wcp.dll!CCSDirectTransaction::Scavenge

    wcp.dll!ComponentStore::CRawStoreLayout::DeltaCompressComponents

    msdelta_dl.dll!compo::PseudoLzxSearch::Lookup

    The LZX compression takes some CPU power.

    Just let the service run and enjoy more free space.


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

    • Marked as answer by AnaBna Wednesday, June 12, 2013 7:12 PM
    Wednesday, June 12, 2013 6:06 PM
    Answerer
  • ok, the TrustedInstaller/Windows module installer tries to cleanup the WinSxS folder by compressing some files:

    wcp.dll!CCSDirectTransaction::Scavenge

    wcp.dll!ComponentStore::CRawStoreLayout::DeltaCompressComponents

    msdelta_dl.dll!compo::PseudoLzxSearch::Lookup

    The LZX compression takes some CPU power.

    Just let the service run and enjoy more free space.

    You seem to have hit the nail on the head!  That was some serious compressing it was doing, as it must have run for a few hours in total.

    Thanks for your help, mystery solved.


    Wednesday, June 12, 2013 7:12 PM
  • Comment please on the fact that after installing KB2821895 I need to run the following two commands in order to get sfc /scannow to run without finding corrupt files. 

    DISM /Online /Cleanup-image /Scanhealth
    DISM /Online /Cleanup-Image /RestoreHealth


    Gary

    Friday, June 14, 2013 7:36 PM
  • I have this, too and already asked this MS. I'm still waiting for a reply.

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

    Saturday, June 15, 2013 6:55 AM
    Answerer
  • Could anyone help to tell me a official solution? I also had the same issue with it, but I couldn't find the solution.
    Wednesday, August 28, 2013 7:27 AM
  • also capture a xperf trace so that I can see what is wrong.

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

    Wednesday, August 28, 2013 8:00 PM
    Answerer