Originally posted by bkor
View Post
Announcement
Collapse
No announcement yet.
Libertine: Allowing X11 Debian Packages To Run On The Next-Gen Ubuntu Desktop
Collapse
X
-
-
-
Originally posted by d2kx View Post
Please tell me people aren't still using the debug LibreOffice nonsense as an argument.
Snaps are not huge at all.
- Likes 1
Comment
-
Originally posted by Mystro256 View Post
Due to the lack of runtime though, snap still is relatively bigger (not like 1 gig, but more like 1mb-150mb depending on the app). Plus having a common runtime would save on RAM if multiple flatpack apps are running, as only one instance of the library needs to be loaded into memory.Last edited by duby229; 05 July 2016, 01:36 PM.
Comment
-
Originally posted by duby229 View Post
It isn't so much about ram usage as it is about being a disk bottleneck. Longer load times and such. Yes the linux kernel does disk cache, but it does not help on first load or bootup. Yes SSD's are faster than HDD's, but they are still terribly slow.
Comment
-
Originally posted by Mystro256 View Post
Indeed, disk times are still the bigger bottleneck. I presume a runtime would help with that, given it doesn't need to load the same libraries for each app, just once.
LibreOffice for example open all docs in one running exe.
Comment
-
Originally posted by duby229 View Post
It isn't so much about ram usage as it is about being a disk bottleneck. Longer load times and such. Yes the linux kernel does disk cache, but it does not help on first load or bootup. Yes SSD's are faster than HDD's, but they are still terribly slow. 1mB would only be a few ms, but 150mB would be at least a few seconds. It's a terrible idea. Smaller in this instance is most definitely better.
Comment
-
Originally posted by Passso View Post
And... please tell me a real life example where one needs to run a program multiple times?
LibreOffice for example open all docs in one running exe.
Comment
-
Originally posted by Passso View Post
150MB difference is the snap difference, not the actual memory difference you get when you run the program... As libraries are loaded in both case where will the performance issue comes from?
EDIT: So lets say you are a snap maintainer and app-A is packaged with lib-1, also app-B is packaged with lib-1. That's two instances of lib-1 that needs to get loaded. Every single instance beyond the first one is a disk bottleneck. So the the way Linux caches files is by location, so if exactly the same file is loaded twice from different locations, the disk cache can't tell that and it gets loaded from disk twice.Last edited by duby229; 06 July 2016, 09:43 AM.
- Likes 1
Comment
Comment