We have a big performance problem, the batch java application reads messages from DB2 and writes them to a MQSeries Queue using JDBC and JMS. Running under z/OS (JZOS) we have a thruput of 1.5 messages per second (using local connectors); under Linux x86 we have a thruput of 26 messages per second (using network connectors). This does not make much sense to me.
I tried to run the application by adding
"-Xrunhprof:cpu=samples,file=log.txt,depth=4 -Djava.compiler=NONE" in the IBM_JAVA_OPTIONS variable to analyze where the bottleneck is.
It does work when there are no messages to process, it abends S0C4 rsn 10 when there are even few messages to process (I assume it depends on the amount of data stored by the cpu profiler trace).
I tried to play with REGION, _CEE_RUNOPTS, and other parameters, but I always get the same result; it abends ONLY by activating hprof.
It may turn out that this is a problem of the Java Profiler Interface instead of a problem of JZOS, but because I was already in the forum to search for the problem I thought I would post it here anyway...
