Page 1 of 1

ENQ/DEQ performance impact

PostPosted: Tue Oct 08, 2013 2:39 am
by letmelive
I implemented ENQ/DEQ for a TDQ to prevent tasks holding lock on TDQ for a long time. But it created a problem where waiting time increased & the application slowed down. I have not figured out why this happened. I had posted some question related to TDQ locking some times back - cics/topic9109.html. If I could get answers to these questions I will be in a position to relate to what happened. Can someone please help on this?

Re: ENQ/DEQ performance impact

PostPosted: Tue Oct 08, 2013 9:20 pm
by dick scherrer
Hello,

Suggest you carefully re-read the replies from Robert in your other topic.

Review the code to make sure that the lock or enque is issued at the last possible moment and freed as soon as possible.

Keep in mind that if the arrival rate cannot be controlled and the "lock time" needed cannot be reduced, there Will be waits.