class PNRClient

The PNR client allocates RAM on the PE's behalf.

Inheritance:


Public Methods

[more]bool receiveManagerResponse(MEMAMT netRAMReserved, list<pair <Computer*, MEMAMT> >& netRAMServers)
receive a response from the network RAM manager on whether network RAM was successfully allocated or not.
[more]void calcUnneededNetRAM(ID jobID)
Calculated the amount of network RAM that is currently being unused.
[more]void calcProbabilityTable(void)
Calculates the probability that a particular memory reference (that results in a page fault to network RAM) will refer to a particular network RAM host
[more]ID getNetRAMReference(void)
[more]map<Computer*, MEMAMT> & getNetRAMDeallocTable(ID jobID)
[more]void finishedReadingDeallocTable(ID jobID)


Inherited from PNRAgent:

Public Methods

ovoid setHost(Computer* _host = NULL)
ovoid setGrantingThreshold(const MEMAMT _newThreshold = 0.1)
oComputer* getHost(void) const
ovoid setAvailabilityTable(map<Computer*, MEMAMT>* table)
ovoid setComputerTable(map<ID, Computer>* table)
ovoid loadMagicKnowledge()
ovoid setMagicKnowledge()
oComputer* selectServer()
obool serverAvailable()


Documentation

How the PNR client allocates network RAM is up to the implementation. In some schemes, the client may seek network RAM directly, in others it must contact a manager on another computer. Currently, regardless of the allocation scheme, managers must be contacted to allocate network RAM. The only difference is whether the manager is part of the same servent or not.
obool receiveManagerResponse(MEMAMT netRAMReserved, list<pair <Computer*, MEMAMT> >& netRAMServers)

ovoid calcUnneededNetRAM(ID jobID)
If any network RAM is being unused, the client will signal the manager that it may be deallocated.

ovoid calcProbabilityTable(void)

oID getNetRAMReference(void)
Returns:
the ID of the computer to which a network RAM reference refers

omap<Computer*, MEMAMT> & getNetRAMDeallocTable(ID jobID)

ovoid finishedReadingDeallocTable(ID jobID)


This class has no child classes.
Author:
John Oleszkiewicz

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.