Small-and-variable time desynchronization between Mac and Win guest

Discussion in 'Windows Virtual Machine' started by MikeLaw, Aug 13, 2014.

  1. MikeLaw

    MikeLaw Bit poster

    Messages:
    3
    I'm running Parallels 9 on OS X Mavericks within which I have a windows 8 guest OS running. I'm doing scientific experiments that require millisecond-precise synchronization of the system clocks of the two OSs. To check the synchronization, I have two labjacks (labjack.com/u3), each hooked up to a photocell which are in turn both placed side-by-side on the same OLED display. I tell parallels to let OS X see one labjack and I use a python script to record the labjack's output @10KHz with timestamps obtained by the time.time() function. I tell parallels to let the guest Win 8 OS see the other labjack and have the same python script running in that OS, again using time.time() to timestamp the input. Finally, I make a large sudden luminance change on the screen being monitored by the labjacks, then look in the resulting data for the timestamp corresponding to the onset of this change. The resulting timestamps differ between the host and guest OSs by amounts that vary from test to test, with a discrepancy of up to 2s (and, if it helps in diagnosing, the guest Win 8 timestamp is always earlier). If the timestamps differed by a constant, that'd be OK, but the variability is deadly for my desired application. Any idea what's going on here or if there is any way to fix it?

    (In case it matters, I've also used the getSystemTimePreciseAsFileTime method of obtaining 0.1ms-precision timestamps in the guest Win8 OS, instead of the 1ms-precision available from time.time(), with the same results as above)
     
  2. Abdul@Parallels

    Abdul@Parallels Parallels Support

    Messages:
    553
    Hello MikeLaw,

    Please follow the steps as suggested at http://kb.parallels.com/113271 to synchronize time between Mac OS and Guest OS and let us know how it goes!
     
  3. MikeLaw

    MikeLaw Bit poster

    Messages:
    3
    Unfortunately I already examined that route and the behaviour persists regardless of whether I have that option as "Sync from Mac" or "Do Not Sync".
     

Share This Page