Skip to content
This repository was archived by the owner on Apr 3, 2025. It is now read-only.
This repository was archived by the owner on Apr 3, 2025. It is now read-only.

Does partrt support isolating a thread on a core ? #10

@chmike

Description

@chmike

I need to isolate a real time thread on a core of my Raspbian OS based on Debian bullseye.

Apparently the default controller type is domain which, if I understood correctly, allows to isolate processes only. I need to isolate a thread of a process that has 3 threads in total. Will partrt configure the cupset to support isolation of a thread on a core ?

Can I use the C affinity functions to move the thread to the isolated core ?

Is it still needed to set the priority of the thread to SCHED_FIFO 99 to get real time performance ? 

For the context, the thread is toggling GPIO outputs at very high frequency by writing directly into the Broadcom chip. There is no blocking call. There is only one system call to clock_gettime at low frequency (.5Hz) to measure the speed which is around 65Mhz.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions