Results 1 to 11 of 11

Thread: VSwap ?

  1. #1
    Join Date
    Feb 2011
    Location
    Indonesia
    Posts
    22

    VSwap ?

    I have a node with solusvm + centos 6 + OpenVZ, there'is VSwap option at SolusVM what does it mean ? is it the same thing like swap in xen virtualization ? is it better than burst memory ?

    thank you

  2. #2
    You might want to read this document.

    wiki.solusvm.com/index.php/OpenVZ_VSwap
    wiki.openvz.org/UBC_systemwide_configuration#Memory_and_swap_space

    Sorry, can't post URL

  3. #3
    Join Date
    Jan 2010
    Location
    San Francisco
    Posts
    1,800
    It's so much better than the old UBC memory model. It acts like real swap, however, it's not actually using a swap file. It artificially slows down your container to mimic the behavior of a real server using swap.

    Gone are the confusing guaranteed/burst nonsense which leaves so many consumers and even hosts, confused.

  4. #4
    Join Date
    Feb 2011
    Location
    Indonesia
    Posts
    22
    should i use vswap or no for best performance ?

  5. #5
    Join Date
    Aug 2003
    Location
    Edinburgh/London
    Posts
    5,789
    Yes, you should use it if you can.
    miniVPS - UK Based Value and Premium VPS Servers!
    Xavvo.com Innovative Hosting for Innovative People!

  6. #6
    Join Date
    Jan 2010
    Location
    San Francisco
    Posts
    1,800
    I doubt there is any performance difference between the two. It's just a difference of how memory is managed. If I had a choice, I would definitely use VSwap.

  7. #7
    Join Date
    Oct 2009
    Posts
    590
    Is there any way to disable caching memory inside the container though? Regardless of whether you assign vswap, if you are running the new RHEL6 OpenVZ kernel the containers now use caching memory. Problem it it eats into total amount of memory available on the node.

  8. #8
    Join Date
    Aug 2010
    Posts
    31
    It's like the swap on a containmer. You've used all your memory, what's left?
    +If you have KVM/Xen, you can start to use swap.
    +If you have OpenVZ, you have to rely on the host giving you burstable RAM, and it being available. It's in the total RAM.

    vswap makes it less confusing as you can have a real server behavior, and because some programs require you to have swap (Oracle), or some will show a red warning (kloxo)

  9. #9
    Join Date
    Oct 2009
    Posts
    590
    I'm wondering if the memory cache that now shows up in containers is something new or just making visible cache memory that was being used on the Node before. Perhaps just with more granular control of the size at the container level.

    There is absolutely no documentation what this change does with respect to cached memory.

  10. #10
    Join Date
    Aug 2010
    Posts
    31
    My dream is that it works like any other VPS, (VMWare KVM etc)
    Quote Originally Posted by mustardman View Post
    I'm wondering if the memory cache that now shows up in containers is something new .
    I just thought that. It's on the OVZ wiki.

  11. #11
    Join Date
    Oct 2009
    Posts
    590
    Quote Originally Posted by luis12345678913 View Post
    My dream is that it works like any other VPS, (VMWare KVM etc)

    I just thought that. It's on the OVZ wiki.
    They explain vswap on the wiki but not cached memory. I'm assuming it's all inter related somehow but they don't go beyond Vswap explanation. They don't even say how much vswap artifically slows down memory. They just say here it is, eat your gruel and don't ask questions.

Similar Threads

  1. Replies: 4
    Last Post: 09-15-2011, 04:17 AM
  2. Replies: 13
    Last Post: 08-12-2011, 09:33 AM
  3. [US] Hostigation - OpenVZ with VSwap $4 256m/25g/1tb
    By mitgib in forum VPS Hosting Offers
    Replies: 15
    Last Post: 08-08-2011, 10:38 AM
  4. Replies: 3
    Last Post: 08-07-2011, 02:55 PM
  5. Replies: 5
    Last Post: 08-04-2011, 03:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •