Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Mar 2001 10:35:14 -0500 (EST)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Nick Sayer <nsayer@quack.kfu.com>
Cc:        emulation@FreeBSD.ORG
Subject:   Re: vmware networking & sysmouse
Message-ID:  <15044.42930.682795.254171@grasshopper.cs.duke.edu>
In-Reply-To: <3AAD65D2.6070605@quack.kfu.com>
References:  <200103112208.f2BM88L85365@gc0.generalconcepts.com> <20010311221123.B1541@tao.org.uk> <3AABF9DF.5E3C6E1F@babbleon.org> <3AAC3D1C.FB6FA0EB@babbleon.org> <20010312092107.A67643@wop21.wop.wtb.tue.nl> <3AAD65D2.6070605@quack.kfu.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Nick Sayer writes:
 > 
 > Does anyone know what the issue really is? Perhaps it's worth putting an 
 > option in the kernel to make it not do whatever causes it to chew CPU? 
 > People using vmware could use option VMWARE_GUEST or some such in guest 
 > machines' kernels to make it not do that.

Look at the source to the rtc driver.  Basically, rtc_poll() does a
DELAY() for the amount of time vmware wants to sleep.  It would be far
better to tsleep().  However, we can't do that because we don't are
not able to sleep for a short enough period of time.

I think Linux is able alter its rtc frequency on the fly, so they can
sleep for a short enough period of time...

Drew

------------------------------------------------------------------------------
Andrew Gallatin, Sr Systems Programmer	http://www.cs.duke.edu/~gallatin
Duke University				Email: gallatin@cs.duke.edu
Department of Computer Science		Phone: (919) 660-6590

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15044.42930.682795.254171>