<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,<br>
<br>
I have a question related to the generated shell scripts for the
GSN-EDF scheduler plugin which have been created by <i>mktasks.py</i>.
Using <i>mktasks.py </i>to generate tasksets I'm able to select
the number of cores I want this taskset to be genereated with
whereas the generated shell script for this taskset will take
account of all available cores on the machine. For example: I've
created a taskset with two cores, 100 tasks and 50% utilization
and executed it on a machine with four available cores, so the
tasks have been executed on all four cores instead of the desired
number of two. In my case, I would like to only use the number of
cores specified by the key-value-encoding of the current shell
script. Is there a proper way to achieve this? I thought of
enabling/disabling the desired number of cores via <i>'echo {0,1}
> /sys/devices/system/cpu/cpuX/online' </i>before running
the script<i>. </i>I tried this for my little example and
overheads only have been recorded on two cores, but I don't know
if this solution is sufficient for my problem. <br>
</p>
<p>Best regards,<br>
Benjamin<br>
</p>
</body>
</html>