[okl4-developer] How to garanty CPU isolation between cells ?
Robert Wetzel
robert.wetzel at opensynergy.com
Wed Dec 10 20:46:40 EST 2008
hugues.balp at free.fr wrote:
> Hi all,
>
> I wonder if the okl4 micro-kernel can garanty CPU isolation between cells ?
> and if the answer is yes, how ?
__As far as I'm aware__, there is no system partitioning provided by the kernel
itself (yet?) in terms of scheduling. It all comes down to configure the
priorities and timeslices of the respective (main) threads properly to have
a system working in the way you want.
For example, if I read your intentions right, your OK-Linux needs the same
or a higher priority than your decrypt cell. If it is higher (or to be more
specific; The priority of the Linux processes/threads are higher than that
of your decrypt cell), Linux may render your decrypt cell starving.
To sort "priorities" at the same scheduling priority you can configure the
timeslices for each thread, which is by default at 10ms (at least in OKL v2.1),
i.e. that way you can give Linux 67% of the CPU and the decrypt cell the
remaining 33% (assuming there are no other threads running on the same
priority level as these two).
Robert
More information about the Developer
mailing list