How to simulate hardware to measure the performance of a .net application?

I am trying to optimize the performance of my application, which is written in C #, to try and get measurements for some of the features of my system like (bandwidth, resource usage, workload, runtime, garbage collection, etc.) to measure I am using some profilers and performance monitors.

I see that these tools give different results for different hardware configurations. Therefore, I want to limit my hardware configuration to the minimum requirement. My problems:

  • How to limit hardware resources (for example, CPU, Memory, Storage) practically (using some kind of simulators)?
  • Is there any tool for this kind of testing (is it best to use Open Source?)
  • If I'm wrong, can anyone suggest what is the professional approach to these testing?
+3


source to share


1 answer


If I'm wrong, can anyone suggest what a professional approach to doing these tests is?

The best "professional" approach, and the only correct accuracy, is to build a car with minimum performance and test it. Any simulation will only be an approximation at best of a real system with these specifications.



However, many VM solutions allow you to alter resource allocation for a specific virtual machine, which can help simulate resource degradation. For example, VMWare allows you to allocate the number of processors , maximum memory, disk space, etc.

+7


source







All Articles