From owner-freebsd-current@freebsd.org Fri Oct 20 11:46:19 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 40EEBE2FE9A for ; Fri, 20 Oct 2017 11:46:19 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward105o.mail.yandex.net (forward105o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::608]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D665A732CE for ; Fri, 20 Oct 2017 11:46:18 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from mxback4g.mail.yandex.net (mxback4g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:165]) by forward105o.mail.yandex.net (Yandex) with ESMTP id 5502C4443477 for ; Fri, 20 Oct 2017 14:46:06 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback4g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id vo1VevesDi-k6umCYYQ; Fri, 20 Oct 2017 14:46:06 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=passap.ru; s=mail; t=1508499966; bh=vCifIZaMjszvcMoYh7RsQs4MG3pJ61Gyi7XjQhziRyQ=; h=To:From:Subject:Message-ID:Date; b=ZukXnW8+ddajeitAuZp4PQNtGF++aoktnx14CythsI5MIAJ+4+JG1es8CX7euC/AJ Jljutp6pDJC2Wg1JmsuoFnjQ1a9+1sSsfqUqQrZ0h6UoI7tog7ccav/zfnAHz7RuAw kQRSrKEicBK7JWWkIV3rDeBUtshE+bf7CzH0IAck= Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id PX8oEb279d-k5waNQMR; Fri, 20 Oct 2017 14:46:05 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=passap.ru; s=mail; t=1508499965; bh=vCifIZaMjszvcMoYh7RsQs4MG3pJ61Gyi7XjQhziRyQ=; h=To:From:Subject:Message-ID:Date; b=qR2o7wC6dlUugORoOM0dBo4/0m6o8kduDjonxXdEyz0V5KD1hLkzU2i+O6nfSocma FmVGImKMd3ST6OJyWFt7yZmtQF1OoSBvR4nvQmiHiN68nHVO8GXYRVm85Jsy1ClUGW p7EbrT2u6QF3kfQcY56Id+OBm3K059d2qnnnC7ZI= Authentication-Results: smtp1j.mail.yandex.net; dkim=pass header.i=@passap.ru To: freebsd-current@FreeBSD.org From: Boris Samorodov Subject: host, bhyve vm and ntpd Message-ID: <2931f1cc-6574-b58d-4b94-5f77fa5cdb85@passap.ru> Date: Fri, 20 Oct 2017 14:46:05 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Oct 2017 11:46:19 -0000 Hi All, I have got a host: --- bhyve-host% uname -a FreeBSD sm.bsnet 12.0-CURRENT FreeBSD 12.0-CURRENT #3 r322868: Fri Aug 25 05:25:26 MSK 2017 bsam@builder.bsnet:/usr/obj/usr/src/sys/GENERIC-FAST amd64 amd64 --- And a bhyve vm: --- bhyve-vm: uname -a FreeBSD builder.bsnet 12.0-CURRENT FreeBSD 12.0-CURRENT #58 r324782: Fri Oct 20 05:12:17 MSK 2017 bsam@builder.bsnet:/usr/obj/usr/src/sys/PKG64X amd64 amd64 --- The only difference at kernel configs is a colored console. :-) And here I get some weird (is it?) result at the VM (I expect ntpd to be more stable): --- bhyve-vm% for t in `jot 10`; do ntpq -pn; sleep 64; done remote refid st t when poll reach delay offset jitter ============================================================================== XX.XX.XX.1 XX.XX.XX.245 4 u 9 64 3 0.605 -1.202 316.407 XX.XX.XX.1 XX.XX.XX.245 4 u 7 64 7 0.605 -1.202 358.395 *XX.XX.XX.1 XX.XX.XX.245 4 u 5 64 17 0.615 -328.42 181.405 *XX.XX.XX.1 XX.XX.XX.245 4 u 3 64 37 0.615 -328.42 214.868 *XX.XX.XX.1 XX.XX.XX.245 4 u 67 64 37 0.615 -328.42 214.868 *XX.XX.XX.1 XX.XX.XX.245 4 u 63 64 77 0.615 -328.42 268.618 *XX.XX.XX.1 XX.XX.XX.245 4 u 60 64 177 0.615 -328.42 333.175 XX.XX.XX.1 .STEP. 16 u 1910 64 0 0.000 0.000 0.000 XX.XX.XX.1 XX.XX.XX.245 4 u 27 64 1 0.703 -262.63 0.004 XX.XX.XX.1 XX.XX.XX.245 4 u 31 64 1 0.649 -331.43 68.800 --- At the same time host's results are very stable: --- bhyve-host% for t in `jot 10`; do ntpq -pn; sleep 64; done remote refid st t when poll reach delay offset jitter ============================================================================== *XX.XX.XX.1 XX.XX.XX.245 4 u 1 64 1 0.401 0.176 0.106 *XX.XX.XX.1 XX.XX.XX.245 4 u 6 64 3 0.401 0.176 0.459 *XX.XX.XX.1 XX.XX.XX.245 4 u 3 64 7 0.401 0.176 0.940 *XX.XX.XX.1 XX.XX.XX.245 4 u 67 64 7 0.401 0.176 0.940 *XX.XX.XX.1 XX.XX.XX.245 4 u 64 64 17 0.401 0.176 1.566 *XX.XX.XX.1 XX.XX.XX.245 4 u 60 64 37 0.448 1.275 1.739 *XX.XX.XX.1 XX.XX.XX.245 4 u 55 64 77 0.448 1.275 2.365 *XX.XX.XX.1 XX.XX.XX.245 4 u 53 64 177 0.448 1.275 3.110 *XX.XX.XX.1 XX.XX.XX.245 4 u 50 64 377 0.448 1.275 3.929 *XX.XX.XX.1 XX.XX.XX.245 4 u 45 64 377 0.443 8.750 4.722 --- The network is organized via bridge -- host igb and vm tap interfaces are members of one bridge. Are those results expected? Does it smell like a bug? Should I dig furter? -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve