Using SSD Drive Space

Discussion in 'Installation, Update and Configuration' started by KrazyBob, Mar 22, 2017.

  1. KrazyBob

    KrazyBob Mega Poster

    Messages:
    224
    With pre-built barebones systems coming with 240 gigabyte SSD drives how can we possibly use that SSD drive and load virtuozzo for the best performance? Can we somehow store the static files for templates Sara? I mean the only thing that should be stored to disc is data.
     
  2. Pavel

    Pavel A.I. Auto-Responder Staff Member

    Messages:
    478
    Hello Bob,

    If you're using vstorage - obvious answer is to put journal/cache/MDS on the SSD.

    If you're using standalone hosts, which is the case I presume, then there isn't that much you can get from SSDs.
    Placing pfcache on SSD is a good choice. It might even be a good idea to place entire "system" on SSD (if it is enterprise grade and reliable).
    Since ploop era containers are no longer hardlinked to the template cache, thus placing it on SSD might improve provisioning a bit, but only a bit, because you'll still be provisioning to HDD(HDD will be sort of a bottleneck in this scenario).
     
  3. KrazyBob

    KrazyBob Mega Poster

    Messages:
    224
    I am going to be running a mixture of stand-alone servers that may not be on Virtuozzo. I prefer to put a Plesk installation on Virtuozzo so that if the virtual server locks up I only have to restart the container and not risk corrupting the file system (except the node but I have master backup servers.) The question is if I am using Virtuozzo how can I use SSD? I am not familiar with vstorage. I may also be toying with OpenVZ as I build my business back up. Its about money at this point. I don't expect support on OpenVZ. So much ha changed. I am many steps behind! My thought was to load the OS and Virtuozzo on the SSD and then path /vz to the actual HHD on RAID 1 or 5.

    Is there a page in the documentation that covers this?

    Thank you for replying Pavel. You've always been a pleasure to work with.
    .
     
  4. Pavel

    Pavel A.I. Auto-Responder Staff Member

    Messages:
    478
    Hello Bob,

    Your plan to use SSD for OS Virtuozzo and pfcache, and HDD RAID for /vz/, sounds good to me. No objections and no additions.

    Vstorage is mostly used in conjunction with Virtuozzo, it provides various benefits, like High Availability. And it gains performance benefits from SSD, that is why I was clarifying this point. If you would like to know about vstorage in particular - you can check this doc:
    http://docs.virtuozzo.com/virtuozzo...ide/introduction/about-virtuozzo-storage.html

    Prior to Virtuozzo 7, when Virtuozzo 4.x and 6.x were "latest" versions, they were quite different from OpenVZ. Nowadays, Virtuozzo 7 and OpenVZ 7 share the same codebase, entirely(like RHEL and CentOS), but you can actually switch between them (install license packages, license itself, and start using commerical features). Difference between OpenVZ7 and Virtuozzo7 is in support availability, and in several commercial "closed-source" features.
    You can get more information here:
    https://openvz.org/Comparison

    In general, you can find documentation and various whitepapers/datasheets on Virtuozzo products here(hope you like our new documentation engine):
    http://docs.virtuozzo.com/
    https://virtuozzo.com/resources/#white-papers
     
  5. KrazyBob

    KrazyBob Mega Poster

    Messages:
    224
    These articles don't appear to discuss setup of partitions. Normally it is /, /swap, and /vz. How does one setup the cache and maybe the OS on SSD? My servers are delivered with 240GB SSD drives. I realize that they have a maximum read/write so I wonder if they are appropriate for anything.
     
  6. SteveITS

    SteveITS Tera Poster

    Messages:
    277
    http://docs.virtuozzo.com/virtuozzo...ing-cluster-performance/using-ssd-drives.html

    The "advise-configuration" parameter will give you the recommended settings if you are using an SSD just for caching. Or there is a checkbox during the install to use an SSD for caching and it will set it up. If you are trying to use for OS also then I personally would be hesitant to fill up the OS drive with cache files. I suppose you could use smaller cache files and leave yourself plenty of room for updates...
     
  7. KrazyBob

    KrazyBob Mega Poster

    Messages:
    224
    Thank you for your reply.

    That's great news. But is it safe? SSD's can only be written to so many times... Normally yoou would do twice the amount of RAM but my provider uses 200GB SSD's. Would that all be used or wasted space?
     
  8. SteveITS

    SteveITS Tera Poster

    Messages:
    277
    Hopefully your provider is using enterprise quality SSDs and not consumer drives? Virtuozzo has a "health check" script for SSDs: https://help.virtuozzo.com/customer...595--how-to-verify-if-the-ssd-disk-is-healthy. After two years our enterprise SSD drives show "99."

    The SSD caching I'm talking about is Virtuozzo's cache for writing to the Virtuozzo Storage. I don't know if there is a size recommendation, but what I've seen (as I recall) is the algorithm uses some (40%) of the space for the read cache, and divide most of remaining space for write journaling (one per chunk server on that host), and leaves something like 10-20% free space so the drive isn't full and has spare sectors.

    If you're talking about a generic install of the OS the installer should have a default setup but you can change where you want things installed.
     

Share This Page