Performance Monitoring Part 6 - The Link Between Disk Activity and Swapping

by Nicholas Dille on 10/09/2009 | 0 Comments | 3,521 Views

While writing the previous article about monitoring the performance of the physical disk, I realized that I should also explain why memory management and disk activity are closely connected. As this section started to get rather lengthy, I decided to publish the topic in a separate article. Time Is Of The Essence In the post about performance monitoring we have seen that time is a very important factor when regarding physical disk performance because it is a medium much slower than the memory subsystem. There is an interesting connection between the disk activity and the memory subsystem caused by swapping pages to and from the disk. Regardless of the physical memory usage, Windows tries very hard to swap to the page file located on a physical disk. This causes the page file usage to rise although the system does not suffer from a memory bottleneck (yet). As a side effect of the constant attempt of swapping, Windows causes some disk activity. Memory pages are very small compared to files found in the file system so that the physical disk spends a lot of time positioning the head and waiting for the relevant sectors while the amount of data written to these sectors is very small. The consequence is a very low throughput when considering swapping separately from disk activity caused by applications. Therefore, the amount of pages written to and read from the disk is mostly independent of the rotations per minute and the location of the page file on the hard disk. Consequently, the performance of the physical disk is mainly connected to the seek time. Obviously, there is a theoretical maximum number of pages to be swapped in or out based on the seek time of the physical disk. Conclusion As the page file only shows whether a system has already swapped out pages, the disk activity allows to determine whether a system is actively swapping. Therefore, I recommend you use the commit charge of the memory subsystem (the percentage of the committed bytes with regard to the commit limit) and the disk activity to determine whether the system is actively swapping.

+++ Profile Migrator 2 - Ein neuer Desktop, ein frisches Benutzerprofile und alle bewährten Einstellungen und Daten. Jetzt kostenlos und unbefristet testen!

Add Comment

Der Inhalt dieses Feldes wird nicht öffentlich angezeigt.
Sicherheitscode
Diese Frage hat den Zweck zu testen, ob Sie ein menschlicher Benutzer sind und um automatisierten Spam vorzubeugen.
Bild-CAPTCHA
Geben Sie die Zeichen ein, die im Bild zu sehen sind.

Microsoft Competence Blog

Application Infrastructure mit Microsoft Technologien ist ein wichtiges Fokusthema der sepago. Wir haben langjährige Projekterfahrung, sind neugierig auf neue Technologien und möchten diese bis in letzte Detail verstehen. Die Competence Blogs berichten davon.

RSS-FeedAlle Artikel des Competence Blogs abonnieren.

 

Über den Autor

Bild von nicholas
Nicholas Dille
Head of Technology and Innovation
Blogs about Centralized computing, virtualization and performance monitoring

Alle Artikel des Bloggers