Question about isolating CPU's

Felix Frey <[email protected]>
Newsgroups gmane.linux.real-time.rtai
Message-ID <[email protected]>
Hi

I have a dual core CPU and want to reserve one core for RTAI,
so I start Linux with "isolcpus=0"

cat /proc/rtai/hal shows:

** RTAI/x86:

    CPU   Frequency: 998053000 (Hz)
    TIMER Frequency: 6238219 (Hz)
    TIMER Latency: 0 (ns)
    TIMER Setup: 160 (ns)

** Real-time IRQs used by RTAI:

    #45 at ffffffffa0119050
    #4352 at ffffffffa00b94a0
    #4353 at ffffffffa00b8cc0
    #4355 at ffffffff810dd8f0

** RTAI extension traps:

** RTAI SYSREQs in use: #1 #2

** MASK OF CPUs ISOLATED FOR RTAI: 0x1.

So far, everything is fine.

cat /proc/rtai/scheduler shows:

RTAI LXRT Real Time Task Scheduler.

    Calibrated Time Base Frequency: 998053000 Hz
    Calibrated user space latency: 2999 ns
    Calibrated kernel space latency: 2999 ns
    Calibrated oneshot timer setup_to_firing time: 160 ns

Number of RT CPUs in system: 2 (sized for 2)

Global heap: size =    2097152, used =      30592; <BSD>.
Kstack heap: size =     524288, used =          0; <BSD>.

Number of forced hard/soft/hard transitions: traps 0, syscalls 0

Priority  Period(ns)  FPU  Sig  State  CPU  Task  HD/SF  PID  RT_TASK *
 TIME
------------------------------------------------------------------------------
1000000000 0           Yes  No  0x3    0:1   1      0    959
2          0           Yes  No  0x3    0:1   2      1    1097
0          0           Yes  No  0x1    0:1   3      1    1099
1000000050 0           Yes  No  0x0    0:1   4      0    1105
TIMED

READY
1000000050 0           Yes  No  0x0    1:2   5      0    1089
1          0           Yes  No  0x3    1:2   6      1    1098
1000000050 0           Yes  No  0x0    1:2   7      0    1103
TIMED


Now, I expect all rt-task to be on the same core.
So what means the CPU column?

Can anybody help with interpreting the table above?

Thanks,
Felix
_______________________________________________
Rtai mailing list
[email protected]
https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.