The working set is added to the current system load, which consists of
thesum of the working sets for all virtual machines currently in a
queue. TheSUII is compared to the system maximum, which is equal to the
number ofdynamically assignable pages in the system. If the virtual
machine's projected working set will not push the system load over the
virtualmachine maximum, it is placed in the queue and added to the
dispatchable list.
The actual working set, A, is the s.aller of the two values
determined at queue drop timeby the following forllula: r N --, , > PRi
/----I ,
/N '" Steals
A = i=1N PR
Steals
-- or --
Pages referencedNumber of page reads while in queue. Number of pages resident at the ith page read.
Humber of times page wait was entered because of a
stolen page.
Thenumber of referenced pages is determined by scanning the virtual machine's page tables for software referenced bits. These bits are set by DMKPTRAB when tbe page is taken from the virtual machine by CP. Thus
the actual working set is generally the average number of pages resident
ateach page read. However, this estimate is sensitive to the overall system paging activity for the following reasons:
1. If there is no paging load on thesystem, there is one page read
for each resident page, and no steals; the working set therefore
tends to beequal to about one half of the resident page total.
2. As paging activity increases, and the working set location shifts,
the working set tends to increase toward the averagenumber of
resident pages.
3. If paging activity beco.es excessive, thenumber of page steals
increases to theextent that the working set expands to the maximum of the total number of pages referenced while in the queue.
Insum.ary, the scheduler selects the subset of logged-on virtual
.achines that are allowed tocompete for the resources of the processor,
with the constraint that a new virtual .achine is not added to the
active subset if its projected .ain storagerequirement, added to those
of the other active virtualmachines, causes the current capacity of the
CP Introduction 1-133
the
queue. The
number of
machine's projected working set will not push the system load over the
virtual
dispatchable list.
The actual working set, A, is the s.aller of the two values
determined at queue drop time
/
/
A = i=1
Steals
-- or --
Pages referenced
Humber of times page wait was entered because of a
stolen page.
The
the actual working set is generally the average number of pages resident
at
1. If there is no paging load on the
for each resident page, and no steals; the working set therefore
tends to be
2. As paging activity increases, and the working set location shifts,
the working set tends to increase toward the average
resident pages.
3. If paging activity beco.es excessive, the
increases to the
In
.achines that are allowed to
with the constraint that a new virtual .achine is not added to the
active subset if its projected .ain storage
of the other active virtual
CP Introduction 1-133