MQ

 View Only
  • 1.  JMSPerfHarness

    Posted Thu April 13, 2023 10:36 AM
    Hello Dear MQer,

    Have you never try this Performance testing tool ?

    # jmstestp
    Environment for creating a docker image running JMS performance tests for Persistent and Non Persistent messaging.
     
    This repository contains a set of files to help create a Docker image containing the JMSPerfHarness jar, IBM's Java 1.8 and a set of scripts to run an inital set of performance tests.





    From my run I got the following without any messages sent ????:
    Of course I verified  before the install,  running the basic sample to check with TLS and I succeed to send and receive msh but with the tool nothing ????
    my output:

    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    bash-4.2$ java -Dcom.ibm.mq.cfg.useIBMCipherMappings=false $PXMAKEYR JMSPerfHarness -tc jms.r11.Sender -pc JNDI -ii com.sun.jndi.fscontext.RefFSContextFactory   -iu file:///var/patrick/SSLJMS -cf  MQCBDMZRD -d MQPING  -nt 1 -ss 5 -sc BasicStats -vo=ALL

    main: Config is registering com.ibm.uk.hursley.perfharness.Config

    main: Commandline:

    main: -tc jms.r11.Sender -pc JNDI -ii com.sun.jndi.fscontext.RefFSContextFactory -iu file:///var/patrick/SSLJMS -cf MQCBDMZRD -d MQPING -nt 1 -ss 5 -sc BasicStats -vo=ALL

    main: Config is registering com.ibm.uk.hursley.perfharness.ControlThread

    main: Config is registering com.ibm.uk.hursley.perfharness.WorkerThread

    main: Config is registering com.ibm.uk.hursley.perfharness.jms.providers.AbstractJMSProvider

    main: Config is registering com.ibm.uk.hursley.perfharness.jms.providers.JNDI

    main: Config is registering com.ibm.uk.hursley.perfharness.jms.DefaultMessageFactory

    main: Config is registering com.ibm.uk.hursley.perfharness.DefaultDestinationFactory

    main: Config is registering com.ibm.uk.hursley.perfharness.jms.r11.Sender

    main: Config is registering com.ibm.uk.hursley.perfharness.stats.Statistics

    main: Config is registering com.ibm.uk.hursley.perfharness.stats.BasicStats

    main: Config is registering com.ibm.uk.hursley.perfharness.cmd.Command

    main: Config is registering com.ibm.uk.hursley.perfharness.cmd.DummyCommandProcessor

    main: Config found no resource bundle for com.ibm.uk.hursley.perfharness.cmd.DummyCommandProcessor

    ControlThread1: START

    ControlThread1: Signal handler installed

    Sender1: START

    Sender1: Getting ConnectionFactory

    rate=0.00,total messages=0,Snapshot period=5,threads=0

    rate=0.00,total messages=0,Snapshot period=5,threads=0

    rate=0.00,total messages=0,Snapshot period=5,threads=0

    rate=0.00,total messages=0,Snapshot period=5,threads=0

    rate=0.00,total messages=0,Snapshot period=5,threads=0

    Sender1: Making connection

    rate=0.00,total messages=0,Snapshot period=5,threads=0

    ControlThread1: WorkerThread start interval (-wt=30) exceeded with no response from Sender1

    ControlThread1: Waiting for ( Sender1  )

    ControlThread1: Waiting for ( Sender1  )

    ControlThread1: Waiting for ( Sender1  )

    ControlThread1: Waiting for ( Sender1  )

    ControlThread1: Waiting for ( Sender1  )

    ControlThread1: Waiting for ( Sender1  )

    Sender1: Connection started com.ibm.mq.jms.MQQueueConnection@15dccbe3

    Sender1: Session started com.ibm.mq.jms.MQQueueSession@273b403f

    Sender1: Creating sender on queue:///APPL.ALIAS.IMQ251?targetClient=1

    Sender1: Entering client loop

    Sender1: Closing producer com.ibm.mq.jms.MQQueueSender@e931b0e3

    Sender1: Closing session com.ibm.mq.jms.MQQueueSession@273b403f

    Sender1: Closing connection com.ibm.mq.jms.MQQueueConnection@15dccbe3

    Sender1: STOP

    totalIterations=0,avgDuration=0.00,totalRate=?

    ControlThread1: STOP

    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Thanks for your ideas
    Patrick



    ------------------------------
    Patrick ROCHEMONT
    ------------------------------


  • 2.  RE: JMSPerfHarness

    IBM Champion
    Posted Fri April 14, 2023 04:36 AM

    Did you read the manual @ https://github.com/ot4i/perf-harness/blob/8691287f3f1db72948bc6cd8da79ac7c05937a23/PerfHarness/doc/manual.pdf ?
    Did you install in Eclipse and debug?



    ------------------------------
    Francois Brandelik
    ------------------------------



  • 3.  RE: JMSPerfHarness

    Posted Fri April 14, 2023 04:49 AM

    Hello,
    Yes I read the manual, My environment is Kubernetes container so I create an Image with OS, and MQ client and the Jar for JMSPerfHarness  and execute it inside the container, It didn't failed but doesn't sent any MQ message, I haven't see as well any error message ??
    Francois on your side did you experiment this Jar on K8S ?
    Thanks



    ------------------------------
    Patrick ROCHEMONT
    ------------------------------



  • 4.  RE: JMSPerfHarness

    Posted Fri April 14, 2023 05:22 AM

    It isn't a tool I've used before, but the most obvious issue in that output is:

    ControlThread1: WorkerThread start interval (-wt=30) exceeded with no response from Sender1

    From what I understand of the tool, the main controller thread starts worker threads and waits for them to get through their initial setup before starting workload. The message is saying that the worker thread didn't respond that it was ready in the configured time limit.

    If this is running in a container, it may be limited on resources which isn't allowing the thread to progress quickly enough.

    I think you could get past the issue by setting a longer timeout with the -wt option.



    ------------------------------
    Doug Burns
    ------------------------------