How you add SCM for improved performance on IBM® MQ.
About this task
Important:IBM z16 is planned to be the
last generation of IBM Z® to support the use of
Virtual Flash Memory (also known as Storage Class Memory, or SCM) for Coupling Facility images. For
more information see: IBM Z and IBM LinuxONE 4Q 2023 Statements of Direction.
As an alternative,
you should either use larger structures or offload messages to SMDS.
This part of the task uses the basic configuration described in Improved performance - basic configuration. The
scenario describes the addition of SCM to the initial structure.
This final configuration is illustrated in Figure 1.Figure 1. Configuration adding SCM for improved performance
Procedure
Add 4 GB of SCM to structure IBM1SCEN2 by carrying out the following
procedure:
Check how much SCM is installed, and allocated to CF01, by issuing the
following command:
D CF,CFNAME=CF01
Check the STORAGE-CLASS MEMORY figures in the STORAGE
CONFIGURATION section of the displayed output to see the available storage.
Update the CFRM policy with the SCMMAXSIZE and SCMALGORITHM
keywords as shown:
After SCM is added to the structure, the structure has these totals:
342,684 entries
6,503,697 elements
575,600 EMCS
Using these figures, after the SCM was added, the structure is reduced in size by:
2558 entries
44,770 elements
204,718 EMCS
The amount of structure storage that is used to manage SCM, is as follows for a 2 GB structure
with 4 GB of SCM allocated:
(2558 + 44,770 + 204,718) * 256 = 61.5 MB
Note that adding more SCM is likely to achieve only a marginal reduction of the size of the
structure, because the amount of control storage used to track SCM increases, both as the structure
size, and the amount of allocated SCM increases.
You can plot the results of the revised application over a period of time. Comparing the plot to
the one obtained previously, you now obtain an output without a saw-tooth wave, as the putting
application no longer has to wait for the queue to partially empty.