On 6/6/2016 6:26 AM, Jerry Callen wrote:
This is by no means "real world" code, and I would never call it a "benchmark". However, I do believe it correctly illustrates the difference in performance between various synchronization mechanisms in its admittedly limited set of test cases.
It's an excellent test and quite representative of many real-world cases in my experience.
Generally, only servers will have hundreds of units of work and if that's the scenario in which Pause/Release/Transfer becomes most useful, due to reduced local lock contention, then that's *absolutely* worth knowing! But, it's also worth knowing just how fast WAIT/POST really is for more simplistic use cases!
Thanks for taking the time to publish your results in this forum... -- Edward E Jaffe Phoenix Software International, Inc 831 Parkview Drive North El Segundo, CA 90245 http://www.phoenixsoftware.com/ ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
