Hyper-V: Dimensione del Page File nelle Child Partitions

Per quanto riguarda i requisiti di memoria nelle child partitions è possibile basarsi sul documento Performance Tuning Guidelines for Windows Server 2008 R2 in cui si danno le seguenti linee guida:

You should size VM memory as you typically do for server applications on a physical machine. You must size it to reasonably handle the expected load at ordinary and peak times because insufficient memory can significantly increase response times and CPU or I/O usage.

When running Windows in the child partition, you can use the following performance counters within a child partition to identify whether the child partition is experiencing memory pressure and is likely to perform better with a higher VM memory size:

Performance counter Suggested threshold value
Memory – Standby Cache Reserve Bytes Sum of Standby Cache Reserve Bytes and Free and Zero Page List Bytes should be 200 MB or more on systems with 1 GB, and 300 MB or more on systems with 2 GB or more of visible RAM.
Memory – Free & Zero Page List Bytes Sum of Standby Cache Reserve Bytes and Free and Zero Page List Bytes should be 200 MB or more on systems with 1 GB, and 300 MB or more on systems with 2 GB or more of visible RAM.
Memory – Pages Input/Sec Average over a 1-hour period is less than 10.

 

Ovvero il dimensionamento può seguire due approcci:

  1. Utilizzare nel caso vi siano linee guida specifiche per il dimensionamento del Page File sulla base dei servizi/applicazioni che vengono eseguiti nella VM.
    Ad esempio Exchange 2010 ed Exchange 2007 suggerisce la seguente linea guida “The page file size minimum and maximum must be set to physical RAM plus 10  MB”.
  2. In assenza di linee guida specifiche si può pensare inizialmente di impostare il page file con la classica regola di 1.5 volte la RAM dedicata alla VM e analizzare poi tramite i performance counters descritti eventuali problemi di gestione della memoria intervenendo come indicato.
  3. Rimangono anche valide le best practies e i suggerimenti contenuti nei seguenti articoloi della KB con l’accortezza di utilizzarle sui sistemi operativi a cui sono applicabili: