_CORE
AI & Agentic Systems Core Information Systems Cloud & Platform Engineering Data Platform & Integration Security & Compliance QA, Testing & Observability IoT, Automation & Robotics Mobile & Digital Banking & Finance Insurance Public Administration Defense & Security Healthcare Energy & Utilities Telco & Media Manufacturing Logistics & E-commerce Retail & Loyalty
References Technologies Blog Know-how Tools
About Collaboration Careers
CS EN
Let's talk

VMware Virtualization for Java Application Servers

20. 03. 2012 1 min read CORE SYSTEMSinfrastructure
VMware Virtualization for Java Application Servers

With a growing number of clients and environments we migrated to VMware vSphere 5. Today 80 percent of our non-production environments run on VMs.

Sizing

vCPUs: never more than the number of physical cores. RAM: JVM heap + 2–3 GB for the OS. Memory overcommit for Java is NOT RECOMMENDED — the ballooning driver can take memory away from the JVM. Disk: thick provisioned for production.

NUMA awareness

Keep the number of vCPUs per VM less than or equal to the cores on a single NUMA node. Otherwise memory access will be slower and GC pauses will be unpredictable.

Java-specific settings

Disable ballooning for production Java VMs. Use PVSCSI adapter and VMXNET3 network adapter. Monitor CPU ready time — above 5 percent means insufficient CPU.

HA and vMotion

vMotion with no visible impact. vSphere HA automatically restarts VMs. For non-critical applications, VM-level HA is sufficient.

Summary

Virtualization works excellently with proper sizing. The savings in cost and flexibility outweigh the 3–5 percent overhead.

vmwarevirtualizacejavainfrastructure
Share:

CORE SYSTEMS

Stavíme core systémy a AI agenty, které drží provoz. 15 let zkušeností s enterprise IT.

Need help with implementation?

Our experts can help with design, implementation, and operations. From architecture to production.

Contact us