Date: Wed, 8 Aug 2012 17:23:36 +0000 From: "Moore, Robert" <robert.moore@intel.com> To: Sean Bruno <seanbru@yahoo-inc.com>, John Baldwin <jhb@freebsd.org> Cc: "freebsd-acpi@freebsd.org" <freebsd-acpi@freebsd.org> Subject: RE: Time to increase MAX_TASKS? Message-ID: <94F2FBAB4432B54E8AACC7DFDE6C92E346B49703@ORSMSX101.amr.corp.intel.com> In-Reply-To: <1344445163.2813.2.camel@powernoodle.corp.yahoo.com> References: <1342730963.2656.5.camel@powernoodle.corp.yahoo.com> <201208071730.52899.jhb@freebsd.org> <1344382269.18854.22.camel@powernoodle.corp.yahoo.com> <201208080725.24199.jhb@freebsd.org> <1344445163.2813.2.camel@powernoodle.corp.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Just FYI, we've seen the AcpiOsExecute task Q get very large if
There is a GPE flood that results in many, many notify operations.
And in these cases, it was always related to the EC (Embedded Controller).
Bob
> -----Original Message-----
> From: owner-freebsd-acpi@freebsd.org [mailto:owner-freebsd-
> acpi@freebsd.org] On Behalf Of Sean Bruno
> Sent: Wednesday, August 08, 2012 9:59 AM
> To: John Baldwin
> Cc: freebsd-acpi@freebsd.org
> Subject: Re: Time to increase MAX_TASKS?
>
> On Wed, 2012-08-08 at 04:25 -0700, John Baldwin wrote:
> > I meant that with the limit jacked up to something that silences the
> > warning (such as 128), what is the max number of tasks queued?
> >
> >
>
> I set debug.acpi.max_tasks=128 and added a temp log message to
> acpi_task_enqueue(). I see the system request *98* tasks according to
> my test on this new Dell box. Is it possible that the queue really
> isn't running yet or something?
>
> <snip>
> AcpiOsExecute: acpi_task_count(98), acpi_max_tasks(128) max_threads(3)
> <snip>
>
>
> code modified to generate log message:
>
> for (at = NULL, i = 0; i < acpi_max_tasks; i++)
> if (atomic_cmpset_int(&acpi_tasks[i].at_flag, ACPI_TASK_FREE,
> ACPI_TASK_USED)) {
> at = &acpi_tasks[i];
> acpi_task_count++;
> if (acpi_task_count > 63)
> printf("AcpiOsExecute: acpi_task_count(%d),
> acpi_max_tasks(%d) max_threads(%d)\n",
> acpi_task_count, acpi_max_tasks,
> acpi_max_threads);
> break;
> }
>
> _______________________________________________
> freebsd-acpi@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
> To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?94F2FBAB4432B54E8AACC7DFDE6C92E346B49703>
