Home
%3CLINGO-SUB%20id%3D%22lingo-sub-665557%22%20slang%3D%22en-US%22%3ECentOS%20HPC%20VM%20Image%20for%20SR-IOV%20enabled%20Azure%20HPC%20VMs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-665557%22%20slang%3D%22en-US%22%3E%3CP%20style%3D%22text-align%3A%20justify%3B%22%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EThe%20latest%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fblog%2Fintroducing-the-new-hb-and-hc-azure-vm-sizes-for-hpc%2F%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20HPC%20SKUs%20series%2C%20HB%20and%20HC%3C%2FA%3E%2C%20unleash%20the%20true%20power%20of%20Azure's%20performant%20and%20scalable%20HPC%20network%20interconnect%20by%20virtue%20of%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fwindows-hardware%2Fdrivers%2Fnetwork%2Foverview-of-single-root-i-o-virtualization--sr-iov-%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3ESingle%20Root%20IO%20Virtualization%20(SR-IOV)%3C%2FA%3E.%20These%20high%20performance%20VM%20series%20offer%20true%20InfiniBand%20capabilities%20and%20enable%20all%20InfiniBand%20based%20MPI%20libraries%20to%20run%20on%20Azure%20with%20full%20RDMA%20verbs.%3CBR%20%2F%3E%3CBR%20%2F%3ETo%20help%20HPC%20users%20seamlessly%20take%20advantage%20of%20all%20the%20platform%20features%2C%20the%20Azure%20HPC%20team%20offers%20a%20CentOS%20based%20HPC%20image%20in%20Azure%20Marketplace%20(published%20by%20Rogue%20Wave%20Software).%20This%20image%2C%20starting%20today%20with%20CentOS%207.6%2C%20includes%20optimizations%20and%20recommended%20configurations%20to%20deliver%20optimal%20performance%2C%20consistency%2C%20and%20reliability.%20This%20is%20the%20same%20image%20we%20recently%20used%20to%20set%20to%20run%20the%20public%20cloud's%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fblog%2Fhb-series-azure-virtual-machines-achieve-cloud-supercomputing-milestone%2F%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Efirst%20ever%2010%2C000%2B%20core%20MPI%20job%3C%2FA%3E!%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20style%3D%22text-align%3A%20justify%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22text-align%3A%20justify%3B%22%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EBelow%20is%20the%20full%20list%20of%20configuration%20updates%20and%20software%20installations%20(on%20top%20of%20a%20vanilla%20Azure%20CentOS%20VM%20image)%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSTRONG%3EConfiguration%20Updates%3C%2FSTRONG%3E%3A%3CBR%20%2F%3EThe%20included%20configuration%20updates%20are%20based%20on%20optimization%20recommendations%20from%20vendors%20and%20partners%2C%20as%20well%20as%20learnings%20from%20common%20HPC%20workloads%20and%20usage%20practices%20in%20traditional%20HPC%20systems.%3CBR%20%2F%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%20style%3D%22box-sizing%3A%20border-box%3B%20font-family%3A%20%26amp%3Bquot%3B%22%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%20box-sizing%3A%20border-box%3B%22%3EAzure%20Linux%20Agent%20(WAAgent)%3C%2FFONT%3E%3CUL%20style%3D%22box-sizing%3A%20border-box%3B%20clear%3A%20left%3B%20list-style-image%3A%20none%3B%20list-style-position%3A%20outside%3B%20list-style-type%3A%20disc%3B%20margin-bottom%3A%200px%3B%20margin-top%3A%200px%3B%20padding-left%3A%202.5em%3B%22%3E%0A%3CLI%20style%3D%22box-sizing%3A%20border-box%3B%20font-family%3A%20%26amp%3Bquot%3B%22%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%20box-sizing%3A%20border-box%3B%22%3ELimit%20waagent's%20(VM%20agent%20running%20on%20every%20Azure%20Linux%20VM)%20usage%20of%20CPU%2Fmemory%20resources.%3C%2FFONT%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22box-sizing%3A%20border-box%3B%20font-family%3A%20%26amp%3Bquot%3B%22%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%20box-sizing%3A%20border-box%3B%22%3EOptionally%20consider%20disabling%20waagent%20at%20the%20beginning%20of%20your%20job%20script%2C%20and%20enabling%20it%20back%20at%20the%20end%2C%3C%2FFONT%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%20box-sizing%3A%20border-box%3B%22%3E%20for%20CPU%20sensitive%20workloads%20as%20follows%3A%3C%2FFONT%3E%3CPRE%3Esudo%20systemctl%20stop%20waagent%0A%26lt%3BHPC%20job%26gt%3B%0Asudo%20systemctl%20restart%20waagent%3C%2FPRE%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EHigher%20Memory%20Limits%20%3C%2FFONT%3E%0A%3CUL%3E%0A%3CLI%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3ESet%20max-locked-memory%20limit%20to%20unlimited%3C%2FFONT%3E%3C%2FLI%3E%0A%3CLI%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3ESet%20number%20of%20open%20files%20limit%20to%2065535%3C%2FFONT%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EZone%20Reclaim%20mode%20%3C%2FFONT%3E%0A%3CUL%3E%0A%3CLI%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3ESet%20zone_reclaim_mode%20to%201%3C%2FFONT%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EDisable%20firewall%20daemon%20to%20help%20MPI%20job%20launchers%3C%2FFONT%3E%3C%2FLI%3E%0A%3CLI%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EDisable%20NFS%20GSS%20proxy%20to%20improve%20NFS%20performance%3C%2FFONT%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3E%3CBR%20%2F%3E%3C%2FFONT%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3E%3CSTRONG%3ESoftware%20Installations%3A%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EThe%20CentOS%20HPC%20image%20also%20comes%20with%20a%20set%20of%20pre-installed%20software%20packages%3A%3CBR%20%2F%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22http%3A%2F%2Fwww.mellanox.com%2Fpage%2Fproducts_dyn%3Fproduct_family%3D26%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EMellanox%20OFED%3C%2FFONT%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EPre-configured%20IPoIB%20(IP-over-InfiniBand)%3C%2FFONT%3E%3C%2FLI%3E%0A%3CLI%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EDevelopment%20Tools%2C%20including%20GCC%20(recommended%20version%20by%20platform%20vendors)%3C%2FFONT%3E%3C%2FLI%3E%0A%3CLI%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EMPI%20Libraries%20and%20Communication%20Runtimes%3C%2FFONT%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22http%3A%2F%2Fwww.mellanox.com%2Fpage%2Fproducts_dyn%3Fproduct_family%3D189%26amp%3Bmtag%3Dhpc-x%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EHPC-X%3C%2FFONT%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22box-sizing%3A%20border-box%3B%20font-family%3A%20%26amp%3Bquot%3B%22%3E%3CA%20style%3D%22background-color%3A%20transparent%3B%20box-sizing%3A%20border-box%3B%20color%3A%20%23146cac%3B%20text-decoration%3A%20underline%3B%22%20href%3D%22https%3A%2F%2Fwww.open-mpi.org%2F%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EOpenMPI%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fsoftware.intel.com%2Fmpi-library%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EIntelMPI%3C%2FFONT%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22box-sizing%3A%20border-box%3B%20font-family%3A%20%26amp%3Bquot%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fwww.mpich.org%2F%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EMPICH%3C%2FFONT%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22http%3A%2F%2Fmvapich.cse.ohio-state.edu%2F%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EMVAPICH2%3C%2FFONT%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22http%3A%2F%2Fwww.openucx.org%2F%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EUCX%20Communication%20Runtime%3C%2FFONT%3E%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22text-align%3A%20justify%3B%22%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EThe%20MPI%20libraries%20are%20configured%20as%20environment%20modules.%20Users%20can%20select%20any%20preferred%20MPI%20flavor%20as%20follows%3A%3C%2FFONT%3E%3C%2FP%3E%0A%3CPRE%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3Emodule%20load%20mpi%2F%3CMPI-FLAVOR%3E%3C%2FMPI-FLAVOR%3E%3C%2FFONT%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EPlease%20refer%20to%20the%20corresponding%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fszarkos%2FAzureBuildCentOS%2Fblob%2Fmaster%2Fks%2Fazure%2Fcentos76-hpc-sriov.ks%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3ECentOS-HPC%20kickstart%20file%3C%2FA%3E%20for%20a%20complete%20list%20of%20configuration%20updates%20and%20software%20configurations.%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EAzure%20HPC%20team%20aims%20to%20keep%20the%20CentOS%20HPC%20images%20up-to-date%20with%20latest%20software%20versions.%26nbsp%3B%3CBR%20%2F%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22text-align%3A%20justify%3B%22%3E%3CSTRONG%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EDeploying%20the%20CentOS%20HPC%20Image%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%20style%3D%22text-align%3A%20justify%3B%22%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EThe%20CentOS%20HPC%20images%20are%20available%20from%20%3CA%20href%3D%22https%3A%2F%2Fazuremarketplace.microsoft.com%2Fmarketplace%2Fapps%2Froguewave.centosbased76hpc%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Marketplace%3C%2FA%3E%2C%20and%20it%20can%20be%20deployed%20through%20a%20variety%20of%20deployment%20vehicles%20(CycleCloud%2C%20Batch%2C%20ARM%20templates%2C%20etc).%20%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20style%3D%22text-align%3A%20justify%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22text-align%3A%20justify%3B%22%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EGo%20ahead%20and%20give%20this%20image%20a%20try%20for%20your%20HPC%20workloads!%20%3C%2FFONT%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3EWe're%20all%20ears%20for%20your%20feedback%2C%20including%20additional%20recommendations%20for%20optimizations%20or%20included%20software%2C%20even%20other%20OSes%20Azure%20should%20optimize%20for%20HPC%20purposes.%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20style%3D%22text-align%3A%20justify%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22text-align%3A%20justify%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2F%23create%2FMicrosoft.Template%2Furi%2Fhttps%253A%252F%252Fraw.githubusercontent.com%252Fjithinjosepkl%252Fazhpc%252Fmaster%252Fazuredeploy.json%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20%3CIMG%20src%3D%22http%3A%2F%2Fazuredeploy.net%2Fdeploybutton.png%22%20border%3D%220%22%20%2F%3E%20%3C%2FA%3E%20%3CI%3E%3C%2FI%3E%3C%2FP%3E%0A%3CP%20style%3D%22text-align%3A%20justify%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22text-align%3A%20justify%3B%22%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3E%3CEM%20style%3D%22box-sizing%3A%20border-box%3B%20color%3A%20%23333333%3B%20font-family%3A%20%26amp%3Bquot%3B%20segoeui%26amp%3Bquot%3B%2C%26amp%3Bquot%3Blato%26amp%3Bquot%3B%2C%26amp%3Bquot%3Bhelvetica%20neue%26amp%3Bquot%3B%2Chelvetica%2Carial%2Csans-serif%3B%20font-size%3A%2016px%3B%20font-style%3A%20italic%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20300%3B%20letter-spacing%3A%20normal%3B%20orphans%3A%202%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%22%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%20box-sizing%3A%20border-box%3B%22%3E%3CSTRONG%20style%3D%22box-sizing%3A%20border-box%3B%20font-weight%3A%20bold%3B%22%3ENote%3C%2FSTRONG%3E%3A%20This%20image%20is%20intended%20*only*%20for%20the%20SR-IOV%20enabled%20Azure%20instances%20(such%20as%20Azure%20HB%2C%20HC%2C%20etc.).%3C%2FFONT%3E%3C%2FEM%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20style%3D%22text-align%3A%20justify%3B%22%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-665557%22%20slang%3D%22en-US%22%3E%3CP%20style%3D%22text-align%3A%20justify%3B%22%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%20box-sizing%3A%20border-box%3B%20color%3A%20%23333333%3B%20font-family%3A%20%26amp%3Bquot%3B%20segoeui%26amp%3Bquot%3B%2C%26amp%3Bquot%3Blato%26amp%3Bquot%3B%2C%26amp%3Bquot%3Bhelvetica%20neue%26amp%3Bquot%3B%2Chelvetica%2Carial%2Csans-serif%3B%20font-size%3A%2016px%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20300%3B%20letter-spacing%3A%20normal%3B%20orphans%3A%202%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%22%3EAn%20optimized%20CentOS-HPC%207.6%20VM%20image%20is%20now%20available%20for%20Azure's%20new%20SR-IOV%20enabled%20HB%20and%20HC-series%20Virtual%20Machines.%20The%20whole%20stack%20now%20enables%20supercomputer-class%20performance%20and%20massive%20scalability%20for%20the%20most%20demanding%20HPC%20workloads.%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E
Microsoft

The latest Azure HPC SKUs series, HB and HC, unleash the true power of Azure's performant and scalable HPC network interconnect by virtue of Single Root IO Virtualization (SR-IOV). These high performance VM series offer true InfiniBand capabilities and enable all InfiniBand based MPI libraries to run on Azure with full RDMA verbs.

To help HPC users seamlessly take advantage of all the platform features, the Azure HPC team offers a CentOS based HPC image in Azure Marketplace (published by Rogue Wave Software). This image, starting today with CentOS 7.6, includes optimizations and recommended configurations to deliver optimal performance, consistency, and reliability. This is the same image we recently used to set to run the public cloud's first ever 10,000+ core MPI job!

 

Below is the full list of configuration updates and software installations (on top of a vanilla Azure CentOS VM image):

Configuration Updates:
The included configuration updates are based on optimization recommendations from vendors and partners, as well as learnings from common HPC workloads and usage practices in traditional HPC systems.

  • Azure Linux Agent (WAAgent)
    • Limit waagent's (VM agent running on every Azure Linux VM) usage of CPU/memory resources.
    • Optionally consider disabling waagent at the beginning of your job script, and enabling it back at the end, for CPU sensitive workloads as follows:
      sudo systemctl stop waagent
      <HPC job>
      sudo systemctl restart waagent
  • Higher Memory Limits
    • Set max-locked-memory limit to unlimited
    • Set number of open files limit to 65535
  • Zone Reclaim mode
    • Set zone_reclaim_mode to 1
  • Disable firewall daemon to help MPI job launchers
  • Disable NFS GSS proxy to improve NFS performance

 

Software Installations:

The CentOS HPC image also comes with a set of pre-installed software packages:

 

The MPI libraries are configured as environment modules. Users can select any preferred MPI flavor as follows:

module load mpi/<mpi-flavor>

 

Please refer to the corresponding CentOS-HPC kickstart file for a complete list of configuration updates and software configurations.

 

Azure HPC team aims to keep the CentOS HPC images up-to-date with latest software versions. 

 

Deploying the CentOS HPC Image

The CentOS HPC images are available from Azure Marketplace, and it can be deployed through a variety of deployment vehicles (CycleCloud, Batch, ARM templates, etc).

 

Go ahead and give this image a try for your HPC workloads! We're all ears for your feedback, including additional recommendations for optimizations or included software, even other OSes Azure should optimize for HPC purposes.

 

 

Note: This image is intended *only* for the SR-IOV enabled Azure instances (such as Azure HB, HC, etc.).