ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Channel LSTMSGTI in milliseconds?

Post new topic  Reply to topic
 Channel LSTMSGTI in milliseconds? « View previous topic :: View next topic » 
Author Message
krypton
PostPosted: Sun Aug 01, 2010 1:54 am    Post subject: Channel LSTMSGTI in milliseconds? Reply with quote

Disciple

Joined: 14 Mar 2010
Posts: 186

Hi All,

Is there any way to know the Sender channel msgout time and Receiver Channel msgIn time in milliseconds.

Channels do have attribute LSTMSGTI but it gives time only upto seconds, I am doing a performace evaluation, for the same purpose I needt to know the time in milliseconds.

How our application is working is

A --> MQPUT-> RemoteQ --XMITQ--->SenderChannel(A)-->ReceiverChannel(B)---MQGET(B)

Now, the receiver application will put back the response in the same fashion as above and A will process the message.
There are many time latency in there but I am more concerned about the time betweeen SenderChannelA(request sent from A to B) and ReceiverChannelA(response received from B to A). I want these details at milliseconds level.

Is anyone aware of how to find this time in milliseconds, please help me.

Thanks.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Aug 01, 2010 10:14 am    Post subject: Re: Channel LSTMSGTI in milliseconds? Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

krypton wrote:
Hi All,

Is there any way to know the Sender channel msgout time and Receiver Channel msgIn time in milliseconds.

Channels do have attribute LSTMSGTI but it gives time only upto seconds, I am doing a performace evaluation, for the same purpose I needt to know the time in milliseconds.

How our application is working is

A --> MQPUT-> RemoteQ --XMITQ--->SenderChannel(A)-->ReceiverChannel(B)---MQGET(B)

Now, the receiver application will put back the response in the same fashion as above and A will process the message.
There are many time latency in there but I am more concerned about the time betweeen SenderChannelA(request sent from A to B) and ReceiverChannelA(response received from B to A). I want these details at milliseconds level.

Is anyone aware of how to find this time in milliseconds, please help me.

Thanks.

Face it now like a man... you're not going to.
What you can get at best is time from the put of the request to time of the get of the response, and this needs to be captured by your requesting application. Besides the obvious problems of time synchronization between boxes A and B, you are not looking at the right measurements.
  • channel time => what you are really after here is network time and that can be measured using other techniques like network sniffers etc...
    However and UNDER the ASSUMPTION that the put to commit and get times are negligible, also ASSUMING that the boxes enjoy the benefit of timesync (ntp service) you can determine the difference between get time and put time down to 0.01 seconds. This is done by reading the system timestamp right after the get and subtracting the message timestamp from it. Of course best served when all times and calculations are UTC, message size is small ( a few kb), and one (or more) consumer process is (are) waiting to consume the message immediately.

  • If you want to look at the full monty (request / reply) you do not have to worry much about time discrepancy between boxes as all measurements will be taken within the same box. As before make sure you use UTC time coordinates (it does make things easier... especially elapsed time display). The downside here is that you are going to look at a mean time for network transit. Potentially you could have a significant lag difference between the 2 servers, either on the request path or on the response path. And please bear in mind that a significant difference here may be in the order of 50 ms or more.
    As a frame of reference we do round trip from NJ to FL via MPLS and VPN in about 150 ms average for message from 10 to 100k. Please remember that individual mileage will vary dependind on your network and horsepower...


Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Channel LSTMSGTI in milliseconds?
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.