2 Replies Latest reply on Dec 22, 2011 2:32 PM by 906949

    Binary Search performance issue

    906949
      Hi,
      I have same piece of code of running on two different but similar Solaris machine.

      Machine #1 : SunOS #### 5.10 Generic_147440-01 sun4v sparc SUNW,SPARC-Enterprise-T5120

      Machine #2 : SunOS #### 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Fire

      The process does a binary search on a shared memory and returns data. On Machine#2 the binary search is almost 10 times faster than Machine #1. The load on both the machine is comparable.

      Can someone please give a pointer that why such a big difference in performance on both the machine despite being similar in architecture and the code is compiled using the same compiler on both the machine.

      Thanks.

      Edited by: 903946 on Dec 21, 2011 11:38 PM