Citrix Policy "CPU Management Server Level" and Dynamic Fare Share Scheduling (DFSS)

Posted on 2013-01-31
Medium Priority
Last Modified: 2013-02-04
While looking into problems with processes going high on CPU/memory, in our Xenapp 6.5/Win 2008 R2-servers I came across the Citrix Policy "CPU Management Server Level", which we have enabled with value "Fair sharing of CPU between sessions". A note in this policy reads: Note: To use CPU Utilization Management, ensure that the Dynamic Fair Share Scheduling (DFSS) feature of Windows is disabled on the server.
I tried to look up:
- if we have DFSS enabled on our servers
- and, if so, how we can turn of DFSS

But I am a bit confused of my findings:
- In this link, http://windoh.wordpress.com/2012/04/17/dfss-doesnt-work-as-expected/ 
I found that we should have a value in the registry that tell us if DFSS is enabled or not
, but I can´t find that we have any "Session Manager" value at all.
- In an another link I found, http://forums.citrix.com/thread.jspa?threadID=265503, there it is another registry value they are refering to:
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Quota System
Value name: EnableCpuQuota
Value meaning: A value of 0, is used to disable DFSS. A value of 1 is used to enable DFSS

(Here we have a value of 1)

I am a bit confused how I can be sure that our DFSS is disabled?
Kind Regards
Question by:AKa68
  • 2
LVL 23

Expert Comment

by:Ayman Bakr
ID: 38840150
The correct procedure should be to turn it off from GPO first (the first HKLM key provided in your question is the reflection of setting it off through the GPO; as you don't find it then it seems that you have not set it to off through GPO). Then you will have to do the value set in the second registry provided in your question.

See this CTX KB article:


Author Comment

ID: 38850275
I am testing if it´s enough just to change the setting in the registry to disable the DFSS:

The dedicated DFSS registry key is:
Key name: HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Quota System
Value name: EnableCpuQuota
Value meaning: A value of 0, is used to disable DFSS. A value of 1 is used to enable DFSS.

Pasted from <http://forums.citrix.com/thread.jspa?threadID=265503>
LVL 23

Accepted Solution

Ayman Bakr earned 1500 total points
ID: 38850623
Disabling it from the registry should do it provided Turn off Fair Share CPU Scheduling is at least Not Configured. Should it be Disabled it might have the effect of overriding your registry setting and enabling DFSS.

Again I am saying 'might' because Microsoft admits that it is not functional and therefore being disabled might also be not functional - in which case, regardless of the GPO setting, the registry setting would reign.

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

A procedure for exporting installed hotfix details of remote computers using powershell
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Suggested Courses

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question