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 IndexGeneral Discussiontest SHARECNV with amqsputc

Post new topicReply to topic
test SHARECNV with amqsputc View previous topic :: View next topic
Author Message
mq__quest
PostPosted: Thu Jan 19, 2023 3:24 am Post subject: test SHARECNV with amqsputc Reply with quote

Apprentice

Joined: 21 Aug 2017
Posts: 47

Hello experts,

I'm trying to understand how the SHARECNV works. Can we use amqsputc sample program to test this?

I tried and for every amqsputc a new instance of channel is being created. If amqsputc doesn't work for this, is there any other sample program that I can use?

Thanks
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Jan 19, 2023 4:05 am Post subject: Re: test SHARECNV with amqsputc Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9306
Location: US: west coast, almost. Otherwise, enroute.

mq__quest wrote:
Hello experts,

I'm trying to understand how the SHARECNV works. Can we use amqsputc sample program to test this?

I tried and for every amqsputc a new instance of channel is being created. If amqsputc doesn't work for this, is there any other sample program that I can use?

Thanks

SHARECNV settings address apps that multi-thread, such that threads of the same app instance share a TCP channel. Amqsputc dos not multi-thread.

Search google for SHARECNV, and watch some of the slide shows that explain conversation sharing.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Andyh
PostPosted: Thu Jan 19, 2023 10:41 am Post subject: Reply with quote

Master

Joined: 29 Jul 2010
Posts: 227

What are you actually trying to achieve through the use of sharecnv?

Sharecnv is essentially a mechanism for potentially reducing the number of sockets in use when multiple connections are made to the same queue manager from the same client application process. While a sharecnv value of more than 1 can reduce the number of sockets in such a scenario it often has other negative performance implications in both the client and the server.
It's unusual these days for there to be a shortage of sockets and sharecnv(1) tends to be the starting point for an MQ performance tuning exercise.

Have you made yourself familiar with the general advice in the MQ performance reports ?
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexGeneral Discussiontest SHARECNV with amqsputc
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.