Module parameters

SUSE Linux Enterprise Server 15 SP5 LPAR mode z/VM guest

You can set the cache size for the HMC media device driver.

Before you can work with the HMC media device driver and with the dependent lshmc and hmcdrvfs commands, you must load the hmcdrv kernel module.
Figure 1. hmcdrv module parameter syntax

1  modprobe  hmcdrv
1!  cachesize=534288
1  cachesize=<size>

where <size> is the cache size in bytes. The specification must be a multiple of 2048. You can use the suffixes K for kilobytes, M for megabytes, or G for gigabytes. Specify 0 to not cache any media content. By default, the cache size is 534288 bytes (0.5 MB).

Loading the hmcdrv module creates a device node at /dev/hmcdrv.

Example

The following specifications are equivalent:
# modprobe hmcdrv cachesize=153600
# modprobe hmcdrv cachesize=150K