From owner-freebsd-acpi@FreeBSD.ORG Mon Sep 9 09:05:42 2013 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6C313918 for ; Mon, 9 Sep 2013 09:05:42 +0000 (UTC) (envelope-from moto@kawasaki3.org) Received: from kawasaki3.org (blackpearl.kawasaki3.org [173.230.157.78]) by mx1.freebsd.org (Postfix) with ESMTP id 573122136 for ; Mon, 9 Sep 2013 09:05:41 +0000 (UTC) Received: from localhost (unknown [113.157.198.194]) (Authenticated sender: moto) by kawasaki3.org (Postfix) with ESMTPSA id 719561CEA9 for ; Mon, 9 Sep 2013 05:05:41 -0400 (EDT) Date: Mon, 09 Sep 2013 18:05:30 +0900 (JST) Message-Id: <20130909.180530.1288379599737413382.moto@kawasaki3.org> To: freebsd-acpi@FreeBSD.org Subject: Re: Q: how to increase ACPI_MAX_TASKS From: moto kawasaki In-Reply-To: <20130909.155645.230313738831521270.hrs@allbsd.org> References: <20130909.151806.1420591981150797795.moto@kawasaki3.org> <20130909.155645.230313738831521270.hrs@allbsd.org> X-Mailer: Mew version 6.5 on Emacs 24.3.50 / Mule 6.0 (HANACHIRUSATO) X-Face: )._4~w!_D$r6qNS0+; nS|]WNeI4f3o)QnH[ItB[esXuc$~hQ$.,?}$SnLe/[24Hao%^q/Is 'SJtZe#21h;7z;q+iyj[^%7\46.Gg-t7.px<}L-f_:P+6i4-a{DIL[ Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 09:05:42 -0000 Dear hrs, Thank you very much for your quick and kind response as usual. Suggested setting in loader.conf works perfect for me. I cannot thank you enough!! Best Regards, -- moto kawasaki 090-2464-8454 hrs> mo> ===== hrs> mo> /* hrs> mo> * Allow the user to tune the maximum number of tasks we may enqueue. hrs> mo> */ hrs> mo> static int acpi_max_tasks = ACPI_MAX_TASKS; hrs> mo> TUNABLE_INT("debug.acpi.max_tasks", &acpi_max_tasks); hrs> mo> ===== hrs> mo> hrs> mo> But, I cannot write this sysctl tunable. That is "unknown oid". hrs> hrs> "TUNABLE_INT" defines a loader tunable, not a sysctl variable. To hrs> set the value, you need to enter the following line in the loader(8) hrs> prompt or put it into /boot/loader.conf: hrs> hrs> debug.acpi.max_tasks=32 hrs> mo> (6) If I have to re-compile the GENERIC kernel, where should I define hrs> mo> ACPI_MAX_TASKS ? /etc/make.conf? kernel configuration file? or hrs> mo> acpivar.h ? hrs> hrs> A kernel configuration file can include this option. The following hrs> should also work: hrs> hrs> options ACPI_MAX_TASKS=32