Article ID: 8617, created on Jun 21, 2010, last review on Mar 17, 2015

  • Applies to:
  • Virtuozzo containers for Windows 6.0
  • Virtuozzo containers for Windows 4.6

Information

Sometimes it is necessary to disable CPU scheduler in order to workaround some bug or issue.

When scheduler is disabled all CPU limits will become non-effective - containers will become unlimited in terms of CPU and will be able to use entire node's CPU resources. Therefore it is not recommended to disable it, unless there is a certain necessity (e.g. as a temporary workaround for bug in scheduler).

Instructions

To disable scheduler, hardware node must be configured as follows:

  1. Execute following command to disable scheduler in registry:

    C:\>reg add HKLM\SOFTWARE\SWsoft\VzResourceControl\SchedulerParameters /v "Scheduling On" /t REG_DWORD /d 0 /f
    
  2. Reconfigure services startup and dependencies:

    C:\>sc config vzresdrv depend= vzktech
    C:\>sc config vzsched start= disabled
    

    NOTE: Keep space symbol after "=" sign, it's a part of the sc config syntax

  3. Reboot the hardware node

In order to enable it back, follow these steps:

  1. Execute following command to enable scheduler in registry:

    C:\>reg add HKLM\SOFTWARE\SWsoft\VzResourceControl\SchedulerParameters /v "Scheduling On" /t REG_DWORD /d 1 /f
    
  2. Reconfigure services startup and dependencies:

    C:\>sc config vzresdrv depend= vzktech/vzsched
    C:\>sc config vzsched start= auto
    

    NOTE: Keep space symbol after "=" sign, it's a part of the sc config syntax

  3. Reboot the hardware node

Search Words

vzscheduler

SchedulerParameters

VzResourceControl

vzsched

d02f9caf3e11b191a38179103495106f 965b49118115a610e93635d21c5694a8 2897d76d56d2010f4e3a28f864d69223 6f8e3eda12803cf88a9587e9782c9ed6 6c20476fe6c3408461ce38cbcab6d03b

Email subscription for changes to this article
Save as PDF