So, if I understand correctly, I need to use the realtime-lsm module and to do that I need a kernel compiled with the right security options. Right?
Yes.
How about
CONFIG_SECURITY_CAPABILITIES=y
In stead of compiling it as a module?
No. Please RTFM:
Ok;( thanks for pointing it out, I have not found this doc yet
Cheers
http://cvs.sourceforge.net/viewcvs.py/realtime-lsm/realtime-lsm/INSTALL?rev=... &view=auto
Ciao
Frank Barknecht _ ______footils.org__
Hallo, chun lee hat gesagt: // chun lee wrote:
No. Please RTFM:
Ok;( thanks for pointing it out, I have not found this doc yet
No problem. As I thought, there seems to be a portage for Gentoo, too: http://gentoo-portage.com/sys-apps/realtime-lsm
Frank Barknecht _ ______footils.org__
Frank Barknecht wrote:
As I thought, there seems to be a portage for Gentoo, too: http://gentoo-portage.com/sys-apps/realtime-lsm
Just have to pipe up and say three cheers for realtime-lsm. It was a very quick setup on my Gentoo Shuttle PC last night, and the got the latency of my PCI HDSP on that box down from a hideous 4096 frames per period to a wonderful 512 with "almost zero" Xruns. Huzzah! Alongside latest 2.6.10 "love-sources" [mostly MM patches], it's highly recommended.
I'm initiating it at startup with a "modprobe realtime any=1". This means that any user can get realtime priviledge, which is safe enough on a box off the net. But how risky do you think it is when there's an internet connection involved? For example, on a box left alone, hooked up to the web as part of an installation somewhere? You'd probably want to specify a Group or User ID of PD + Jack in that case, right?
d.
Hallo, derek holzer hat gesagt: // derek holzer wrote:
Frank Barknecht wrote:
As I thought, there seems to be a portage for Gentoo, too: http://gentoo-portage.com/sys-apps/realtime-lsm
Just have to pipe up and say three cheers for realtime-lsm. It was a very quick setup on my Gentoo Shuttle PC last night, and the got the latency of my PCI HDSP on that box down from a hideous 4096 frames per period to a wonderful 512 with "almost zero" Xruns.
Though that is not the gain of the realtime-lsm module: It just allows ordinary users to do things, normally only root is allowed to. It does not give better realtime performance itself. The module has a misleading name, there's not much "realtime" about it.
But great to hear, that 2.6.10 gives better latencies now. I'll try soon. (Is cdrecord working again? ;)
Frank Barknecht _ ______footils.org__
Hey Frank,
Frank Barknecht wrote:
Hallo, derek holzer hat gesagt: // derek holzer wrote:
Frank Barknecht wrote:
Just have to pipe up and say three cheers for realtime-lsm. It was a very quick setup on my Gentoo Shuttle PC last night, and the got the latency of my PCI HDSP on that box down from a hideous 4096 frames per period to a wonderful 512 with "almost zero" Xruns.
Though that is not the gain of the realtime-lsm module: It just allows ordinary users to do things, normally only root is allowed to. It does not give better realtime performance itself. The module has a misleading name, there's not much "realtime" about it.
It is certainly a gain when I haven't been running anything in realtime as non-root since starting with 2.6 kernels!!! But yes, I am aware that the advantage is built into JACK, and not the realtime-lsm module itself. It's just that I can access it better now. Yippee.
But great to hear, that 2.6.10 gives better latencies now.
I was hoping to graft Ingo Molnar's RT patch into the "love-sources" patches, but maybe my knowledge of patching and ebuilds are not up to scratch, because I kept getting "Omitted Patch" errors when emerging my frankenstein love-sources. Anybody 'round here an ebuild wizard that could walk me through it?
(Is cdrecord working again? ;)
Oh yeah, haven't checked that yet. I just run it as root, but I remember there was a permissions thing you could do somewhere or another. Bit of a pain however ;-)
d.
On Sun, 26 Dec 2004 12:51:04 +0100, derek holzer derek@x-i.net wrote:
Hey Frank,
I was hoping to graft Ingo Molnar's RT patch into the "love-sources" patches, but maybe my knowledge of patching and ebuilds are not up to scratch, because I kept getting "Omitted Patch" errors when emerging my frankenstein love-sources. Anybody 'round here an ebuild wizard that could walk me through it?
Derek, yesterdy I patched the mm-sources (2.6.10-rc3-r1) [emerge mm-sources] with Ingo's realtime patch found here:
http://people.redhat.com/mingo/realtime-preempt/
If you do your emerge, and then download this patch into the newly created directory in /usr/src. do a:
patch -p1 < 'name of patch'
it should work. from here you have to enable the realtime stuff in the config (which of course I have written down somewhere, but i remeber it being easy enough to find). Mail me if this doesnt work for you. I am not an ebuild genious (just moved from ccrma to gentoo) but so far I like how things work under gentoo.
The patching went great and so far I have had a pretty solid day or so. No hard core sound testing but its nice to finally get a realtime patch to take. You may also want to look at the vivid-sources as I think they were adding ingo's patch.
m.