All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chuck Ebbert <cebbert@redhat.com>
To: Lee Howard <faxguy@howardsilvan.com>
Cc: Len Brown <lenb@kernel.org>, linux-acpi@vger.kernel.org
Subject: Re: controlling ACPI IRQ routing
Date: Tue, 08 Jan 2008 11:49:05 -0500	[thread overview]
Message-ID: <4783A981.9060003@redhat.com> (raw)
In-Reply-To: <478103EA.6070503@howardsilvan.com>

On 01/06/2008 11:38 AM, Lee Howard wrote:
> Len Brown wrote:
>> On Wednesday 02 January 2008 09:11, Dominique Michel wrote:
>>  
>>> Le Sat, 29 Dec 2007 10:40:20 -0800,
>>> Lee Howard <faxguy@howardsilvan.com> a écrit :
>>>
>>>
>>>    
>>>> # cat /proc/interrupts
>>>>            CPU0        0: 1051464247   IO-APIC-edge      timer
>>>>   1:          8   IO-APIC-edge      i8042
>>>>   8:          0   IO-APIC-edge      rtc
>>>>   9:          0   IO-APIC-fasteoi   acpi
>>>>  12:        104   IO-APIC-edge      i8042
>>>>  14:    9414304   IO-APIC-edge      ide0
>>>>  16: 1051172722   IO-APIC-fasteoi   wct4xxp
>>>>  19:          1   IO-APIC-fasteoi   eth1
>>>>  21:  158008518   IO-APIC-fasteoi   eth0
>>>>  22:    6974044   IO-APIC-fasteoi   libata
>>>>  23:    7071112   IO-APIC-fasteoi   libata
>>>> NMI:          0
>>>> LOC: 1051371544
>>>> ERR:          0
>>>>
>>>>
>>>>       
>>> Based on that, you may want to use rtirq. It is a boot script (need
>>> schedutils
>>> as dependency) with associated config scripts.
>>> http://alsa.opensrc.org/Rtirq
>>>
>>> In /etc/conf.d/rtirq, you will find:
>>>
>>> # IRQ thread service names
>>> # (space separated list, from higher to lower priority).
>>> RTIRQ_NAME_LIST="rtc snd usb i8042"
>>>
>>> The most important things is that the devices listed here doesn't
>>> have any
>>> shared IRQ with some other device and that the rtc remain the first
>>> listed
>>> device (the one with the higer priority), or the system will hang
>>> soon or later.
>>>
>>> This setup is for audio workstation but is very easy to adapt to any
>>> kind of
>>> work.
>>>
>>>     
>>
>> I've got no experience with the thread priority thing above.
>> However, the better way to handle quality of service contention
>> is to not do the things you don't care about.
>>
>> Does the system really need HZ=1000?  you could slow that down to 100,
>> or run CONFIG_NO_HZ to reduce it even more...
>> Also, on a UP, the LAPIC timer interrupt is redundant --
>> you could build your kernel w/o APIC support or boot with nolapic.
>>
>> This would get rid of the only interrupts which are frequent
>> enough to be competing with the device, clock ticks.
> 
> If I boot with nolapic then XT-PIC is used, and the wcfxo device ends up
> sharing an IRQ with libata which results in worse performance than with
> it the way that it is.
> 

Try nolapic_timer ?
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2008-01-08 16:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-27 22:00 controlling ACPI IRQ routing Lee Howard
2007-12-28  4:05 ` Shaohua Li
2007-12-28  5:29   ` Lee Howard
2007-12-28  6:06     ` Shaohua Li
2007-12-29  8:39       ` Len Brown
2007-12-29 18:40         ` Lee Howard
2008-01-02 14:11           ` Dominique Michel
2008-01-05  5:51             ` Len Brown
2008-01-06 16:38               ` Lee Howard
2008-01-08 16:49                 ` Chuck Ebbert [this message]
2008-01-03  0:04       ` Lee Howard
2008-01-05  5:48         ` Len Brown
2008-01-02 23:59   ` Lee Howard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4783A981.9060003@redhat.com \
    --to=cebbert@redhat.com \
    --cc=faxguy@howardsilvan.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.