
Writing
.NET Memory Allocations and Performance, Part 2
CPU caches reward useful data kept close together. Pipelines, branch prediction and cache lines explain why memory access patterns matter to .NET performance.

Topic
Processor characteristics such as physical packages, cores, logical processors, instruction-set architecture, and address width.
2 pages

Writing
CPU caches reward useful data kept close together. Pipelines, branch prediction and cache lines explain why memory access patterns matter to .NET performance.

Writing
WMI queries expose core counts, logical and physical processors, bitness, and architecture in C#, with narrower queries returning only the CPU information required.