Hi David,
If Python is spending no time on the zIIP, the first thing that you can do is verify APF authorization.
To verify that APF authorization is correctly set, you can run the following:
extattr <path_to_python_install>/lib/python3.12/lib-dynload/libpyzutil.cpython-312.so
To add APF authorization to the required shared library (requires a privileged account), you can run the following:
extattr +a <path_to_python_install>/lib/python3.12/lib-dynload/libpyzutil.cpython-312.so
For what is allowed to be run on the zIIP, you can check the Authorized Use Table. However, if you are hitting a library that is not eligible to run on the zIIP, I would expect there to be a very low amount of time spent on the zIIP, not none.
------------------------------
Steven Pitman
------------------------------
Original Message:
Sent: Tue July 23, 2024 04:36 AM
From: David Rabinov
Subject: Python zIIP usage
Hey all,
I was tasked to check if python really uses zIIP and how can we leverage it. I ran a few python scripts, but they all seem to use GCP, no zIIP at all.
Maybe only certain libraries are zIIP eligible? If so, which libraries?
Have you any experience with python code which uses zIIP? Can you please share?
Any Help will be appreciated.
Python version: 3.12.0
z/OS release: 03.01.00
------------------------------
Regards,
David
------------------------------