maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Why is kernel-power PREEMPT? (https://talk.maemo.org/showthread.php?t=95758)

marmistrz 2015-07-20 19:26

Why is kernel-power PREEMPT?
 
According to this link [1], preempt kernel is slower than generic. Why are we building the kernel as preempt? Do we really need low latency?

[1] http://askubuntu.com/questions/12666...-realtime-ones

reinob 2015-07-21 06:29

Re: Why is kernel-power PREEMPT?
 
Quote:

Originally Posted by marmistrz (Post 1477400)
According to this link [1], preempt kernel is slower than generic. Why are we building the kernel as preempt? Do we really need low latency?

[1] http://askubuntu.com/questions/12666...-realtime-ones

It's usually recommended for desktop systems (and mobile fits the definition), as low latency is considered more important than high troughput (on a server you'd have it the other way).

pichlo 2015-07-21 06:56

Re: Why is kernel-power PREEMPT?
 
Quote:

Originally Posted by reinob (Post 1477437)
desktop systems (and mobile fits the definition)

In the (software) company I worked a while ago, we used the word "endpoint" to cover desktops and mobile devices. As opposed to "servers".

reinob 2015-07-21 08:46

Re: Why is kernel-power PREEMPT?
 
Quote:

Originally Posted by pichlo (Post 1477440)
In the (software) company I worked a while ago, we used the word "endpoint" to cover desktops and mobile devices. As opposed to "servers".

To me a server is also an endpoint :)

Where I work, most of the time, they're all a "general-purpose computer", unless they do something really special :)

marmistrz 2015-07-21 08:59

Re: Why is kernel-power PREEMPT?
 
Yep, but the Ubuntu wiki says one should use the generic kernel unless there are reasons to do otherwise.

https://help.ubuntu.com/community/Ub...RealTimeKernel

pichlo 2015-07-21 09:36

Re: Why is kernel-power PREEMPT?
 
Quote:

Originally Posted by marmistrz (Post 1477447)

From that page:

"If you need a low latency system (e.g. for recording audio) then please use the -preempt kernel as a first choice." [Emphasis mine]

There you go. My N900 records videos with stuttering as it is, even with a PREEMPT, Thumb2 kernel. It sounds like a generic one would make it even worse.

marmistrz 2015-07-21 09:38

Re: Why is kernel-power PREEMPT?
 
Yes, indeed, this makes sense :)

Maybe a lowlatency kernel could alleviate the issues with recording?


All times are GMT. The time now is 20:10.

vBulletin® Version 3.8.8