<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to RPI can system operation like rm in a shell have an impact on a Task cycle time</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/51539029f3/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/51539029f3/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/51539029f3/</id><updated>2024-09-27T10:30:28.476000Z</updated><subtitle>Recent posts to RPI can system operation like rm in a shell have an impact on a Task cycle time</subtitle><entry><title>RPI can system operation like rm in a shell have an impact on a Task cycle time</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/51539029f3/?limit=25#0db8" rel="alternate"/><published>2024-09-27T10:30:28.476000Z</published><updated>2024-09-27T10:30:28.476000Z</updated><author><name>DavidBo</name><uri>https://forge.codesys.com/u/davidbo/</uri></author><id>https://forge.codesys.comfae23decc1c7542206388f7353fb26cd1b299784</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;CODESYS Control for Raspberry Pi MC SL v4.4.0.0&lt;br/&gt;
CANopen_Manager 4.2.0.0&lt;br/&gt;
I did not call rm directly from my TASK-i2c, it was trough the attached python script.&lt;br/&gt;
It is not always a problem happens, but sometimes a rm takes a long time.&lt;br/&gt;
I reduced the amount of calls to logi2c.py but I don't understand why TASK-i2c sometimes can cause  problems for TASK-CAN&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>RPI can system operation like rm in a shell have an impact on a Task cycle time</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/51539029f3/?limit=25#aa5a" rel="alternate"/><published>2024-09-27T10:30:22.273000Z</published><updated>2024-09-27T10:30:22.273000Z</updated><author><name>DavidBo</name><uri>https://forge.codesys.com/u/davidbo/</uri></author><id>https://forge.codesys.comcb9a2c0f08ec10031fe53c7ec191285de7029171</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;CODESYS Control for Raspberry Pi MC SL v4.4.0.0&lt;br/&gt;
CANopen_Manager 4.2.0.0&lt;br/&gt;
I did not call rm directly from my TASK-i2c, it was trough the attached python script.&lt;br/&gt;
It is not always a problem happens, but sometimes a rm takes a long time.&lt;br/&gt;
I reduced the amount of calls to logi2c.py but I don't understand why TASK-i2c sometimes can cause  problems for TASK-CAN&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>RPI can system operation like rm in a shell have an impact on a Task cycle time</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/51539029f3/?limit=25#ed59" rel="alternate"/><published>2024-09-23T19:19:27.597000Z</published><updated>2024-09-23T19:19:27.597000Z</updated><author><name>DavidBo</name><uri>https://forge.codesys.com/u/davidbo/</uri></author><id>https://forge.codesys.com12a1cebedc9a4ebcd413da2e665a7066f68ca632</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;3.5 18 SP2&lt;br/&gt;
I think the control is 4.2.0.0. I am not in the office before on Wednesday.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>RPI can system operation like rm in a shell have an impact on a Task cycle time</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/51539029f3/?limit=25#1f8f" rel="alternate"/><published>2024-09-23T18:44:50.114000Z</published><updated>2024-09-23T18:44:50.114000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com2b2521298a9158c3a9b95655fe8ad645668bdf5a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Which version exactly do you use?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>RPI can system operation like rm in a shell have an impact on a Task cycle time</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/51539029f3/?limit=25#57a2" rel="alternate"/><published>2024-09-23T14:49:55.621000Z</published><updated>2024-09-23T14:49:55.621000Z</updated><author><name>DavidBo</name><uri>https://forge.codesys.com/u/davidbo/</uri></author><id>https://forge.codesys.comcb9d1d683e1a6a882714b74f414228656ff4f0bc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have noticed that a rm file1.txt command on a shell has an impact on the cycle time for a TASK writing to file2.txt. Seen in the Monitor fane of the Task configuration&lt;br/&gt;
Furthermore if a TASK makes a system call like rm, its cycle time increases of course but it seems to have an invisible impact on other TASKs too.&lt;br/&gt;
I have a TASK for handling communication over the CANbus (SPI) where it stops sending "Heartbeats" for many seconds when another TASK does a system rm. Why is that not seen on the Monitor fane? Is even codesyscontrol paused when system calls are made?&lt;br/&gt;
The CPU load is about 30-40%&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>