Skip to main content

OpenVZ VSwap


New RHEL6-based OpenVZ kernel has a new memory management model, which supersedes User beancounters. It is called VSwap.
Now you can set two primary parameters: physpages and swappages, while all the other beancounters become secondary.
  • physpages
This parameter limits the physical memory (RAM) available to processes inside a container.
The barrier is ignored, and the limit sets the limit.
Currently the user memory and the page cache are accounted into physpages.
  • swappages
This parameter limits the amount of swap space which can be used for processes inside a container.
The barrier is ignored, and the limit sets the limit.
The sum of physpages.limit and swappages.limit limits the maximum amount of allocated memory which can be used by a container. When physpages limit is reached, memory pages belonging to the container are pushed out to so called virtual swap (vswap). The difference between normal swap and vswap is that with vswap no actual disk I/O usually occurs. Instead, a container is artificially slowed down, to emulate the effect of the real swapping. Actual swap out occurs only if there is a global memory shortage on the system.


Comments

Popular posts from this blog

Spike - Tango versuri

vad stele verzi, cum tu nu le vezi? Acolo intre farfuria zburatoare si omuletii verzi N-am luat-o razna, de ce nu ma crezi? Uite-mi face semn cu mana, frate tre sa ma salvezi Spike pari dubios, vrei sa-ncetezi? Se uita lumea ciudat la tine, incearca sa dansezi Cum poti sa te distrezi? Da-i afara Mortii lor, zi-le sa plece, fa-i sa dispara Hei buna, nici nu te-am vazut pe-aici Ce faci? Tu bine, eu Nu conteaza cum te cheama ca-mi placi Discutia asta-i putin cam trasa de par N-am papagal sa te conving, Dar iti dau un hamster. Ce-ai fata, pari speriata Tu vrei sa ne distram impreuna E-o seara minunata Esti putin ametita dar nu se vede ca esti beata Si la cum esti imbracata, Sincer, te-as f**e-odata Da-mi mana , hai pe ring Pot sa te-mping Te-ai incins, te sting Nu mai ai glas? Arata-mi ce stii, ce poti tu Esti praf Asta ce inseamna, ca pot sa te trag pe nas ? Zi-mi de unde vi, unde vrei sa ajungi Unde vrei sa fugi, ca scapare n-ai Unde vrei sa pleci, n-ai p...

Feedly launches 'Feedly Cloud' sync platform, new web interface

Feedly, one of the leading Google Reader replacement services, announced major restructuring of its services today with a new cloud infrastructure and web interface. Posted on its official blog, Feedly unveiled what it calls "Feedly Cloud", a scalable infrastructure it says is ready to replace Google Reader. The new Feedly Cloud provides several benefits, the first of which is one-click import from Google Reader -- new users to the service can now simply pull everything over seamlessly from their Google account and start using Feedly right away. Existing users will simply have to make sure that they have the latest version of Feedly installed, and their accounts will be migrated to Feedly Cloud over the next few days. Additionally, the new service allowed Feedly to create a stand-alone web interface (found simply at cloud.feedly.com) that works in all major browsers without plugins or extensions. The transition to Feedly Cloud has another benefit, and that is the abilit...

CentOS 6 making its way out to mirrors

According to  http://qaweb.dev.centos.org/qa/node/63  CentOS 6 is being released to the www sync started few hours ago