4 ms·
Now, the next problem is to make applications that can scale down on RAM dependably without having to restart.
by cordite 12y ago
Now, the next problem is to make applications that can scale down on RAM dependably without having to restart.
- jahewson 12y agoYeah, particularly the JVM, it will happily use all the available heap space and never free it once it's no longer needed.
- habitue 12y agoVMWare ESX solves this with a technique called ballooning[0] which is pretty clever. [0]https://www.usenix.org/legacy/publications/library/proceedings/osdi02/tech/full_papers/waldspurger/waldspurger_html/node6.html https://www.usenix.org/legacy/publications/library/proceedin...
- justincormack 12y agoXen has a balloon driver too. I think KVM does now as well.
- wmf 12y agoIf a process refuses to give up allocated memory (which is usually the case), ballooning will cause the app to swap. If the app's heap is fragmented it will thrash to death.