Reply
Thread Tools
Posts: 602 | Thanked: 735 times | Joined on Mar 2011 @ Nantes, France
#1
Hi,
Some months ago, when Jolla changed the behaviour of Sailfish in case of a lack of memory, there were a lot of discussions here and on TJC.

I just would like to know if there was some analysis about how SFOS behaves compared to similar mobile OSes, I mean iOS and BB10.x which are both *nix and native (AFAIK, Android runs Dalvik/Art and WP runs .Net). And if this comparison was completed, what are its results?

A simple question for my own culture and understanding.

Thanks.
 

The Following 2 Users Say Thank You to romu For This Useful Post:
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#2
Originally Posted by romu View Post
I just would like to know if there was some analysis about how SFOS behaves compared to similar mobile OSes, I mean iOS
AFAIK iOS to this day does not really multitask - only the application that has focus is actually running, applications that are not running are paused (er even killed outright ?), which helps to avoid Oout OF Memory situation at the cost of increased application complexity and by making some application use-cases impossible (background tasks, interacting with two separate applications at the same time, etc.).

Disclaimer: My knowledge of iOS is not firsthand and likely outdated. Clarifications from more knowledgeable individuals are welcome.

Originally Posted by romu View Post
and BB10.x which are both *nix and native (AFAIK, Android runs Dalvik/Art and WP runs .Net). And if this comparison was completed, what are its results?
When I last played with BB10 (about a year/year and a half ago) the situation was fairly similar to current Sailfish OS OOM handling - applications run as long as their window (called IRC "active frame" in the BB10 jargon) is in the running apps overview. And once memory runs out the oldest running app is killed. Applications can also do some very limited (both memory and time wise) background processing (the so called "headless apps/mode" support).
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)
 

The Following 8 Users Say Thank You to MartinK For This Useful Post:
Jordi's Avatar
Posts: 400 | Thanked: 708 times | Joined on Jun 2011 @ Geneva - CH
#3
Regarding iOS, there is a very detailed blogpost explaining the five different states an iOS app can have.

This information is more than 3 year old but I guess it's still valid.
 

The Following 6 Users Say Thank You to Jordi For This Useful Post:
Posts: 702 | Thanked: 2,059 times | Joined on Feb 2011 @ UK
#4
Originally Posted by Jordi View Post
Regarding iOS, there is a very detailed blogpost explaining the five different states an iOS app can have.

This information is more than 3 year old but I guess it's still valid.
It's mostly still valid. Apple introduced split screen multitasking in iOS 9 so you can at least have 2 foreground apps on iPads.
 

The Following 2 Users Say Thank You to aegis For This Useful Post:
Posts: 1,378 | Thanked: 1,604 times | Joined on Jun 2010 @ Göteborg, Sweden
#5
Originally Posted by MartinK View Post
AFAIK iOS to this day does not really multitask - only the application that has focus is actually running, applications that are not running are paused (er even killed outright ?), which helps to avoid Oout OF Memory situation at the cost of increased application complexity and by making some application use-cases impossible (background tasks, interacting with two separate applications at the same time, etc.).
And very broadly, this is what Ubuntu Phone/Touch does as well, at least in what is referred to as "staged" mode. Currently, you can use some tweak tools to run in Windowed mode (a foretaste of forthcoming convergence). Apparently, true multi-tasking then is possible (but what OOM strategy would that follow?).

Last edited by handaxe; 2015-09-03 at 19:46. Reason: spelling, what else :-)?
 

The Following User Says Thank You to handaxe For This Useful Post:
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#6
Originally Posted by handaxe View Post
And very broadly, this is what Ubuntu Phone/Touch does as well, at least in what is referred to as "staged" mode. Currenbtly, you can use some tweak tools to run in Windowed mode (a foretaste of forthcoming convergence). Apparently, true multi-tasking then is possible (but what OOM strategy would that follow?).
Oh, right - Ubuntu Phone/Touch is indeed using this not-really-multitasking OOM/application lifecycle strategy. As for what issues it can cause/causes, you can see this blog post from Mike Sheldon, the developer of CuteSpotify:

One particular problem to look out for is that because of the way Ubuntu Touch currently handles applications CuteSpotify has to be kept in the foreground and the phone has to be kept switched on for music to play (otherwise the application gets suspended). Approaches for handling applications that need to keep running are currently being debated, so hopefully that won’t be the case in future version of Ubuntu Touch.
The post is from 2013, so the situation might have improved since then.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)

Last edited by MartinK; 2015-09-03 at 13:26.
 

The Following 2 Users Say Thank You to MartinK For This Useful Post:
Posts: 1,378 | Thanked: 1,604 times | Joined on Jun 2010 @ Göteborg, Sweden
#7
It remains much the same. Ongoing discussion. Pretty much makes Gps programs such as track recorders useless, as who wants the screen on for that use case?
That said, it is WIP and issues are openly discussed. Small team, so progress is slow.
I enjoy the MX4, mostly for the browsing (this was a major issue on the n900 in the end for me) and the camera is very good. Otherwise the n900 keeps my heart.
 
Posts: 1,746 | Thanked: 1,832 times | Joined on Dec 2010
#8
moaarrr ram seems to fix the issue since i never have the over zealous OOM kicking in on the nexus 5 SFOS, but that doesnt mean other issues dont hinder performance,
 

The Following User Says Thank You to m4r0v3r For This Useful Post:
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#9
Originally Posted by handaxe View Post
It remains much the same. Ongoing discussion. Pretty much makes Gps programs such as track recorders useless, as who wants the screen on for that use case?
Now you lost me there?
You cannot be talking about Jollla, as GPS tracking with it works perfectly and I use it several times a week, both bicycling and hiking in woods.
My longest tracks are over 3h in length, logging coordinates every second and I have never lost points...
 
Posts: 702 | Thanked: 2,059 times | Joined on Feb 2011 @ UK
#10
Originally Posted by juiceme View Post
Now you lost me there?
You cannot be talking about Jollla, as GPS tracking with it works perfectly and I use it several times a week, both bicycling and hiking in woods.
My longest tracks are over 3h in length, logging coordinates every second and I have never lost points...
I think handaxe was talking about Ubuntu though the description of it being much the same makes no sense. All the main mobile OSs allow background tasks for audio, GPS etc including iOS.

At this point it's a slightly bizarre state of affairs where a Linux company is being out-multitasked by even iOS and Windows Phone 7.
 

The Following 3 Users Say Thank You to aegis For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 01:32.