Re: Ethercat performance


Dubravko Moravski | Exor Embedded S.r.l. <dubravko.moravski@...>
 

Hello,

We might have figured out one way to get improved network performance in UOS, but after googling and checking ACRN documentation I'm still not sure whether it is actually possible: can we somehow disable (PCIe) network adapter in SOS, so SOS doesn't load the driver and the bridge; then use passthrough feature so that UOS can access the device directly?


Dubravko Moravski
SW engineering
Exor Embedded S.r.l.
p: +38 512455659  m: +38 5915402413
a: Slavonska avenija, 50, Zagreb, Croatia, 10000
w: exorint.com 

 Prima di stampare pensa ai costi ambientali. Please consider the environment before printing this email.

Privacy
From: acrn-users@... <acrn-users@...> on behalf of Dubravko Moravski | Exor Embedded S.r.l. via Lists.Projectacrn.Org <dubravko.moravski=exorembedded.net@...>
Sent: Tuesday, March 24, 2020 4:39 PM
To: acrn-users@... <acrn-users@...>
Subject: [acrn-users] Ethercat performance
 
Hello,

We want to use ACRN to, among other things, "talk" to Ethercat PLCs. Without ACRN, we get latencies of about 500 us. Acceptable latencies are generally below 1 ms. With ACRN (compiled in release mode) and the preempt-rt UOS, we get about 5 ms, which is close to usable, but not quite good enough.

Is there any setting or additional optimization we could turn on, that will get us lower latencies with ACRN?

We already did the cyclictest test, and were satisfied with those results.

When measuring Ethercat, I've also tried running a script recommended to be run before cyclictest, and that didn't help. Also I've tried adjusting bios settings, that also didn't help.


Dubravko Moravski
SW engineering
Exor Embedded S.r.l.
p: +38 512455659  m: +38 5915402413
a: Slavonska avenija, 50, Zagreb, Croatia, 10000
w: exorint.com 

 Prima di stampare pensa ai costi ambientali. Please consider the environment before printing this email.

Privacy

Join acrn-users@lists.projectacrn.org to automatically receive all group messages.