About AMF tunable parameters

You can set the Asynchronous Monitoring Framework (AMF) kernel module tunable using the following command:

# amfconfig -T tunable_name=tunable_value,
tunable_name=tunable_value...

Table: AMF tunable parameters lists the possible tunable parameters for the AMF kernel:

Table: AMF tunable parameters

AMF parameter

Description

Value

dbglogsz

AMF maintains an in-memory debug log. This parameter (specified in units of KBs) controls the amount of kernel memory allocated for this log.

Min - 4

Max - 512

Default - 256

processhashsz

AMF stores registered events in an event type specific hash table. This parameter controls the number of buckets allocated for the hash table used to store process-related events.

Min - 64

Max - 8192

Default - 2048

mnthashsz

AMF stores registered events in an event type specific hash table. This parameter controls the number of buckets allocated for the hash table used to store mount-related events.

Min - 64

Max - 8192

Default - 512

conthashsz

AMF stores registered events in an event type specific hash table. This parameter controls the number of buckets allocated for the hash table used to store container-related events.

Min - 1

Max - 64

Default - 32

filehashsz

AMF stores registered events in an event type specific hash table. This parameter controls the number of buckets allocated for the hash table used to store file-related events.

Min - 1

Max - 64

Default - 32

dirhashsz

AMF stores registered events in an event type specific hash table. This parameter controls the number of buckets allocated for the hash table used to store directory-related events.

Min - 1

Max - 64

Default - 32

The parameter values that you update are reflected after you reconfigure AMF driver. Note that if you unload the module, the updated values are lost. You must unconfigure the module using the amfconfig -U or equivalent command and then reconfigure using the amfconfig -c command for the updated tunables to be effective. If you want to set the tunables at module load time, you can write these amfconfig commands in the amftab file.

See the amftab(4) manual page for details.