From owner-freebsd-questions@freebsd.org Tue Aug 9 14:39:45 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 6E81CBB4C58 for ; Tue, 9 Aug 2016 14:39:45 +0000 (UTC) (envelope-from afiskon@devzen.ru) Received: from relay11.nicmail.ru (relay11.nicmail.ru [195.208.3.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1939B1D2F for ; Tue, 9 Aug 2016 14:39:43 +0000 (UTC) (envelope-from afiskon@devzen.ru) Received: from [109.70.25.215] (port=51208 helo=e733) by f06.mail.nic.ru with esmtp (Exim 5.55) (envelope-from ) id 1bX7xg-000AvR-33 for freebsd-questions@freebsd.org; Tue, 09 Aug 2016 17:24:56 +0300 Received: from [93.174.131.138] (account afiskon@devzen.ru HELO e733) by proxy02.mail.nic.ru (Exim 5.55) with id 1bX7xf-00080z-0Q for freebsd-questions@freebsd.org; Tue, 09 Aug 2016 17:24:55 +0300 Date: Tue, 9 Aug 2016 17:23:45 +0300 From: Aleksander Alekseev To: freebsd-questions@freebsd.org Subject: Power consumption tuning Message-ID: <20160809172345.312117ac@e733> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 14:39:45 -0000 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 -- Best regards, Aleksander Alekseev