From owner-freebsd-hackers@freebsd.org Thu Sep 6 00:02:33 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EB220FCE0AC; Thu, 6 Sep 2018 00:02:32 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.not-for.work (onlyone.not-for.work [IPv6:2a01:4f8:201:6350::2]) by mx1.freebsd.org (Postfix) with ESMTP id 8C7D97A874; Thu, 6 Sep 2018 00:02:32 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:8437:602b:8ba:5268]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.not-for.work (Postfix) with ESMTPSA id C7C7BD9F; Thu, 6 Sep 2018 03:02:29 +0300 (MSK) Date: Thu, 6 Sep 2018 03:02:29 +0300 From: Lev Serebryakov Reply-To: Lev Serebryakov Organization: FreeBSD Message-ID: <499689041.20180906030229@serebryakov.spb.ru> To: Benjamin Kaduk CC: Cy Schubert , Eric van Gyzen , FreeBSD Current , "freebsd-hackers@freebsd.org" Subject: Re: Celeron J3160 with enabled Turbo mode stays at 480MHz(lowestsetting) forever and can not lower frequency without Tuebo mode In-Reply-To: <20180905223246.GH73164@kduck.kaduk.org> References: <20180905145219.6593F83F@spqr.komquats.com> <20180905223246.GH73164@kduck.kaduk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2018 00:02:33 -0000 Hello Benjamin, Thursday, September 6, 2018, 1:32:46 AM, you wrote: >> > I don't think you need something accurate. >> Ok, here is results. I'm working in single-user mode. >> >> TL;DR "Turbo" mode make "openssl" much slower (x3.5)! >> >> I can not properly interpret this result. > You need to say more about what openssl is doing (i.e., how it was > configured, what architecture it's on, etc.). In particular, there > was for a time an AVX2 implementation for some primitives, that ended up > being a net loss, since heavy use of those instructions would cause > overheating and throttling. OpenSSL has a lot of custom assembly for these > common primitves, with some logic to select among them both at > configuration time and at runtime, so results such as this may or may not > be widely transferrable. It is system (very fresh ALPHA4) openssl, built with default settings. Simple single run with one thread, without AES-NI: openssl speed aes-256-cbc It is as simple as that. -- Best regards, Lev mailto:lev@FreeBSD.org