Uploaded image for project: 'QuickFIX/J'
  1. QuickFIX/J
  2. QFJ-537

Session scheduling - problems with JDK Nanotime Bug

    Details

    • Type: Other
    • Status: Closed
    • Priority: Default
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.5.1
    • Component/s: Engine
    • Labels:
      None
    • Environment:
      VMWARE 3.5/4, Solaris 10 Upgrade 6, Multiprocessor

      Description

      On Solaris 10 the gethrtime (High Resolution Time) and time (Wall Clock Time) functions are sometimes returning wrong values. The function gethrtime is wrapped in JVM to get the Nanotime that many applications use. This is causing unpredictable behavior in various applications. The tests were done for gethrtime and time function that returns wall clock time - it was going backwards. For QuickFIX/J in particular, due to nanotime returning wrong values and deltas being negative, required FIX connections were not established as expected.

      Some links:

      http://communities.vmware.com/thread/215461
      http://bugs.sun.com/view_bug.do;jsessionid=36cc38bca9ae36e09ba7643c0f8?bug_id=6855228

      Fixed: Following options were added to the VMX file on VMWARE:

      monitor_control.disable_tsc_offsetting=TRUE
      monitor_control.disable_rdtscopt_bt=TRUE

      (internal reference: IC_57921)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sse SSE
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: