Originally posted by oleid
View Post
Announcement
Collapse
No announcement yet.
Ubuntu Is Going After A New Linux Kernel API
Collapse
X
-
-
Originally posted by garegin View Postit is often said that swapping is turned off on phones/tablets because it degrades the SSDs. if so, why are SSDs used with regular swapping techniques on personal computers with no problems?All opinions are my own not those of my employer if you know who they are.
Comment
-
Originally posted by Delgarde View PostOn, the contrary - the benefit is about caching. Lots of apps benefit from loading stuff into memory and keeping it there in case it's needed again - if the memory is available, it's a good tradeoff to avoid the cost of loading it from disk next time you need it. This mechanism is a way for the kernel to tell a process "hey, we're running short of memory... get rid of that stuff you were caching".
Currently, the only options are to prevent processes from using that memory at all, or to kill them when memory runs out. This is a middle ground, letting them use memory if it's available, but avoiding the need for a hard kill when it's not.
i can understand this predicament with java/gavik or .NET garbage collectors eating ram to optimize real crappy loops but ubuntu phone will be using c++ and QML with qt5 right? which both are very ram lightweight if coded right. so base on this i can only imagine those 3 posibilities in my previous posts to actually need something like this.
Comment
-
-
Originally posted by Delgarde View PostOn, the contrary - the benefit is about caching. Lots of apps benefit from loading stuff into memory and keeping it there in case it's needed again - if the memory is available, it's a good tradeoff to avoid the cost of loading it from disk next time you need it. This mechanism is a way for the kernel to tell a process "hey, we're running short of memory... get rid of that stuff you were caching".
Comment
-
Originally posted by jrch2k8 View Posti mean my full gentoo system with kde-4.11 + akonadi+nepomuk+ zram + ramdisk for everything + firefox 10tabs+ calligra + kernel caches don't hit the 1gb barrier and we are talking about a full fledged x86 desktop system with a bazillion deps and entire set of libraries preloaded on ram.
Comment
Comment