You can set the pci latency from userspace. See this page for more info:

http://www.mythtv.org/wiki/index.php/PCI_Latency

If you are trying to do it in some automated fashion, there's  
probably a way to convince udev or modprobe.conf to do it somehow.

--Brian Jackson

On Mar 14, 2007, at 7:53 PM, pomidorabelisima wrote:

> 01:23:10 up 3 days, 13:28,..
> 2.6.20.2-el5
>
> with these exeptions:
> i2c_adapter i2c-3: sendbytes: error - bailout.
> msp3400 3-0040: I/O error #0 (read 0x10/0x200)
> ivtv1 warning: CX2341X_DEC_GET_TIMING_INFO took 39
> jiffies (300 per HZ)
> ivtv1 warning: IVTV_IOC_DEC_FLUSH is obsolete!
> NO hangups!
>
> /proc/interrupts:
> 19:  107483889   IO-APIC-fasteoi   ohci1394, ivtv1
> 20:    6869535   IO-APIC-fasteoi   ivtv0, nvidia
>
> lspci:
> Flags: bus master, medium devsel, latency 252, IRQ 20
> Flags: bus master, medium devsel, latency 252, IRQ 19
> 01:07.0 Multimedia video controller: Internext
> Compression Inc iTVC16
> (CX23416) MPEG-2 Encoder (rev 01)
> 01:09.0 Multimedia video controller: Internext
> Compression Inc iTVC15
> MPEG-2 Encoder (rev 01)
>
> /etc/rc.local:
> /sbin/setpci -v -s 01:07.0 latency_timer=ff
> /sbin/setpci -v -s 01:09.0 latency_timer=ff
>
> /usr/src/linux-2.6.20.2/.config:
> CONFIG_HZ_300:
>
> 300 Hz is a good compromise choice allowing server
> performance
>                  while also showing good interactive
> responsiveness even
>                                  on SMP and NUMA
> systems and exactly
> dividing by both PAL and
> NTSC frame rates
> for video and multimedia work.
>
> proposal for more latency tuning, like:
> ivtv
> parm: ivtv_pci_latency:Change the PCI latency to 64 if
> lower: 0 = No, 1
> = Yes, 2 = Max(255)
> Default: Yes (int)
> or even more:
> 0 = No = 32
> 1 = Yes = 64
> 2 = Hihg = 128
> 3 = Max = 255/252/248
>
> /etc/modprobe.conf
> ivtv ivtv_pci_latency=Max
> or
> ivtv ivtv_pci_latency=High,Max(150,350)
> ..something like that
>
>
>
> ______________________________________________________________________ 
> ______________
> Bored stiff? Loosen up...
> Download and play hundreds of games for free on Yahoo! Games.
> http://games.yahoo.com/games/front
>
> _______________________________________________
> ivtv-devel mailing list
> ivtv-devel@ivtvdriver.org
> http://ivtvdriver.org/mailman/listinfo/ivtv-devel


_______________________________________________
ivtv-devel mailing list
ivtv-devel@ivtvdriver.org
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to