4

I'm monitoring disk activity on my machine using Windows Performance Monitor (perfmon). I'm interested in the Collector sets LogicalDisk > % Disk Time and LogicalDisk > Current Disk Queue Length. I ran some heavy applications, and I noticed that during the first load time, these numbers shot up, as expected. However, I wasn't able to replicate the results. This is because Windows caches files on unused RAM. So, when I was trying to monitor the disk usage the second time, Windows had cached everything, and it showed no disk activity.

My question is this: is there a way to monitor these "virtual" IO requests? I don't want to turn the smart caching off, as it greatly increases load time, I'd just like to continue to grab IO information, regardless of where Windows is storing the information. (On RAM or on disk.)

4
  • Also, since this isn't directly related to programming, I placed it here, instead of the standard StackOverflow. Is it appropriate here? Or, does it belong on something like ServerFault or the like.
    – Sal
    Sep 18, 2012 at 19:37
  • 1
    This is a great home for your question! Welcome to Super User :) Sep 18, 2012 at 19:49
  • Sal, did my answer help? I'd appreciate it if you marked it as what you were looking for!
    – PatKilg
    Oct 12, 2012 at 15:20
  • I remember being appreciative of your answer, but I don't why I didn't mark it as the accepted answer! My mistake, and thanks again!
    – Sal
    Oct 12, 2012 at 15:37

1 Answer 1

1

You can monitor quite a bit about the cache from performance monitor.

Simply add what you are interested in with the green "+" at the top, select "Local Computer" and then drill down to what you want under the "Cache" options.

(Understandably) windows manages memory from the cache differently than from the hdd, so the options won't be measured in quite the same way as reads from the hard drive. Check out this msdn article for what the options there actually mean.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .