From owner-freebsd-questions@freebsd.org Tue Aug 9 15:03:51 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 77D53BB441F; Tue, 9 Aug 2016 15:03:51 +0000 (UTC) (envelope-from solene@perso.pw) Received: from bsd.zplay.eu (perso.pw [62.210.240.224]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "bsd.zplay.eu", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A1D6912E7; Tue, 9 Aug 2016 15:03:49 +0000 (UTC) (envelope-from solene@perso.pw) Received: from bsd.zplay.eu (localhost [127.0.0.1]) by bsd.zplay.eu (OpenSMTPD) with ESMTP id fdccff01; Tue, 9 Aug 2016 17:03:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=perso.pw; h=to:subject :mime-version:content-type:content-transfer-encoding:date:from :cc:in-reply-to:references:message-id; s=selector1; bh=PoxOtj/G/ vV3+QNkFFVIWOaJCFM=; b=IcCfQGWx8QpCCmup+b1UeUfAimyWIhTAJTrXOz1sN I+omkzcyHQvdl0VNBCuqr8DXv0gPrmNyh9fF3gNGFO7r56Rf1mg4Y5yJZLzICWKK YgAgmxOzxA64OsOxyIRkDFPFyaYTrVR8Ty5ey8sUK/pXQzEXHpdSRvasy39KCRd9 uU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=perso.pw; h=to:subject :mime-version:content-type:content-transfer-encoding:date:from :cc:in-reply-to:references:message-id; q=dns; s=selector1; b=pbM 9CWv9MtDZk2un0Vgg/oxhX72NOlcf/62V+/+J+7ScuHl/Uo/yBs9PeIvsTa8FBph UY6DnJf7k05U8FDsIsWdx+LCo8tuEOL+C/TAy0K+uhy9CtBJFji/RLLW1rScjq3R Co4zVNUJHsbKbkWVhBWw1hplPXMpXysgYaL0pRV8= Received: from localhost (bsd.zplay.eu [local]) by bsd.zplay.eu (OpenSMTPD) with ESMTPA id dbbce7df; Tue, 9 Aug 2016 17:03:36 +0200 (CEST) To: Aleksander Alekseev Subject: Re: Power consumption tuning X-PHP-Originating-Script: 0:rcube.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Tue, 09 Aug 2016 17:03:36 +0200 From: =?UTF-8?Q?Sol=C3=A8ne_Rapenne?= Cc: freebsd-questions@freebsd.org, owner-freebsd-questions@freebsd.org In-Reply-To: <20160809172345.312117ac@e733> References: <20160809172345.312117ac@e733> Message-ID: X-Sender: solene@perso.pw User-Agent: Roundcube Webmail/1.2.0 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, 09 Aug 2016 15:03:51 -0000 Le 2016-08-09 16:23, Aleksander Alekseev a écrit : > Hello. > > I'm exploring how power consumption could be tuned on FreeBSD 11.0. I > discovered a few useful articles, for instance [1]. Also useful pieces > of advice were given on IRC. Resulting list is for now like this: > > * Use lightweight software (i3, GTK based GUI applications, etc), turn > off unused kernel modules, don't use full disc encryption, etc > * Reduce CPU frequency (sysctl dev.cpu.0.freq), use powerd to do it > automatically > * Reduce display brightness (sudo pkg install intel-backlight) > * Enable power save mode on NIC (sudo ifconfig wlan0 powersave) > * Disable unused USB devices (sudo usbconfig -d X.Y power_off) > * Reduce clock frequency (kern.hz = 100) > * Make sure your kernel is built without INVARIANTS and WITNESS > > Perhaps there are other methods I didn't notice? For instance are there > any other sysctl parameters or kernel configuration options worth > trying? > > [1] https://wiki.freebsd.org/TuningPowerConsumption Hello, Buying a device to measure the power consumption is also a good idea, so you can check your changes. It costs around 12€. Example http://www.ecvv.com/product/1000019919.html and better, it can be used to check everything at home after you're done with the computer :D