# Performance Testing Basics What Is Resource Utilization? ![rw-book-cover](https://readwise-assets.s3.amazonaws.com/static/images/article2.74d541386bbf.png) URL:: https://testguild.com/performance-test-resource-utilization/ Author:: testguild.com ## Highlights > CPU utilization measurements can help determine how effective your test is. It can also be used as a gauge of how any tuning change you've made has affected the overall performance of the system. I like to think of CPU as the pulse rate in the overall health of a system. > On a windows machine go to Start>Run and type perfmon: > On a UNIX machine you could use vmstat 5 or on a mac from the terminal type vm_stat 5: > Memory > This counter can help find potential memory leaks caused by your application. Based on Microsoft's recommendations in Performance Testing Microsoft .NET Web Applications, memory leaks can be found by monitoring: > Memory\Available bytes > Process\Private Bytes > Process\Working Sets > Find a Memory Leak formula: > A Memory leak will usually show Process\Private Bytes and Process\Working Sets increasing, and Memory\Available bytes decreasing. > Although when you hear the work “Disk” the first thing that most likely comes to mind is disk space, disk bottlenecks are usually related to time. > How to Find a Disk bottleneck formula: > I/Os per Disk = [Read + (4xWrites)] / Number of Disk > (To see a step-by-step example of how to use this formula, take a look at pg. 84 & 85 of the Microsoft book I mentioned earlier) > Network latency – The time it takes to send a data packet across a network connection > Network Round Trip – a client-server request and response generated by your application > Data transfer – The amount of info moved from a browser to a web server. --- Title: Performance Testing Basics What Is Resource Utilization? Author: testguild.com Tags: readwise, articles date: 2024-01-30 --- # Performance Testing Basics What Is Resource Utilization? ![rw-book-cover](https://readwise-assets.s3.amazonaws.com/static/images/article2.74d541386bbf.png) URL:: https://testguild.com/performance-test-resource-utilization/ Author:: testguild.com ## AI-Generated Summary None ## Highlights > CPU utilization measurements can help determine how effective your test is. It can also be used as a gauge of how any tuning change you've made has affected the overall performance of the system. I like to think of CPU as the pulse rate in the overall health of a system. > On a windows machine go to Start>Run and type perfmon: > On a UNIX machine you could use vmstat 5 or on a mac from the terminal type vm_stat 5: > Memory > This counter can help find potential memory leaks caused by your application. Based on Microsoft's recommendations in Performance Testing Microsoft .NET Web Applications, memory leaks can be found by monitoring: > Memory\Available bytes > Process\Private Bytes > Process\Working Sets > Find a Memory Leak formula: > A Memory leak will usually show Process\Private Bytes and Process\Working Sets increasing, and Memory\Available bytes decreasing. > Although when you hear the work “Disk” the first thing that most likely comes to mind is disk space, disk bottlenecks are usually related to time. > How to Find a Disk bottleneck formula: > I/Os per Disk = [Read + (4xWrites)] / Number of Disk > (To see a step-by-step example of how to use this formula, take a look at pg. 84 & 85 of the Microsoft book I mentioned earlier) > Network latency – The time it takes to send a data packet across a network connection > Network Round Trip – a client-server request and response generated by your application > Data transfer – The amount of info moved from a browser to a web server.