We’re developing an application under DM3730 Torpedo Module with the Linux
3.0 kernel that reads data from a USB based board (class ACM) at a rate of
200.000 bytes/second. We've observed that a 'kworker' thread consumes many
CPU and we are looking which are the possibilities to optimize the code. One
of the things we want to improve is communication process, so we’d like to
ask you some questions:
- Do you know if linux use DMA to receive/send data from/to a USB device? If
so how can we activate it?
- The memory reserved for DMA buffers could be increased using a linux
parameter?
- Any other suggestion to reduce the consume of CPU? Could be possible to
make DSP to carry directly this task? Could you send us some information
(some doc, example project, DSP driver, etc… ) that can help us?
Thank you and best regards