Performance boost by writing an application in Kernel space rather than kernel space

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Performance boost by writing an application in Kernel space rather than kernel space

910件の閲覧回数
lyfsci
Contributor III

Hi Experts,

I would like to write an application, which will better choice !!

  1. Writing a simple application in the User space and invoked during startup and run the system forever. (It seems to be easy but not meeting the time critical event)

(or)

2. Configure the kernel and disable the unwanted hardware modules and put the application in to the kernel thread. So it will be preemptive and tightly packed with less latency.

ラベル(1)
0 件の賞賛
返信
1 返信

860件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi lyf

in general performance is similar in both cases, however advantage

of user space application is that OS do not allow it to do bad things like

crashing the machine. You can refer below links for details since this is

generic linux question

Linux Threads Home Page: What are threads (user/kernel)?

operating system - What is the difference between the kernel space and the user space? - Stack Overf...

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信