From owner-freebsd-questions@freebsd.org Tue Aug 16 12:58:39 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 8930CBBB9E1 for ; Tue, 16 Aug 2016 12:58:39 +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 2B6421C6A; Tue, 16 Aug 2016 12:58:38 +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 u7GCwaWu023219; Tue, 16 Aug 2016 13:58:36 +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> <1bd2abf2-0cf6-cb0f-c8ec-c9c73d683ed8@qeng-ho.org> <20160816125314.GE1241@hephaistos.local> From: Arthur Chance Message-ID: Date: Tue, 16 Aug 2016 13:58:36 +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: <20160816125314.GE1241@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:58:39 -0000 On 16/08/2016 13:53, Martin S. Weber wrote: > On 2016-08-16 13:42:30, Arthur Chance wrote: >>> (...) >> 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? > > Varies, I'm not punishing the box atm, so it might be 3300, 1300, 1000, ... > > freq_levels is (under a -p4 kernel) > dev.cpu.0.freq_levels: 4001/88000 4000/88000 3800/81704 3500/72258 > 3300/66530 3100/60999 2900/55687 2600/48456 2400/43627 2200/39003 > 1900/32072 1700/27930 1500/23963 1300/20178 1000/15137 800/11779 > > for a p7 freq_levels / freq I'd need to reinstall a known (for me) > bad upgrade again, and reboot, brr Waiting for further suggestions > of data to collect and will do all in one go, when I'm done with > work. So that's one difference, you're running powerd (or equivalent) and my box just sits at 4 GHz. A possible clue for those who know the kernel better than me. -- Schrödinger's cat had 18 half lives.