Tharindu Rukshan Bamunuarachchi wrote:
Hi all,
What is the best method of improving the real time behaviour of an
application.
'best' needs more elaboration.
- what constraints ?
old / new kernels ?
keeping old apps ?
POSIX ?
how hard/soft is your RT reqs ?
CONFIG_PREEMPT_RT is in recent mainline, as is PREEMPT_VOLUNTARY
then theres the -rt tree, and xenomai.org for a co-kernel approach.
I can see two approaches
you seem to limit your consideration to main-line kernels.
1) setting the scheduling class & priority (chrt & nice)
2) setting of kernel parameters ( The option 1 is not available, bcos
of app is not allowed to adjust its scheduling attributes)
We have already set HZ =1000.
Can we reduce the default time slice to 10ms or 20 ms without any side
effects.
whats the default timeslice ?
loss of thruput is a side effect, and cutting slice 10-fold is bound to
increase context switches.
Thanx in advance
--
Tharindu Rukshan Bamunuarachchi
all fabrications are subject to decay
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/