From owner-freebsd-questions@freebsd.org Tue Aug 16 12:42:40 2016 Return-Path: Delivered-To: freebsd-questions@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 5D0CABBB235 for ; Tue, 16 Aug 2016 12:42:40 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from bede.qeng-ho.org (bede.qeng-ho.org [217.155.128.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "fileserver.home.qeng-ho.org", Issuer "fileserver.home.qeng-ho.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 01A201F06; Tue, 16 Aug 2016 12:42:39 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from arthur.home.qeng-ho.org (arthur.home.qeng-ho.org [172.23.1.2]) by bede.home.qeng-ho.org (8.15.2/8.15.2) with ESMTP id u7GCgUD3023130; Tue, 16 Aug 2016 13:42:31 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Subject: Re: Followup: Losing time like crazy (1s short per 10s) To: Matthew Seaman , freebsd-questions@freebsd.org References: <20160816112002.GA3083@hephaistos.local> <20160816112714.GA1241@hephaistos.local> <20160816113933.GB1241@hephaistos.local> <20160816120454.GD1241@hephaistos.local> From: Arthur Chance Message-ID: <1bd2abf2-0cf6-cb0f-c8ec-c9c73d683ed8@qeng-ho.org> Date: Tue, 16 Aug 2016 13:42:30 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <20160816120454.GD1241@hephaistos.local> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2016 12:42:40 -0000 On 16/08/2016 13:04, Martin S. Weber wrote: > following up to : > > On 2016-08-16 13:39:33, Martin S. Weber wrote: >> On 2016-08-16 12:33:47, Matthew Seaman wrote: >>> Could you open a PR with the information you've included in this mail >>> thread please? >> >> done, #211897. I've included my dmesg and service -e output. > > ..and now my p7 dmesg as well as the p4 one, and a diff between the two, > which highlights two, peculiarities, as Matthew called them: > > -FreeBSD 10.3-RELEASE-p4 #0: Sat May 28 12:23:44 UTC 2016 > +FreeBSD 10.3-RELEASE-p7 #0: Thu Aug 11 18:38:15 UTC 2016 > (...) > -CPU: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz (4000.07-MHz K8-class CPU) > +CPU: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz (4439.49-MHz K8-class CPU) > (...) > -Timecounter "TSC-low" frequency 2000036900 Hz quality 1000 > +Timecounter "TSC-low" frequency 1109872466 Hz quality 1000 > > Not sure which I like better for the culprit, the 4439.49 MHz equals 4.0 Ghz > or the different timecounter frequencies. The former nicely corresponds with > the "10%" of time I lose. For comparison, the same processor under 10.2 (really must find time to upgrade) CPU: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz (3997.77-MHz K8-class CPU) Timecounter "TSC-low" frequency 1998885348 Hz quality 1000 The only thing I can think of is that I don't have turbo mode enabled: dev.cpu.0.freq_levels: 4001/88000 4000/88000 3800/81704 etc... dev.cpu.0.freq: 4000 What does "sysctl dev.cpu.0.freq" show on your machine? -- Schrödinger's cat had 18 half lives.