Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Looking for a way to measure "cross-processor lock contention"?

Reply
Thread Tools

Looking for a way to measure "cross-processor lock contention"?

 
 
Robert Livermore
Guest
Posts: n/a
 
      08-19-2005
Hi

I have been tasked with job to optimize a web service application. The
application contains a dictionary of strongly referenced objects. i.e.
(internal static System.Collections.Specialized.StringDictionary myDic = new
(System.Collections.Specialized.StringDictionary); ) The computer hosting the
web services is a running Window 2003 Web Edition. It has NUMA architecture
with 4 physical CPUs with 2Meg L2 cache (8 if hyperthreading is on) and 2 Gig
RAM. IIS 6.0 is installed in worker process isolation mode.

The concern is the strongly referenced objects will be induce
cross-processor lock contention on the StringDictionary. The question is how
much? I would like to make 2 comparisons.
Set the processModel's maxWorkerThreads and maxIOThreads to 100 for each test.
Test 1
One worker process.
Test 2
4 worker processes
SMPAffinitized = true.
From IIS documentation this should assign 1 CPU to each worker process in
the web garden. In effect this becomes 4 SMP computers on one computer. Hence
remove any "cross-processor lock contention".

What performance counter or tool should I use to monitor the
"cross-processor lock contention"?
Does hyper threading affect "cross-processor lock contention"?
--
Robert Livermore B.Sc. MCSE+I MCSD MCDBA

Cetaris
www.cetaris.com
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Read-Write Lock vs primitive Lock() k3xji Python 7 12-30-2008 10:19 PM
Application.Lock()/UnLock() or lock(Application) nano2k ASP .Net Web Services 2 08-09-2007 09:31 AM
Python to measure HTTP and HTTPS performances: best way ??? vincent delft Python 2 11-15-2004 03:42 PM
Threading - Why Not Lock Objects Rather than lock the interpreter Fuzzyman Python 3 12-05-2003 10:43 PM
RE: Threading - Why Not Lock Objects Rather than lock theinterpreter Robert Brewer Python 0 12-05-2003 05:33 PM



Advertisments