On 27/09/2024 10:33 pm, Mario Bezzi wrote:
I have a Java program that makes use of the java.util.zip.GZIPOutputStream
class to compress data.
I would expect it to automatically exploit zEDC when available, but this is
not what I see when running it with Java 8 on a CPC with zEDC enabled.
On z14 and lower you need access to FACILITY class
FPZ.ACCELERATOR.COMPRESSION.
From z15 the compression is on the chip and various external
measurements disappeared. I'm not even sure whether on chip zEDC use is
generally visible to the OS. How are you determining whether zEDC is
being used?
For performance, there was a recommendation to wrap the
GZIPOutputStream in a BufferedOutputStream. That was on the z14, I don't
know whether it's still required on the z15 bu it shouldn't hurt.
--
Andrew Rowley
Black Hill Software
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN