From nobody Sun Oct 15 02:23:28 2023 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S7PDr6SyZz4xYW4 for ; Sun, 15 Oct 2023 02:23:40 +0000 (UTC) (envelope-from paul@redbarn.org) Received: from util.redbarn.org (util.redbarn.org [IPv6:2001:559:8000:cd::222]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "*.redbarn.org", Issuer "RapidSSL Global TLS RSA4096 SHA256 2022 CA1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S7PDq0ZR3z3cK5 for ; Sun, 15 Oct 2023 02:23:39 +0000 (UTC) (envelope-from paul@redbarn.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=redbarn.org header.s=util header.b=MUfas+Z5; spf=pass (mx1.freebsd.org: domain of paul@redbarn.org designates 2001:559:8000:cd::222 as permitted sender) smtp.mailfrom=paul@redbarn.org; dmarc=pass (policy=reject) header.from=redbarn.org Received: from family.redbarn.org (family.redbarn.org [24.104.150.213]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "*.redbarn.org", Issuer "RapidSSL Global TLS RSA4096 SHA256 2022 CA1" (not verified)) by util.redbarn.org (Postfix) with ESMTPS id 3A0D2160B46; Sun, 15 Oct 2023 02:23:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=redbarn.org; s=util; t=1697336610; bh=G+EjX3yGL9E5ZhvMYTZiXah4bUpb2mTh76mTPnuMs9U=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=MUfas+Z5YdZwqCugZxNFW2dIAGzvCYWTs2V27Mf0VuVFdE8KvSK8c8dyxIuXa0A7M sST3lyr+xenDKMDTm7hqVSTqhsGuxJcAxjL3NKWzoqV8mMI6okdjpK5eqojZZd5evx dN4aeqU6yKfJ+OZgCf2Yhp13xYzBOSIGa0Kbytdk= Received: from [24.104.150.186] (dhcp-186.access.rits.tisf.net [24.104.150.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by family.redbarn.org (Postfix) with ESMTPSA id EC076FEBEE; Sun, 15 Oct 2023 02:23:29 +0000 (UTC) Subject: Re: bhyve guests: what clock source to use? To: Sean McBride Cc: FreeBSD virtualization References: <415C25C7-27B1-4706-BD4B-D484E4B6787B@rogue-research.com> From: Paul Vixie Message-ID: <349797f7-e323-04ec-f643-521c27667041@redbarn.org> Date: Sat, 14 Oct 2023 19:23:28 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 PostboxApp/7.0.60 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 In-Reply-To: <415C25C7-27B1-4706-BD4B-D484E4B6787B@rogue-research.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.70 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; DWL_DNSWL_LOW(-1.00)[redbarn.org:dkim]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; DMARC_POLICY_ALLOW(-0.50)[redbarn.org,reject]; R_DKIM_ALLOW(-0.20)[redbarn.org:s=util]; R_SPF_ALLOW(-0.20)[+ip6:2001:559:8000::/48]; RCVD_IN_DNSWL_MED(-0.20)[24.104.150.213:received]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-virtualization@freebsd.org]; FREEFALL_USER(0.00)[paul]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:33651, ipnet:2001:559:8000::/48, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_ALL(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[redbarn.org:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4S7PDq0ZR3z3cK5 in the old days i used to have to hard wire it. now it picks the same value i used to hard code. ntpd encountered chaos with other values. kern.timecounter.hardware: TSC-low i don't know if this has become an urban legend since i last fought it. re: Sean McBride wrote on 2023-10-11 11:28: > Hi all, > > As part of debugging a problem I'm having, I'd like to understand: > > What clock source should bhyve guests use? tsc? hpet? acpi_pm? What are pros/cons of the choices? Does it depend on the guest OS? (for me FreeBSD and Ubuntu) Should it match the host? > > Thanks, > > Sean > -- P Vixie