Re: Achievable latency with USB I/O and RT_PREEMPT?

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

 



Hi,

On 16.07.2014 08:11, Koehrer Mathias (ETAS/ESW5) wrote:
> Hi all,
> 
> we are running RT_PREEMPT on a standard x86 PC which works really fine.
> Our I/O is so far mainly done via PCI/PCIe boards which works fine as well.
> Now there is an idea to do some special I/O using USB (2.0) microcontrollers (e.g. something like the Arduino Lenorado - AVR ATmega32U4) that are connected to the PC.
> The requirement is that we are able to transfer data (about 40 byte per direction) between the PC and the microcontroller once per millisecond.
> Might this be achievable?

Transferring 40B/s isn't much of a problem for USB. The question is how
sensitive is your application in terms of delay and jitter. You didn't
specify your RT requirements but from what you wrote, i.e. you've been
happy using PCIe boards, it seems that USB may be not the right
solution. I don't have any precise numbers but there have been a number
studies on this matter, e.g. [1]. The conclusion was more or less that
USB is fine for soft real-time application that can tolerate
delay/jitter in the ms order.

Cheers
Andre

[1] http://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=4757930



> Is there anybody who has experience with this kind of setup?
> What are the typical latencies/jitter on the microcontroller side that are to be expected?
> What effect on the latency/jitter does it have if multiple microcontrollers are connected via an USB hub to the PC?
> 
> Thank you very much for all help on this questions.
> 
> Best regards
> 
> Mathias
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux