9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: ron minnich <rminnich@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] more time amusement under vmware
Date: Tue,  4 Aug 2009 08:20:04 -0700	[thread overview]
Message-ID: <13426df10908040820y787f64d0y3ac653b3d199a1b0@mail.gmail.com> (raw)
In-Reply-To: <df49a7370908032256p22aba5efpa9755c4a13c654a2@mail.gmail.com>

This is the same kind of problem I had under Xen in the beginning. The
fix is to figure out what vmware gives you in the way of time info and
use that exclusively.

It problem seems odd but you can have cases where, e.g., 'sleep 10'
works and date is not right. I had this under both lguest and xen.

It's been enough years that I have forgotten but you also want to stop
using the emulated pc-style timer interrupts. It's clear that vmware
is not exactly getting these right.

A look at the xen port might give some hints.

Just figure out if vmware gives you a nice "time of universe" 64-bit
counter or something and take your time from that.

Or, alternatively, stop using vmware :-) That strikes me as the best bet.

ron



  parent reply	other threads:[~2009-08-04 15:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-04  5:56 roger peppe
2009-08-04 12:48 ` David Leimbach
2009-08-04 12:54 ` erik quanstrom
2009-08-04 13:36   ` roger peppe
2009-08-04 13:46   ` roger peppe
2009-08-04 15:20 ` ron minnich [this message]
2009-08-04 15:20   ` ron minnich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=13426df10908040820y787f64d0y3ac653b3d199a1b0@mail.gmail.com \
    --to=rminnich@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).