From owner-freebsd-questions Thu Nov 1 2:11:10 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by hub.freebsd.org (Postfix) with ESMTP id 8749C37B403 for ; Thu, 1 Nov 2001 02:11:06 -0800 (PST) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Thu, 1 Nov 2001 10:11:01 +0000 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 15zEoH-0001tM-00; Thu, 01 Nov 2001 10:10:53 +0000 Date: Thu, 1 Nov 2001 10:10:53 +0000 (GMT) From: Jan Grant X-X-Sender: To: freebsd-questions Subject: 4-STABLE, vmware2 delaying fsync indefinitely? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Recently the behaviour of vmware on my 4-STABLE machine has altered; I'm not sure if this classes as a bug or not, so I'm soliciting opinions. Symptoms: vmware runs as normal. (I've got WinNT under it.) These days, vmware2-2.0.3.799_1 will exit immediately if I suspend and exit the program (prior to _1, it synced status to disk). However, I was slightly concerned when I came to shut down FreeBSD; the external drive (which the VMWare virtual disk occupies) went into several minutes of activity at the point where it was being unmounted. This seemed odd; I've since done a bit of experimenting and the activity can be triggered after exiting vmware (at pretty much an arbitrary length of time) by fsyncing * in the vmware external directory. There's quite a bit of memory in this machine (378MB) - my question is this: is this a late flushing of mmapped pages marked dirty, or does this behavior occur even if the pages were not touched? - And shouldn't those pages (if dirty) be flushed to disk in a "reasonable" amount of time*, rather than hanging around for (in one case) two weeks? Cheers, jan * sync(2) doesn't cause the flush; fsync(1 or 2) will. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk Whenever I see a dog salivate I get an insatiable urge to ring a bell. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message