You are welcome audiodef !audiodef wrote:I'm going to try this out on my laptop.
aCOSwt wrote: Anyway... Enjoy and... if the ck-sources can help you augmenting http://audiodef.com/albums.php, I'll be happy !
Of course not ! AND Of course yes !audiodef wrote:Do you think ck-sources has any latency advantage over rt-sources?

PaulBredbury wrote:Note that threadirqs works with a non-RT kernel, these days - worth a try.
PaulBredbury wrote:# For a non-RT kernel, use kernel option: threadirqs

Code: Select all
$ zgrep THREADING /proc/config.gz
CONFIG_IRQ_FORCED_THREADING=yCode: Select all
$ ps -eLo rtprio,cls,pid,pri,nice,cmd | grep "FF" | sort -r | head -n 10
- TS 23527 33 0 grep --color=auto FF
99 FF 8 139 - [rcun/0]
90 FF 67 130 - [irq/8-rtc0]
74 FF 26231 114 - [irq/49-nvidia]
72 FF 276 112 - [irq/46-snd_hda_]
70 FF 59 110 - [irq/19-uhci_hcd]
60 FF 64 100 - [irq/1-i8042]
60 FF 63 100 - [irq/12-i8042]
52 FF 681 92 - [irq/47-eth0]
50 FF 61 90 - [irq/18-uhci_hcd]Well... I did not say that CONFIG_IRQ_FORCED_THREADING does not exist. I did say that it is *not* a selectable option.PaulBredbury wrote:Evidence, on 32-bit x86 with PAE:Code: Select all
$ zgrep THREADING /proc/config.gz CONFIG_IRQ_FORCED_THREADING=y
Code: Select all
Symbol: IRQ_FORCED_THREADING [=y]
Type : boolean
Selected by: X86 [=y]Under my 3.5.7-ck, I do not set threadirqs in my boot-commandline and I can readPaulBredbury wrote:Those rtprio values are only visible & settable with the threadirqs boot-commandline option.Code: Select all
$ ps -eLo rtprio,cls,pid,pri,nice,cmd | grep "FF" | sort -r | head -n 10 - TS 23527 33 0 grep --color=auto FF 99 FF 8 139 - [rcun/0] ...
Code: Select all
acoswt@PrimaPratica ~ $ ps -eLo rtprio,cls,pid,pri,nice,cmd | grep "FF" | sort -r | head -n 10
100 FF 10 140 - [migration/1]
100 FF 6 140 - [migration/0]
99 FF 2194 139 - /usr/bin/jackd -P89 -m -dalsa -dhw:3 -r44100 -p256 -n3 -Xseq -P -zs
99 FF 8 139 - [rcun/0]
89 FF 2194 129 - /usr/bin/jackd -P89 -m -dalsa -dhw:3 -r44100 -p256 -n3 -Xseq -P -zs
84 FF 2210 124 - /usr/bin/alsa_in -j cloop -dcloop -q 1
84 FF 2175 124 - /usr/bin/qjackctl
1 FF 12 41 - [rcuc/1]
1 FF 9 41 - [rcub/0]
1 FF 7 41 - [rcuc/0]
Code: Select all
$ ps -eLo rtprio,cls,pid,pri,nice,cmd | grep "irq/" | sort -r | head -n 10
- TS 1973 34 0 grep --color=auto irq/
90 FF 67 130 - [irq/8-rtc0]
74 FF 1676 114 - [irq/49-nvidia]
72 FF 270 112 - [irq/46-snd_hda_]
70 FF 59 110 - [irq/19-uhci_hcd]
60 FF 64 100 - [irq/1-i8042]
60 FF 63 100 - [irq/12-i8042]
52 FF 633 92 - [irq/47-eth0]
50 FF 61 90 - [irq/18-uhci_hcd]
50 FF 60 90 - [irq/16-uhci_hcd]PaulBredbury wrote:You're missing the point.
I just rebooted to check (in kernel 3.5.7), and I get the same as you, with the needed threadirqs...PaulBredbury wrote:I just rebooted to check (in kernel 3.4.17), and I get the same as you, without the needed threadirqs.
Doesn't the OP state that for lowest possible latency, one should use -bfsonly?aCOSwt wrote: Then I suggest 3.4.9 or 3.5.7 +bfsonly
Are you speaking of the troubles met with BCM4313 and the broadcom-sta driver ?audiodef wrote:My laptop needs broadcom-sta, which needs to be compiled against the current kernel. I did so, and that wasn't a problem, but when the module actually loaded, it crashed the kernel.
This is a problem not specific to ck-sources. It happens to other kernels and so far the only solution I know is to use a lower kernel version... unless you have any ideas for the latest ck-sources and broadcom-sta...?
Hrmmm... could you be a little more precise ?audiodef wrote:ck-sources freezes at boot with some message about CPU1 and broadcast mode.
Code: Select all
Switch to broadcast mode on CPU13.6.2aCOSwt wrote:Hrmmm... could you be a little more precise ?audiodef wrote:ck-sources freezes at boot with some message about CPU1 and broadcast mode.
Which version ?
None enabled.aCOSwt wrote: which use flags ?
Straight up kernel /boot/kern.ck root=/dev/sdc3aCOSwt wrote: which boot parameters ?
6aCOSwt wrote: How many cores do you get ?
That's the one!aCOSwt wrote: Some message about CPU1 and broadcast mode... do you mean this message :?Code: Select all
Switch to broadcast mode on CPU1
I didn't wait that long, but definitely nothing was happening after a couple of minutes. I'll let you know what happens when I get a chance to boot into ck-sources and let it sit there for 10 minutes.aCOSwt wrote: Is the freeze definitive or does your system wake-up after a while (3-5 minutes) ?
3.6.2aCOSwt wrote:Hrmmm... could you be a little more precise ?audiodef wrote:ck-sources freezes at boot with some message about CPU1 and broadcast mode.
Which version ?
None enabled.aCOSwt wrote: which use flags ?
Straight up kernel /boot/kern.ck root=/dev/sdc3aCOSwt wrote: which boot parameters ?
6aCOSwt wrote: How many cores do you get ?
That's the one!aCOSwt wrote: Some message about CPU1 and broadcast mode... do you mean this message :?Code: Select all
Switch to broadcast mode on CPU1
I didn't wait that long, but definitely nothing was happening after a couple of minutes. I'll let you know what happens when I get a chance to boot into ck-sources and let it sit there for 10 minutes.aCOSwt wrote: Is the freeze definitive or does your system wake-up after a while (3-5 minutes) ?
Nice!aCOSwt wrote: BTW : I had forgot to mention one big advantage of the ck-sources over other *-sources is that ck-sources are a Gentoo supported kernel !
Which, amongst other things means that... posting bugs on gentoo-bugzilla is welcomed.
That is almost certainly *not* what you want.CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT is not set
With your hexacore, that is almost certainly *not* what you want.# CONFIG_HOTPLUG_CPU is not set
With the ck patches, best performances are with the noop io scheduler. Some like the deadline but definitely not the cfq which only adds a non negligible overhead.CONFIG_IOSCHED_NOOP=y
# CONFIG_IOSCHED_DEADLINE is not set
CONFIG_IOSCHED_CFQ=y
CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="cfq"