WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: building realtime kernel & remastering for tiny core linux  (Read 24899 times)


Offline mocore

  • Hero Member
  • *****
  • Posts: 649
  • ~.~
Re: building realtime kernel & remastering for tiny core linux
« Reply #46 on: October 28, 2024, 05:32:00 AM »

wrt the above links

this topic might be relevant  to just get something 'low latency' working
how to boot alternate kernel of same architecture ~ https://forum.tinycorelinux.net/index.php/topic,26071.0.html

... unless configuring/building/testing and comparing! various  'low latency' newer kernel/configs is near the top of your todo list  ?

Offline bobowsh

  • Newbie
  • *
  • Posts: 3
Re: building realtime kernel & remastering for tiny core linux
« Reply #47 on: October 28, 2024, 09:23:42 AM »
I try to build patch-6.6.10-rt19.patch.gz to get a rt-kernel
unfortuntly, use cyclictest to test, it does'nt get much realtime ability

tc@tinycore:~$ sudo cyclictest -p 99 -m -i 5000 -n -h 10 -l 100000 -t 4 -c 1
# /dev/cpu_dma_latency set to 0us
policy: fifo: loadavg: 1.31 1.32 1.33 1/331 4861

T: 0 ( 4857) P:99 I:5000 C:    983 Min:     33 Act:  400 Avg: 1775 Max:   51139
T: 1 ( 4858) P:99 I:5000 C:    916 Min:    107 Act: 1247 Avg: 2255 Max:   34100
T: 2 ( 4859) P:99 I:5000 C:   1079 Min:     44 Act:  556 Avg: 1451 Max:   38012
T: 3 ( 4860) P:99 I:5000 C:    950 Min:     33 Act: 1468 Avg: 1949 Max:  1805522


Hi bobowsh
To the best of my knowledge, 4.x was the last rt-kernel we hosted.
I don't have any of the tinyrt build scripts.

I did a quick Google search for:
Code: [Select]
PREEMPT_RT patch linuxand there don't appear to be a patch for 6.1.2 or 6.6.8 which were
the two most recent kernels we released (TC14 and TC15).

For what it's worth, it looks like rt might become part of the 6.12 kernel:
https://arstechnica.com/gadgets/2024/09/real-time-linux-is-officially-part-of-the-kernel-after-decades-of-debate/