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 » Has increasing active logs impact on performance

Post new topic  Reply to topic
 Has increasing active logs impact on performance « View previous topic :: View next topic » 
Author Message
thimerion
PostPosted: Tue May 27, 2008 7:17 am    Post subject: Has increasing active logs impact on performance Reply with quote

Acolyte

Joined: 08 May 2007
Posts: 67
Location: Belgium

Hi,

On the system I use, all messages are persistant.
Now a system wants to send through 20MB messages,
so I have to increase (double) the size or amount of active logs.

I was wondering what impact this change has on performance of Mq ...

Regards,
Tim
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue May 27, 2008 7:28 pm    Post subject: Re: Has increasing active logs impact on performance Reply with quote

Grand High Poobah

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

thimerion wrote:
Hi,

On the system I use, all messages are persistant.
Now a system wants to send through 20MB messages,
so I have to increase (double) the size or amount of active logs.

I was wondering what impact this change has on performance of Mq ...

Regards,
Tim

Huge messages have a tendency to slow MQ Down. (Size of retry on CRC mismatch etc...)
The right way to speed this up is to fragment the message and recreate it as logical at the receiving end... You can use segmentation or grouping or whatever makes sense to you.

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
gbaddeley
PostPosted: Tue May 27, 2008 10:59 pm    Post subject: Re: Has increasing active logs impact on performance Reply with quote

Jedi Knight

Joined: 25 Mar 2003
Posts: 2538
Location: Melbourne, Australia

fjb_saper wrote:
Huge messages have a tendency to slow MQ Down. (Size of retry on CRC mismatch etc...)
The right way to speed this up is to fragment the message and recreate it as logical at the receiving end... You can use segmentation or grouping or whatever makes sense to you.

Enjoy


Surely fragmented (aka segmented) messages will slow down MQ even further with the extra overhead of handling more mesages.

20MB is not a huge message. Just increase the size &/or number of logs to cope with the expected workload. Many gigabytes of logs is not unusual.
_________________
Glenn
Back to top
View user's profile Send private message
thimerion
PostPosted: Tue May 27, 2008 11:53 pm    Post subject: size Reply with quote

Acolyte

Joined: 08 May 2007
Posts: 67
Location: Belgium

I was thinking of 25 logfiles of 4Mb = 100Mb of active logs, this is not unusual according to your comments so thank you for your answers.

crtmqm -c "<Description> Queue Manager" -ll -lf 1024 -lp 15 -ls 10 –q <Qm_Name>
Back to top
View user's profile Send private message
exerk
PostPosted: Tue May 27, 2008 11:57 pm    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Or allow for potential future growth of message size and make the logs the maximum size - I prefer the idea of managing a small number of large logs, to a large number of small logs - especially when using linear logging.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.


Last edited by exerk on Tue May 27, 2008 11:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
Gaya3
PostPosted: Tue May 27, 2008 11:58 pm    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Note: its important to monitor the disk space usage too...

Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed May 28, 2008 3:20 am    Post subject: Re: Has increasing active logs impact on performance Reply with quote

Grand High Poobah

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

gbaddeley wrote:
fjb_saper wrote:
Huge messages have a tendency to slow MQ Down. (Size of retry on CRC mismatch etc...)
The right way to speed this up is to fragment the message and recreate it as logical at the receiving end... You can use segmentation or grouping or whatever makes sense to you.

Enjoy


Surely fragmented (aka segmented) messages will slow down MQ even further with the extra overhead of handling more mesages.

20MB is not a huge message. Just increase the size &/or number of logs to cope with the expected workload. Many gigabytes of logs is not unusual.

Agreed there is more overhead. But MQ was not just built for perfect connections. On a real bad connection a 20MB message might never make it across whereas a segmented msg might... Remember size of retry block on a bad crc? Or if the channel goes down in the middle of the transmission ??.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Wed May 28, 2008 6:23 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

exerk wrote:
Or allow for potential future growth of message size and make the logs the maximum size - I prefer the idea of managing a small number of large logs, to a large number of small logs - especially when using linear logging.

If you are using Backup Queue Managers, they rely on the Linear Logs being shipped over from the primary QM to the backup QM. If each linear log is HUGE, then they will be shipped over less frequently because it will take longer for the latest one to fill. Really big Linear Logs would mean your backup QM will be farther behind more often than if you used smaller Linear Logs.


Outside of that, I wonder what has more overhead: A QM cutting new Linear Logs more often because they are smaller, or cutting a HUGE new Linear Log file every so often? I dunno; never seen anything written on this topic.


With Circular logs its less important, I guess, since your entire ring of primary logs is created at QM build time, so make them as big as possible and as many as your disk will allow (within reason).


Geberal rule of thumb is just make a lot of logs and make them big. Disk space is very cheap. Your time worrying about this is not cheap. Outages caused because you made your logs tiny are not cheap.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
exerk
PostPosted: Wed May 28, 2008 6:28 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

PeterPotkay wrote:
If you are using Backup Queue Managers, they rely on the Linear Logs being shipped over from the primary QM to the backup QM. If each linear log is HUGE, then they will be shipped over less frequently because it will take longer for the latest one to fill. Really big Linear Logs would mean your backup QM will be farther behind more often than if you used smaller Linear Logs.


Fair point, in which case I'd go for a happy medium - or will when I can convince the powers that be that BQM's are a good idea!
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Has increasing active logs impact on performance
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.