Installing verity image takes long time when CODESYS is running. #1409
Replies: 1 comment
-
I assume that you're not using streaming via HTTP, right? During installation of a bundle, multiple process may be involved and read from the mounted bundle, so it could be that a tar process is waiting for data and you're not seeing that when strace-ing rauc without You could try You could try How is your kernel configured with regards to You mention that CODESYS is idle in this case, so it's not consuming much CPU time? Does it consume a lot of memory? Perhaps take a look at differences in You could check what CODESYS is doing with |
Beta Was this translation helpful? Give feedback.
-
We have 300 MB large RAUC bundles, which normally installs in 15 seconds from a local file. But recently we observed that it takes over a minute. Someone found out that, if CODESYS runtime was stopped it installed faster.
CODESYS is a PLC programming system, where it is possible to load applications, but I did not even have to load an application, just let CODESYS stand idle.
I tried to install an old version of the RAUC file, before we started to use verity, and it installed in 7 seconds.
I have tried with both lttng and strace to find out what happens. lttng just showed that it ended up in a long lastning kworker session.
Strace gave more information as I got a number of these. It looks like rauc is polling for something
I cannot really se from the strace what the file descriptors are. Actually there were no fd=6
rauc.strace.txt
The poll it self is not found in the Rauc codebase, but must be used from https://gitlab.gnome.org/GNOME/glib/ which is used for the streaming (which I don't do)
Anybody seen a similar behaviour?
Somehow CODESYS and Rauc must be competing on a shared resource.
Beta Was this translation helpful? Give feedback.
All reactions