Module parameters

6.10 LPAR mode z/VM guest

If the HMC media device driver has been built as a separate module, hmcdrv, you set the cache size through the cachesize= module parameter.

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.

hmcdrv module parameter syntax

Read syntax diagramSkip visual syntax diagram modprobe  hmcdrv  cachesize=534288 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