SlideShare ist ein Scribd-Unternehmen logo
1 von 28
Downloaden Sie, um offline zu lesen
Capacity & Performance Management
in Solaris Virtualized Environment

Neeraj Bhatia
Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
About Me

 ~ 10 years of experience in Oracle Database Performance Optimization and IT
Services/Infrastructure Capacity Planning.
 Certified Oracle DBA – OCP 9i, 10g, 11g, RAC Expert
 Other Certifications – ISO/20000 Certified Auditor, ITIL V3 Practitioner, Base
SAS
 Currently working with Barclays Bank PLC as a Capacity Manager
 When time allows I blog at http://neerajbhatia.wordpress.com/

Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
Agenda
Section - 1
• Virtualization Basics
• Different Oracle Virtualization techniques
• When to use which
• Basics – Zones, Containers etc
Section - 2
• Capacity Planning Goals and Basics
• Challenges to Capacity & Perf Management in Solaris Zones Environment
• Resource Management techniques
Section - 3
• Implementing Foundation for Effective Capacity and Perf Management
• Case Study -1: Applications Consolidation with Advance Resource Utilization
Techniques
• Case Study -2: Tweaking configuration for additional application load.

Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
Virtualization: Basics
 Virtualization is a technology which enables multiple applications/operating systems
to run on one computer system as if they have exclusive access to the computer.
 Three commonly used Virtualization technologies are:
1. Operating System Virtualization
o This provides multiple isolated execution environments in one OS instance.
o In this model environment thinks that it got an exclusive access to the OS.
o Suitable in case of application Consolidation.
2. Server Virtualization
o In this technology, multiple operating system instances (also different OS) run on
a common system.
o This is helpful in case of Server consolidation.
3. Hardware Virtualization
o In this model, server hardware is partitioned and provides multiple independent
computers within one computer.
o Suitable in case of Server consolidation with high degree of isolation and
security.

Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
Oracle Virtualization Technologies

Trend to Flexibility

Trend to Isolation

Source: Oracle VM Server for SPARC Overview @OTN
Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
What is Capacity Planning
“Capacity Planning is the process of predicting when future load
levels will saturate the system and determining the most costeffecting way of delaying system saturation as much as possible”
- by Daniel A. Menasce and Virgilio A.F. Almeida
(Authors of Capacity Planning for Web Services: Metrics, Models & Methods)

Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment

6
Capacity Management Methodology
1. State Goals
2. Define the System
Configuration
3. Classify Workload
4. Quantify & Control
Resource Usage
5. Analyze and Model Data
and Interpret the Results

Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
Resource Management: Why?
• In Consolidation/Virtualization Scenarios, each workload may have different priority
and resource Demand.
• One workload may hog all the resources of underlying server and thus affecting the
performance of other workloads.
• Resource Management allows to create limits for Resource Usage.
• Three Important Roles of Resource Management Framework:
1. Classify Workload: Achieved with the help of Projects and Zones
2. Quantify Resource Usage: Measure how much Resources a particular
Workload is consuming
3. Control the Resource Usage: To eliminate cross-workload interference using 3
techniques:
 Constraints - This defines the upper bound on specific resources
 Scheduling - This defines run-time priorities among the Workloads
 Partitioning - Isolate workload from each other

Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
Workload Classification
• The first step in laying down effective Capacity & Performance Management is to
identify the workloads running on the System.
• A Conventional and often challenging way is to identify Workloads by Username OR
Process Name.
• Oracle Solaris Containers like Zones and Projects provide a systematic way to Identify
and Manage Workloads.
• For example – Multiple instances of the same Application can run on the same
system and provided separate Containers are defined for each, one would be able to
ultimately control the workloads .

Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
Zones Basics
• Solaris Zones is a Software-partitioning technology introduced in Solaris 10 Operating
System.
• Each Zone acts like a separate Operating System although each shares a single
instance of Solaris Operating system.
• Provides an isolated and Secured Environment for running Applications; processes in
a zone can’t interact with processes in other Zones.
• Some Possible Use cases:
o To consolidate several small Solaris/Legacy servers
o To consolidate many lowly-utilized servers
o To enable the migration of Solaris 8 Application Environments
o To provide Maximum Isolation and Security by integrating with Oracle VM
Server with SPARC

Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
Resource Capping Techniques
• Limits the amount of CPU and Memory resources for a Workload.
• Prevents a Workload from using excess CPU/Memory and interfere with other
Workloads.
• Restrict a Workload to excess additional CPU even if other Workloads are Idle.
• When used with Processor sets, it limits CPU usage within a set.
zonecfg:my-zone> add capped-cpu
zonecfg:my-zone:capped-cpu> set ncpus=3.5
zonecfg:my-zone:capped-cpu> end
Note: ncpus = 3.5 will limit the workload to 3.5 CPUs
zonecfg:my-zone> add capped-memory
zonecfg:my-zone:capped-memory> set physical=512m
zonecfg:my-zone:capped-memory> set swap=1024m
zonecfg:my-zone:capped-memory> set locked=100m
zonecfg:my-zone:capped-memory> end

Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
Scheduling Classes (FSS)
• By default Solaris dispatcher uses TS scheduler which gives relatively equal access to
CPU resources.
• Priority among workloads for CPU can be set using FSS (Fair Share Scheduler).
• FSS achieves Resource Efficiency & Fairness by:
o Increasing workload entitlement in case of low usage
o Reducing workload’s entitlement in the case of heavy CPU usage.
• Workload’s relative importance is expressed in number of CPU shares and is not
equivalent to percentages of CPU resources.
• NO meaning in absolute terms; define the relative importance of workloads.
• To optimally set CPU Shares to a workload – understand total number of workloads on
a system, their relative importance and usage profile.
• Can be configured with Processor Sets for granular control over resources.
Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
Resource Partitioning Techniques
• Oracle Solaris Resource Pools partition the System resources and limit Workloads to
specific subsets of the resources.
• This helps in avoiding system-wide overcommitment. However may result in lower
utilization of system resources.
• Possible Use cases:
o Mixed Workloads
o Phased approach for Applications release
o Resource allocation based on user role
o Implementing chargeback model

Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
Resource Partitioning Techniques
• Resource Pool Configuration have following parameters:
• Pool: Example - pool.importance
• Pset: Example - pset.min and pset.max
• CPU: Example - cpu.pinned
• Dynamic resource pools provide a mechanism for dynamically adjusting each pool's
resource allocation in response to system events and application load changes.
• DRPs simplify and reduce the number of decisions required from an administrator.
• Adjustments are automatically made through system daemon poold.
• Poold daemon acts on Constraints and Objectives provided by an Administrator.
• Constraints:
o Min/Max CPU Allocation: pset.min and pset.max place limits on the number of
processors that can be allocated to a processor set.
o CPU Pinning: cpu.pinned constraint indicates that a particular CPU should not
be moved by DRP from the processor set in which it is located. This is to achieve
maximum cache utilization for a particular application that is executing within a
processor set.
o Pool Importance: The pool.importance property describes the relative
importance of a pool.
Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
Resource Partitioning Techniques
• Objectives:
• Weighted Load Objective: The wt-load objective favors configurations that match
resource allocations to resource utilizations.
• Useful in situations where you are satisfied with the minimum and maximum
properties constraints.
• Utilization Objective (0-100%)
•The utilization objective favors configurations that allocate resources to partitions
that are not meeting the specified utilization objective.
oThis objective is specified by using operators and values.
o The “less than” operator (<) indicates maximum target value.
o The “greater than” operator (>) indicates minimum target value.
o The “about” operator (~) indicates a target value with some acceptable
fluctuation.

Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
Resource Partitioning Techniques
• The dedicated-cpu resource specifies that a subset of the System’s processors should
be dedicated to a Workload.
• System on runtime creates a temporary pool till the Workload’s lifetime.
• The dedicated-cpu resource has 2 properties; ncpus and importance
• ncpus: It specifies the number of CPUs or a range, such as 2-4 CPUs.
• Importance: An optional property, defines the relative importance of the workload,
in case a range is provided for ncpus.
zonecfg:my-zone> add dedicated-cpu
zonecfg:my-zone:dedicated-cpu> set ncpus=1-3
zonecfg:my-zone:dedicated-cpu> set importance=2
zonecfg:my-zone:dedicated-cpu> end

Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
Case Study -1: Application Consolidation
• Three Applications are being consolidated onto a single system.
• Applications have different resource requirements.
o Batch Workload: Heavy batch programs, primary concern is throughput.
o OLTP Workload: Heavy transaction processing, primary concern is response time.
Driven from Web, headroom should be there to accommodate transaction spikes.
o Admin Workload: It provides admin console to manage tools and applications.
• Due to business priority you want to make sure a fixed Capacity is always available for
an Application.
• Also unused Capacity by less-important Applications should be available to other
applications.

Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
Process Sets and CPU Shares - Examples
• Total CPU on the Target Server = 8
• Three Processor Sets:
o Processor Set 1 = CPU numbers { 0, 1 }
o Processor Set 2 = CPU numbers { 2, 3 }
o Processor Set 3 = CPU numbers { 4, 5, 6, 7 }
• Three Workloads on the System:
o W1 (Admin Processes), CPU Shares =1, on Processor Set -1
o W2 (Batch Processes), CPU Shares =2, on Processor Set -1, 2
o W3 (OLTP Application Processes), CPU Shares =3, on Processor Set- 1, 2, 3

Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
Process Sets and CPU Shares - Examples
Workload’s CPU Allocation = For Each Processor Set
Total system-wide CPU allocation for workloads can be calculated as follows:
 Total Admin Workload CPU Allocation:
(1/6 X 2/8)pset1 = 4.17%
 Total Batch Workload CPU Allocation:
(2/6 X 2/8)pset1 + (2/5 X 2/8)pset2 = 18.33%
 Total OLTP Workload CPU Allocation:
(3/6 X 2/8 )pset1 + (3/5 X 2/8)pset2 + (3/3 X 4/8)pset3 = 77.50%
 These figures represent minimum guaranteed CPU shares assuming all workloads
are CPU bound.
 Each Workload could use 100% of CPU resources in their processor sets provided
other Workloads are idle.

Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
Process Sets and CPU Shares - Examples
Figure: CPU Utilization in the
absence of sophisticated
Resource Utilization techniques

Figure: CPU Utilization in case of
Processor Sets and FSS

Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
The Future lies in the History
"I have seen the future and it is very much like the present,
only longer."
--Kehlog Albran, The Profit

This philosophy is actually a concise description of statistical forecasting. We search
for statistical properties of a time series that are constant in time - trends, seasonal
patterns, correlations etc. We then predict that these properties will also describe the
future.

Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
Case Study -2: Capacity Forecasting
Scenario: There are 2 applications running on a system with 8 CPU cores. One of the
application (Oracle Database) is anticipating additional workload. The objective is to
assess if the system has sufficient Capacity to sustain the workload and is there any
scope to tweak the configuration to reduce the pressure on additional CPUs.
Current Configuration:
• Total CPUs on the System: 8
• Total Zones running on system: 2
• Zone-1 (Oracle Database) CPU Shares: 3
• Zone-2 (Test Environment) CPU Shares: 2

Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
Case Study -2: Capacity Forecasting
Usage profile of Zones are depicted below:

Test Env Zone using
unused Capacity

With current Resource Management settings of 3 and 2 CPU Shares, Database
application can access up to 60% CPU and Test environment Zone up to 40% CPU
Capacity.
Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
Case Study -2: Observations/Questions
• System has some headroom for additional which can be used by additional

load on Oracle Database Zone.
• With current configuration, there would be no chance of Test environment
getting idle Capacity if Database Zone happens to be using all the Capacity at it’s
disposal.
• Is that a Concern?
• Consider the intrinsic nature of the Test environments.
• Now what If we reduce the Capacity that can be accessed by Test environment
by reducing the CPU shares?
• This will increase the guaranteed Capacity that database Zone can have at any
given point of time.
• The Key is to strike a balance between both Zones.
• If still Capacity asks of database application can’t be satisfied without
compromising with the Test environment, Capacity upgrade is inevitable.

Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
Case Study -2: Capacity Forecasting
Figure: Effect of additional Capacity usage by
Database Zone

Figure: CPU Shares changed to 4 and 1
respectively, and database is able to
process additional load.
Also, Test zone can go beyond 20% in case
of idle Capacity is available.

Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
Case Study -2: Conclusions
Provided Database workload is going to increases in phased manner, we can
delay the configuration change/Capacity upgradation.
o In Phase-1 additional workload can be supported by leveraging the
available headroom.
o In Phase-2, further increase in the database workload can be sustained by
putting constraint on Test environment.
o If further increase in the database workload is expected, Capacity
upgradation is inevitable.

Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
Quotation
"I hear and I forget. I see and I remember. I do and I understand."
-- Chinese Proverb

The best way to learn a subject is to apply the concepts to a real system. The
techniques presented in this presentation may appear simple on the surface, their
applications to real world may offer a different experience.

Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment

28

Weitere ähnliche Inhalte

Was ist angesagt?

Professional sql server dba online training
Professional sql server dba online trainingProfessional sql server dba online training
Professional sql server dba online trainingsssql
 
Automated Cluster Management and Recovery for Large Scale Multi-Tenant Sea...
  Automated Cluster Management and Recovery  for Large Scale Multi-Tenant Sea...  Automated Cluster Management and Recovery  for Large Scale Multi-Tenant Sea...
Automated Cluster Management and Recovery for Large Scale Multi-Tenant Sea...Lucidworks
 
Surviving the Crisis With the Help of Oracle Database Resource Manager
Surviving the Crisis With the Help of Oracle Database Resource ManagerSurviving the Crisis With the Help of Oracle Database Resource Manager
Surviving the Crisis With the Help of Oracle Database Resource ManagerMaris Elsins
 
Weblogic server administration
Weblogic server administrationWeblogic server administration
Weblogic server administrationbispsolutions
 
Weblogic introduction
Weblogic introductionWeblogic introduction
Weblogic introductionAditya Bhuyan
 
Best practices for_large_oracle_apps_r12_implementations
Best practices for_large_oracle_apps_r12_implementationsBest practices for_large_oracle_apps_r12_implementations
Best practices for_large_oracle_apps_r12_implementationsAjith Narayanan
 
Weblogic configuration
Weblogic configurationWeblogic configuration
Weblogic configurationAditya Bhuyan
 
Best practices for large oracle apps r12 implementations apps14
Best practices for large oracle apps r12 implementations apps14Best practices for large oracle apps r12 implementations apps14
Best practices for large oracle apps r12 implementations apps14Ajith Narayanan
 
WebLogic Deployment Plan Example
WebLogic Deployment Plan ExampleWebLogic Deployment Plan Example
WebLogic Deployment Plan ExampleJames Bayer
 
NetApp Datasheet Oracle Accelerator
NetApp Datasheet Oracle AcceleratorNetApp Datasheet Oracle Accelerator
NetApp Datasheet Oracle AcceleratorContent Rules, Inc.
 
Weblogic configuration & administration
Weblogic   configuration & administrationWeblogic   configuration & administration
Weblogic configuration & administrationMuhammad Mansoor
 
WebLogic Developer Webcast 5: Troubleshooting and Testing with WebLogic, Soap...
WebLogic Developer Webcast 5: Troubleshooting and Testing with WebLogic, Soap...WebLogic Developer Webcast 5: Troubleshooting and Testing with WebLogic, Soap...
WebLogic Developer Webcast 5: Troubleshooting and Testing with WebLogic, Soap...Jeffrey West
 
Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9
Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9
Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9Mohammed Khan
 
Oracle WebLogic Server Basic Concepts
Oracle WebLogic Server Basic ConceptsOracle WebLogic Server Basic Concepts
Oracle WebLogic Server Basic ConceptsJames Bayer
 
Weblogic Domain Activity
Weblogic Domain ActivityWeblogic Domain Activity
Weblogic Domain Activitysubash prakash
 

Was ist angesagt? (20)

Weblogic server cluster
Weblogic server clusterWeblogic server cluster
Weblogic server cluster
 
Professional sql server dba online training
Professional sql server dba online trainingProfessional sql server dba online training
Professional sql server dba online training
 
Oracle Web Logic server
Oracle Web Logic serverOracle Web Logic server
Oracle Web Logic server
 
Introduction to weblogic
Introduction to weblogicIntroduction to weblogic
Introduction to weblogic
 
Automated Cluster Management and Recovery for Large Scale Multi-Tenant Sea...
  Automated Cluster Management and Recovery  for Large Scale Multi-Tenant Sea...  Automated Cluster Management and Recovery  for Large Scale Multi-Tenant Sea...
Automated Cluster Management and Recovery for Large Scale Multi-Tenant Sea...
 
Surviving the Crisis With the Help of Oracle Database Resource Manager
Surviving the Crisis With the Help of Oracle Database Resource ManagerSurviving the Crisis With the Help of Oracle Database Resource Manager
Surviving the Crisis With the Help of Oracle Database Resource Manager
 
Weblogic server administration
Weblogic server administrationWeblogic server administration
Weblogic server administration
 
Weblogic introduction
Weblogic introductionWeblogic introduction
Weblogic introduction
 
Best practices for_large_oracle_apps_r12_implementations
Best practices for_large_oracle_apps_r12_implementationsBest practices for_large_oracle_apps_r12_implementations
Best practices for_large_oracle_apps_r12_implementations
 
OEM_Case_Study_ABC
OEM_Case_Study_ABCOEM_Case_Study_ABC
OEM_Case_Study_ABC
 
Weblogic configuration
Weblogic configurationWeblogic configuration
Weblogic configuration
 
Best practices for large oracle apps r12 implementations apps14
Best practices for large oracle apps r12 implementations apps14Best practices for large oracle apps r12 implementations apps14
Best practices for large oracle apps r12 implementations apps14
 
WebLogic Deployment Plan Example
WebLogic Deployment Plan ExampleWebLogic Deployment Plan Example
WebLogic Deployment Plan Example
 
NetApp Datasheet Oracle Accelerator
NetApp Datasheet Oracle AcceleratorNetApp Datasheet Oracle Accelerator
NetApp Datasheet Oracle Accelerator
 
Weblogic configuration & administration
Weblogic   configuration & administrationWeblogic   configuration & administration
Weblogic configuration & administration
 
WebLogic Developer Webcast 5: Troubleshooting and Testing with WebLogic, Soap...
WebLogic Developer Webcast 5: Troubleshooting and Testing with WebLogic, Soap...WebLogic Developer Webcast 5: Troubleshooting and Testing with WebLogic, Soap...
WebLogic Developer Webcast 5: Troubleshooting and Testing with WebLogic, Soap...
 
Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9
Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9
Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9
 
Oracle WebLogic Server Basic Concepts
Oracle WebLogic Server Basic ConceptsOracle WebLogic Server Basic Concepts
Oracle WebLogic Server Basic Concepts
 
WLST
WLSTWLST
WLST
 
Weblogic Domain Activity
Weblogic Domain ActivityWeblogic Domain Activity
Weblogic Domain Activity
 

Andere mochten auch

Managing troubleshooting cluster_360dgrees
Managing troubleshooting cluster_360dgreesManaging troubleshooting cluster_360dgrees
Managing troubleshooting cluster_360dgreesSyed Hussain
 
Ayane - Projector Phone
Ayane - Projector PhoneAyane - Projector Phone
Ayane - Projector PhoneVansh Kapil
 
1. dml select statement reterive data
1. dml select statement reterive data1. dml select statement reterive data
1. dml select statement reterive dataAmrit Kaur
 
It Works! Presenting DBAL use in real life
It Works! Presenting DBAL use in real lifeIt Works! Presenting DBAL use in real life
It Works! Presenting DBAL use in real lifeKarsten Dambekalns
 
Exadata Smart Scan - What is so smart about it?
Exadata Smart Scan  - What is so smart about it?Exadata Smart Scan  - What is so smart about it?
Exadata Smart Scan - What is so smart about it?Uwe Hesse
 
Consumer Behavior of Bihar and Bengal
Consumer Behavior of Bihar and BengalConsumer Behavior of Bihar and Bengal
Consumer Behavior of Bihar and BengalArgha Ray
 
ออราเคิล (Oracle) Statspack (ติดตั้งและใช้งานเบื้องต้น)
ออราเคิล (Oracle) Statspack (ติดตั้งและใช้งานเบื้องต้น)ออราเคิล (Oracle) Statspack (ติดตั้งและใช้งานเบื้องต้น)
ออราเคิล (Oracle) Statspack (ติดตั้งและใช้งานเบื้องต้น)N/A
 
Real-Time Query for Data Guard
Real-Time Query for Data Guard Real-Time Query for Data Guard
Real-Time Query for Data Guard Uwe Hesse
 
Oracle Query Optimizer - An Introduction
Oracle Query Optimizer - An IntroductionOracle Query Optimizer - An Introduction
Oracle Query Optimizer - An Introductionadryanbub
 
Oracle Database In-Memory & Multitenant - TROUG Days'16 Istanbul
Oracle Database In-Memory & Multitenant - TROUG Days'16 IstanbulOracle Database In-Memory & Multitenant - TROUG Days'16 Istanbul
Oracle Database In-Memory & Multitenant - TROUG Days'16 IstanbulMahir M. Quluzade
 
Oracle Database In-Memory and the Query Optimizer
Oracle Database In-Memory and the Query OptimizerOracle Database In-Memory and the Query Optimizer
Oracle Database In-Memory and the Query OptimizerChristian Antognini
 
akanksha bakul foundation
akanksha  bakul foundationakanksha  bakul foundation
akanksha bakul foundationAmitabh Yadav
 
How oracle query works (The SQL Optimizers)
How oracle query works (The SQL Optimizers)How oracle query works (The SQL Optimizers)
How oracle query works (The SQL Optimizers)Hosein Zare
 
Info 2102 l4 basic select statement lab1
Info 2102 l4   basic select statement lab1Info 2102 l4   basic select statement lab1
Info 2102 l4 basic select statement lab1IIUM
 

Andere mochten auch (20)

Managing troubleshooting cluster_360dgrees
Managing troubleshooting cluster_360dgreesManaging troubleshooting cluster_360dgrees
Managing troubleshooting cluster_360dgrees
 
Ayane - Projector Phone
Ayane - Projector PhoneAyane - Projector Phone
Ayane - Projector Phone
 
1. dml select statement reterive data
1. dml select statement reterive data1. dml select statement reterive data
1. dml select statement reterive data
 
certificate
certificatecertificate
certificate
 
Cost Based Oracle
Cost Based OracleCost Based Oracle
Cost Based Oracle
 
It Works! Presenting DBAL use in real life
It Works! Presenting DBAL use in real lifeIt Works! Presenting DBAL use in real life
It Works! Presenting DBAL use in real life
 
Exadata Smart Scan - What is so smart about it?
Exadata Smart Scan  - What is so smart about it?Exadata Smart Scan  - What is so smart about it?
Exadata Smart Scan - What is so smart about it?
 
Consumer Behavior of Bihar and Bengal
Consumer Behavior of Bihar and BengalConsumer Behavior of Bihar and Bengal
Consumer Behavior of Bihar and Bengal
 
ออราเคิล (Oracle) Statspack (ติดตั้งและใช้งานเบื้องต้น)
ออราเคิล (Oracle) Statspack (ติดตั้งและใช้งานเบื้องต้น)ออราเคิล (Oracle) Statspack (ติดตั้งและใช้งานเบื้องต้น)
ออราเคิล (Oracle) Statspack (ติดตั้งและใช้งานเบื้องต้น)
 
Real-Time Query for Data Guard
Real-Time Query for Data Guard Real-Time Query for Data Guard
Real-Time Query for Data Guard
 
Oracle on linux
Oracle on linuxOracle on linux
Oracle on linux
 
Oracle Query Optimizer - An Introduction
Oracle Query Optimizer - An IntroductionOracle Query Optimizer - An Introduction
Oracle Query Optimizer - An Introduction
 
Oracle Database In-Memory & Multitenant - TROUG Days'16 Istanbul
Oracle Database In-Memory & Multitenant - TROUG Days'16 IstanbulOracle Database In-Memory & Multitenant - TROUG Days'16 Istanbul
Oracle Database In-Memory & Multitenant - TROUG Days'16 Istanbul
 
TarunSharma_CV
TarunSharma_CVTarunSharma_CV
TarunSharma_CV
 
Oracle Database In-Memory and the Query Optimizer
Oracle Database In-Memory and the Query OptimizerOracle Database In-Memory and the Query Optimizer
Oracle Database In-Memory and the Query Optimizer
 
statement_sql
statement_sqlstatement_sql
statement_sql
 
akanksha bakul foundation
akanksha  bakul foundationakanksha  bakul foundation
akanksha bakul foundation
 
How oracle query works (The SQL Optimizers)
How oracle query works (The SQL Optimizers)How oracle query works (The SQL Optimizers)
How oracle query works (The SQL Optimizers)
 
Query execution
Query executionQuery execution
Query execution
 
Info 2102 l4 basic select statement lab1
Info 2102 l4   basic select statement lab1Info 2102 l4   basic select statement lab1
Info 2102 l4 basic select statement lab1
 

Ähnlich wie Capacity & Performance Management in Solaris Virtualized Environment

Implementing Private Database Clouds
Implementing Private Database CloudsImplementing Private Database Clouds
Implementing Private Database CloudsRoland Slee
 
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACThe Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACMarkus Michalewicz
 
Stay productive_while_slicing_up_the_monolith
Stay productive_while_slicing_up_the_monolithStay productive_while_slicing_up_the_monolith
Stay productive_while_slicing_up_the_monolithMarkus Eisele
 
Multi Tenancy In The Cloud
Multi Tenancy In The CloudMulti Tenancy In The Cloud
Multi Tenancy In The Cloudrohit_ainapure
 
New availability features in oracle rac 12c release 2 anair ss
New availability features in oracle rac 12c release 2 anair   ssNew availability features in oracle rac 12c release 2 anair   ss
New availability features in oracle rac 12c release 2 anair ssAnil Nair
 
Virtualizing Tier One Applications - Varrow
Virtualizing Tier One Applications - VarrowVirtualizing Tier One Applications - Varrow
Virtualizing Tier One Applications - VarrowAndrew Miller
 
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?Markus Michalewicz
 
A sdn based application aware and network provisioning
A sdn based application aware and network provisioningA sdn based application aware and network provisioning
A sdn based application aware and network provisioningStanley Wang
 
Chap 3 infrastructure as a service(iaas)
Chap 3 infrastructure as a service(iaas)Chap 3 infrastructure as a service(iaas)
Chap 3 infrastructure as a service(iaas)Raj Sarode
 
Weblogic Cluster advanced performance tuning
Weblogic Cluster advanced performance tuningWeblogic Cluster advanced performance tuning
Weblogic Cluster advanced performance tuningAditya Bhuyan
 
Presentation oracle as a service shared database platform
Presentation    oracle as a service shared database platformPresentation    oracle as a service shared database platform
Presentation oracle as a service shared database platformxKinAnx
 
Cqrs and Event Sourcing Intro For Developers
Cqrs and Event Sourcing Intro For DevelopersCqrs and Event Sourcing Intro For Developers
Cqrs and Event Sourcing Intro For Developerswojtek_s
 
Oracle enterprise manager cloud control 12c
Oracle enterprise manager cloud control 12cOracle enterprise manager cloud control 12c
Oracle enterprise manager cloud control 12csolarisyougood
 
Paa sing a java ee 6 application kshitiz saxena
Paa sing a java ee 6 application   kshitiz saxenaPaa sing a java ee 6 application   kshitiz saxena
Paa sing a java ee 6 application kshitiz saxenaIndicThreads
 
Scalable analytics for iaas cloud availability
Scalable analytics for iaas cloud availabilityScalable analytics for iaas cloud availability
Scalable analytics for iaas cloud availabilityPapitha Velumani
 
Varrow Q4 Lunch & Learn Presentation - Virtualizing Business Critical Applica...
Varrow Q4 Lunch & Learn Presentation - Virtualizing Business Critical Applica...Varrow Q4 Lunch & Learn Presentation - Virtualizing Business Critical Applica...
Varrow Q4 Lunch & Learn Presentation - Virtualizing Business Critical Applica...Andrew Miller
 
Unlocking Business Potential with Oracle Real
Unlocking Business Potential with Oracle RealUnlocking Business Potential with Oracle Real
Unlocking Business Potential with Oracle Realdatapatrolt
 
A Tour of Azure SQL Databases (NOVA SQL UG 2020)
A Tour of Azure SQL Databases  (NOVA SQL UG 2020)A Tour of Azure SQL Databases  (NOVA SQL UG 2020)
A Tour of Azure SQL Databases (NOVA SQL UG 2020)Timothy McAliley
 
שבוע אורקל 2016
שבוע אורקל 2016שבוע אורקל 2016
שבוע אורקל 2016Aaron Shilo
 

Ähnlich wie Capacity & Performance Management in Solaris Virtualized Environment (20)

Implementing Private Database Clouds
Implementing Private Database CloudsImplementing Private Database Clouds
Implementing Private Database Clouds
 
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACThe Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
 
Stay productive_while_slicing_up_the_monolith
Stay productive_while_slicing_up_the_monolithStay productive_while_slicing_up_the_monolith
Stay productive_while_slicing_up_the_monolith
 
Multi Tenancy In The Cloud
Multi Tenancy In The CloudMulti Tenancy In The Cloud
Multi Tenancy In The Cloud
 
New availability features in oracle rac 12c release 2 anair ss
New availability features in oracle rac 12c release 2 anair   ssNew availability features in oracle rac 12c release 2 anair   ss
New availability features in oracle rac 12c release 2 anair ss
 
My Dissertation 2016
My Dissertation 2016My Dissertation 2016
My Dissertation 2016
 
Virtualizing Tier One Applications - Varrow
Virtualizing Tier One Applications - VarrowVirtualizing Tier One Applications - Varrow
Virtualizing Tier One Applications - Varrow
 
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
 
A sdn based application aware and network provisioning
A sdn based application aware and network provisioningA sdn based application aware and network provisioning
A sdn based application aware and network provisioning
 
Chap 3 infrastructure as a service(iaas)
Chap 3 infrastructure as a service(iaas)Chap 3 infrastructure as a service(iaas)
Chap 3 infrastructure as a service(iaas)
 
Weblogic Cluster advanced performance tuning
Weblogic Cluster advanced performance tuningWeblogic Cluster advanced performance tuning
Weblogic Cluster advanced performance tuning
 
Presentation oracle as a service shared database platform
Presentation    oracle as a service shared database platformPresentation    oracle as a service shared database platform
Presentation oracle as a service shared database platform
 
Cqrs and Event Sourcing Intro For Developers
Cqrs and Event Sourcing Intro For DevelopersCqrs and Event Sourcing Intro For Developers
Cqrs and Event Sourcing Intro For Developers
 
Oracle enterprise manager cloud control 12c
Oracle enterprise manager cloud control 12cOracle enterprise manager cloud control 12c
Oracle enterprise manager cloud control 12c
 
Paa sing a java ee 6 application kshitiz saxena
Paa sing a java ee 6 application   kshitiz saxenaPaa sing a java ee 6 application   kshitiz saxena
Paa sing a java ee 6 application kshitiz saxena
 
Scalable analytics for iaas cloud availability
Scalable analytics for iaas cloud availabilityScalable analytics for iaas cloud availability
Scalable analytics for iaas cloud availability
 
Varrow Q4 Lunch & Learn Presentation - Virtualizing Business Critical Applica...
Varrow Q4 Lunch & Learn Presentation - Virtualizing Business Critical Applica...Varrow Q4 Lunch & Learn Presentation - Virtualizing Business Critical Applica...
Varrow Q4 Lunch & Learn Presentation - Virtualizing Business Critical Applica...
 
Unlocking Business Potential with Oracle Real
Unlocking Business Potential with Oracle RealUnlocking Business Potential with Oracle Real
Unlocking Business Potential with Oracle Real
 
A Tour of Azure SQL Databases (NOVA SQL UG 2020)
A Tour of Azure SQL Databases  (NOVA SQL UG 2020)A Tour of Azure SQL Databases  (NOVA SQL UG 2020)
A Tour of Azure SQL Databases (NOVA SQL UG 2020)
 
שבוע אורקל 2016
שבוע אורקל 2016שבוע אורקל 2016
שבוע אורקל 2016
 

Kürzlich hochgeladen

The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
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
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
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
 
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
 
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
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
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
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
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
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 

Kürzlich hochgeladen (20)

The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
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
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
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
 
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
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
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
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
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
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 

Capacity & Performance Management in Solaris Virtualized Environment

  • 1. Capacity & Performance Management in Solaris Virtualized Environment Neeraj Bhatia Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
  • 2. About Me  ~ 10 years of experience in Oracle Database Performance Optimization and IT Services/Infrastructure Capacity Planning.  Certified Oracle DBA – OCP 9i, 10g, 11g, RAC Expert  Other Certifications – ISO/20000 Certified Auditor, ITIL V3 Practitioner, Base SAS  Currently working with Barclays Bank PLC as a Capacity Manager  When time allows I blog at http://neerajbhatia.wordpress.com/ Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
  • 3. Agenda Section - 1 • Virtualization Basics • Different Oracle Virtualization techniques • When to use which • Basics – Zones, Containers etc Section - 2 • Capacity Planning Goals and Basics • Challenges to Capacity & Perf Management in Solaris Zones Environment • Resource Management techniques Section - 3 • Implementing Foundation for Effective Capacity and Perf Management • Case Study -1: Applications Consolidation with Advance Resource Utilization Techniques • Case Study -2: Tweaking configuration for additional application load. Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
  • 4. Virtualization: Basics  Virtualization is a technology which enables multiple applications/operating systems to run on one computer system as if they have exclusive access to the computer.  Three commonly used Virtualization technologies are: 1. Operating System Virtualization o This provides multiple isolated execution environments in one OS instance. o In this model environment thinks that it got an exclusive access to the OS. o Suitable in case of application Consolidation. 2. Server Virtualization o In this technology, multiple operating system instances (also different OS) run on a common system. o This is helpful in case of Server consolidation. 3. Hardware Virtualization o In this model, server hardware is partitioned and provides multiple independent computers within one computer. o Suitable in case of Server consolidation with high degree of isolation and security. Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
  • 5. Oracle Virtualization Technologies Trend to Flexibility Trend to Isolation Source: Oracle VM Server for SPARC Overview @OTN Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
  • 6. What is Capacity Planning “Capacity Planning is the process of predicting when future load levels will saturate the system and determining the most costeffecting way of delaying system saturation as much as possible” - by Daniel A. Menasce and Virgilio A.F. Almeida (Authors of Capacity Planning for Web Services: Metrics, Models & Methods) Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment 6
  • 7. Capacity Management Methodology 1. State Goals 2. Define the System Configuration 3. Classify Workload 4. Quantify & Control Resource Usage 5. Analyze and Model Data and Interpret the Results Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
  • 8. Resource Management: Why? • In Consolidation/Virtualization Scenarios, each workload may have different priority and resource Demand. • One workload may hog all the resources of underlying server and thus affecting the performance of other workloads. • Resource Management allows to create limits for Resource Usage. • Three Important Roles of Resource Management Framework: 1. Classify Workload: Achieved with the help of Projects and Zones 2. Quantify Resource Usage: Measure how much Resources a particular Workload is consuming 3. Control the Resource Usage: To eliminate cross-workload interference using 3 techniques:  Constraints - This defines the upper bound on specific resources  Scheduling - This defines run-time priorities among the Workloads  Partitioning - Isolate workload from each other Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
  • 9. Workload Classification • The first step in laying down effective Capacity & Performance Management is to identify the workloads running on the System. • A Conventional and often challenging way is to identify Workloads by Username OR Process Name. • Oracle Solaris Containers like Zones and Projects provide a systematic way to Identify and Manage Workloads. • For example – Multiple instances of the same Application can run on the same system and provided separate Containers are defined for each, one would be able to ultimately control the workloads . Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
  • 10. Zones Basics • Solaris Zones is a Software-partitioning technology introduced in Solaris 10 Operating System. • Each Zone acts like a separate Operating System although each shares a single instance of Solaris Operating system. • Provides an isolated and Secured Environment for running Applications; processes in a zone can’t interact with processes in other Zones. • Some Possible Use cases: o To consolidate several small Solaris/Legacy servers o To consolidate many lowly-utilized servers o To enable the migration of Solaris 8 Application Environments o To provide Maximum Isolation and Security by integrating with Oracle VM Server with SPARC Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
  • 11. Resource Capping Techniques • Limits the amount of CPU and Memory resources for a Workload. • Prevents a Workload from using excess CPU/Memory and interfere with other Workloads. • Restrict a Workload to excess additional CPU even if other Workloads are Idle. • When used with Processor sets, it limits CPU usage within a set. zonecfg:my-zone> add capped-cpu zonecfg:my-zone:capped-cpu> set ncpus=3.5 zonecfg:my-zone:capped-cpu> end Note: ncpus = 3.5 will limit the workload to 3.5 CPUs zonecfg:my-zone> add capped-memory zonecfg:my-zone:capped-memory> set physical=512m zonecfg:my-zone:capped-memory> set swap=1024m zonecfg:my-zone:capped-memory> set locked=100m zonecfg:my-zone:capped-memory> end Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
  • 12. Scheduling Classes (FSS) • By default Solaris dispatcher uses TS scheduler which gives relatively equal access to CPU resources. • Priority among workloads for CPU can be set using FSS (Fair Share Scheduler). • FSS achieves Resource Efficiency & Fairness by: o Increasing workload entitlement in case of low usage o Reducing workload’s entitlement in the case of heavy CPU usage. • Workload’s relative importance is expressed in number of CPU shares and is not equivalent to percentages of CPU resources. • NO meaning in absolute terms; define the relative importance of workloads. • To optimally set CPU Shares to a workload – understand total number of workloads on a system, their relative importance and usage profile. • Can be configured with Processor Sets for granular control over resources. Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
  • 13. Resource Partitioning Techniques • Oracle Solaris Resource Pools partition the System resources and limit Workloads to specific subsets of the resources. • This helps in avoiding system-wide overcommitment. However may result in lower utilization of system resources. • Possible Use cases: o Mixed Workloads o Phased approach for Applications release o Resource allocation based on user role o Implementing chargeback model Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
  • 14. Resource Partitioning Techniques • Resource Pool Configuration have following parameters: • Pool: Example - pool.importance • Pset: Example - pset.min and pset.max • CPU: Example - cpu.pinned • Dynamic resource pools provide a mechanism for dynamically adjusting each pool's resource allocation in response to system events and application load changes. • DRPs simplify and reduce the number of decisions required from an administrator. • Adjustments are automatically made through system daemon poold. • Poold daemon acts on Constraints and Objectives provided by an Administrator. • Constraints: o Min/Max CPU Allocation: pset.min and pset.max place limits on the number of processors that can be allocated to a processor set. o CPU Pinning: cpu.pinned constraint indicates that a particular CPU should not be moved by DRP from the processor set in which it is located. This is to achieve maximum cache utilization for a particular application that is executing within a processor set. o Pool Importance: The pool.importance property describes the relative importance of a pool. Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
  • 15. Resource Partitioning Techniques • Objectives: • Weighted Load Objective: The wt-load objective favors configurations that match resource allocations to resource utilizations. • Useful in situations where you are satisfied with the minimum and maximum properties constraints. • Utilization Objective (0-100%) •The utilization objective favors configurations that allocate resources to partitions that are not meeting the specified utilization objective. oThis objective is specified by using operators and values. o The “less than” operator (<) indicates maximum target value. o The “greater than” operator (>) indicates minimum target value. o The “about” operator (~) indicates a target value with some acceptable fluctuation. Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
  • 16. Resource Partitioning Techniques • The dedicated-cpu resource specifies that a subset of the System’s processors should be dedicated to a Workload. • System on runtime creates a temporary pool till the Workload’s lifetime. • The dedicated-cpu resource has 2 properties; ncpus and importance • ncpus: It specifies the number of CPUs or a range, such as 2-4 CPUs. • Importance: An optional property, defines the relative importance of the workload, in case a range is provided for ncpus. zonecfg:my-zone> add dedicated-cpu zonecfg:my-zone:dedicated-cpu> set ncpus=1-3 zonecfg:my-zone:dedicated-cpu> set importance=2 zonecfg:my-zone:dedicated-cpu> end Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
  • 17. Case Study -1: Application Consolidation • Three Applications are being consolidated onto a single system. • Applications have different resource requirements. o Batch Workload: Heavy batch programs, primary concern is throughput. o OLTP Workload: Heavy transaction processing, primary concern is response time. Driven from Web, headroom should be there to accommodate transaction spikes. o Admin Workload: It provides admin console to manage tools and applications. • Due to business priority you want to make sure a fixed Capacity is always available for an Application. • Also unused Capacity by less-important Applications should be available to other applications. Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
  • 18. Process Sets and CPU Shares - Examples • Total CPU on the Target Server = 8 • Three Processor Sets: o Processor Set 1 = CPU numbers { 0, 1 } o Processor Set 2 = CPU numbers { 2, 3 } o Processor Set 3 = CPU numbers { 4, 5, 6, 7 } • Three Workloads on the System: o W1 (Admin Processes), CPU Shares =1, on Processor Set -1 o W2 (Batch Processes), CPU Shares =2, on Processor Set -1, 2 o W3 (OLTP Application Processes), CPU Shares =3, on Processor Set- 1, 2, 3 Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
  • 19. Process Sets and CPU Shares - Examples Workload’s CPU Allocation = For Each Processor Set Total system-wide CPU allocation for workloads can be calculated as follows:  Total Admin Workload CPU Allocation: (1/6 X 2/8)pset1 = 4.17%  Total Batch Workload CPU Allocation: (2/6 X 2/8)pset1 + (2/5 X 2/8)pset2 = 18.33%  Total OLTP Workload CPU Allocation: (3/6 X 2/8 )pset1 + (3/5 X 2/8)pset2 + (3/3 X 4/8)pset3 = 77.50%  These figures represent minimum guaranteed CPU shares assuming all workloads are CPU bound.  Each Workload could use 100% of CPU resources in their processor sets provided other Workloads are idle. Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
  • 20. Process Sets and CPU Shares - Examples Figure: CPU Utilization in the absence of sophisticated Resource Utilization techniques Figure: CPU Utilization in case of Processor Sets and FSS Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
  • 21. The Future lies in the History "I have seen the future and it is very much like the present, only longer." --Kehlog Albran, The Profit This philosophy is actually a concise description of statistical forecasting. We search for statistical properties of a time series that are constant in time - trends, seasonal patterns, correlations etc. We then predict that these properties will also describe the future. Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
  • 22. Case Study -2: Capacity Forecasting Scenario: There are 2 applications running on a system with 8 CPU cores. One of the application (Oracle Database) is anticipating additional workload. The objective is to assess if the system has sufficient Capacity to sustain the workload and is there any scope to tweak the configuration to reduce the pressure on additional CPUs. Current Configuration: • Total CPUs on the System: 8 • Total Zones running on system: 2 • Zone-1 (Oracle Database) CPU Shares: 3 • Zone-2 (Test Environment) CPU Shares: 2 Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
  • 23. Case Study -2: Capacity Forecasting Usage profile of Zones are depicted below: Test Env Zone using unused Capacity With current Resource Management settings of 3 and 2 CPU Shares, Database application can access up to 60% CPU and Test environment Zone up to 40% CPU Capacity. Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
  • 24. Case Study -2: Observations/Questions • System has some headroom for additional which can be used by additional load on Oracle Database Zone. • With current configuration, there would be no chance of Test environment getting idle Capacity if Database Zone happens to be using all the Capacity at it’s disposal. • Is that a Concern? • Consider the intrinsic nature of the Test environments. • Now what If we reduce the Capacity that can be accessed by Test environment by reducing the CPU shares? • This will increase the guaranteed Capacity that database Zone can have at any given point of time. • The Key is to strike a balance between both Zones. • If still Capacity asks of database application can’t be satisfied without compromising with the Test environment, Capacity upgrade is inevitable. Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
  • 25. Case Study -2: Capacity Forecasting Figure: Effect of additional Capacity usage by Database Zone Figure: CPU Shares changed to 4 and 1 respectively, and database is able to process additional load. Also, Test zone can go beyond 20% in case of idle Capacity is available. Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
  • 26. Case Study -2: Conclusions Provided Database workload is going to increases in phased manner, we can delay the configuration change/Capacity upgradation. o In Phase-1 additional workload can be supported by leveraging the available headroom. o In Phase-2, further increase in the database workload can be sustained by putting constraint on Test environment. o If further increase in the database workload is expected, Capacity upgradation is inevitable. Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
  • 27. Quotation "I hear and I forget. I see and I remember. I do and I understand." -- Chinese Proverb The best way to learn a subject is to apply the concepts to a real system. The techniques presented in this presentation may appear simple on the surface, their applications to real world may offer a different experience. Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment
  • 28. Neeraj Bhatia | Capacity & Performance Management in Solaris Virtualized Environment 28