Blog

The official blog of managed hosting provider OrcsWeb.

What Process is Using Your I/O?

This year OrcsWeb released our Windows Cloud Server product.  As part of that offering, a base amount of disk transactions (I/O) is included, and then you are billed for any usage above that.  A common question that arises is how to determine what is using the I/O on your server.

The easiest way to get a quick view into your I\O usage is to use Task Manager.  I will show you how to find that information.  First you need to open up Task Manager.  To do this, right click the task bar and choose Start Task Manager.  When you have it running, click the Processes tab.  Then from the menu choose View -> Select Columns... 
 
 
This will bring up the Select Process Page Columns.  Scroll down to the bottom and put a check beside I/O Reads, I/O Writes, I/O Read Bytes, and I/O Write Bytes. 
 
 
Click OK when you are finished and the columns will be added to Task Manager.  You should note that the numbers listed in Task Manager are totals for each of those items since the last boot of the system. 
 
Here is a description of the columns of the counters that were added to Task Manager above.
 
I/O Reads -  The number of read input/output operations generated by a process, including file, network, and device I/Os. I/O Reads directed to CONSOLE (console input object) handles are not counted.
I/O Writes - The number of write input/output operations generated by a process, including file, network, and device I/Os. I/O Writes directed to CONSOLE (console input object) handles are not counted.
I/O Read Bytes - The number of bytes read in input/output operations generated by a process, including file, network, and device I/Os. I/O Read Bytes directed to CONSOLE (console input object) handles are not counted.
I/O Write Bytes - The number of bytes written in input/output operations generated by a process, including file, network, and device I/Os. I/O Write Bytes directed to CONSOLE (console input object) handles are not counted.
 
You can look at the new columns that are showing up in Task Manager and see the processes that have used the most I/O since the last reboot of the server.  Often this is all the information you need to narrow down the top I/O usage per process.
 
Sometimes using Task Manager is not enough to help you narrow down the usage.  Maybe you need to know what is using the I\O right now or want to paint a picture of I\O usage over the next 7 days.  That is a good job for Performance Monitor.  Before we look at how to add the counters to Performance Monitor, here is the mapping of the Task Manager Columns that were described above and their corresponding Performance Monitor Counters:
 
Task Manager Performance Monitor
I/O Reads Process\I/O Read Operations/sec
I/O Writes Process\I/O Write Operations/sec
I/O Read Bytes Process\I/O Read Bytes/sec
I/O Write Bytes Process\I/O Write Bytes/sec
 
To start up Performance Monitor click the Start button.  In the 'Search programs and files' text box enter perfmon. 
 
 
Select perfmon that shows up in the results to open up Performance Monitor.  Once you have it open, select Performance Monitor from the left menu so that it is highlighted.  That will start allowing Performance Monitor to collect information.  Next click the green Plus icon to add a counter. 
 
 
When the Add Counters dialog window comes up, look for the Process object and click the plus to the right of it.  That will expand the counters that are under the Process object.  Based on the information that you got from Task Manager above, you can now add the appropriate counter.  You will notice that when you select a counter it also wants to know if you want the _Total (the total amount from all processes for that counter), 'all instances' which will add all the instances to Performance Monitor, or a specific process.  I recommend that you set the counter up for one or more specific processes that you previously found with the total highest I/O listed in Task Manager.  Choosing 'all instances' will make it hard to read the results and might cause some additional resource usage on your server. 

 
Using this information you should now be able to track down what is using the most I/O on your system.

NOTE:  The step by step instructions in this article are based on Windows 2008 R2.  The I/O information pertains to earlier Operating Systems as well but the actual steps might be different.
 

 

 

 

 

 

 

 

 

 

Tagged as:

Follow Us On Twitter

OrcsWeb is on Twitter if you want to follow us there: http://twitter.com/orcsweb

I'm there too if you want to follow me directly: http://twitter.com/bradkingsley

VistaDB Ending - SQL Server Compact Starting

VistaDB, an xcopy deployable database platform for Microsoft .Net applications, has announced it is closing up shop.

Thankfully, for developers who understand and appreciate the benefits of an xcopy deployable database model, Microsoft has recently announced SQL Server Compact Edition 4.0. It's still in Community Preview, but initially looks very exciting and certainly worth checking out.

Cloud Storage and IO Requests / Transactions

By definition a public cloud solution is going to have some component of multi-tenant storage. It's that storage, which is accessible by multiple devices at the same time, that allows for node fault-tolerance, resource balancing, resource bursting, affordable scaling, and other cloud features.

Storage devices though have two major resource limits - the amount of storage available (total space) and the amount of sustainable IOPs (total performance).

Read more...

Client Comment - Springbox

"Great service, love working with ORCS Web." -Mike Nowlin; Director of Technology; Springbox (www.springbox.com)

Thanks Mike - It's great working with your team too!

How To Get a 100% Discount on Hosting (Yes, Free Hosting)

I saw an advertisement from a hosting company recently that touted a way to get a 75% discount on their hosting rates. That sounds great and got me thinking... At OrcsWeb we actually have a program where you can get a 100% discount on your hosting - yes, free hosting.

Because of the service and support levels that we provide, our clients love to refer us to their friends and colleagues. In fact, word-of-mouth is the most common way that new clients find out about us.

Since our clients recommend us anyway, we decided to help them out and streamline the process for them by creating an affiliate program. Through our affiliate program you can earn up to $2,000 per referral. That money can be used to offset your hosting rates or just sent to you as a check to handle any way you want.

The program includes our Shared Hosting, Dedicated Hosting, and Cloud Server Hosting solutions.

If you aren't already signed up as an affiliate, check out the program right now and get signed up so you can benefit from the great word-of-mouth referrals that you are already providing.

Happy hosting!

~Brad