The PNR client allocates RAM on the PE's behalf.
Inheritance:
Public Methods
-
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.
-
void calcUnneededNetRAM(ID jobID)
- Calculated the amount of network RAM that is currently being unused.
-
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
-
ID getNetRAMReference(void)
-
-
map<Computer*, MEMAMT> & getNetRAMDeallocTable(ID jobID)
-
-
void finishedReadingDeallocTable(ID jobID)
-
Public Methods
-
void setHost(Computer* _host = NULL)
-
void setGrantingThreshold(const MEMAMT _newThreshold = 0.1)
-
Computer* getHost(void) const
-
void setAvailabilityTable(map<Computer*, MEMAMT>* table)
-
void setComputerTable(map<ID, Computer>* table)
-
void loadMagicKnowledge()
-
void setMagicKnowledge()
-
Computer* selectServer()
-
bool 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.
bool receiveManagerResponse(MEMAMT netRAMReserved, list<pair <Computer*, MEMAMT> >& netRAMServers)
-
void calcUnneededNetRAM(ID jobID)
-
If any network RAM is being unused, the client will signal the manager that it may be
deallocated.
void calcProbabilityTable(void)
-
ID getNetRAMReference(void)
-
- Returns:
- the ID of the computer to which a network RAM reference refers
map<Computer*, MEMAMT> & getNetRAMDeallocTable(ID jobID)
-
void 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++.