Registry key for tuning COM+ thread and activity (303071)
The information in this article applies to:
- Microsoft COM+ 1.0
- Microsoft COM+ 1.5
This article was previously published under Q303071 Important This article contains information about how to modify the
registry. Make sure to back up the registry before you modify it. Make sure
that you know how to restore the registry if a problem occurs. For more
information about how to back up, restore, and modify the registry, click the
following article number to view the article in the Microsoft Knowledge Base: 256986 Description of the Microsoft Windows registry INTRODUCTION COM+ improves Microsoft Transaction Server (MTS) with a new
threading model that provides simplified synchronization. The control for
synchronization has been shifted from the single-threaded apartment (STA) in
MTS to activity in COM+. In COM+, the apartment can assign a thread to multiple
activities. Any value other than zero for the EmulateMTSBehavior value
causes the thread pool to emulate MTS behavior, that is, one activity for each
thread and 100 maximum threads for each package.
Note With the EmulateMTSBehavior value, as soon as 100 STA threads x 1 activities exist, COM+ starts binding multiple activities to the STA threads. COM+ does this to stay responsive to activation requests.
If you experience performance
problems while CPU utilization is low, you can set this value to increase the
chance of assigning a thread to your request. Note The COM+ default settings are optimized and tested for most
situations. You should consult Microsoft support professionals before you
modify these settings. REFERENCES
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
294510
Post Windows 2000 Service Pack 2 COM+ Rollup Hotfix 10 is
available
For more information about single-threaded
apartments (STAs) and multithreaded apartments (MTAs), visit the following
Microsoft Developer Network (MSDN) Web site:
Modification Type: | Major | Last Reviewed: | 9/26/2005 |
---|
Keywords: | kbinfo KB303071 kbAudDeveloper |
---|
|