Development: Driver Performance Optimisations: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
No edit summary
 
m (start sections)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==V4L Driver Performance Optimisations==
In some cases it may be critical to do things really right, so here are just a list of the most important points when working on a DVB driver:


* Don't do heavy work in interrupt context. Use work queues.


==DVB Driver Performance Optimisations==
* Avoid busy-polling.
In some cases it may be critical to do things really right, so here is a list of just the most important points when working on a DVB driver:


* Don't do heavy work in interrupt context. Use work queues.
* Avoid busy-polling.
* Don't use extra-threads unless really necessairy. They are usually avoidable.
* Don't use extra-threads unless really necessairy. They are usually avoidable.

* Don't call the Software Demultiplexer from interrupt context if avoidable.
* Don't call the Software Demultiplexer from interrupt context if avoidable.

[[Category:Development]]

Latest revision as of 03:20, 19 September 2009

V4L Driver Performance Optimisations

DVB Driver Performance Optimisations

In some cases it may be critical to do things really right, so here is a list of just the most important points when working on a DVB driver:

  • Don't do heavy work in interrupt context. Use work queues.
  • Avoid busy-polling.
  • Don't use extra-threads unless really necessairy. They are usually avoidable.
  • Don't call the Software Demultiplexer from interrupt context if avoidable.