From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Sat, 3 Nov 2012 13:57:10 -0400 To: 9fans@9fans.net Message-ID: In-Reply-To: <20121103174555.GA96072@intma.in> References: <4A0E7310-9D9D-45C5-88A3-62B4A3191267@quintile.net> <20121103163103.GA48522@intma.in> <5cff355142bfe83410dce1c3fc321f25@kw.quanstro.net> <20121103165100.GA63071@intma.in> <7cd2c11374f75d628a5bb5e1f1d0919e@kw.quanstro.net> <20121103171322.GA76929@intma.in> <20121103174555.GA96072@intma.in> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Kernel panic when allocating a huge memory Topicbox-Message-UUID: d289efec-ead7-11e9-9d60-3106f5b1d025 > > This makes more sense. However, if your hypervisor is swapping, you've > screwed up your planning. RAM oversubscription is the reason most > dime-store VPS services suck really badly. I leave swapping to the > guest OS, since that's where malloc is being called. i'm not a big vm guy, but i do know that oversubscription is a big problem. however, i think that queuing theory in general says that one queue with global sorting beats n smaller queues with local sorting. i think this is sometimes called the checkout-line problem. other factors, like global knowledge of memory use stats and page duplication should put the vm in an even better position than general queueing theory would suggest to make decisions on what pages to move to disk wrt. global (that is total machine) throughput. do you have a reference that demonstrates or derives that a similarly-loaded machine can perform better with all the guests swapping indepdently and the vm not swapping, rather than preventing the guests from swapping and letting the vm swap? - erik