Windows NT processor scheduling: Difference between revisions

Content deleted Content added
Affinity: can be done to threads too, just through e.g. Task Manager
Affinity: this is wrong often enough so that the claim is misleading. Anyway the usual use for "creative" affinity setting is to keep multiple processes either together on the same NUMA node, or away from each others' NUMA nodes; it isn't often about a single process
Line 13:
 
== Affinity ==
In a [[multiprocessing]] environment with more than one [[logical processor]] (i.e. [[multicore|multiple cores]] or [[hyperthreading]]), more than one task can be running at the same time. However, a process or a thread can be set to run on only a subset of the available logical processors. The Windows Task Manager utility offers a user interface for this at the process level.<ref>{{Cite book|url=https://www.worldcat.org/oclc/57449950|title=Microsoft Windows internals : Microsoft Windows Server 2003, Windows XP, and Windows 2000|last=E.|first=Russinovich, Mark|date=2005|publisher=Microsoft Press|others=Solomon, David A., Solomon, David A.|isbn=0735619174|edition=4th ed|___location=Redmond, Wash.|oclc=57449950}}</ref> This is especially useful in larger systems with a [[NUMA]] architecture, where the process will run faster or slower, depending on which CPU it runs on.
 
==References==