Date: Thu, 10 May 2007 15:41:44 -0400 From: Kris Kennaway <kris@obsecurity.org> To: Darren Reed <darrenr@hub.freebsd.org> Cc: Robert Watson <rwatson@FreeBSD.org>, current@freebsd.org Subject: Re: Experiences with 7.0-CURRENT and vmware. Message-ID: <20070510194144.GA66798@xor.obsecurity.org> In-Reply-To: <20070510125445.GA5460@hub.freebsd.org> References: <20070510111326.GA94093@hub.freebsd.org> <20070510132153.A91312@fledge.watson.org> <20070510125445.GA5460@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 10, 2007 at 12:54:45PM +0000, Darren Reed wrote: > On Thu, May 10, 2007 at 01:28:16PM +0100, Robert Watson wrote: > >=20 > > On Thu, 10 May 2007, Darren Reed wrote: > >=20 > > >I'm using FreeBSD 7.0-CURRENT under vmware and there are a few issues. >=20 > Redirecting to current@... >=20 > > >First, time. hint.hw.acpi.disabled=3D"1" This appears to make _no_=20 > > >difference to time keeping on FreeBSD 7 and nor does it seem to have a= ny=20 > > >impact on ACPI being loaded. Do I need to recompile a new kernel with= out=20 > > >it or is there a new way to disable ACPI? > >=20 > > Have you tried hint.acpi.0.disabled=3D1 instead? This is what appears = in=20 > > acpi(4), and is what is used in various existing boot loader bits when = I=20 > > grep around. >=20 > In another reply it was "hint.apic.0.disabled=3D1". > My current loader.conf: >=20 > vm.kmem_size=3D536870912 > vm.kmem_size_max=3D536870912 > unset acpi_load acpi_load=3D"NO" to disable the module > hint.acpi.0.disabled=3D1 > hint.apci.0.disabled=3D1 dunno what apci does :) > hint.acpi.0.disabled=3D"1" This is the one that should work. Can you confirm that you see it in the loader environment by doing 'show'? > hint.apci.0.disabled=3D"1" > vfs.zfs.arc_max=3D402653184 >=20 > Booting with this gives me: > kernel: Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 >=20 > and ACPI enabled. >=20 > > >I should add that FreeBSD 6, with the same setting, is no better and t= hat=20 > > >I need to run ntpdate every 5-10 minutes via crontab in order to keep = good=20 > > >time (timekeeping is *really* bad.) In one instance, i was watching= =20 > > >"zpool iostat 1" and it appeared like the rows were muching up at a ra= te=20 > > >of 2 a second for a minute or so. How do I disable TSC timekeeping? = =20 > > >(NetBSD has this disabled by default in their kernels.) Or is there= =20 > > >somethign else I must do? > >=20 > > kern.timecounter.hardware: ACPI-fast > > kern.timecounter.choice: TSC(800) ACPI-fast(1000) i8254(0) dummy(-10000= 00) > >=20 > > I believe you can simply set kern.timecounter.hardware=3DAPCI-fast and = it=20 > > will do what you expect. An interesting question is why it selects wha= t is=20 > > arguably the wrong one; a post to current@ might help resolve that. >=20 > Hmm. >=20 > # sysctl kern.timecounter.hardware=3D"ACPI-fast" > kern.timecounter.hardware: ACPI-safe > sysctl: kern.timecounter.hardware: Invalid argument kern.timecounter.choice Kris --tThc/1wpZn/ma/RB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGQ3V4Wry0BWjoQKURAmcxAKDokGbqp2OQQfTWiIkwwlRc0B+JdACfVayd cK5I4szF7lewC2xg2LcG3XU= =dA4d -----END PGP SIGNATURE----- --tThc/1wpZn/ma/RB--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070510194144.GA66798>