Gentoo Archives: gentoo-user

From: Matt Garman <garman@××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] bad jack(?) performance
Date: Fri, 14 Oct 2005 18:27:18
Message-Id: 20051014182044.GB26240@raw-sewage.net
In Reply to: Re: [gentoo-user] bad jack(?) performance by Mark Knecht
1 On Thu, Oct 13, 2005 at 05:06:22AM -0700, Mark Knecht wrote:
2 > The first one is easy. Try some different Jack settings. Instead
3 > of 128/2 try 64/4, or 128/3, etc., and see if some other setting
4 > works. You might get the same latency, or you might have to go a
5 > bit slower. The only time I actually use low latency is when
6 > recording. It's never needed for playback only. Most of the time I
7 > run 512/2 just to ensure no xruns causing clicks in my work.
8
9 I haven't had a chance to try that yet, but still I wonder: why
10 should I have to tweak jack's settings, if 128/2 worked fine for
11 root?
12
13 > On my 32-bit machines I've always been able to run Jack the
14 > standard Gentoo-sources kernel and get good realtime results. I
15 > have had to be careful about what options I choose, and on a
16 > couple of machines different kernel options have caused xruns
17 > (such as networking) but I've always managed to get it to work and
18 > work well. Sometimes it has taken some time, but it has worked.
19 > Maybe we need to look at how you are configuring the kernel.
20 > Possibly send your config file off list or I'll send you one of
21 > mine.
22
23 Ehhh, that scares me a bit (the thought that random kernel options
24 can affect Jack performance)! My kernel config is fairly custom, as
25 I went through each option one-by-one and (at least tried to) set it
26 most appropriately for my hardware.
27
28 But I'm still hung up on the fact that things work as expected as
29 root, but automatically get "nice'ed" as a regular user.
30
31 > and I would have to manage updates on our own. That said, this is
32 > the way most people interested in good realtime performance have
33 > gone. Maybe I've just been excessively lucky up until now.
34
35 And at this point I'm not too interested in that good of realtime
36 performance, though I will in the future (see below).
37
38 > It's probably worth it to review how you've set up realtime-lsm
39 > one more time, just in case, and possibly to look at your hardware
40 > setup a bit.
41
42 I agree, as I alluded to above, I'm thinking it might be a
43 permissions/setup issue.
44
45 > lspci
46
47 0000:00:00.0 Host bridge: nVidia Corporation nForce2 AGP (different version?) (rev c1)
48 0000:00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 1 (rev c1)
49 0000:00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev c1)
50 0000:00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev c1)
51 0000:00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev c1)
52 0000:00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev c1)
53 0000:00:01.0 ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev a4)
54 0000:00:01.1 SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev a2)
55 0000:00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
56 0000:00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
57 0000:00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
58 0000:00:05.0 Multimedia audio controller: nVidia Corporation nForce Audio Processing Unit (rev a2)
59 0000:00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio Controler (MCP) (rev a1)
60 0000:00:08.0 PCI bridge: nVidia Corporation nForce2 External PCI Bridge (rev a3)
61 0000:00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2)
62 0000:00:0c.0 PCI bridge: nVidia Corporation nForce2 PCI Bridge (rev a3)
63 0000:00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1)
64 0000:01:0a.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1010 Ultra3 SCSI Adapter (rev 01)
65 0000:01:0a.1 SCSI storage controller: LSI Logic / Symbios Logic 53c1010 Ultra3 SCSI Adapter (rev 01)
66 0000:02:01.0 Ethernet controller: 3Com Corporation 3C920B-EMB Integrated Fast Ethernet Controller [Tornado] (rev 40)
67 0000:03:00.0 VGA compatible controller: nVidia Corporation NV28 [GeForce4 Ti 4200 AGP 8x] (rev a1)
68
69 > lsmod
70
71 Module Size Used by
72 realtime 7752 0
73 parport_pc 31812 1
74 lp 8260 0
75 parport 20992 2 parport_pc,lp
76 usblp 11072 0
77 uhci_hcd 29200 0
78 ehci_hcd 27272 0
79 ohci_hcd 16584 0
80 nvidia_agp 5916 1
81 snd_pcm_oss 48288 0
82 snd_mixer_oss 17664 1 snd_pcm_oss
83 snd_intel8x0 28032 3
84 snd_ac97_codec 72192 1 snd_intel8x0
85 snd_pcm 81352 5 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
86 snd_timer 21700 1 snd_pcm
87 snd 45156 10 snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
88 soundcore 7776 1 snd
89 snd_page_alloc 7620 2 snd_intel8x0,snd_pcm
90 w83l785ts 5716 0
91 asb100 21908 0
92 i2c_sensor 2944 2 w83l785ts,asb100
93 i2c_nforce2 5504 0
94 i2c_isa 1728 0
95 i2c_dev 8064 0
96 i2c_core 18512 6 w83l785ts,asb100,i2c_sensor,i2c_nforce2,i2c_isa,i2c_dev
97 nvidia 3707080 12
98 agpgart 28648 2 nvidia_agp,nvidia
99
100 > cat /proc/asound/cards
101
102 0 [nForce2 ]: NFORCE - NVidia nForce2
103 NVidia nForce2 with ALC650F at 0xe2083000, irq 21
104
105 > What audio stuff are you going to use this machine for, BTW?
106
107 Right now, I just want multiplexing of audio streams for listening
108 to music/watching movies/hearing sound effects---typical "desktop
109 stuff" where more than one audio stream would be nice.
110
111 I'm starting to think that maybe jack+realtime is way overkill for
112 what I need... Though, in the future, I intend to build an amatuer
113 recording studio in my home, and I'd like to use Linux and OSS apps
114 as my multi-tracking software and drum machine. So I thought it
115 would be nice to learn jack now :)
116
117 Anyway, thank you very much for all you help! It is very much
118 appreciated.
119
120 Matt
121
122 --
123 Matt Garman
124 email at: http://raw-sewage.net/index.php?file=email
125 --
126 gentoo-user@g.o mailing list