SlideShare una empresa de Scribd logo
1 de 55
Descargar para leer sin conexión
Virtualizing and Tuning Large Scale Java Platforms
Emad Benjamin, VMware
VAPP4536
#VAPP4536
2
About the Speaker
 I have been with VMware for the last 8 years, working on Java
and vSphere
 20 years experience as a Software Engineer/Architect, with last 15
years focused on Java development
 Open source contributions
 Prior work with Cisco, Oracle, and Banking/Trading Systems
 Authored the following books:
• Virtualizing and Tuning Large Scale Java Platforms
• Enterprise Java Applications Architecture on VMware
3
Disclaimer
 This session may contain product features that are
currently under development.
 This session/overview of the new technology represents
no commitment from VMware to deliver these features in
any generally available product.
 Features are subject to change, and must not be included in
contracts, purchase orders, or sales agreements of any kind.
 Technical feasibility and market demand will affect final delivery.
 Pricing and packaging for any new technologies or features
discussed or presented have not been determined.
4
Agenda
 Overview
 Design and Sizing Java Platforms
 Performance
 Best Practices and Tuning
 Customer Success Stories
 Questions
5
Java Platforms Overview
6
Conventional Java Platforms
Java Platforms are multitier and multi org
DB ServersJava Applications
Load Balancer Tier
Load Balancers Web Servers
IT Operations
Network Team
IT Operations
Server Team
IT Apps – Java
Dev Team
IT Ops & Apps
Dev Team
Organizational Key Stakeholder Departments
Web Server Tier Java App Tier DB Server Tier
7
Middleware Platform Architecture on vSphere
SHARED,ALWAYS-ON
INFRASTRUCTURE
SHAREDINFRASTRUCTURESERVICES
Capacity On Demand High AvailabilityDynamic
APPLICATIONSERVICES
DBServersJavaApplicationsLoadbalancers WebServers
VMwarevSphere
HighUptime, Scalable, and DynamicEnterprise JavaApplicationsLoad Balancers as VMs
Web Servers
Java Application Servers
8
Java Platforms Design and Sizing
9
Design and Sizing of Java Platforms on vSphere
Step 1 –
EstablishLoad profile
From production
logs/monitoring
reports measure:
Concurrent
Users
Requests Per
Second
Peak
ResponseTime
Average
ResponseTime
Establishyour
response time SLA
Step 2
EstablishBenchmark
 Iterate through
Benchmark test until
youare satisfied with
the Load profile
metrics and your
intendedSLA
after each
benchmarkiteration
youmay have to
adjustthe Application
Configuration
 Adjust the vSphere
environmentto scale
out/upin order to
achieveyour desired
number of VMs,
number of vCPU and
RAM configurations
Step 3 –
Size Production Env.
 The size of the
production
environmentwould
havebeen
establishedin
Step2, hence either
you roll out the
environmentfrom
Step-2 or build a
new one based on
the numbers
established
10
Step 2 – Establish Benchmark
DETERMINE HOW MANY VMs
Establish Horizontal Scalability
Scale Out Test
How many VMs do you need to
meet your Response Time SLAs
without reaching 70%-80%
saturation of CPU?
Establish your Horizontal scalability
Factor before bottleneck appear in
your application
Scale Out Test
Building Block VM Building Block VM
SLA
OK?
Test
complete
Investigate bottlnecked layer
Network, Storage,
Application Configuration, &
vSphere
If scale out
bottlenecked
layer is
removed, iterate
scale out test
If building block
app/VM config
problem, adjust
& iterate No
Building Block VM
ESTABLISH BUILDING BLOCK VM
Establish Vertical scalability
Scale Up Test
Establish how many JVMs on a VM?
Establish how large a VM would be
in terms of vCPU and memory
ScaleUpTest
Building Block VM
11
Design and Sizing HotSpot JVMs on vSphere
JVM
Max
Heap
-Xmx
JVM
Memory
Perm Gen
Initial
Heap
Guest OS
Memory
VM
Memory
-Xms
Java Stack
-Xss per thread
-XX:MaxPermSize
Other mem
Direct native
Memory
“off-the-heap”
Non
Direct
Memory
“Heap”
12
Design and Sizing of HotSpot JVMs on vSphere
 Guest OS Memory approx 1G (depends on OS/other processes)
 Perm Size is an area additional to the –Xmx (Max Heap) value and
is not GC-ed because it contains class-level information.
 “other mem” is additional mem required for NIO buffers, JIT code
cache, classloaders, Socket Buffers (receive/send), JNI, GC
internal info
 If you have multiple JVMs (N JVMs) on a VM then:
• VM Memory = Guest OS memory + N * JVM Memory
VM Memory = Guest OS Memory + JVM Memory
JVM Memory = JVM Max Heap (-Xmx value) + JVM Perm Size (-XX:MaxPermSize) +
NumberOfConcurrentThreads * (-Xss) + “other Mem”
13
Sizing Example
JVM Max
Heap
-Xmx
(4096m)
JVM
Memory
(4588m) Perm Gen
Initial
Heap
Guest OS
Memory
VM
Memory
(5088m)
-Xms (4096m)
Java Stack -Xss per thread (256k*100)
-XX:MaxPermSize (256m)
Other mem (=217m)
500m used by OS
set mem Reservation to
5088m
14
Perm Gen
Initial
Heap
Java Stack
Larger JVMs for In-Memory Data Management Systems
JVM Max
Heap
-Xmx
(30g)
Guest OS
Memory
-Xms (30g)
-Xss per thread (1M*500)
-XX:MaxPermSize (0.5g)
Other mem (=1g)
0.5-1g used by OS
Set memory reservation to
34g
JVM
Memory for
SQLFire
(32g)
VM
Memory for
SQLFire
(34g)
15
NUMA Local Memory with Overhead Adjustment
Physical RAM
On vSphere host
Physical RAM
On vSphere host
Number of VMs
On vSphere host
1% RAM
overhead
vSphere RAM
overhead
Number of Sockets
On vSphere host
16
Middleware ESXi Cluster
96GB RAM
2 sockets
8 pCPU per
socket
Middleware
components
47GB RAM VMs
with
8vCPU
Locator/heart beat
for middleware
DO NOT VMotion
Memory Available for all VMs =
96*0.98 -1GB => 94GB
Per NUMA memory => 94/2
47GB
17
96 GB RAM
on Server
Each NUMA
Node has 94/2
47GB
8 vCPU VMs
less than
47GB RAM
on each VMESX
Scheduler
If VM is sized greater
than 47GB or 8 CPUs,
Then NUMA interleaving
Occurs and can cause
30% drop in memory
throughput performance
18
1
128 GB RAM
on server
2vCPU VMs
less than
20GB RAM
on each VM
4vCPU VM
40GB RAM
split by ESXi into
2 NUMA Clients
available in ESX4.1
ESXi
Scheduler 2
3
4
5
19
Java Platform Categories – Category 1
 Smaller JVMs < 4GB heap,
4.5GB Java process, and 5GB
for VM
 vSphere hosts with <96GB
RAM is more suitable, as by
the time you stack the many
JVM instances, you are likely
to reach CPU boundary before
you can consume all of the
RAM. For example if instead
you chose a vSphere host with
256GB RAM, then 256/4.5GB =>
57JVMs, this would clearly
reach CPU boundary
 Multiple JVMs per VM
 Use Resource pools to
manage different LOBs Category 1: 100s to 1000s of JVMs
Resource Pool 1
Gold LOB 1
Resource Pool 2
SilverLOB 2
Use 4 sockets servers
to get more cores
20
Most Common Sizing and Configuration Question
JVM-1 JVM-2
JVM-1A
JVM-1 JVM-2 JVM-1 JVM-2
JVM-2A
JVM-3 JVM-4 Option-1 Scale out VM and JVM ( best)
Option-2 Scale Up JVM heap size (2nd best)
JVM-2JVM-1
Option-3 Scale up VM and JVM (3rd best)
2GB 2GB 2GB 2GB
2vCPU2vCPU 2vCPU 2vCPU
2vCPU2vCPU
4GB4GB
21
What Else to Consider When Sizing?
Job
Web
JVM-1
Job
Web
JVM-2
Job
Web
Job
Web
JVM-3
Job
Web
JVM-4
Vertical
Horizontal
 Mixed workloads Job Scheduler vs Web app require
different GC Tuning
 Job Schedulers care about Throughput
 Web apps care about minimize latency and response time
 You can’t have both reduced response time and increased
throughput, without compromise
 Separate the concerns for optimal tuning
22
Java Platform Categories – Category 2
 Fewer JVMs < 20
 Very large JVMs, 32GB to 128GB
 Always deploy 1 VM per NUMA node
and size to fit perfectly
 1 JVM per VM
 Choose 2 socket vSphere hosts, and
install ample memory128GB to 512GB
 Example is in memory databases, like
SQLFire and GemFire
 Apply latency sensitive BP disable
interrupt coalescing pNIC and vNIC
 Dedicated vSphere cluster
Category 2: a dozen of very large JVMs
Use 2 sockets servers
to get larger NUMA
nodes
23
Java Platform Categories – Category 3
Category 3: Category-1 accessing data from Category-2
Resource Pool 1
Gold LOB 1
Resource Pool 2
SilverLOB 2
24
Java Platforms Performance
25
Performance Perspective
See the Performance of Enterprise Java Applications on VMware
vSphere 4.1 and SpringSource tc Server at
http://www.vmware.com/resources/techresources/10158 .
26
Performance Perspective
See the Performance of Enterprise Java Applications on VMware
vSphere 4.1 and SpringSource tc Server at
http://www.vmware.com/resources/techresources/10158 .
80% Threshold
% CPU
R/T
27
SQLFire vs. Traditional RDBMS
SQLFire scaled 4x compared to RDBMS
Response times of SQLFire are 5x to 30x
faster than RDBMS
Response times on SQLFire are more
stable and constant with increased load
RDBMS response times increase with
increased load
28
Load Testing SpringTrader Using Client-Server Topology
SpringTrader
Integration Services
Application Tier SpringTrader
Application Service
SQLFire
Member 2
Redundant
Locators
SpringTrader Data Tier
SQLFire
Member1
Integration
Patterns
4 Application Services
29
vFabric Reference Architecture Scalability Test
0.00
0.50
1.00
1.50
2.00
2.50
3.00
3.50
4.00
0
2000
4000
6000
8000
10000
12000
1 2 3 4
Scalingfrom1AppServicesVM
NumberofUsers
Number of Application Services VMs
Maximum Passing Users and Scaling
With this topology
10400 users session
30
10k Users Load Test Response Time
0
1
2
3
4
5
6
7
0 2000 4000 6000 8000 10000 12000
Seconds
Number of Users
Operation 90th-Percentile Response-Time
Four Application Services VMs
HomePage Register Login DashboardTab PortfolioTab
TradeTab GetHoldingsPage GetOrdersPage SellOrder GetQuote
BuyOrder Logout MarketSummary
10400 users session
Approx. 0.25 seconds
response time
31
Java Platforms Best Practices
and Tuning
32
Most Common VM Size for Java Workloads
 2 vCPU VM with 1 JVM, for tier-1 production workloads
 Maintain this ratio as you scale out or scale-up, i.e. 1 JVM : 2vCPU
 Scale out preferred over Scale-up, but both can work
 You can diverge from this ratio for less critical workloads
2 vCPU VM
1 JVM (-Xmx 4096m)
Approx 5GB RAM Reservation
33
However for Large JVMs + CMS
For large JVMs
4+ vCPU VM
1 JVM (8-128GB)
 Start with 4+ vCPU VM with 1 JVM, for
tier-1 in memory data management
systems type of production workloads
 Likely increase JVM size, instead of
launching a second JVM instance
 Multiple 4vCPU+ will allow for
ParallelGCThreads to be allocated 50% of
the available vCPUs to the JVM, i.e. 2 GC
Threads +
 Ability to increase ParallelGCThreads is
critical to YoungGen scalability for large
JVMs
 ParallelGCThreads should be allocated
50% of available vCPU to the JVM and not
more. You want to ascertain there other
vCPUs available for other txns
34
Which GC?
ESX doesn’t care which GC you select, because of the degree of
independence of Java to OS and OS to Hypervisor
35
GC Policy Types
GC Policy Type Description
Serial GC •Mark, sweep and compact algorithm
•Both minor and full GC are stop the world threads
•Stop the world GC means application is stopped while GC is
executing
•Not very scalable algorithm
•Suited for smaller <200MB JVMs like Client machines
Throughput
GC
•Parallel GC
•Similar to Serial GC, but uses multiple worker Threads in
parallel to increase throughput
•Both Young and Old Generation collection are multi thread, but
still stop-the-world
• number of threads allocated by -
XX:ParallelGCThreads=<nThreads>
•NOT Concurrent, meaning when the GC worker threads run,
they will pause your application threads. If this is a problem
move to CMS where GC threads are concurrent.
36
GC Policy Types
GC Policy Type Description
Concurrent GC •Concurrent Mark and Sweep, no compaction
•Concurrent implies when GC is running it doesn't pause your
application threads – this is the key difference to
throughput/parallel GC
•Suited for application that care more about response time than
throughput
•CMS does use more heap when compared to
throughput/ParallelGC
•CMS works on OLD gen concurrently, but young generation is
collected using ParNewGC, a version of the throughput collector
•Has multiple phases:
• Initial mark (short pause)
• concurrent mark (no pause)
• Pre-cleaning (no pause)
• re-mark (short pause)
• Concurrent sweeping (no pause)
G1 • Only in J7 and mostly experimental, equivalent to CMS + compacting
37
Tuning GC – Art Meets Science!
Either you tune for Throughput or Latency, one at the cost of the other
Increase
Throughput
Reduce
Latency Tuning
Decisions
• improved R/T
• reduce latency impact
• slightly reduced throughput
• improved throughput
• longer R/T
• increased latency impact
Job
Web
38
Parallel Young Gen and CMS Old Gen
application threadsminor GC threads concurrent mark and sweep GC
Young Generation Minor GC
Parallel GC in YoungGen using
XX:ParNewGC & XX:ParallelGCThreads
-Xmn
Old Generation Major GC
Concurrent using in OldGen using
XX:+UseConcMarkSweepGC
Xmx minus Xmn
S
0
S
1
39
High Level GC Tuning Recipe
Measure
Minor GC
Duration
and
Frequency
Adjust –Xmn
Young Gen size
and /or
ParallelGCThreads
Measure
Major GC
Duration
And
Frequency
Adjust
Heap space
–Xmx
Adjust –Xmn
And/or
SurvivorSpaces
Step A-Young Gen Tuning
Step B-Old Gen Tuning
Step C-
Survivor Spaces
Tuning
40
CMS Collector Example
java –Xms30g –Xmx30g –Xmn10g -XX:+UseConcMarkSweepGC -XX:+UseParNewGC –
XX:CMSInitiatingOccupancyFraction=75
–XX:+UseCMSInitiatingOccupancyOnly -XX:+ScavengeBeforeFullGC
-XX:TargetSurvivorRatio=80 -XX:SurvivorRatio=8 -XX:+UseBiasedLocking
-XX:MaxTenuringThreshold=15 -XX:ParallelGCThreads=4
-XX:+UseCompressedOops -XX:+OptimizeStringConcat -XX:+UseCompressedStrings
-XX:+UseStringCache
 This JVM configuration scales up and down effectively
 -Xmx=-Xms, and –Xmn 33% of –Xmx
 -XX:ParallelGCThreads=< minimum 2 but less than 50% of available
vCPU to the JVM. NOTE: Ideally use it for 4vCPU VMs plus, but if
used on 2vCPU VMs drop the -XX:ParallelGCThreads option and let
Java select it
41
IBM JVM – GC Choice
-Xgc:mode Usage Example
-Xgcpolicy:Optthruput
(Default)
Performs the mark and sweep operations
during garbage collection when the
application is paused to maximize
application throughput. Mostly not
suitable for multi CPU machines.
Apps that demand a
high throughput but
are not very sensitive
to the occasional long
garbage collection
pause
-
Xgcpolicy:Optavgpause
Performs the mark and sweep
concurrently while the application is
running to minimize pause times; this
provides best application response times.
There is still a stop-the-world GC, but the
pause is significantly shorter. After GC,
the app threads help out and sweep
objects (concurrent sweep).
Apps sensitive to long
latencies transaction-
based systems where
Response Time are
expected to be stable
-Xgcpolicy:Gencon Treats short-lived and long-lived objects
differently to provide a combination of
lower pause times and high application
throughput.
Before the heap is filled up, each app
helps out and mark objects
(concurrent mark).
Latency sensitive
apps, objects in the
transaction don't
survive beyond the
transaction commit
Job
Web
Web
42
Middleware on VMware – Best Practices
Enterprise Java
Applications on
VMware Best
Practices Guide
http://www.vmware.com/resources/techresources/1087
Best Practices for
Performance Tuning
of Latency-Sensitive
Workloads in vSphere
VMs
http://www.vmware.com/resources/techresources/10220
vFabric SQLFire Best
Practices Guide
http://www.vmware.com/resources/techresources/10327
vFabric Reference
Architecture
http://tinyurl.com/cjkvftt
43
Middleware on VMware – Best Practices Summary
 Follow the design and sizing examples we discussed thus far
 Set appropriate memory reservation
 Leave HT enabled, size bases on vCPU=1.25pCPU if needed
 RHEL6 and SLES 11 SP1 have tickless kernel that does not rely on
a high frequency interrupt-based timer, and is therefore much
friendlier to virtualized latency-sensitive workloads
 Do not overcommit memory
 Locators/heartbeat process should not be vMotion® migrated, it
otherwise would lead to network split brain problems
 vMotion over 10Gbps when doing scheduled maintenance
 Use Affinity and Anti-Affinity rules to avoid redundant copies on
the same VMware ESX®/ESXi host
44
Middleware on VMware – Best Practices
 Disable NIC interrupt coalescing on physical and virtual NIC
 Extremely helpful in reducing latency for latency-sensitive
virtual machines
 Disable virtual interrupt coalescing for VMXNET3
• It can lead to some performance penalties for other virtual machines on the
ESXi host, as well as higher CPU utilization to deal with the higher rate of
interrupts from the physical NIC
 This implies it is best to use dedicated ESX cluster for
Middleware Platforms
• All host are configured the same way for latency sensitivity and this insures
non middleware workloads, such as other enterprise applications are not
negatively impacted
• This is applicable in category 2 workloads
45
Middleware on VMware – Benefits
 Flexibility to change compute resources, VM sizes, add more hosts
 Ability to apply hardware and OS patches while
minimizing downtime
 Create more manageable system through reduced
middleware sprawl
 Ability to tune the entire stack within one platform
 Ability to monitor the entire stack within one platform
 Ability to handle seasonal workloads, commit resources when
they are needed and then remove them when not needed
46
Customer Success Stories
47
NewEdge
 Virtualized GemFire workload
 Multiple geographic active-
active datacenters
 Multiple Terabytes of data
kept in memory
 1000s of transactions per
second
 Multiple vSphere clusters
 Each cluster 4 vSphere hosts
and 8 large 98GB+ JVMs
http://www.vmware.com/files/pdf/customers/VMware-Newedge-12Q4-EN-Case-Study.pdf
48
Cardinal Health Virtualization Journey
4
Consolidation
 < 40% Virtual
 <2,000 VMs
 <2,355 physical
Data Center Optimization
 30 DCs to 2 DCs
Transition to Blades
 <10% Utilization
 <10:1 VM/Physical
Low Criticality Systems
 8X5 Applications
Internal cloud
 >58% Virtual
 >3,852 VMs
 <3,049 physical
Power Remediation
 P2Vs on refresh
HW Commoditization
 15% Utilization
 30:1 VM/Physical
Business Critical Systems
 SAP ~ 382
 WebSphere ~ 290
 Unix to Linux ~ 655
Cloud Resources
• >90% Virtual
 >8,000 VMs
 <800 physical
Optimizing DCs
 Internal disaster recovery
 Metered service offerings
(SAAS, PAAS, IAAS)
Shrinking HW Footprint
 > 50% Utilization
 > 60:1 VM/Physical
Heavy Lifting Systems
 Database Servers
Virtual
HW
SW
Timeline 2005 – 2008 2009 – 2011 2012 – 2015
Theme
Centralized IT
Shared Service
Capital Intensive - High
Response
Variable Cost
SubscriptionServices
DC
49
Virtualization Why Virtualize WebSphere on VMWare
 DC strategy alignment
• Pooled resources capacity ~15% utilization
• Elasticity – for changing workloads
• Unix to Linux
• Disaster Recovery
 Simplification and manageability
• High availability for thousands instead of thousands of high
availability solutions
• Network & system management in DMZ
 Five year cost savings ~ $6 million
• Hardware Savings ~ $660K
• WAS Licensing ~ $862K
• Unix to Linux ~ $3.7M
• DMZ – ports~ >$1M
50
Thank you and are there any Questions?
Emad Benjamin,
ebenjamin@vmware.com
You can get the book here:
https://www.createspace.com/3632131
51
Second Book
 Emad Benjamin,
ebenjamin@vmware.com
 Preview chapter available at
VMworld bookstore
You can get the book here:
Safari: http://tinyurl.com/lj8dtjr
Later on Amazon
 http://tinyurl.com/kez9trj
52
Other VMware Activities Related to This Session
 HOL:
HOL-SDC-1304
vSphere Performance Optimization
 Group Discussions:
VAPP1010-GD
Java with Emad Benjamin
THANK YOU
Virtualizing and Tuning Large Scale Java Platforms
Emad Benjamin, VMware
VAPP4536
#VAPP4536

Más contenido relacionado

La actualidad más candente

VMworld 2014: Site Recovery Manager and vSphere Replication
VMworld 2014: Site Recovery Manager and vSphere ReplicationVMworld 2014: Site Recovery Manager and vSphere Replication
VMworld 2014: Site Recovery Manager and vSphere ReplicationVMworld
 
VMware Site Recovery Manager - Architecting a DR Solution - Best Practices
VMware Site Recovery Manager - Architecting a DR Solution - Best PracticesVMware Site Recovery Manager - Architecting a DR Solution - Best Practices
VMware Site Recovery Manager - Architecting a DR Solution - Best Practicesthephuck
 
Always On - Wydajność i bezpieczeństwo naszych danych - High Availability SQL...
Always On - Wydajność i bezpieczeństwo naszych danych - High Availability SQL...Always On - Wydajność i bezpieczeństwo naszych danych - High Availability SQL...
Always On - Wydajność i bezpieczeństwo naszych danych - High Availability SQL...SQLExpert.pl
 
Sql Server High Availability & DR Technologies
Sql Server High Availability & DR TechnologiesSql Server High Availability & DR Technologies
Sql Server High Availability & DR TechnologiesRockSolid SQL
 
Presentation v center site recovery manager
Presentation   v center site recovery managerPresentation   v center site recovery manager
Presentation v center site recovery managersolarisyourep
 
vCenter Site Recovery Manager: Architecting a DR Solution
vCenter Site Recovery Manager: Architecting a DR SolutionvCenter Site Recovery Manager: Architecting a DR Solution
vCenter Site Recovery Manager: Architecting a DR SolutionRackspace
 
Classloader leak detection in websphere application server
Classloader leak detection in websphere application serverClassloader leak detection in websphere application server
Classloader leak detection in websphere application serverRohit Kelapure
 
VMworld 2013: VMware Disaster Recovery Solution with Oracle Data Guard and Si...
VMworld 2013: VMware Disaster Recovery Solution with Oracle Data Guard and Si...VMworld 2013: VMware Disaster Recovery Solution with Oracle Data Guard and Si...
VMworld 2013: VMware Disaster Recovery Solution with Oracle Data Guard and Si...VMworld
 
Virtualization performance: VMware vSphere 5 vs. Red Hat Enterprise Virtualiz...
Virtualization performance: VMware vSphere 5 vs. Red Hat Enterprise Virtualiz...Virtualization performance: VMware vSphere 5 vs. Red Hat Enterprise Virtualiz...
Virtualization performance: VMware vSphere 5 vs. Red Hat Enterprise Virtualiz...Principled Technologies
 
Metro Cluster High Availability or SRM Disaster Recovery?
Metro Cluster High Availability or SRM Disaster Recovery?Metro Cluster High Availability or SRM Disaster Recovery?
Metro Cluster High Availability or SRM Disaster Recovery?David Pasek
 
Pairing VMware vCenter Site Recovery Manager with virtual SAN
Pairing VMware vCenter Site Recovery Manager with virtual SANPairing VMware vCenter Site Recovery Manager with virtual SAN
Pairing VMware vCenter Site Recovery Manager with virtual SANthephuck
 
VMware vSphere Performance Troubleshooting
VMware vSphere Performance TroubleshootingVMware vSphere Performance Troubleshooting
VMware vSphere Performance TroubleshootingDan Brinkmann
 
Presentazione VMware @ VMUGIT UserCon 2015
Presentazione VMware @ VMUGIT UserCon 2015Presentazione VMware @ VMUGIT UserCon 2015
Presentazione VMware @ VMUGIT UserCon 2015VMUG IT
 
SQL Server High Availability and Disaster Recovery
SQL Server High Availability and Disaster RecoverySQL Server High Availability and Disaster Recovery
SQL Server High Availability and Disaster RecoveryMichael Poremba
 
The SQL Stack Design And Configurations
The SQL Stack Design And ConfigurationsThe SQL Stack Design And Configurations
The SQL Stack Design And ConfigurationsStephan Lawson
 
VMworld 2014: Advanced SQL Server on vSphere Techniques and Best Practices
VMworld 2014: Advanced SQL Server on vSphere Techniques and Best PracticesVMworld 2014: Advanced SQL Server on vSphere Techniques and Best Practices
VMworld 2014: Advanced SQL Server on vSphere Techniques and Best PracticesVMworld
 
Towards a Benchmark for BPMN Engines
Towards a Benchmark for BPMN EnginesTowards a Benchmark for BPMN Engines
Towards a Benchmark for BPMN EnginesVincenzo Ferme
 
VMworld Europe 2014: Virtual SAN Best Practices and Use Cases
VMworld Europe 2014: Virtual SAN Best Practices and Use CasesVMworld Europe 2014: Virtual SAN Best Practices and Use Cases
VMworld Europe 2014: Virtual SAN Best Practices and Use CasesVMworld
 
VMworld Europe 2014: Advanced SQL Server on vSphere Techniques and Best Pract...
VMworld Europe 2014: Advanced SQL Server on vSphere Techniques and Best Pract...VMworld Europe 2014: Advanced SQL Server on vSphere Techniques and Best Pract...
VMworld Europe 2014: Advanced SQL Server on vSphere Techniques and Best Pract...VMworld
 

La actualidad más candente (20)

VMworld 2014: Site Recovery Manager and vSphere Replication
VMworld 2014: Site Recovery Manager and vSphere ReplicationVMworld 2014: Site Recovery Manager and vSphere Replication
VMworld 2014: Site Recovery Manager and vSphere Replication
 
VMware Site Recovery Manager - Architecting a DR Solution - Best Practices
VMware Site Recovery Manager - Architecting a DR Solution - Best PracticesVMware Site Recovery Manager - Architecting a DR Solution - Best Practices
VMware Site Recovery Manager - Architecting a DR Solution - Best Practices
 
Always On - Wydajność i bezpieczeństwo naszych danych - High Availability SQL...
Always On - Wydajność i bezpieczeństwo naszych danych - High Availability SQL...Always On - Wydajność i bezpieczeństwo naszych danych - High Availability SQL...
Always On - Wydajność i bezpieczeństwo naszych danych - High Availability SQL...
 
Sql Server High Availability & DR Technologies
Sql Server High Availability & DR TechnologiesSql Server High Availability & DR Technologies
Sql Server High Availability & DR Technologies
 
Presentation v center site recovery manager
Presentation   v center site recovery managerPresentation   v center site recovery manager
Presentation v center site recovery manager
 
vCenter Site Recovery Manager: Architecting a DR Solution
vCenter Site Recovery Manager: Architecting a DR SolutionvCenter Site Recovery Manager: Architecting a DR Solution
vCenter Site Recovery Manager: Architecting a DR Solution
 
Classloader leak detection in websphere application server
Classloader leak detection in websphere application serverClassloader leak detection in websphere application server
Classloader leak detection in websphere application server
 
VMworld 2013: VMware Disaster Recovery Solution with Oracle Data Guard and Si...
VMworld 2013: VMware Disaster Recovery Solution with Oracle Data Guard and Si...VMworld 2013: VMware Disaster Recovery Solution with Oracle Data Guard and Si...
VMworld 2013: VMware Disaster Recovery Solution with Oracle Data Guard and Si...
 
Virtualization performance: VMware vSphere 5 vs. Red Hat Enterprise Virtualiz...
Virtualization performance: VMware vSphere 5 vs. Red Hat Enterprise Virtualiz...Virtualization performance: VMware vSphere 5 vs. Red Hat Enterprise Virtualiz...
Virtualization performance: VMware vSphere 5 vs. Red Hat Enterprise Virtualiz...
 
Metro Cluster High Availability or SRM Disaster Recovery?
Metro Cluster High Availability or SRM Disaster Recovery?Metro Cluster High Availability or SRM Disaster Recovery?
Metro Cluster High Availability or SRM Disaster Recovery?
 
Pairing VMware vCenter Site Recovery Manager with virtual SAN
Pairing VMware vCenter Site Recovery Manager with virtual SANPairing VMware vCenter Site Recovery Manager with virtual SAN
Pairing VMware vCenter Site Recovery Manager with virtual SAN
 
PowerCLI & Onyx
PowerCLI & OnyxPowerCLI & Onyx
PowerCLI & Onyx
 
VMware vSphere Performance Troubleshooting
VMware vSphere Performance TroubleshootingVMware vSphere Performance Troubleshooting
VMware vSphere Performance Troubleshooting
 
Presentazione VMware @ VMUGIT UserCon 2015
Presentazione VMware @ VMUGIT UserCon 2015Presentazione VMware @ VMUGIT UserCon 2015
Presentazione VMware @ VMUGIT UserCon 2015
 
SQL Server High Availability and Disaster Recovery
SQL Server High Availability and Disaster RecoverySQL Server High Availability and Disaster Recovery
SQL Server High Availability and Disaster Recovery
 
The SQL Stack Design And Configurations
The SQL Stack Design And ConfigurationsThe SQL Stack Design And Configurations
The SQL Stack Design And Configurations
 
VMworld 2014: Advanced SQL Server on vSphere Techniques and Best Practices
VMworld 2014: Advanced SQL Server on vSphere Techniques and Best PracticesVMworld 2014: Advanced SQL Server on vSphere Techniques and Best Practices
VMworld 2014: Advanced SQL Server on vSphere Techniques and Best Practices
 
Towards a Benchmark for BPMN Engines
Towards a Benchmark for BPMN EnginesTowards a Benchmark for BPMN Engines
Towards a Benchmark for BPMN Engines
 
VMworld Europe 2014: Virtual SAN Best Practices and Use Cases
VMworld Europe 2014: Virtual SAN Best Practices and Use CasesVMworld Europe 2014: Virtual SAN Best Practices and Use Cases
VMworld Europe 2014: Virtual SAN Best Practices and Use Cases
 
VMworld Europe 2014: Advanced SQL Server on vSphere Techniques and Best Pract...
VMworld Europe 2014: Advanced SQL Server on vSphere Techniques and Best Pract...VMworld Europe 2014: Advanced SQL Server on vSphere Techniques and Best Pract...
VMworld Europe 2014: Advanced SQL Server on vSphere Techniques and Best Pract...
 

Similar a Virtualizing and Tuning Large Scale Java Platforms

V mware v fabric 5 - what's new technical sales training presentation
V mware v fabric 5 - what's new technical sales training presentationV mware v fabric 5 - what's new technical sales training presentation
V mware v fabric 5 - what's new technical sales training presentationsolarisyourep
 
VMworld 2013: Maximize Database Performance in Your Software-Defined Data Center
VMworld 2013: Maximize Database Performance in Your Software-Defined Data CenterVMworld 2013: Maximize Database Performance in Your Software-Defined Data Center
VMworld 2013: Maximize Database Performance in Your Software-Defined Data CenterVMworld
 
Track 1 Virtualizing Critical Applications with VMWARE VISPHERE by Roshan Shetty
Track 1 Virtualizing Critical Applications with VMWARE VISPHERE by Roshan ShettyTrack 1 Virtualizing Critical Applications with VMWARE VISPHERE by Roshan Shetty
Track 1 Virtualizing Critical Applications with VMWARE VISPHERE by Roshan ShettyEMC Forum India
 
vFabric for i ISVs and MSPs
vFabric for i ISVs and MSPsvFabric for i ISVs and MSPs
vFabric for i ISVs and MSPsVMware vFabric
 
Exchange 2010 New England Vmug
Exchange 2010 New England VmugExchange 2010 New England Vmug
Exchange 2010 New England Vmugcsharney
 
WSO2 Customer Webinar: WEST Interactive’s Deployment Approach and DevOps Prac...
WSO2 Customer Webinar: WEST Interactive’s Deployment Approach and DevOps Prac...WSO2 Customer Webinar: WEST Interactive’s Deployment Approach and DevOps Prac...
WSO2 Customer Webinar: WEST Interactive’s Deployment Approach and DevOps Prac...WSO2
 
Veritas NetBackup benchmark comparison: Data protection in a large-scale virt...
Veritas NetBackup benchmark comparison: Data protection in a large-scale virt...Veritas NetBackup benchmark comparison: Data protection in a large-scale virt...
Veritas NetBackup benchmark comparison: Data protection in a large-scale virt...Principled Technologies
 
VMware vSphere vMotion: 5.4 times faster than Hyper-V Live Migration
VMware vSphere vMotion: 5.4 times faster than Hyper-V Live MigrationVMware vSphere vMotion: 5.4 times faster than Hyper-V Live Migration
VMware vSphere vMotion: 5.4 times faster than Hyper-V Live MigrationVMware
 
WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)
WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)
WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)Roman Kharkovski
 
VMworld 2015: Extreme Performance Series - vCenter Performance Best Practices
VMworld 2015: Extreme Performance Series - vCenter Performance Best PracticesVMworld 2015: Extreme Performance Series - vCenter Performance Best Practices
VMworld 2015: Extreme Performance Series - vCenter Performance Best PracticesVMworld
 
WebSphere Technical University: Top WebSphere Problem Determination Features
WebSphere Technical University: Top WebSphere Problem Determination FeaturesWebSphere Technical University: Top WebSphere Problem Determination Features
WebSphere Technical University: Top WebSphere Problem Determination FeaturesChris Bailey
 
Faq websphere performance
Faq websphere performanceFaq websphere performance
Faq websphere performancebudakia
 
Presentation oracle rac on vsphere 5
Presentation   oracle rac on vsphere 5Presentation   oracle rac on vsphere 5
Presentation oracle rac on vsphere 5solarisyourep
 
SharePoint 2010's Virtual Reality - SPC2C
SharePoint 2010's Virtual Reality - SPC2CSharePoint 2010's Virtual Reality - SPC2C
SharePoint 2010's Virtual Reality - SPC2CMichael Noel
 
SharePoint 2010's Virtual Reality
SharePoint 2010's Virtual RealitySharePoint 2010's Virtual Reality
SharePoint 2010's Virtual RealityMichael Noel
 
vFabric - Ideal Platform for SaaS Apps
vFabric - Ideal Platform for SaaS AppsvFabric - Ideal Platform for SaaS Apps
vFabric - Ideal Platform for SaaS AppsVMware vFabric
 
Vsphere 4-partner-training180
Vsphere 4-partner-training180Vsphere 4-partner-training180
Vsphere 4-partner-training180Suresh Kumar
 
VMworld Europe 2014: A Blueprint for Disaster Recovery of Business Critical A...
VMworld Europe 2014: A Blueprint for Disaster Recovery of Business Critical A...VMworld Europe 2014: A Blueprint for Disaster Recovery of Business Critical A...
VMworld Europe 2014: A Blueprint for Disaster Recovery of Business Critical A...VMworld
 

Similar a Virtualizing and Tuning Large Scale Java Platforms (20)

V mware v fabric 5 - what's new technical sales training presentation
V mware v fabric 5 - what's new technical sales training presentationV mware v fabric 5 - what's new technical sales training presentation
V mware v fabric 5 - what's new technical sales training presentation
 
VMworld 2013: Maximize Database Performance in Your Software-Defined Data Center
VMworld 2013: Maximize Database Performance in Your Software-Defined Data CenterVMworld 2013: Maximize Database Performance in Your Software-Defined Data Center
VMworld 2013: Maximize Database Performance in Your Software-Defined Data Center
 
Track 1 Virtualizing Critical Applications with VMWARE VISPHERE by Roshan Shetty
Track 1 Virtualizing Critical Applications with VMWARE VISPHERE by Roshan ShettyTrack 1 Virtualizing Critical Applications with VMWARE VISPHERE by Roshan Shetty
Track 1 Virtualizing Critical Applications with VMWARE VISPHERE by Roshan Shetty
 
vFabric for i ISVs and MSPs
vFabric for i ISVs and MSPsvFabric for i ISVs and MSPs
vFabric for i ISVs and MSPs
 
Exchange 2010 New England Vmug
Exchange 2010 New England VmugExchange 2010 New England Vmug
Exchange 2010 New England Vmug
 
WSO2 Customer Webinar: WEST Interactive’s Deployment Approach and DevOps Prac...
WSO2 Customer Webinar: WEST Interactive’s Deployment Approach and DevOps Prac...WSO2 Customer Webinar: WEST Interactive’s Deployment Approach and DevOps Prac...
WSO2 Customer Webinar: WEST Interactive’s Deployment Approach and DevOps Prac...
 
Veritas NetBackup benchmark comparison: Data protection in a large-scale virt...
Veritas NetBackup benchmark comparison: Data protection in a large-scale virt...Veritas NetBackup benchmark comparison: Data protection in a large-scale virt...
Veritas NetBackup benchmark comparison: Data protection in a large-scale virt...
 
VMware vSphere vMotion: 5.4 times faster than Hyper-V Live Migration
VMware vSphere vMotion: 5.4 times faster than Hyper-V Live MigrationVMware vSphere vMotion: 5.4 times faster than Hyper-V Live Migration
VMware vSphere vMotion: 5.4 times faster than Hyper-V Live Migration
 
WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)
WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)
WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)
 
VMworld 2015: Extreme Performance Series - vCenter Performance Best Practices
VMworld 2015: Extreme Performance Series - vCenter Performance Best PracticesVMworld 2015: Extreme Performance Series - vCenter Performance Best Practices
VMworld 2015: Extreme Performance Series - vCenter Performance Best Practices
 
WebSphere Technical University: Top WebSphere Problem Determination Features
WebSphere Technical University: Top WebSphere Problem Determination FeaturesWebSphere Technical University: Top WebSphere Problem Determination Features
WebSphere Technical University: Top WebSphere Problem Determination Features
 
Faq websphere performance
Faq websphere performanceFaq websphere performance
Faq websphere performance
 
Presentation oracle rac on vsphere 5
Presentation   oracle rac on vsphere 5Presentation   oracle rac on vsphere 5
Presentation oracle rac on vsphere 5
 
SharePoint 2010's Virtual Reality - SPC2C
SharePoint 2010's Virtual Reality - SPC2CSharePoint 2010's Virtual Reality - SPC2C
SharePoint 2010's Virtual Reality - SPC2C
 
IBM XIV Gen3 Storage System
IBM XIV Gen3 Storage SystemIBM XIV Gen3 Storage System
IBM XIV Gen3 Storage System
 
SharePoint 2010's Virtual Reality
SharePoint 2010's Virtual RealitySharePoint 2010's Virtual Reality
SharePoint 2010's Virtual Reality
 
vFabric - Ideal Platform for SaaS Apps
vFabric - Ideal Platform for SaaS AppsvFabric - Ideal Platform for SaaS Apps
vFabric - Ideal Platform for SaaS Apps
 
Vsphere 4-partner-training180
Vsphere 4-partner-training180Vsphere 4-partner-training180
Vsphere 4-partner-training180
 
Profile narendraredy
Profile narendraredyProfile narendraredy
Profile narendraredy
 
VMworld Europe 2014: A Blueprint for Disaster Recovery of Business Critical A...
VMworld Europe 2014: A Blueprint for Disaster Recovery of Business Critical A...VMworld Europe 2014: A Blueprint for Disaster Recovery of Business Critical A...
VMworld Europe 2014: A Blueprint for Disaster Recovery of Business Critical A...
 

Más de VMworld

VMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld 2016: vSphere 6.x Host Resource Deep DiveVMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld 2016: vSphere 6.x Host Resource Deep DiveVMworld
 
VMworld 2016: Troubleshooting 101 for Horizon
VMworld 2016: Troubleshooting 101 for HorizonVMworld 2016: Troubleshooting 101 for Horizon
VMworld 2016: Troubleshooting 101 for HorizonVMworld
 
VMworld 2016: Advanced Network Services with NSX
VMworld 2016: Advanced Network Services with NSXVMworld 2016: Advanced Network Services with NSX
VMworld 2016: Advanced Network Services with NSXVMworld
 
VMworld 2016: How to Deploy VMware NSX with Cisco Infrastructure
VMworld 2016: How to Deploy VMware NSX with Cisco InfrastructureVMworld 2016: How to Deploy VMware NSX with Cisco Infrastructure
VMworld 2016: How to Deploy VMware NSX with Cisco InfrastructureVMworld
 
VMworld 2016: Enforcing a vSphere Cluster Design with PowerCLI Automation
VMworld 2016: Enforcing a vSphere Cluster Design with PowerCLI AutomationVMworld 2016: Enforcing a vSphere Cluster Design with PowerCLI Automation
VMworld 2016: Enforcing a vSphere Cluster Design with PowerCLI AutomationVMworld
 
VMworld 2016: What's New with Horizon 7
VMworld 2016: What's New with Horizon 7VMworld 2016: What's New with Horizon 7
VMworld 2016: What's New with Horizon 7VMworld
 
VMworld 2016: Virtual Volumes Technical Deep Dive
VMworld 2016: Virtual Volumes Technical Deep DiveVMworld 2016: Virtual Volumes Technical Deep Dive
VMworld 2016: Virtual Volumes Technical Deep DiveVMworld
 
VMworld 2016: Advances in Remote Display Protocol Technology with VMware Blas...
VMworld 2016: Advances in Remote Display Protocol Technology with VMware Blas...VMworld 2016: Advances in Remote Display Protocol Technology with VMware Blas...
VMworld 2016: Advances in Remote Display Protocol Technology with VMware Blas...VMworld
 
VMworld 2016: The KISS of vRealize Operations!
VMworld 2016: The KISS of vRealize Operations! VMworld 2016: The KISS of vRealize Operations!
VMworld 2016: The KISS of vRealize Operations! VMworld
 
VMworld 2016: Getting Started with PowerShell and PowerCLI for Your VMware En...
VMworld 2016: Getting Started with PowerShell and PowerCLI for Your VMware En...VMworld 2016: Getting Started with PowerShell and PowerCLI for Your VMware En...
VMworld 2016: Getting Started with PowerShell and PowerCLI for Your VMware En...VMworld
 
VMworld 2016: Ask the vCenter Server Exerts Panel
VMworld 2016: Ask the vCenter Server Exerts PanelVMworld 2016: Ask the vCenter Server Exerts Panel
VMworld 2016: Ask the vCenter Server Exerts PanelVMworld
 
VMworld 2016: Virtualize Active Directory, the Right Way!
VMworld 2016: Virtualize Active Directory, the Right Way! VMworld 2016: Virtualize Active Directory, the Right Way!
VMworld 2016: Virtualize Active Directory, the Right Way! VMworld
 
VMworld 2016: Migrating from a hardware based firewall to NSX to improve perf...
VMworld 2016: Migrating from a hardware based firewall to NSX to improve perf...VMworld 2016: Migrating from a hardware based firewall to NSX to improve perf...
VMworld 2016: Migrating from a hardware based firewall to NSX to improve perf...VMworld
 
VMworld 2015: Troubleshooting for vSphere 6
VMworld 2015: Troubleshooting for vSphere 6VMworld 2015: Troubleshooting for vSphere 6
VMworld 2015: Troubleshooting for vSphere 6VMworld
 
VMworld 2015: Monitoring and Managing Applications with vRealize Operations 6...
VMworld 2015: Monitoring and Managing Applications with vRealize Operations 6...VMworld 2015: Monitoring and Managing Applications with vRealize Operations 6...
VMworld 2015: Monitoring and Managing Applications with vRealize Operations 6...VMworld
 
VMworld 2015: Advanced SQL Server on vSphere
VMworld 2015: Advanced SQL Server on vSphereVMworld 2015: Advanced SQL Server on vSphere
VMworld 2015: Advanced SQL Server on vSphereVMworld
 
VMworld 2015: Virtualize Active Directory, the Right Way!
VMworld 2015: Virtualize Active Directory, the Right Way!VMworld 2015: Virtualize Active Directory, the Right Way!
VMworld 2015: Virtualize Active Directory, the Right Way!VMworld
 
VMworld 2015: Site Recovery Manager and Policy Based DR Deep Dive with Engine...
VMworld 2015: Site Recovery Manager and Policy Based DR Deep Dive with Engine...VMworld 2015: Site Recovery Manager and Policy Based DR Deep Dive with Engine...
VMworld 2015: Site Recovery Manager and Policy Based DR Deep Dive with Engine...VMworld
 
VMworld 2015: Building a Business Case for Virtual SAN
VMworld 2015: Building a Business Case for Virtual SANVMworld 2015: Building a Business Case for Virtual SAN
VMworld 2015: Building a Business Case for Virtual SANVMworld
 
VMworld 2015: Explaining Advanced Virtual Volumes Configurations
VMworld 2015: Explaining Advanced Virtual Volumes ConfigurationsVMworld 2015: Explaining Advanced Virtual Volumes Configurations
VMworld 2015: Explaining Advanced Virtual Volumes ConfigurationsVMworld
 

Más de VMworld (20)

VMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld 2016: vSphere 6.x Host Resource Deep DiveVMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld 2016: vSphere 6.x Host Resource Deep Dive
 
VMworld 2016: Troubleshooting 101 for Horizon
VMworld 2016: Troubleshooting 101 for HorizonVMworld 2016: Troubleshooting 101 for Horizon
VMworld 2016: Troubleshooting 101 for Horizon
 
VMworld 2016: Advanced Network Services with NSX
VMworld 2016: Advanced Network Services with NSXVMworld 2016: Advanced Network Services with NSX
VMworld 2016: Advanced Network Services with NSX
 
VMworld 2016: How to Deploy VMware NSX with Cisco Infrastructure
VMworld 2016: How to Deploy VMware NSX with Cisco InfrastructureVMworld 2016: How to Deploy VMware NSX with Cisco Infrastructure
VMworld 2016: How to Deploy VMware NSX with Cisco Infrastructure
 
VMworld 2016: Enforcing a vSphere Cluster Design with PowerCLI Automation
VMworld 2016: Enforcing a vSphere Cluster Design with PowerCLI AutomationVMworld 2016: Enforcing a vSphere Cluster Design with PowerCLI Automation
VMworld 2016: Enforcing a vSphere Cluster Design with PowerCLI Automation
 
VMworld 2016: What's New with Horizon 7
VMworld 2016: What's New with Horizon 7VMworld 2016: What's New with Horizon 7
VMworld 2016: What's New with Horizon 7
 
VMworld 2016: Virtual Volumes Technical Deep Dive
VMworld 2016: Virtual Volumes Technical Deep DiveVMworld 2016: Virtual Volumes Technical Deep Dive
VMworld 2016: Virtual Volumes Technical Deep Dive
 
VMworld 2016: Advances in Remote Display Protocol Technology with VMware Blas...
VMworld 2016: Advances in Remote Display Protocol Technology with VMware Blas...VMworld 2016: Advances in Remote Display Protocol Technology with VMware Blas...
VMworld 2016: Advances in Remote Display Protocol Technology with VMware Blas...
 
VMworld 2016: The KISS of vRealize Operations!
VMworld 2016: The KISS of vRealize Operations! VMworld 2016: The KISS of vRealize Operations!
VMworld 2016: The KISS of vRealize Operations!
 
VMworld 2016: Getting Started with PowerShell and PowerCLI for Your VMware En...
VMworld 2016: Getting Started with PowerShell and PowerCLI for Your VMware En...VMworld 2016: Getting Started with PowerShell and PowerCLI for Your VMware En...
VMworld 2016: Getting Started with PowerShell and PowerCLI for Your VMware En...
 
VMworld 2016: Ask the vCenter Server Exerts Panel
VMworld 2016: Ask the vCenter Server Exerts PanelVMworld 2016: Ask the vCenter Server Exerts Panel
VMworld 2016: Ask the vCenter Server Exerts Panel
 
VMworld 2016: Virtualize Active Directory, the Right Way!
VMworld 2016: Virtualize Active Directory, the Right Way! VMworld 2016: Virtualize Active Directory, the Right Way!
VMworld 2016: Virtualize Active Directory, the Right Way!
 
VMworld 2016: Migrating from a hardware based firewall to NSX to improve perf...
VMworld 2016: Migrating from a hardware based firewall to NSX to improve perf...VMworld 2016: Migrating from a hardware based firewall to NSX to improve perf...
VMworld 2016: Migrating from a hardware based firewall to NSX to improve perf...
 
VMworld 2015: Troubleshooting for vSphere 6
VMworld 2015: Troubleshooting for vSphere 6VMworld 2015: Troubleshooting for vSphere 6
VMworld 2015: Troubleshooting for vSphere 6
 
VMworld 2015: Monitoring and Managing Applications with vRealize Operations 6...
VMworld 2015: Monitoring and Managing Applications with vRealize Operations 6...VMworld 2015: Monitoring and Managing Applications with vRealize Operations 6...
VMworld 2015: Monitoring and Managing Applications with vRealize Operations 6...
 
VMworld 2015: Advanced SQL Server on vSphere
VMworld 2015: Advanced SQL Server on vSphereVMworld 2015: Advanced SQL Server on vSphere
VMworld 2015: Advanced SQL Server on vSphere
 
VMworld 2015: Virtualize Active Directory, the Right Way!
VMworld 2015: Virtualize Active Directory, the Right Way!VMworld 2015: Virtualize Active Directory, the Right Way!
VMworld 2015: Virtualize Active Directory, the Right Way!
 
VMworld 2015: Site Recovery Manager and Policy Based DR Deep Dive with Engine...
VMworld 2015: Site Recovery Manager and Policy Based DR Deep Dive with Engine...VMworld 2015: Site Recovery Manager and Policy Based DR Deep Dive with Engine...
VMworld 2015: Site Recovery Manager and Policy Based DR Deep Dive with Engine...
 
VMworld 2015: Building a Business Case for Virtual SAN
VMworld 2015: Building a Business Case for Virtual SANVMworld 2015: Building a Business Case for Virtual SAN
VMworld 2015: Building a Business Case for Virtual SAN
 
VMworld 2015: Explaining Advanced Virtual Volumes Configurations
VMworld 2015: Explaining Advanced Virtual Volumes ConfigurationsVMworld 2015: Explaining Advanced Virtual Volumes Configurations
VMworld 2015: Explaining Advanced Virtual Volumes Configurations
 

Último

[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 

Último (20)

[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 

Virtualizing and Tuning Large Scale Java Platforms

  • 1. Virtualizing and Tuning Large Scale Java Platforms Emad Benjamin, VMware VAPP4536 #VAPP4536
  • 2. 2 About the Speaker  I have been with VMware for the last 8 years, working on Java and vSphere  20 years experience as a Software Engineer/Architect, with last 15 years focused on Java development  Open source contributions  Prior work with Cisco, Oracle, and Banking/Trading Systems  Authored the following books: • Virtualizing and Tuning Large Scale Java Platforms • Enterprise Java Applications Architecture on VMware
  • 3. 3 Disclaimer  This session may contain product features that are currently under development.  This session/overview of the new technology represents no commitment from VMware to deliver these features in any generally available product.  Features are subject to change, and must not be included in contracts, purchase orders, or sales agreements of any kind.  Technical feasibility and market demand will affect final delivery.  Pricing and packaging for any new technologies or features discussed or presented have not been determined.
  • 4. 4 Agenda  Overview  Design and Sizing Java Platforms  Performance  Best Practices and Tuning  Customer Success Stories  Questions
  • 6. 6 Conventional Java Platforms Java Platforms are multitier and multi org DB ServersJava Applications Load Balancer Tier Load Balancers Web Servers IT Operations Network Team IT Operations Server Team IT Apps – Java Dev Team IT Ops & Apps Dev Team Organizational Key Stakeholder Departments Web Server Tier Java App Tier DB Server Tier
  • 7. 7 Middleware Platform Architecture on vSphere SHARED,ALWAYS-ON INFRASTRUCTURE SHAREDINFRASTRUCTURESERVICES Capacity On Demand High AvailabilityDynamic APPLICATIONSERVICES DBServersJavaApplicationsLoadbalancers WebServers VMwarevSphere HighUptime, Scalable, and DynamicEnterprise JavaApplicationsLoad Balancers as VMs Web Servers Java Application Servers
  • 9. 9 Design and Sizing of Java Platforms on vSphere Step 1 – EstablishLoad profile From production logs/monitoring reports measure: Concurrent Users Requests Per Second Peak ResponseTime Average ResponseTime Establishyour response time SLA Step 2 EstablishBenchmark  Iterate through Benchmark test until youare satisfied with the Load profile metrics and your intendedSLA after each benchmarkiteration youmay have to adjustthe Application Configuration  Adjust the vSphere environmentto scale out/upin order to achieveyour desired number of VMs, number of vCPU and RAM configurations Step 3 – Size Production Env.  The size of the production environmentwould havebeen establishedin Step2, hence either you roll out the environmentfrom Step-2 or build a new one based on the numbers established
  • 10. 10 Step 2 – Establish Benchmark DETERMINE HOW MANY VMs Establish Horizontal Scalability Scale Out Test How many VMs do you need to meet your Response Time SLAs without reaching 70%-80% saturation of CPU? Establish your Horizontal scalability Factor before bottleneck appear in your application Scale Out Test Building Block VM Building Block VM SLA OK? Test complete Investigate bottlnecked layer Network, Storage, Application Configuration, & vSphere If scale out bottlenecked layer is removed, iterate scale out test If building block app/VM config problem, adjust & iterate No Building Block VM ESTABLISH BUILDING BLOCK VM Establish Vertical scalability Scale Up Test Establish how many JVMs on a VM? Establish how large a VM would be in terms of vCPU and memory ScaleUpTest Building Block VM
  • 11. 11 Design and Sizing HotSpot JVMs on vSphere JVM Max Heap -Xmx JVM Memory Perm Gen Initial Heap Guest OS Memory VM Memory -Xms Java Stack -Xss per thread -XX:MaxPermSize Other mem Direct native Memory “off-the-heap” Non Direct Memory “Heap”
  • 12. 12 Design and Sizing of HotSpot JVMs on vSphere  Guest OS Memory approx 1G (depends on OS/other processes)  Perm Size is an area additional to the –Xmx (Max Heap) value and is not GC-ed because it contains class-level information.  “other mem” is additional mem required for NIO buffers, JIT code cache, classloaders, Socket Buffers (receive/send), JNI, GC internal info  If you have multiple JVMs (N JVMs) on a VM then: • VM Memory = Guest OS memory + N * JVM Memory VM Memory = Guest OS Memory + JVM Memory JVM Memory = JVM Max Heap (-Xmx value) + JVM Perm Size (-XX:MaxPermSize) + NumberOfConcurrentThreads * (-Xss) + “other Mem”
  • 13. 13 Sizing Example JVM Max Heap -Xmx (4096m) JVM Memory (4588m) Perm Gen Initial Heap Guest OS Memory VM Memory (5088m) -Xms (4096m) Java Stack -Xss per thread (256k*100) -XX:MaxPermSize (256m) Other mem (=217m) 500m used by OS set mem Reservation to 5088m
  • 14. 14 Perm Gen Initial Heap Java Stack Larger JVMs for In-Memory Data Management Systems JVM Max Heap -Xmx (30g) Guest OS Memory -Xms (30g) -Xss per thread (1M*500) -XX:MaxPermSize (0.5g) Other mem (=1g) 0.5-1g used by OS Set memory reservation to 34g JVM Memory for SQLFire (32g) VM Memory for SQLFire (34g)
  • 15. 15 NUMA Local Memory with Overhead Adjustment Physical RAM On vSphere host Physical RAM On vSphere host Number of VMs On vSphere host 1% RAM overhead vSphere RAM overhead Number of Sockets On vSphere host
  • 16. 16 Middleware ESXi Cluster 96GB RAM 2 sockets 8 pCPU per socket Middleware components 47GB RAM VMs with 8vCPU Locator/heart beat for middleware DO NOT VMotion Memory Available for all VMs = 96*0.98 -1GB => 94GB Per NUMA memory => 94/2 47GB
  • 17. 17 96 GB RAM on Server Each NUMA Node has 94/2 47GB 8 vCPU VMs less than 47GB RAM on each VMESX Scheduler If VM is sized greater than 47GB or 8 CPUs, Then NUMA interleaving Occurs and can cause 30% drop in memory throughput performance
  • 18. 18 1 128 GB RAM on server 2vCPU VMs less than 20GB RAM on each VM 4vCPU VM 40GB RAM split by ESXi into 2 NUMA Clients available in ESX4.1 ESXi Scheduler 2 3 4 5
  • 19. 19 Java Platform Categories – Category 1  Smaller JVMs < 4GB heap, 4.5GB Java process, and 5GB for VM  vSphere hosts with <96GB RAM is more suitable, as by the time you stack the many JVM instances, you are likely to reach CPU boundary before you can consume all of the RAM. For example if instead you chose a vSphere host with 256GB RAM, then 256/4.5GB => 57JVMs, this would clearly reach CPU boundary  Multiple JVMs per VM  Use Resource pools to manage different LOBs Category 1: 100s to 1000s of JVMs Resource Pool 1 Gold LOB 1 Resource Pool 2 SilverLOB 2 Use 4 sockets servers to get more cores
  • 20. 20 Most Common Sizing and Configuration Question JVM-1 JVM-2 JVM-1A JVM-1 JVM-2 JVM-1 JVM-2 JVM-2A JVM-3 JVM-4 Option-1 Scale out VM and JVM ( best) Option-2 Scale Up JVM heap size (2nd best) JVM-2JVM-1 Option-3 Scale up VM and JVM (3rd best) 2GB 2GB 2GB 2GB 2vCPU2vCPU 2vCPU 2vCPU 2vCPU2vCPU 4GB4GB
  • 21. 21 What Else to Consider When Sizing? Job Web JVM-1 Job Web JVM-2 Job Web Job Web JVM-3 Job Web JVM-4 Vertical Horizontal  Mixed workloads Job Scheduler vs Web app require different GC Tuning  Job Schedulers care about Throughput  Web apps care about minimize latency and response time  You can’t have both reduced response time and increased throughput, without compromise  Separate the concerns for optimal tuning
  • 22. 22 Java Platform Categories – Category 2  Fewer JVMs < 20  Very large JVMs, 32GB to 128GB  Always deploy 1 VM per NUMA node and size to fit perfectly  1 JVM per VM  Choose 2 socket vSphere hosts, and install ample memory128GB to 512GB  Example is in memory databases, like SQLFire and GemFire  Apply latency sensitive BP disable interrupt coalescing pNIC and vNIC  Dedicated vSphere cluster Category 2: a dozen of very large JVMs Use 2 sockets servers to get larger NUMA nodes
  • 23. 23 Java Platform Categories – Category 3 Category 3: Category-1 accessing data from Category-2 Resource Pool 1 Gold LOB 1 Resource Pool 2 SilverLOB 2
  • 25. 25 Performance Perspective See the Performance of Enterprise Java Applications on VMware vSphere 4.1 and SpringSource tc Server at http://www.vmware.com/resources/techresources/10158 .
  • 26. 26 Performance Perspective See the Performance of Enterprise Java Applications on VMware vSphere 4.1 and SpringSource tc Server at http://www.vmware.com/resources/techresources/10158 . 80% Threshold % CPU R/T
  • 27. 27 SQLFire vs. Traditional RDBMS SQLFire scaled 4x compared to RDBMS Response times of SQLFire are 5x to 30x faster than RDBMS Response times on SQLFire are more stable and constant with increased load RDBMS response times increase with increased load
  • 28. 28 Load Testing SpringTrader Using Client-Server Topology SpringTrader Integration Services Application Tier SpringTrader Application Service SQLFire Member 2 Redundant Locators SpringTrader Data Tier SQLFire Member1 Integration Patterns 4 Application Services
  • 29. 29 vFabric Reference Architecture Scalability Test 0.00 0.50 1.00 1.50 2.00 2.50 3.00 3.50 4.00 0 2000 4000 6000 8000 10000 12000 1 2 3 4 Scalingfrom1AppServicesVM NumberofUsers Number of Application Services VMs Maximum Passing Users and Scaling With this topology 10400 users session
  • 30. 30 10k Users Load Test Response Time 0 1 2 3 4 5 6 7 0 2000 4000 6000 8000 10000 12000 Seconds Number of Users Operation 90th-Percentile Response-Time Four Application Services VMs HomePage Register Login DashboardTab PortfolioTab TradeTab GetHoldingsPage GetOrdersPage SellOrder GetQuote BuyOrder Logout MarketSummary 10400 users session Approx. 0.25 seconds response time
  • 31. 31 Java Platforms Best Practices and Tuning
  • 32. 32 Most Common VM Size for Java Workloads  2 vCPU VM with 1 JVM, for tier-1 production workloads  Maintain this ratio as you scale out or scale-up, i.e. 1 JVM : 2vCPU  Scale out preferred over Scale-up, but both can work  You can diverge from this ratio for less critical workloads 2 vCPU VM 1 JVM (-Xmx 4096m) Approx 5GB RAM Reservation
  • 33. 33 However for Large JVMs + CMS For large JVMs 4+ vCPU VM 1 JVM (8-128GB)  Start with 4+ vCPU VM with 1 JVM, for tier-1 in memory data management systems type of production workloads  Likely increase JVM size, instead of launching a second JVM instance  Multiple 4vCPU+ will allow for ParallelGCThreads to be allocated 50% of the available vCPUs to the JVM, i.e. 2 GC Threads +  Ability to increase ParallelGCThreads is critical to YoungGen scalability for large JVMs  ParallelGCThreads should be allocated 50% of available vCPU to the JVM and not more. You want to ascertain there other vCPUs available for other txns
  • 34. 34 Which GC? ESX doesn’t care which GC you select, because of the degree of independence of Java to OS and OS to Hypervisor
  • 35. 35 GC Policy Types GC Policy Type Description Serial GC •Mark, sweep and compact algorithm •Both minor and full GC are stop the world threads •Stop the world GC means application is stopped while GC is executing •Not very scalable algorithm •Suited for smaller <200MB JVMs like Client machines Throughput GC •Parallel GC •Similar to Serial GC, but uses multiple worker Threads in parallel to increase throughput •Both Young and Old Generation collection are multi thread, but still stop-the-world • number of threads allocated by - XX:ParallelGCThreads=<nThreads> •NOT Concurrent, meaning when the GC worker threads run, they will pause your application threads. If this is a problem move to CMS where GC threads are concurrent.
  • 36. 36 GC Policy Types GC Policy Type Description Concurrent GC •Concurrent Mark and Sweep, no compaction •Concurrent implies when GC is running it doesn't pause your application threads – this is the key difference to throughput/parallel GC •Suited for application that care more about response time than throughput •CMS does use more heap when compared to throughput/ParallelGC •CMS works on OLD gen concurrently, but young generation is collected using ParNewGC, a version of the throughput collector •Has multiple phases: • Initial mark (short pause) • concurrent mark (no pause) • Pre-cleaning (no pause) • re-mark (short pause) • Concurrent sweeping (no pause) G1 • Only in J7 and mostly experimental, equivalent to CMS + compacting
  • 37. 37 Tuning GC – Art Meets Science! Either you tune for Throughput or Latency, one at the cost of the other Increase Throughput Reduce Latency Tuning Decisions • improved R/T • reduce latency impact • slightly reduced throughput • improved throughput • longer R/T • increased latency impact Job Web
  • 38. 38 Parallel Young Gen and CMS Old Gen application threadsminor GC threads concurrent mark and sweep GC Young Generation Minor GC Parallel GC in YoungGen using XX:ParNewGC & XX:ParallelGCThreads -Xmn Old Generation Major GC Concurrent using in OldGen using XX:+UseConcMarkSweepGC Xmx minus Xmn S 0 S 1
  • 39. 39 High Level GC Tuning Recipe Measure Minor GC Duration and Frequency Adjust –Xmn Young Gen size and /or ParallelGCThreads Measure Major GC Duration And Frequency Adjust Heap space –Xmx Adjust –Xmn And/or SurvivorSpaces Step A-Young Gen Tuning Step B-Old Gen Tuning Step C- Survivor Spaces Tuning
  • 40. 40 CMS Collector Example java –Xms30g –Xmx30g –Xmn10g -XX:+UseConcMarkSweepGC -XX:+UseParNewGC – XX:CMSInitiatingOccupancyFraction=75 –XX:+UseCMSInitiatingOccupancyOnly -XX:+ScavengeBeforeFullGC -XX:TargetSurvivorRatio=80 -XX:SurvivorRatio=8 -XX:+UseBiasedLocking -XX:MaxTenuringThreshold=15 -XX:ParallelGCThreads=4 -XX:+UseCompressedOops -XX:+OptimizeStringConcat -XX:+UseCompressedStrings -XX:+UseStringCache  This JVM configuration scales up and down effectively  -Xmx=-Xms, and –Xmn 33% of –Xmx  -XX:ParallelGCThreads=< minimum 2 but less than 50% of available vCPU to the JVM. NOTE: Ideally use it for 4vCPU VMs plus, but if used on 2vCPU VMs drop the -XX:ParallelGCThreads option and let Java select it
  • 41. 41 IBM JVM – GC Choice -Xgc:mode Usage Example -Xgcpolicy:Optthruput (Default) Performs the mark and sweep operations during garbage collection when the application is paused to maximize application throughput. Mostly not suitable for multi CPU machines. Apps that demand a high throughput but are not very sensitive to the occasional long garbage collection pause - Xgcpolicy:Optavgpause Performs the mark and sweep concurrently while the application is running to minimize pause times; this provides best application response times. There is still a stop-the-world GC, but the pause is significantly shorter. After GC, the app threads help out and sweep objects (concurrent sweep). Apps sensitive to long latencies transaction- based systems where Response Time are expected to be stable -Xgcpolicy:Gencon Treats short-lived and long-lived objects differently to provide a combination of lower pause times and high application throughput. Before the heap is filled up, each app helps out and mark objects (concurrent mark). Latency sensitive apps, objects in the transaction don't survive beyond the transaction commit Job Web Web
  • 42. 42 Middleware on VMware – Best Practices Enterprise Java Applications on VMware Best Practices Guide http://www.vmware.com/resources/techresources/1087 Best Practices for Performance Tuning of Latency-Sensitive Workloads in vSphere VMs http://www.vmware.com/resources/techresources/10220 vFabric SQLFire Best Practices Guide http://www.vmware.com/resources/techresources/10327 vFabric Reference Architecture http://tinyurl.com/cjkvftt
  • 43. 43 Middleware on VMware – Best Practices Summary  Follow the design and sizing examples we discussed thus far  Set appropriate memory reservation  Leave HT enabled, size bases on vCPU=1.25pCPU if needed  RHEL6 and SLES 11 SP1 have tickless kernel that does not rely on a high frequency interrupt-based timer, and is therefore much friendlier to virtualized latency-sensitive workloads  Do not overcommit memory  Locators/heartbeat process should not be vMotion® migrated, it otherwise would lead to network split brain problems  vMotion over 10Gbps when doing scheduled maintenance  Use Affinity and Anti-Affinity rules to avoid redundant copies on the same VMware ESX®/ESXi host
  • 44. 44 Middleware on VMware – Best Practices  Disable NIC interrupt coalescing on physical and virtual NIC  Extremely helpful in reducing latency for latency-sensitive virtual machines  Disable virtual interrupt coalescing for VMXNET3 • It can lead to some performance penalties for other virtual machines on the ESXi host, as well as higher CPU utilization to deal with the higher rate of interrupts from the physical NIC  This implies it is best to use dedicated ESX cluster for Middleware Platforms • All host are configured the same way for latency sensitivity and this insures non middleware workloads, such as other enterprise applications are not negatively impacted • This is applicable in category 2 workloads
  • 45. 45 Middleware on VMware – Benefits  Flexibility to change compute resources, VM sizes, add more hosts  Ability to apply hardware and OS patches while minimizing downtime  Create more manageable system through reduced middleware sprawl  Ability to tune the entire stack within one platform  Ability to monitor the entire stack within one platform  Ability to handle seasonal workloads, commit resources when they are needed and then remove them when not needed
  • 47. 47 NewEdge  Virtualized GemFire workload  Multiple geographic active- active datacenters  Multiple Terabytes of data kept in memory  1000s of transactions per second  Multiple vSphere clusters  Each cluster 4 vSphere hosts and 8 large 98GB+ JVMs http://www.vmware.com/files/pdf/customers/VMware-Newedge-12Q4-EN-Case-Study.pdf
  • 48. 48 Cardinal Health Virtualization Journey 4 Consolidation  < 40% Virtual  <2,000 VMs  <2,355 physical Data Center Optimization  30 DCs to 2 DCs Transition to Blades  <10% Utilization  <10:1 VM/Physical Low Criticality Systems  8X5 Applications Internal cloud  >58% Virtual  >3,852 VMs  <3,049 physical Power Remediation  P2Vs on refresh HW Commoditization  15% Utilization  30:1 VM/Physical Business Critical Systems  SAP ~ 382  WebSphere ~ 290  Unix to Linux ~ 655 Cloud Resources • >90% Virtual  >8,000 VMs  <800 physical Optimizing DCs  Internal disaster recovery  Metered service offerings (SAAS, PAAS, IAAS) Shrinking HW Footprint  > 50% Utilization  > 60:1 VM/Physical Heavy Lifting Systems  Database Servers Virtual HW SW Timeline 2005 – 2008 2009 – 2011 2012 – 2015 Theme Centralized IT Shared Service Capital Intensive - High Response Variable Cost SubscriptionServices DC
  • 49. 49 Virtualization Why Virtualize WebSphere on VMWare  DC strategy alignment • Pooled resources capacity ~15% utilization • Elasticity – for changing workloads • Unix to Linux • Disaster Recovery  Simplification and manageability • High availability for thousands instead of thousands of high availability solutions • Network & system management in DMZ  Five year cost savings ~ $6 million • Hardware Savings ~ $660K • WAS Licensing ~ $862K • Unix to Linux ~ $3.7M • DMZ – ports~ >$1M
  • 50. 50 Thank you and are there any Questions? Emad Benjamin, ebenjamin@vmware.com You can get the book here: https://www.createspace.com/3632131
  • 51. 51 Second Book  Emad Benjamin, ebenjamin@vmware.com  Preview chapter available at VMworld bookstore You can get the book here: Safari: http://tinyurl.com/lj8dtjr Later on Amazon  http://tinyurl.com/kez9trj
  • 52. 52 Other VMware Activities Related to This Session  HOL: HOL-SDC-1304 vSphere Performance Optimization  Group Discussions: VAPP1010-GD Java with Emad Benjamin
  • 54.
  • 55. Virtualizing and Tuning Large Scale Java Platforms Emad Benjamin, VMware VAPP4536 #VAPP4536