Comments (6)
Right. Moving "delay" at task level seems to solve the issue. Still we need to fix the bug.
from rt-app.
I'm not able to reproduce the segfault. Have you tried the latest version ?
"delay" key is not parsed but only ignored when looking for event so not segfault should happen
from rt-app.
Hi,
As I'm not able to reproduce the problem with latest version of rt-app, I consider to close this issue.
Regards,
Vincent
from rt-app.
Hi Vincent, I've just verified that with the current master, using the above agenda the app fails with:
$>./src/rt-app /tmp/test.json
[rt-app] <notice> pLoad = 262ns
[rt-app] <notice> [0] Locking pages in memory
mlockall: Cannot allocate memory
Did not investigated in details, but it seems to me that there are some issue with the JSON parsing.
AFAIU, for SCHED_OTHERS we should not mlockall memory pages... however, the app exit because of permission errors (notice that I'm not running as root this workload)
Thus, to me there is still a sudden bug in JSON processing... at least we fail on reporting an unexpected JSON entry.
from rt-app.
1st, this seems to be a new "bug" as there is no segfault anymore.
Then, you need root permission for locking memory thus the error returns by rt-app but it's not the responsibility of rt-app just like you must be root to set sched_fifo
Finally, mlockall can be used with cfs task and it's even interesting because it prevent your test to be messed by some page fault.
I don't know why the doc mention non CFS task but there is no reason
So I don't see a bug in JSON processing here. At most, update of doc.
So in any case this should be filled in another bug because we are speaking about a different thing
from rt-app.
Running as non root was intentional... but you right, I've just verified that we enforce mlockall by default also for SCHED_OTHER task. Then JSON parsing should be ok.
Let's close this for the time being. Thanks.
from rt-app.
Related Issues (20)
- continue_running confused someone, signal handler behaviour is undefined HOT 7
- sequence of 'phases' object in rt-app config is undefined - should use an array instead? HOT 5
- Looks like this question is still valid and unanswered. :-)
- Merge GRUB reclaiming
- RTapp fails to run with the right runtime when given a float
- mlockall always applied by default without graceful failure
- rt-app ignores invalid task names
- rtapp execution gives unreliable actual duty cycle HOT 21
- generated gnuplot plot file is wrong
- Python 3 compatibility HOT 2
- Create hackbench workload with rt-app
- Print in the log file the core used HOT 1
- broken examples HOT 2
- impossible to reset uclamp
- Change in uclamp fails if not accompanied by policy
- uclamp and taskgroup mix issue
- Asymmetrical treatment of "priority" and "policy"
- error with ftrace examples HOT 1
- This isn't an issue rather a question HOT 2
- usage: rt-app <taskset.json> HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rt-app.