Next | Prev | Up | Top | Contents | Index

/etc/grio_disks File Format

The file /etc/grio_disks contains information that describes I/O bandwidth parameters of the various types of disk drives that can be used on the system.

By default, /etc/grio_disks contains the parameters for disks supported by Silicon Graphics for optimal I/O sizes of 64K, 128K, 256K, and 512K. Table 9-4 lists these disks. Table 9-5 shows the optimal I/O sizes and the number of optimal I/O size requests each of the disks listed in Table 9-4 can handle in one second.

Disks in /etc/grio_disks by Default
Disk ID String
"SGI IBM DFHSS2E 1111"
"SGI SEAGATE ST31200N8640"
"SGI SEAGATE ST31200N9278"
"SGI 066N1D 4I4I"
"SGI 0064N1D 4I4I"
"SGI 0664N1D 4I4I"
"SGI 0664N1D 6S61"
"SGI 0664N1D 6s61"
"SGI 0664N1H 6s61"
"IBM OEM 0663E15 eSfS"
"IMPRIMIS94601-15 1250"
"SEAGATE ST4767 2590"

Optimal I/O Sizes and the Number of Requests per Second Supported
Optimal I/O SizeNumber of Requests per Second
6553623
13107216
2621449
5242885

To add other disks or to specify a different optimal I/O size, you must add information to the /etc/grio_disks file. If you modify /etc/grio_disks, you must rerun the cfg command to re-create /etc/grio_config and then restart the ggd daemon for the changes to take effect (see the section "Restarting the ggd Daemon" in this chapter).

The records in /etc/grio_disks are in these two forms:

ADD "disk id string" optimal_iosize number_optio_per_second 

SETSIZE device optal_iosize
If the first field is the keyword ADD, the next field is a 28-character string that is the drive manufacturer's disk ID string. The next field is an integer denoting the optimal I/O size of the device in bytes. The last field is an integer denoting the number of optimal I/O size requests that the disk can satisfy in one second.

Some examples of these records are:

ADD     "SGI     SEAGATE ST31200N9278"  64K     23 

ADD     "SGI             0064N1D 4I4I"  50K     25 
If the first field is the keyword SETSIZE, the next field is the pathname of a disk device. The third field is an integer denoting the optimal I/O size to be used on the device.

Normally, the optimal I/O size of a disk device is determined by its stripe unit size. If the disk is not striped or you do not want to use the stripe unit size for the optimal I/O size, you can use the SETSIZE command to tell the cfg command how to construct the lines for the GRIO disk in the /etc/grio_config file.

An example of a SETSIZE record is:

SETSIZE /dev/rdsk/dks136d1s0 50K 

Next | Prev | Up | Top | Contents | Index