Disable Lightweight Pooling
SQL Server 2008 Books Online (October 2009)
Disable Lightweight Pooling

This rule checks that lightweight pooling is disabled on the server. Setting lightweightpooling to 1 causes SQL Server to switch to fiber mode scheduling. Fiber mode is intended for certain situations in which the context switching of the UMS workers is the important bottleneck in performance. Because this is rare, fiber mode seldom improves performance or scalability on the typical system. Improved context switching in Microsoft has also reduced the need for fiber mode.

Best Practices Recommendations

The lightweightpooling option should only be enabled after thorough testing, after all other performance tuning opportunities are evaluated, and when context switching is a known issue in your environment.

We recommend that you do not use fiber mode scheduling for routine operation because it can decrease performance by preventing the regular benefits of context switching, and because some components of SQL Server that use Thread Local Storage (TLS) or thread-owned objects, such as mutexes (a kind of Win32 kernel object), cannot function correctly in fiber mode

To remove lightweight pooling, execute the following statement, and then restart the SQL Server Database Engine.

sp_configure 'show advanced options', 1;
GO
sp_configure 'lightweightpooling', 0;
GO
RECONFIGURE;
GO
For More Information

lightweight pooling Option

See Also

Concepts

Monitoring and Enforcing Best Practices by Using Policy-Based Management

Help and Information

Getting SQL Server 2008 Assistance
Community Content

If the above code does not work
Added by:Agha Usman Ahmed

The above code does not work for me, so I tried this one.

also notice lightweightpooling is changed into lightweight pooling
USE master
GO
EXEC sp_configure 'show advanced options', 1
GO
RECONFIGURE WITH OVERRIDE
GO
EXEC sp_configure 'lightweight pooling', 0
GO
RECONFIGURE WITH OVERRIDE
GO
EXEC sp_configure 'show advanced options', 0
GO

And don't forget to restart the SQL Services.


Cheers

Agha Usman (www.aghausman.net)

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View