From owner-freebsd-emulation Mon Apr 3 14: 4: 0 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from gvr.gvr.org (gvr.gvr.org [194.151.74.97]) by hub.freebsd.org (Postfix) with ESMTP id F194B37B787 for ; Mon, 3 Apr 2000 14:02:35 -0700 (PDT) (envelope-from guido@gvr.org) Received: by gvr.gvr.org (Postfix, from userid 657) id CC97FA85A; Mon, 3 Apr 2000 23:01:31 +0200 (CEST) Date: Mon, 3 Apr 2000 23:01:31 +0200 From: Guido van Rooij To: Arjan de Vet Cc: freebsd-emulation@freebsd.org Subject: Re: Vmware 2.0 / NT4 / 100% system CPU time Message-ID: <20000403230131.A16168@gvr.gvr.org> References: <20000403150934.A11399@adv.iae.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <20000403150934.A11399@adv.iae.nl>; from Arjan de Vet on Mon, Apr 03, 2000 at 03:09:34PM +0200 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, Apr 03, 2000 at 03:09:34PM +0200, Arjan de Vet wrote: > > This works OK except for the fact that when doing nothing in the virtual > PC (according to NT perf.mon.) it uses 98-100% system CPU time and using > truss I only see this being repeated all the time at an enormous speed: This did not happen a couple of months ago. > > syscall linux_newselect(0x15,0xbfbff474,0x0,0x0,0xbfbff468) > returns 0 (0x0) > syscall linux_ioctl(0xa,0xcb,0xbfbff540) > returns 311 (0x137) > syscall gettimeofday(0xbfbff4e8,0x0) > returns 0 (0x0) > syscall linux_newselect(0x15,0xbfbff474,0x0,0x0,0xbfbff468) > returns 0 (0x0) > syscall linux_ioctl(0xa,0xcb,0xbfbff540) > returns 311 (0x137) > syscall gettimeofday(0xbfbff4e8,0x0) > returns 0 (0x0) > This ioctl is defined in vmmon: /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/include/iocontrols.h and seems to be IOCTLCMD_RUN. This seems to be the main interface from VMware towards the vmmon module. It strikes me as odd though that it has to be called 20+ times a second. I am sure that it didn't use to be that way.... If Sam is listening: is this caused by a difference between vmware 1.2 and 2.0? -Guido To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message