Check out the new USENIX Web site. next up previous
Next: 4 Experimental Evaluation Up: 3 Prototype Description Previous: 3.5 Swapping In (rw_swap_page)

3.6 Driver to Modify the Parameters

 

To simplify the task of setting the parameters for the compressed swap we have also implemented a diver that allows the superuser to modify the following parameters when the swap is off.

Virtual space size:
maximum number of compressed pages that the system will be able to handle (MAX_VPAGES).

Cache size:
the number of Kbytes used for caching.

Cleaning threshold:
the percentage of full buffers the system needs to find to perform a cleaning operation.



Toni Cortes
Tue Apr 27 17:43:22 MET DST 1999