From owner-freebsd-acpi@FreeBSD.ORG Mon Sep 9 06:57:12 2013 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E4CACE60 for ; Mon, 9 Sep 2013 06:57:12 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper.allbsd.org [IPv6:2001:2f0:104:e001::32]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6755D2A3E for ; Mon, 9 Sep 2013 06:57:12 +0000 (UTC) Received: from alph.d.allbsd.org (p2049-ipbf1102funabasi.chiba.ocn.ne.jp [122.26.101.49]) (authenticated bits=128) by mail.allbsd.org (8.14.5/8.14.5) with ESMTP id r896usAd080260 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 9 Sep 2013 15:57:04 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) (authenticated bits=0) by alph.d.allbsd.org (8.14.5/8.14.5) with ESMTP id r896uqdt055461; Mon, 9 Sep 2013 15:56:54 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Mon, 09 Sep 2013 15:56:45 +0900 (JST) Message-Id: <20130909.155645.230313738831521270.hrs@allbsd.org> To: moto@kawasaki3.org Subject: Re: Q: how to increase ACPI_MAX_TASKS From: Hiroki Sato In-Reply-To: <20130909.151806.1420591981150797795.moto@kawasaki3.org> References: <20130909.151806.1420591981150797795.moto@kawasaki3.org> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.5 on Emacs 24.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Mon_Sep__9_15_56_45_2013_091)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.4 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (mail.allbsd.org [133.31.130.32]); Mon, 09 Sep 2013 15:57:04 +0900 (JST) X-Spam-Status: No, score=-90.4 required=13.0 tests=CONTENT_TYPE_PRESENT, DIRECTOCNDYN,DYN_PBL,QENCPTR1,RCVD_IN_PBL,SPF_SOFTFAIL,USER_IN_WHITELIST autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on gatekeeper.allbsd.org Cc: freebsd-acpi@FreeBSD.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Sep 2013 06:57:13 -0000 ----Security_Multipart(Mon_Sep__9_15_56_45_2013_091)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit moto kawasaki wrote in <20130909.151806.1420591981150797795.moto@kawasaki3.org>: mo> ===== mo> /* mo> * Allow the user to tune the maximum number of tasks we may enqueue. mo> */ mo> static int acpi_max_tasks = ACPI_MAX_TASKS; mo> TUNABLE_INT("debug.acpi.max_tasks", &acpi_max_tasks); mo> ===== mo> mo> But, I cannot write this sysctl tunable. That is "unknown oid". "TUNABLE_INT" defines a loader tunable, not a sysctl variable. To set the value, you need to enter the following line in the loader(8) prompt or put it into /boot/loader.conf: debug.acpi.max_tasks=32 mo> (6) If I have to re-compile the GENERIC kernel, where should I define mo> ACPI_MAX_TASKS ? /etc/make.conf? kernel configuration file? or mo> acpivar.h ? A kernel configuration file can include this option. The following should also work: options ACPI_MAX_TASKS=32 -- Hiroki ----Security_Multipart(Mon_Sep__9_15_56_45_2013_091)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (FreeBSD) iEYEABECAAYFAlItcS0ACgkQTyzT2CeTzy1EpACfar1EQeHqiDs18lJx9dJKmEDc yqoAn3NzMasIAeiLGdag0r5HzOTGtUiy =fUcE -----END PGP SIGNATURE----- ----Security_Multipart(Mon_Sep__9_15_56_45_2013_091)----