Hardware pid filters: are they worth it?
Hello,
I am doing some driver work, and the USB device I am working on has hardware pid filter support.
Obviously if I don't implement such support, the kernel will do the pid filtering.
Does anyone have any experience with hardware pid filters, and have they provided any signficant/visible benefit over the kernel pid filter (either from a performance perspective or power consumption)? This is aside from the known benefit that some streams would fit into a full speed USB whereas before you might have required high speed without the hardware pid filter.
It's probably a good thing to implement in general for completeness, but if there isn't any power or performance savings then I'm not sure it's worth my time.
Opinions welcome,
Devin
Signature · 8 lines
Devin J. Heitmueller http://www.devinheitmueller.com AIM: devinheitmueller _______________________________________________ linux-dvb mailing list [email protected] http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Quoted 15 lines · Devin Heitmueller
Hello,
I am doing some driver work, and the USB device I am working on has hardware pid filter support.
Obviously if I don't implement such support, the kernel will do the pid filtering.
Does anyone have any experience with hardware pid filters, and have they provided any signficant/visible benefit over the kernel pid filter (either from a performance perspective or power consumption)? This is aside from the known benefit that some streams would fit into a full speed USB whereas before you might have required high speed without the hardware pid filter.
Quoted 7 lines
It's probably a good thing to implement in general for completeness, but if there isn't any power or performance savings then I'm not sure it's worth my time.
Opinions welcome,
Devin
With the powerful systems around in this day & age, the gain of using hardware PID filters is hardly noticeable.
Then again, you like to tweak things to the ultimate flexibility, and this is a good case for tweaking.
While a system with a single usb2 stick will not be taxed at all by software PID filtering, there might be a slight performance enhancement in a system with 7 or 8 usb2 sticks using hardware PID filters rather than software.
On the other hand, a device with hardware PID filters can be used on a USB1.1 port, which would normally not provide enough bandwidth for full transport using software filtering.
So yes, there is a gain in using hardware PID filters, but 90% of the users would never notice the difference.
-Mike
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Quoted 5 lines · Michael Krufky
With the powerful systems around in this day & age, the gain of using hardware PID filters is hardly noticeable.
Then again, you like to tweak things to the ultimate flexibility, and this is a good case for tweaking.
While that's generally true, with limited resources my time might be better spent finishing the work getting xc5000 tuning time down from 3200ms to 300. :-)
Quoted 11 lines
While a system with a single usb2 stick will not be taxed at all by software PID filtering, there might be a slight performance enhancement in a system with 7 or 8 usb2 sticks using hardware PID filters rather than software.
On the other hand, a device with hardware PID filters can be used on a USB1.1 port, which would normally not provide enough bandwidth for full transport using software filtering.
So yes, there is a gain in using hardware PID filters, but 90% of the users would never notice the difference.
This is entirely consistent with what I thought. Figured there was no harm in soliciting opinions of others though.
Cheers,
Devin
Signature · 8 lines
Devin J. Heitmueller http://www.devinheitmueller.com AIM: devinheitmueller _______________________________________________ linux-dvb mailing list [email protected] http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Hi Devin,
Quoted 4 lines · Devin Heitmueller
Hello,
I am doing some driver work, and the USB device I am working on has hardware pid filter support.
Just in case you didn't see and in case you are using dvb-usb: it is quite simple to add support for a hardware PID filter driven board, you just need to fill in two or three functions and set the capability that this board needs or can do PID filtering.
Otherwise I can only agree to Micheal's comments. Especially having multipe USBs in use it can be useful.
regards,
Patrick.
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Quoted 5 lines · Devin Heitmueller
hardware pid filter support.
Does anyone have any experience with hardware pid filters, and have they provided any signficant/visible benefit over the kernel pid filter (either from a performance perspective or power consumption)?
My opinion: Yes. But then, I've just unearthed a 20-year old portable' PC, and my production' machine is somewhat long in the tooth (if you, well, not *you*, but someone in my area, throws away a machine faster than 200MHz Pentium, and with more than 5 PCI-or-greater slots, I'll happily upgrade)
My software-filtering cards also speak USB, and on my slow machine, the added load both from sending a complete transport stream over USB, then filtering it, takes a noticeable amount of CPU. I can come close to maxing it out with a DVB-T full stream, an internal PCI HD-H.264 stream, and two additional USB multi-radio streams. And at times I've experienced packet loss.
Interestingly, on a faster notebook, a full-TS satellite tuner card via USB does not always give error-free results, for reasons I've not deduced -- but could be related to its use as an end-user machine, while my slow workhorse pretty much exists as a server. Oh, that server has only got 32MB RAM too. Too cheap to upgrade. I am. Yeah.
Quoted 1 line
It's probably a good thing to implement in general for completeness,
I have a device which according to what I've read, requires a simple register flip to enable internal PID filtering, or not. As it's valuable to me, I'm willing to see if I can add part of the code needed to enable hardware filtering too. Not that I can code, but I'm willing. To see. If.
Also, the streams of interest to me do not necessarily fit into USB1 bandwidth -- I'm thinking an 8MHz 256QAM carrier with five or six high-quality SD MPEG-2 videos of dynamic bandwidth, which exceed my USB1 device capabilities.
Quoted 2 lines
but if there isn't any power or performance savings then I'm not sure it's worth my time.
Power savings -- some, as the CPU itself doesn't have to be bogged down tossing bits. Performance savings, for me, significant. Also, for me, can mean the difference between a flawless data stream, and a garbled packet-loss mess.
Also, I experience ``oddness'' in data transfer over USB when I'm trying to do several things at once, so in case of weaknesses of the Linux USB stack, it's good to allow the end-user to avoid stressing it until it's as reliable as, well, um, I dunno, floppy support or something, my opinion...
Quoted 1 line
Opinions welcome,
Sorted.
please ignore. after all, i should've left my current server machine in the pile of e-waste from which I recovered it...
thanks!
barry bouwsma
opinion! i mean, mine! opinion! ignore! mine! drink! girls! fe
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb