Re: Ethercat performance
Hi Dubravko,
I think you can do it by passthru the PCIe network adapter to UOS, just like what you did to passthru any other devices. You may further remove those acrn-br0 and tap devices by working on /usr/lib/systemd/network on SOS, but since UOS can have access to the Ethernet device directly, this might not matter.
Best Regards, Zide
From: acrn-users@... <acrn-users@...>
On Behalf Of Dubravko Moravski | Exor Embedded S.r.l.
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?
From:
acrn-users@... <acrn-users@...> on behalf of Dubravko Moravski | Exor Embedded S.r.l. via Lists.Projectacrn.Org <dubravko.moravski=exorembedded.net@...>
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.
|
||||||||||||||||||||||||||||
|