Date: Mon, 20 Dec 1999 12:43:23 +0900 From: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp> To: vsilyaev@mindspring.com Cc: guido@gvr.org, freebsd-emulation@FreeBSD.ORG, dbutter@wireless.net Subject: Re: VMware: Questions... Message-ID: <ybsaen6wa3o.wl@ett.sat.t.u-tokyo.ac.jp> In-Reply-To: In your message of "Sun, 19 Dec 1999 12:20:17 -0500" <19991219122016.A453@jupiter.delta.ny.us> References: <19991218204438.A706@jupiter.delta.ny.us> <19991219174414.A89114@gvr.gvr.org> <19991219122016.A453@jupiter.delta.ny.us>
next in thread | previous in thread | raw e-mail | index | archive | help
At Sun, 19 Dec 1999 12:20:17 -0500, Vladimir N. Silyaev <vsilyaev@mindspring.com> wrote: > > I am seeing the same freezes. I am running NT4 on a virtual drive. > > From time to time, the NT in vmware freezes. The IDE light on the vmware > > screen is off, yet there is a tremendous amount of disk activity > > going on (as seen from iostat or systat -vmstat). I am seeing > > 100 transaction per second. > I fill such freezes with linux as guest, but I never seen any disk activity > in that time. I don't have access to vmware sources or to any other source > of information, so I don't have any thinks about this freezes. This is because mmaped file is written every 30 second by sync daemon. The file is usually named /var/tmp/ram0 but it's unlinked right after opened so you cannot see it by 'ls' although it exits. Fortunately, MAP_NOSYNC is available recently. I use the following patch. It's urgly but simple. Index: linux_misc.c =================================================================== RCS file: /pub/FreeBSD-CVS/src/sys/i386/linux/linux_misc.c,v retrieving revision 1.75 diff -u -r1.75 linux_misc.c --- linux_misc.c 1999/10/29 18:08:45 1.75 +++ linux_misc.c 1999/12/12 09:21:31 @@ -704,6 +704,10 @@ bsd_args.flags |= MAP_FIXED; if (linux_args.flags & LINUX_MAP_ANON) bsd_args.flags |= MAP_ANON; +#if 1 + else + bsd_args.flags |= MAP_NOSYNC; +#endif if (linux_args.flags & LINUX_MAP_GROWSDOWN) { bsd_args.flags |= MAP_STACK; /\ 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ybsaen6wa3o.wl>