Memory Comprssion

DeathmageDeathmage Banned Posts: 2,496
Hey guys,

When would be a scenario when you would increase the memory compression past the default 10%?

Comments

  • iBrokeITiBrokeIT Member Posts: 1,318 ■■■■■■■■■□
    When you have poor capacity planning icon_lol.gif
    2019: GPEN | GCFE | GXPN | GICSP | CySA+ 
    2020: GCIP | GCIA 
    2021: GRID | GDSA | Pentest+ 
    2022: GMON | GDAT
    2023: GREM  | GSE | GCFA

    WGU BS IT-NA | SANS Grad Cert: PT&EH | SANS Grad Cert: ICS Security | SANS Grad Cert: Cyber Defense Ops SANS Grad Cert: Incident Response
  • DeathmageDeathmage Banned Posts: 2,496
    iBrokeIT wrote: »
    When you have poor capacity planning icon_lol.gif

    So say I want to do this intentionally at home....

    If I have one host at 32 GB's and I just bumped the other one to 16 GB's of RAM, DRS is so funny it immediately noticed the cluster unbalanced and started svMotion'n stuff, if I set the memory compression to say 50% on the host with the reduced memory would that be a good example of when to increase memory compression?

    ie:

  • darkerosxxdarkerosxx Banned Posts: 1,343
    I can't see a good reason why you'd ever want to increase it, outside of your resources being completely maxed and you're willing to give up performance for more memory space. Even then, it's risky business and not a good idea if you're running anything production. In the ideal situation, you would get more resources before you add the next VM. If you're just wanting to test, either turn off DRS or add more VM's.
  • DeathmageDeathmage Banned Posts: 2,496
    darkerosxx wrote: »
    I can't see a good reason why you'd ever want to increase it, outside of your resources being completely maxed and you're willing to give up performance for more memory space. Even then, it's risky business and not a good idea if you're running anything production. In the ideal situation, you would get more resources before you add the next VM. If you're just wanting to test, either turn off DRS or add more VM's.

    So morale of story, a well planned and build cluster should have enough resources where memory compression should really only be a concept not something you actually want to lean on...

    good to know!
  • darkerosxxdarkerosxx Banned Posts: 1,343
    I think of it is a failsafe. It's a tool in your arsenal to get things done, but it's optimal to not *have to* use it, because it puts you in a position where other bad things happen.
  • scott28ttscott28tt Member Posts: 686 ■■■■■□□□□□
    Your host is already under memory pressure if compression needs to kick in...
    VCP2 / VCP3 / VCP4 / VCP5 / VCAP4-DCA / VCI / vExpert 2010-2012
    Blog - http://vmwaretraining.blogspot.com
    Twitter - http://twitter.com/vmtraining
    Email - vmtraining.blog@gmail.com
Sign In or Register to comment.