I need to build or buy an application that will allow me to generate a
specific CPU load and memory usage. Ideally I could throttle this up and
down to simulate different load conditions. This for application testing -
we'd like to see how the app performs under certain load conditions.
I'd prefer to build it myself with C#, mostly just for the learning
experience and because I have the time.
Has anyone done something like this? I'm looking for suggestions, links,
and info to help me start investigating the namespaces I might need or the
approaches I might take since I'm not exactly sure where to start.
I know I can use the System.Diagnostics namespace for monitoring cpu load
and mem usage, but I'm not really sure how to approach loading the CPU and
memory so that I can throttle it up and down.
Thanks in advance for any thoughts.