next up previous contents index
Next: 32.4.2 PagePool/CompMath Up: 32.4 Page pools Previous: 32.4 Page pools

32.4.1 PagePool/Math

This is the simplest type of page pool. It has only one page, whose size can be generated by a given random variable. Page modification sequence and request sequence are generated using two given random variables. It has the following OTcl methods:



NOTE: There are two ways to generate a request sequence. With all page pools except PagePool/ProxyTrace, request sequence is generated with a random variable which describes the request interval, and the gen-pageid method of other page pools gives the page ID of the next request. PagePool/ProxyTrace loads the request stream during initialization phase, so it does not need a random variable for request interval; see its description below.

An example of using PagePool/Math is at Section 32.8. That script is also available at /tcl/ex/simple-webcache.tcl.




2000-08-24