0

I am looking at msdn doc to monitor cpu.

Link: https://learn.microsoft.com/en-us/troubleshoot/sql/performance/troubleshoot-high-cpu-usage-issues#step-1-verify-that-sql-server-is-causing-high-cpu-usage

It says I need to capture the %user time and %privileged time for sqlsvr instance.

Then it goes to say high %user time means sqlsvr is keeping cpu busy. Where as high %privileges time means other processes or anti-virus is keeping the cpu busy.

My question is - how would %privilege time of sqvsvr instance indicate cpu consumption of other processes?

1 Answer 1

3

Privileged time is when a process thread is running in the kernel. All of the SQL Server code, like most applications, runs in user-mode, not kernel mode.

It's not other processes, but drivers or products that insert themselves into the storage driver stacks (particularly anti-virus or storage solution filter drivers) that are the common cause of high privileged time.

3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.