Testers wanted (was: Re: [linux-dvb] PATCH for SAA7146 DMA buffer
overflow in budget cards (updated))
Oliver Endriss
o.endriss at gmx.de
Fri Mar 17 08:57:17 CET 2006
Ingo Schneider wrote:
> Hello again !
>
> Here comes a Patch which does the following changes for all ttpci budget
> cards:
> - Issue a warning when more than 80% of the DMA buffer is being used
> (probably due to bad IRQ latency)
> Warnings are limited to the first 100 warnings and after that one
> warning for every 100 buffer overruns.
> - Introduce a new parameter "bufsize" (in k) which increases the default
> DMA buffer of 188k up to 4 MB
> A buffer size of 470k does it for me even at high I/O load conditions.
> - Now the patch doesn't break budget-patch anymore
>
> Signed-off-by: Ingo Schneider <mail at ingo-schneider.de>
>
> Oliver, can you please integrate this patch ?
Sorry for the delay.
This weekend I will do some tests with different buffer settings.
Unfortunately, I can only test Activy GR and old-style Nova hardware
(budget driver).
I'd appreciate if more people would test the patch with different
hardware (budget-ci, budget-av, budget-patch driver).
Please report _any_ problems. Thanks.
Anyway, I still don't like the way buffer warnings are logged.
syslog might be flooded with 100 buffer warnings in worst case.
I will make error logging rate-limited, i.e. no more than one message
every 30 seconds will be logged. The error counter will be cleared after
logging the message. That should be sufficient to detect any problems.
CU
Oliver
--
--------------------------------------------------------
VDR Remote Plugin available at
http://www.escape-edv.de/endriss/vdr/
--------------------------------------------------------
More information about the linux-dvb
mailing list