Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Reading in 188 byte chunks?
Hello!
The API-documentation says that reading from /dev/dvb/adapterX/dvrY is to
be done in 188 byte chunks. On an average stream (4Mbps), this results in
about 2660 system calls per second. Receiving a whole transponder with
27.5Msym/s (that is 55Mbps) results in 36570 syscalls per second. Since
syscalls are expensive operations, this seems to be a pretty big overhead
to me.
Is there any reason _not_ to return all available packets? I'd pretty
much prefer to read(dvrfd,buf,188*100) (in nonblocking mode) and get
all available packets in just one call.
--
Please visit and sign and http://www.ffii.org
-- Josef Wolf -- jw@raven.inka.de --
Home |
Main Index |
Thread Index