Managing the AMASS File System

The example below illustrates how to display cache block list values for volume groups 121 through123:

#su root

#cblist 121 123

VOLGRP

Read

Write

 

 

 

121

1

6

122

3

2

123

2

2

 

 

 

setcbwght

Assigns weight factor values to the cache block list numbers. AMASS uses this weight factor to determine which cache block to reuse next and reuses the cache block with the highest score. The score is calculated by the weight factor (defined with the setcbwght command) associated with the list the cache block is on (defined with the setcblist command) multiplied by the age of the cache block.

weight factor * age of cache block = score

Age of cache block = current time MINUS time cache block was put on free list. When the cache block is reused, it is taken off the free list and put back on when processing has completed. When it is put back on, AMASS creates a new timestamp for the block. The oldest block is the one that has not been accessed for the longest period of time in seconds.

6-00028-01 Rev A

Cache Commands

C-7