المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Processor Affinity and Memory Al******** Limit+Tracking on per-process and per-thread basis



C# Programming
01-25-2010, 09:10 PM
Hello

This is an article which shows you how to set processor affinity on a per-process basis ... (http://blogs.techrepublic.com.com/programming-and-development/?p=691)[^ (http://blogs.techrepublic.com.com/programming-and-development/?p=691)]

I'm wondering if:
a. Processor Affinity
b. Memory Al******** Limit+Tracking

can be configured on per-process and per-thread basis

I understand from Perfmon:
a. Processor counter: %C1/2/3.. Time, %Processor Time, Interrupts/sec ...etc
b. Memory counter: Available MBytes, Committed Bytes, Page Faults/sec ...etc

However, we're writing a quite demanding (although not realtime) parallel processing analytic application. We want to say, for example, route slow calc requests to designated threads where processor affinity can be set so these threads are assigned to more processor (we have 8 CPU's) and higher memory limits.

Can this be done with .NET 3.5?

Thanks

dev