JOB_SWITCH2_EVENT

Syntax

JOB_SWITCH2_EVENT=Y|N

Description

Specify Y to allow mbatchd to generate the JOB_SWITCH2 event log when switching a job array to another queue. If this parameter is not enabled, mbatchd will generate the old JOB_SWITCH event instead. The JOB_SWITCH event is generated for the switch of each array element. If the job array is very large, many JOB_SWITCH events are generated, causing mbatchd to use large amounts of memory to replay all the JOB_SWITCH events. This causes performance problems when mbatchd starts up.

JOB_SWITCH2 logs the switching of the array to another queue as one event instead of logging each array element separately. JOB_SWITCH2 has these advantages:
  • Reduces memory usage of mbatchd when replaying bswitch destination_queue job_ID, where job_ID is the job ID of the job array on which to operate.

  • Reduces the time for reading records from lsb.events when mbatchd starts up.

  • Reduces the size of lsb.events.

Default

N