Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: SkyStar-1, network code and section packing



Hello Johannes,

Wednesday, March 10, 2004, 12:58:15 AM, you wrote:

JS> Denis Fedorishenko wrote:
>> 
>> I have question, maybe anyone can help in that.
>> Many of my customers have SkyStar-1 card (if i am not wrong, full
>> featured card), and they experiencing problem with receiving DVB/IP.
>> 
>> Problem is, when they trying to receive stream, just by setting
>> interface, it is running well at start, but suddently stopping
>> receiving traffic , after while.
>> There is also some feedbacks, that is stopping faster depends
>> of used bandwidth (more bandwidth - more faster it stopped).
>> After setting interface to promisc it is running again, but sure after
>> while stopping again (even if customer leave interface in promisc
>> mode).
>> 
>> In default mode i mean -
>> user: hw_sections = 1
>> encapsulator: section packing turned on (max 100ms delay)
>> 
>> If i disable section packing on encap - it is not making any sense
>> when hw_sections = 1.
>> 
>> Only one way, how i can make customer work good - it is when i turn
>> off section packing, and he turn off hardware sections filter(?)(hw_sections = 0),
>> but on this way i am loosing bandwidth, because of turned off section packing.

JS> What happens with hw_sections=0 and enabled section packing?
Huge packetloss (more 30%).
Btw, we made another test, if i put customer on PID where is also
another customers (overall bandwidth 3-4 Megabit/s), same effect
(hw_sections=0):
Section packing on - packetloss
Without section packing - working well (even in PID, where is another
customers have section packing turned on).

So maybe (but i cannot be sure), with hw_sections = 1 - it is
impossible to use network things (this beam is overall data rate 21
Mbit, but PID is didnt make any sense, this means even on PID
filtering bandwidth limited?).
But strange thing, i had look on old drivers (StartHWFilter):

        u16 mode=0x0320;
        
        if (dvbdmxfilter->type==DMX_TYPE_SEC) {
                buf[4]=(dvbdmxfilter->filter.filter_value[0]<<8)|
                        dvbdmxfilter->filter.filter_mask[0];
                for (i=3; i<18; i++)
                        buf[i+4-2]=(dvbdmxfilter->filter.filter_value[i]<<8)|
                                    dvbdmxfilter->filter.filter_mask[i];
                mode=4;
        } else

and new

        u16 mode=0xb96a;

        DEB_EE(("av7110: %p\n", av7110));

        if (dvbdmxfilter->type == DMX_TYPE_SEC) {
                if (hw_sections) {
                        buf[4] = (dvbdmxfilter->filter.filter_value[0] << 8) |
                                dvbdmxfilter->maskandmode[0];
                        for (i = 3; i < 18; i++)
                                buf[i + 4 - 2] =
                                        (dvbdmxfilter->filter.filter_value[i] << 8) |
                                        dvbdmxfilter->maskandmode[i];
                        mode = 4;
                }
        } else if ((dvbdmxfeed->ts_type & TS_PACKET) &&

If there any problem, it is maybe because of another firmware? Because
it means hw_sections is used on old drivers.

        

JS> The bandwidth of the bus between av7110 and PCI is quite limited
JS> (I don't have exact numbers, but I think 10..15MBit/s). I guess you
JS> are close to that limit, and some insufficient error handling
JS> in the firmware causes the filter to stop when buffers are
JS> filled up with hw_sections=1. It shouldn't happen with
JS> hw_sections=0, though.
This problem happen, even if i assign to user separate PID, and he use
only up to 512 Kbit/s. Thats strange :(
Another thing, again, old firmware(?) working well (except 2.6 kernel
issues, and pc locking issue).

JS> Johannes

Btw. List doesnt setting correct Reply-To: ,thats not good,
automatically reply going to person who send mail to maillist :(


-- 
Best regards,
 Denis                            mailto:nuclearcat@nuclearcat.com



-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index