[LITMUS^RT] Using Linux cgroup in LITMUS-RT

Björn Brandenburg bbb at mpi-sws.org
Sun Mar 22 15:53:16 CET 2015


On 22 Mar 2015, at 13:33, Namhoon Kim <namhoonk at cs.unc.edu> wrote:
> 
> Hi,
> 
> There was a paper at RTAS 2014 on bank-aware memory allocation (PALLOC). I'm trying to use PALLOC memory allocator in LITMUS-RT. PALLOC uses CGROUP interface in Linux, so we need to create a CGROUP partition and assign cpus, mem nodes, and memory banks to the partition to invoke their bank-aware memory allocation. Does LITMUS-RT support Linux CGROUP? Can we run LITMUS-RT tasks within a CGROUP partition?  (e.g., available cpus for global scheduler) The installation instruction page on LITMUS-RT wiki says we should disable support for group scheduling. Does it mean that we can use Linux CGROUP and only the group scheduling feature is not supported?
> 
> The paper and code links are here.
> 
> http://www.ittc.ku.edu/~heechul/papers/palloc-rtas2014.pdf <http://www.ittc.ku.edu/%7Eheechul/papers/palloc-rtas2014.pdf>
> 
> https://github.com/heechul/palloc <https://github.com/heechul/palloc>

Sorry, we have never used cgroups with LITMUS^RT before. It should be possible in principle, but you’ll have to figure out what needs to be adjusted. It probably won’t work “out of the box”.

- Björn

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.litmus-rt.org/pipermail/litmus-dev/attachments/20150322/e1cc43ca/attachment.html>


More information about the litmus-dev mailing list