Re : [proaudio] : Compile a 2.6.25.4-rt5 kernel (was : 2.6.24.7-rt7 - Big performance improvement) |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
- To: proaudio@xxxxxxxxxxxxxxxxxxx
- Subject: Re : [proaudio] : Compile a 2.6.25.4-rt5 kernel (was : 2.6.24.7-rt7 - Big performance improvement)
- From: Mysth-R <mysthr21@xxxxxxxxx>
- Date: Fri, 6 Jun 2008 10:34:41 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=9UUDlLtKRkaj1AZQzinyyNTJKb7kb7OPjEUPo1WSFtw=; b=HsKAVvt4fathP875J9YvejV5orLIo1nJVxEp1bmycBEpvSc4+8e3kXIsd3XH7Xw8Hp 5hKrX3oEhZKyyUQqLufaznvEs7fta1MUg1tiXEecCx3dTvLfcSfqF2O9MCJzmNBX8t9l 3gkHmvn8ePsxtNCWFrOqnsj3rjyLx0XMX45FY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=aJjxA5ExRfePFMawjAeg4U1GHQwlp7RCzdQSis81wtU80S2m6LyMigEV0x2m0YUVBw heUovT9SU27/oEfHZPNDmXiQjhVGMdHHZzzgLJjg9iiHtLdHwaCLqMMtby/yttscsvVJ mC7y76OX6btWujLmioh1N4aAkhLTm2gayM3rY=
2008/6/6, Reuben Martin <reuben.m@xxxxxxxxx>:
> Back on Thursday 05 June 2008, Mysth-R was like:
>> Hi,
>>
>> Finally I compiled a 2.6.25.4-rt5 without any issues.
>> I have just downloaded the linux-2.6.25.4 kernel and apply the
>> patch-2.6.25.4-rt5 on it.
>> Is there others patches that I could apply to improve the performance of
>> my
>> kernel ?
>> In fact, I can't use a latency (referring to Qjackctl) lower than 16ms
>> (256
>> frames / 3 period / 48000Hz) without cracks in sound.
>> I use jackdmp and freebob on a Intel Core duo 2.
>>
>> Do you have some suggestions ?
>
> Have you checked to see what the priority level is set to for the IRQ-Thread
> assigned to your sound device? If it's not a negative number (something
> like -40 or lower) then all the low latency doesn't amount to much if the
> scheduler doesn't know to give the sound device special priority.
>
> -Reuben
Hi,
Well, I don't know how to check the IRQ-Thread...
I just set the rtirq script for my firewire card :
#####################################################################
#!/bin/sh
#
# Copyright (c) 2004-2007 rncbc aka Rui Nuno Capela.
#
# /etc/conf.d/rtirq
#
# Configuration for IRQ thread tunning,
# for realtime-preempt enabled kernels.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 or later.
#
# IRQ thread service names
# (space separated list, from higher to lower priority).
RTIRQ_NAME_LIST="rtc ohci1394 i8042"
# Highest priority.
RTIRQ_PRIO_HIGH=99
# Priority decrease step.
RTIRQ_PRIO_DECR=5
# Whether to reset all IRQ threads to SCHED_OTHER.
RTIRQ_RESET_ALL=0
# On kernel configurations that support it,
# which services should be NOT threaded
# (space separated list).
RTIRQ_NON_THREADED="rtc ohci1394"
# Process names which will be forced to the
# highest realtime priority range (99-91)
# (space separated list, from highest to lower priority).
# RTIRQ_HIGH_LIST="softirq-timer"
###############################################################
the /etc/init.d/rtirq start script give me :
rtirq.sh: start [rtc] irq=8 pid=346 prio=95: OK.
rtirq.sh: start [ohci1394] irq=19 pid=392 prio=90: OK.
rtirq.sh: start [i8042] irq=1 pid=455 prio=85: OK.
rtirq.sh: start [i8042] irq=12 pid=454 prio=84: OK.
#################################################################
My limits.conf file is set like :
@mysthr2 - rtprio 90
@mysthr2 - nice -5
@mysthr2 - memlock 512000
Can you tell me more about setting the priority level of IRQ-thread please ?
Cheers,
Mysth-R
--
* ***************************************************************************************
* {^_^} Mysth-R {^_^}
* <= Aide Auditive =>
*
* http://myspace.com/mysthr
* http://myspace.com/aideauditive
* http://mysthr.free.fr/Joomla => Site dédié à l'audio sous Fedora/PlanetCCRMA.
* ***************************************************************************************