View Single Post
Posts: 3,074 | Thanked: 12,964 times | Joined on Mar 2010 @ Sofia,Bulgaria
#109
Originally Posted by Android_808 View Post
I know the intention of moving QT libs to rootfs was to improve performance, but once they're loaded into RAM surely it makes no difference. If there is already a QT app open, then the next should only need to load any additional libraries. For this reason I'd rather save space on rootfs.
Well, AFAIK it does not work like that. We can never get rid of the swap. And (again) AFAIK the first pages to evict when there is no enough RAM, are executable pages. But when that code page is needed again it is better if it is on the faster media, that way multitasking will be better/smoother. Also have in mind that executable pages NEVER go to swap, so we don't know (at least not easy) what part of the executable code is in RAM, and what part will be read next time it has to be executed. That is the rationale behind my attempt to move Qt to a faster (as I was thinking) storage.

Now it turns out this (rootfs is faster) is an urban legend. Not only that, but it consumes CPU time too, so most probably soon there will be an update which will move Qt back to /opt
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 

The Following 7 Users Say Thank You to freemangordon For This Useful Post: