Real-time kernel thread performance and optimization
Quoted 19 lines · Simon Falsig
Quoted 18 lines · Darren Hart
Quoted 17 lines · Frank Rowand
Quoted 16 lines · Simon Falsig
< snip >
Quoted 11 lines
Quoted 8 lines
Quoted 4 lines
Once I get this finished up, I'll be happy to do a complete write-up of the timer-thread code, if anyone is interested. I remember looking for something similar (but without success), when I wrote the code earlier this year.
It would be very useful to add your results to the wiki.
-Frank
Cool - is there any particular place it should go? A how-to, FAQ entry, etc? Just so I know how to do the write-up...
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 5 lines
https://rt.wiki.kernel.org/index.php/Main_Page would be my default suggestion. I'm not quite sure where on the wiki would be good though. Maybe under "Tips and Techniques"?
I added the rtwiki maintainers to the cc: list.
I don't have all the context, but this sounds a bit more like
something
Quoted 2 lines
Quoted 2 lines
for
Quoted 1 line
linux/Documentation (possibly for the preempt-rt patch set). If not,
the
Quoted 7 lines
Quoted 7 lines
Quoted 5 lines
Documentation section on the wiki is a possibility. --
Darren Hart
Intel Open Source Technology Center
Yocto Project - Technical Lead - Linux KernelAs I see it, the write-up could be done in two ways - 1) as a simple
code
Quoted 1 line
Quoted 1 line
example of a real-time loop in a kernel module, 2) as a blog-like post
of
Quoted 1 line
Quoted 1 line
the process I went through, investigating the performance, and
optimizing
Quoted 4 lines
Quoted 4 lines
my code.
In the case of 1), I guess it could be added to
https://rt.wiki.kernel.org/index.php/RT_PREEMPT_HOWTO, as a kernel
version
Quoted 2 lines
Quoted 2 lines
of the realtime example, or possibly to
https://rt.wiki.kernel.org/index.php/HOWTO:_Build_an_RT-application
under
Quoted 1 line
Quoted 1 line
"Building Device Drivers"? In the case of 2) though, it could maybe be
on
Quoted 9 lines
Quoted 1 line
its own page under "Tips and techniques"?
I'd leave the exploration type write-up to your blog and we can link to it. An explicit example in one of the locations above also sounds appropriate.
Thanks,
Darren
So, it's been long overdue for some time now, but I finally got around to finishing the writeup on my own blog. If anyone is still interested, it can be found as a 3-part story here:
http://www.falsig.org/simon/blog/2013/03/30/real-time-linux-kernel-drivers
-part-1-the-setup/
http://www.falsig.org/simon/blog/2013/07/10/real-time-linux-kernel-drivers
-part-2-testing-and-first-implementation/
http://www.falsig.org/simon/blog/2013/07/10/real-time-linux-kernel-drivers
-part-3-the-better-implementation/
Any comments are more than welcome - and feel free to adapt any of the code examples and put them on the wiki, if that could be of any help.
Best regards,
Simon