On any system with flash memory, I always turn swap off. If you really need extra ram, then create a compressed ram drive and use that as swap. It sound silly, but it can give you significantly more space, and it is very fast. If you have a 3G ram/1G compressed split, you may get 2-3G in swap, meaning 5-6G overall. It is a standard trick used in embedded systems.
That's a great tip, I've not come across that before
I second that, never though that the benefit of the increase in speed (RAM vs. flash memory) would be greater than the load introduced by the compression/decompression. Are you BTW using zram?
http://www.webupd8.org/2011/10/increased-p...linux-with.html
I guess that, in case there won't be Heterogeneous Multi-Processing support under Linux, zram (or similar) could be manually assigned to one of the X27 slower cores, as it would need to run all the time:
http://xmodulo.com/run-program-process-spe...ores-linux.html
See also:
https://www.oesf.org/forum/index.php?showtopic=34644
Varti
In regards to the HMP thing - in theory big.LITTLE support has been in the kernel since 3.10 (we are now at 4.15) and there is a scheduler called Global Task Scheduler that dealt with assigning stuff to the right core-clusters. I had one of the early devices around 2013 and the kernel support was shocking, but it now runs mainline kernel and utilises the cores as expected - but the power management isn't as good as it could be. These days it is a much more solid technology found on many ARM devices, with decent support in the kernel. I will say for the umpteenth time - this is precisely why kernel development needs to be focussed upstream.
Mediatek kernel stuck at whatever version they've chosen (maybe 4.4?) = possibly hacky kernel that just about delivers all the features of the SOC. This kernel then has to have all security updates and new features backported from now until the day that's its just such a mess and so antiquated that we can only run legacy software, if at all. It slowly breaks until most features don't work no more.
Mainline kernel = ongoing development and constantly improving support. All new security patches and feature developments are added automatically. Someone comes up with an awesome new scheduler that makes better use of big.LITTLE cores - does it need to he back ported onto a buggy kernel with hacky code that some mediatek developer thought was "good enough" in 2015? No, its just there and it will just work. Hurray our devices literally kick more ass every day they get older!
A lot, and I mean a lot, or work has gone into creating a multi-platform arm kernel over the past 10ish years and we now are at the stage where I can use the same kernel of any* of my arm devices, just like you can use a x86_64 kernel on live disk and boot on pretty much any Intel or amd machine.
*OK so armv7 kernel on arm7 devices, aarch64 kernel on aarch64 devices etc etc