On 29/10/2020 8:40 am, Kirk Wolf wrote:
/bin/sh (when it uses spawn() and _BPX_SHAREAS=YES/MUST) will try to start
the child process in the **same** address space as the parent.
I just reran the same script with _BPX_SHAREAS=YES to see what it looked
like.
It cut the number of SMF records from 20,000 to 4,000 with only 1
process showing up per iteration - maybe required for the pipe?
Elapsed time didn't change. CPU time was reduced by about 20%.
With _BPX_SHAREAS=YES you could no longer see information on the
commands making up the shell script. From the runs without
_BPX_SHAREAS=YES the SMF data showed most of the elapsed time was due to
the setfacl command.
--
Andrew Rowley
Black Hill Software
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN