SOLVED

ATP Memory Ballooning & Hyptherthreading

%3CLINGO-SUB%20id%3D%22lingo-sub-1357071%22%20slang%3D%22en-US%22%3EATP%20Memory%20Ballooning%20%26amp%3B%20Hyptherthreading%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1357071%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20looking%20through%20the%20pre-requisites%20for%20deploying%20ATP%20sensors%20to%20our%20domain%20controllers%20and%20wanted%20to%20get%20a%20bit%20more%20information%20around%202%20points.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E1)%20Dynamic%20Memory%20%2F%20Memory%20Ballooning%20not%20supported%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20the%20Sizing%20tool%20documentation%20it%20is%20recommended%20that%3A%3C%2FP%3E%3CTABLE%3E%3CTBODY%3E%3CTR%3E%3CTD%3EVMWare%3C%2FTD%3E%3CTD%3EEnsure%20that%20the%20amount%20of%20memory%20configured%20and%20the%20reserved%20memory%20are%20the%20same%2C%20or%20select%20the%20following%20option%20in%20the%20VM%20setting%20%E2%80%93%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EReserve%20all%20guest%20memory%20(All%20locked)%3C%2FSTRONG%3E.%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3EHowever%2C%20there%20are%20other%20places%2C%20such%20as%20within%20vMware%20tools%20where%20a%20memory%20ballooning%20driver%20can%20be%20enabled%20%2F%20disabled%2C%20or%20the%20windows%20registry%20on%20the%20domain%20controller.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EQ%3A%20Are%20we%20required%20to%20disabled%20ALL%20references%20to%20memory%20ballooning%3F%20Or%20will%20enabling%20%22Reserver%20all%20guest%20memory%20(All%20locked)%22%20on%20a%20Per%20VM%20basis%20be%20enough%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E2)%20In%20the%20Sizing%20tool%20documentation%20it%20is%20recommended%20that%3A%3C%2FP%3E%3CP%3E%3CSPAN%3E%22It's%20recommended%20that%20you%20don't%20work%20with%20hyper-threaded%20cores.%20Working%20with%20hyper-threaded%20cores%20can%20result%20in%20Azure%20ATP%20sensor%20health%20issues.%22%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EQ%3A%20We%20may%20not%20be%20able%20to%20disable%20Hyperthreading%20due%20to%20some%20of%20our%20domain%20controllers%20being%20hosted%20in%20a%20vMware%20cluster%20by%20a%20Private%20cloud%20provider%20-%20are%20you%20able%20to%20expand%20on%20the%20real%20world%20issues%20we%20might%20see%20when%20running%20a%20domain%20controller%20with%20an%20ATP%20sensor%20with%20Hyperthreading%20enabled%20please%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1357121%22%20slang%3D%22en-US%22%3ERe%3A%20ATP%20Memory%20Ballooning%20%26amp%3B%20Hyptherthreading%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1357121%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F646337%22%20target%3D%22_blank%22%3E%40EdLarge%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%231%20E%3CSPAN%3Enabling%20%22Reserve%20all%20guest%20memory%20(All%20locked)%22%20on%20a%20Per%20VM%20basis%20is%20enough%20and%20even%20preferred.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%232%20You%20can%20try%20running%20with%20Hyper%20Threading%2C%20it%20might%20be%20OK%2C%20depending%20on%20how%20strong%20the%20server%20is%2C%20but%20if%20you%20encounter%20health%20alerts%20about%20overloads%2C%20it%20might%20be%20related%20to%20Hyper%20threading%20turned%20on.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1357164%22%20slang%3D%22en-US%22%3ERe%3A%20ATP%20Memory%20Ballooning%20%26amp%3B%20Hyptherthreading%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1357164%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F106935%22%20target%3D%22_blank%22%3E%40Eli%20Ofek%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20your%20quick%20response%20Eli%20-%20greatly%20appreciated.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1378319%22%20slang%3D%22en-US%22%3ERe%3A%20ATP%20Memory%20Ballooning%20%26amp%3B%20Hyptherthreading%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1378319%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F646337%22%20target%3D%22_blank%22%3E%40EdLarge%3C%2FA%3E%26nbsp%3Bthe%20guidance%20you%20received%20from%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F106935%22%20target%3D%22_blank%22%3E%40Eli%20Ofek%3C%2FA%3E%26nbsp%3Bis%20solid%2C%20and%20accurate.%26nbsp%3B%20Just%20to%20add%20some%20additional%20comments%2C%20keep%20in%20mind%20that%20when%20you%20reserve%20the%20memory%2C%20the%20memory%20can%20only%20be%20used%20by%20that%20VM%2C%20so%20the%20trickle%20down%20impact%20(especially%20if%20you%20apply%20reservations%20to%20many%20VMs%20in%20the%20same%20cluster)%20would%20be%20performance%20impact%20to%20other%20VMs.%26nbsp%3B%20Because%20memory%20swap%20is%20disabled%20by%20default%20you%20of%20course%20don't%20get%20that%20advantage%20either.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOf%20course%2C%20if%20you%20don't%20have%20more%20VM%20vMem%20deployed%20than%20you%20have%20physical%20you%20are%20good%2C%20but%20if%20you%20have%20overcommitted%20memory%20keep%20and%20eye%20out%20on%20your%20other%20VMs.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20start%20running%20into%20performance%20issues%20across%20the%20cluster%2C%20look%20at%20share%20value%20as%20an%20alternative%20or%20add%20memory.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EGood%20luck%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hi all,

 

I'm looking through the pre-requisites for deploying ATP sensors to our domain controllers and wanted to get a bit more information around 2 points. 

 

1) Dynamic Memory / Memory Ballooning not supported

 

In the Sizing tool documentation it is recommended that:

VMWareEnsure that the amount of memory configured and the reserved memory are the same, or select the following option in the VM setting – Reserve all guest memory (All locked).

However, there are other places, such as within vMware tools where a memory ballooning driver can be enabled / disabled, or the windows registry on the domain controller. 

 

Q: Are we required to disabled ALL references to memory ballooning? Or will enabling "Reserver all guest memory (All locked)" on a Per VM basis be enough?

 

2) In the Sizing tool documentation it is recommended that:

"It's recommended that you don't work with hyper-threaded cores. Working with hyper-threaded cores can result in Azure ATP sensor health issues."

 

Q: We may not be able to disable Hyperthreading due to some of our domain controllers being hosted in a vMware cluster by a Private cloud provider - are you able to expand on the real world issues we might see when running a domain controller with an ATP sensor with Hyperthreading enabled please?

 

Thank you

 

3 Replies
Highlighted
Best Response confirmed by EdLarge (New Contributor)
Solution

@EdLarge 

#1 Enabling "Reserve all guest memory (All locked)" on a Per VM basis is enough and even preferred.

#2 You can try running with Hyper Threading, it might be OK, depending on how strong the server is, but if you encounter health alerts about overloads, it might be related to Hyper threading turned on.

Highlighted

@Eli Ofek

 

Thanks for your quick response Eli - greatly appreciated. 

Highlighted

@EdLarge the guidance you received from @Eli Ofek is solid, and accurate.  Just to add some additional comments, keep in mind that when you reserve the memory, the memory can only be used by that VM, so the trickle down impact (especially if you apply reservations to many VMs in the same cluster) would be performance impact to other VMs.  Because memory swap is disabled by default you of course don't get that advantage either. 

 

Of course, if you don't have more VM vMem deployed than you have physical you are good, but if you have overcommitted memory keep and eye out on your other VMs.

 

If you start running into performance issues across the cluster, look at share value as an alternative or add memory.

 

Good luck