From owner-freebsd-emulation Wed Dec 13 17:35:19 2000 From owner-freebsd-emulation@FreeBSD.ORG Wed Dec 13 17:35:17 2000 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from gate.keisu.t.u-tokyo.ac.jp (gate.keisu.t.u-tokyo.ac.jp [133.11.68.1]) by hub.freebsd.org (Postfix) with ESMTP id 63EC237B699 for ; Wed, 13 Dec 2000 17:35:17 -0800 (PST) Received: from sylph.sat.t.u-tokyo.ac.jp (sylph.sat.t.u-tokyo.ac.jp [10.6.1.20]) by gate.keisu.t.u-tokyo.ac.jp (Postfix) with ESMTP id 95BC94129; Thu, 14 Dec 2000 10:35:16 +0900 (JST) Received: from ett.sat.t.u-tokyo.ac.jp (ett.sat.t.u-tokyo.ac.jp [10.6.1.30]) by sylph.sat.t.u-tokyo.ac.jp (Postfix) with ESMTP id CCB392DABD; Thu, 14 Dec 2000 10:35:15 +0900 (JST) Received: from ett.sat.t.u-tokyo.ac.jp by ett.sat.t.u-tokyo.ac.jp (8.9.3/sat-V0.6) id KAA03930; Thu, 14 Dec 2000 10:35:15 +0900 (JST) Date: Thu, 14 Dec 2000 10:35:14 +0900 Message-ID: From: Hidetoshi Shimokawa To: freebsd-emulation@FreeBSD.ORG Cc: barry@lustig.com Subject: Re: VMWare performance when returning from suspend to disk In-Reply-To: <20001212183737.29213.qmail@devious.lustig.com> User-Agent: Wanderlust/2.5.2 (Smooth) REMI/1.14.3 (Matsudai) FLIM/1.13.2 (Kasanui) APEL/10.2 MULE XEmacs/21.2 (beta19) (Shinjuku) (i386-unknown-freebsd3.2) X-Face: OE([KxWyJI0r[R~S/>7ia}SJ)i%a,$-9%7{*yihQk|]gl}2p#"oXmX/fT}Bn7:#j7i14gu$ jgR\S*&C3R/pJX > VMWare running on dual 800Mhz with 512MB RAM runs great, except when I > suspend to disk and then restore that image. When the restored image starts > running, the mouse will move for a few moments and then freeze and then start > moving again. The same behavior happens to window input. During the > freezes, VMWare seems to be doing a lot of I/O. Any thoughts on where to > look? > > Thanks, This is because the restored image is mmaped without MAP_NOSYNC flag. (When you 'power on', the image is mmapped with the flag because the image is unlinked just after mmapped.) Try the patch included in http://home.jp.FreeBSD.ORG/cgi-bin/showmail/FreeBSD-users-jp/55885 /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: finger -l simokawa@sat.t.u-tokyo.ac.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message