SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Downloaden Sie, um offline zu lesen
Policy-driven, Platform-aware
Nova Scheduler
Adrian Hoban, Principal Engineer, Intel
Ramki Krishnan, Distinguished Engineer, CTO NFV, Dell
Tim Hinrichs, CTO, Styra
2
Dell - Restricted - Confidential
Team
• Core Team (besides presenters)
– Arun Yerra, Dell
– Dilip Krishnaswamy, IBM Research
– Joseph Gasparakis, Intel
– Ruby Krishnaswamy, Orange
• Contributor Acknowledgement
– Anoop Ghanwani, Dell
– Diego Lopez, Telefonica (Operator)
– Francisco Javier, Telefonica (Operator)
– Frank Zdarsky, Red Hat
– Jim Hao Chen, Northwestern University
– Norival Figueira, Brocade
– Peter Willis, BT (Operator)
– Sridhar Ramaswamy, Brocade
– Steve Gordon, Red Hat
– Sylvain Bauza, Red Hat
– Uri Elzur, Intel
3
Dell - Restricted - Confidential
OpenStack Nova Scheduler Challenges
• Platform Features Beyond Compute
– SDS use case: High perf storage and compute isolation
– Wait for next OpenStack Release?
• Ease of Use
– Gen use case: Determine highly loaded or unusable hosts
– Build use case specific analysis tools?
• Initial Placement vs other Functions
– NFV use case: Dynamic monitoring and violation detection
– Design one-off monitoring framework?
Admin
User
4
Dell - Restricted - Confidential
Application Performance-aware Workload Placement (1)
Delivering “Low-latency, reliable delivery” workloads e.g. Broadcast
Video, Distance Learning, Augmented Reality in the Telco Cloud
• NFV Orchestrator - End-to-end - Intra-dc, Inter-dc WAN etc.
• Exemplary VNFs - Stateful firewall, Wireless Video Proxy, Crypto
• Compute: Fine grained resource partitioning for VM
– Dedicated core(s) AND NUMA awareness AND L3 cache part [1] AND
SR-IOV *** ELSE **
– Dedicated core(s) AND NUMA awareness AND L3 cache partitioning
AND DPDK vSwitch *** ELSE ***
– Dedicated physical server
• Network: Overlay/Underlay QoS
– High QoS AND Minimum buffer depth in switches
• Storage: High Performance Logging
– NVMe SSD based storage *** ELSE *** SSD based storage
Ref. [1] - Intel RDT - http://www.intel.com/content/www/us/en/architecture-and-technology/resource-director-technology.html
3G 4G 5G
Premium Quality Video
Poor Quality Video
Infrastructure Issues
5
Dell - Restricted - Confidential
Application Performance-aware Workload Placement (2)
Delivering “Classic enterprise" workloads, e.g. Email, CRM in the Telco Cloud
• Exemplary data plane VNFs - Stateful firewall, IDS/IPS, WAN Opt and IPSEC crypto
• Compute: Deterministic performance by avoiding memory contention
– NUMA awareness AND SR-IOV *** ELSE ***
– NUMA awareness
• Network: No HA requirement
• Storage: SSD for High performance logging
Delivering “Residential broadband" workloads, e.g. cost-effective Internet in the Telco Cloud
• Exemplary data plane VNFs - NAT
• Compute/Network: Max capacity limit
• Storage: HDD for Low cost
6
Dell - Restricted - Confidential
Policy-driven Scheduler Approach (1)
Minimize Vendor Lock-in and Dependency
Maximize feature velocity
• Extensibility
– Admin/User can add new compute (Nova),
networking (Neutron), storage (Cinder) constraints
on the fly
• Understandability
– Admin/User uses human readable scheduling
policies and build analysis tools on a need basis
• Monitoring
– Admin/User benefits from a single representation
for handling variation in resource utilization and
initial placement
Minimize additional
code
No custom analysis
tools
No delay in
monitoring feature
availability
7
Dell - Restricted - Confidential
Policy-driven Scheduler Approach (2)
Best of Breed
• Imperative Interface Choices
– Extensions to current JSON filter - JSON Weight
• Declarative Interface Choices
– JSON Filter extensions to current Nova Flavors
– Datalog embedded in YAML for flexible constraint
specification and database manipulation
Enable user to
customize specific
applications
Address User
understandability,
Admin extensibility
8
Dell - Restricted - Confidential
Imperative Example
Policy-driven Scheduler
User Request
NUMA and SR-IOV
else
NUMA and more cores
Host 1 Host 2
Host 3 Host 4
Host1: SRIOV
Host2: NUMA, SRIOV
Host3: NUMA, more cores
Host4: L3 partitioning
Output
2
1
Host 2
Host 3
User Describes
Desired
Hardware
9
Dell - Restricted - Confidential
Declarative Example
Policy-driven Scheduler
User Request
affinity: [“vm123”, “vm456”]
memory: 10GB
type: “low-latency, reliable-delivery”
Host 2
Output
Host 1 Host 2
Host 3 Host 4
Policy
Store
Policy
This type requires
local ephemeral
SSD-backed storage
Host2 data
memory: 20GB
storage: ssd
User Describes
Workload
10
Dell - Restricted - Confidential
OpenStack Nova Scheduler
Host 1
Host 2
Host 3
Host N
Host 1
Host 3
Host 8
Host 9
Filters Weighting
• 30+ types of
filters.
• Find the
subset of
suitable
hosts.
• Order
suitable
hosts.
Host 8
Host 1
Host 9
Host 3
:
:
11
Dell - Restricted - Confidential
Nova Scheduler Filter
• Administrator configures the filter list (30+ options)
• scheduler_default_filters=RamFilter,Compute
Filter,AvailabilityZoneFilter,ComputeCapabi
litiesFilter,ImagePropertiesFilter,ServerGr
oupAntiAffinityFilter,ServerGroupAffinityFi
lter'
• Admin configures various filter input data sets such as the
flavor definition with extra_specs
Host 1:
Host 3:
Host 8:
Host 9:
Each host complies with an imperative request
based on user and admin input.
E.g. 4GB for VM, huge pages, AES-NI, same
availability zone, PCIe accelerators, can meet
image property requirements, etc., etc.
12
Dell - Restricted - Confidential
Nova Scheduler Weight
• Configured by the administrator.
• RAM
– Spread across hosts evenly based on RAM
utilisation.
• Metrics
– Weigh hosts based on a combination of the
weight associated with the specified
host_state metrics.
• IO Ops
– Weight hosts based on I/O operations.
• Affinity
– Weights hosts based on the number of
instances from a given server group.
– Affinity and Anti-Affinity options available.
Host 8: 10GB Free
Host 1: 7GB Free
Host 9: 3GB Free
Host 3: 1GB Free
RAM Centric
weighting policy
13
Dell - Restricted - Confidential
• Administrator input to the filter scheduler is largely static and Nova centric
– E.g. flavour and extra_spec definitions, Host aggregate definitions, etc.
• Not possible to deploy to a given service level with different infrastructure
resource allocations (in the same request) under policy governance.
• Not possible to modify the weighting configuration/policy for different parts of
the environment such as per availability zone or host aggregates.
Problem Statement(s) – Nova Placement
14
Dell - Restricted - Confidential
Empower User: JsonFilter + JsonWeight
Filter Scheduler
Host Data
(Nova’s HostState)
User Request
NUMA and SR-IOV weighted 2
NUMA and more cores weighted 1
JsonFilter JsonWeight
15
Dell - Restricted - Confidential
Empower Admin 1: New Filter
Filter Scheduler
Policy StoreHost Data
(Config, File)(Nova’s HostState)
User Request
workload: “low-latency, reliable-delivery”
tenant-id: “pepsi”
AdminJsonFilter AdminJsonWeight
Pro: Extensible by admin to
external data sources
like Cinder and Neutron.
Con: New filter on already
long list.
16
Dell - Restricted - Confidential
Empower Admin 2: Modify Existing Filters
Field Description
vCPUs Number of virtual CPUs
Memory_MB VM memory in megabytes
Disk Virtual root disk size in GB
…
Extra_specs Key-value pairs
Policy AND/OR/NOT of tests
Flavor fields
Field Description
ID Number of virtual CPUs
Name VM memory in megabytes
AvailabilityZone Virtual root disk size in GB
Hosts List of hosts in group
Metadata Key-value pairs
Policy AND/OR/NOT of tests
Host Aggregate FieldsPro: Extensible by admin.
Already part of workflow.
Con: Adds complexity to
established filters
17
Dell - Restricted - Confidential
Status
• Concept stage with early drafts of several specs
– Imperative: json-weight
– Declarative:
– New scheduler: policy-based-scheduler
– New filter+weight: admin-json-filter
– Modify existing flavor: flavor-policy
– New Host aggregate field: host-aggregate-policy
• 3 sessions at this summit
– Wednesday, 9-10:30 (Nova scheduler working session)
– Wednesday, 11-11:40 (Congress Integrations session)
– Wednesday, 11:45-12:30 (NFV Orchestration BoF)
18
Dell - Restricted - Confidential
Key Takeaways
• Contributors: 10+ companies
• Goal: Policy-driven scheduling, Service-assured resource-allocation
• Approach:
– Imperative: User describes desired hardware in policy language OR
– JSON Weight
– Declarative: User describes application; admin maps application to
hardware
– Admin JSON Filter, Admin JSON Weight
– Enhance Flavor and Host Aggregates
• Weekly meeting: 8am Pacific = 1300 UTC
– Please join us!
19
Dell - Restricted - Confidential
20
Dell - Restricted - Confidential
Intel Legal Notices and Disclaimers
• Intel technologies’ features and benefits depend on system configuration and may
require enabled hardware, software or service activation. Learn more at intel.com, or
from the OEM or retailer.
• No computer system can be absolutely secure.
• Tests document performance of components on a particular test, in specific systems.
Differences in hardware, software, or configuration will affect actual performance.
Consult other sources of information to evaluate performance as you consider your
purchase. For more complete information about performance and benchmark results,
visit http://www.intel.com/performance.
• Intel, the Intel logo and others are trademarks of Intel Corporation in the U.S. and/or
other countries. *Other names and brands may be claimed as the property of others.
• © 2016 Intel Corporation.
21
Dell - Restricted - Confidential
Policy Language: JsonFilter and JsonWeight
For "low-latency" workloads:
• At least 8GB of free ram
• At least 8 free vCPUs
• NUMA awareness
[‘or’, [‘and', ['=', '$user.type', 'low-latency'],
[‘>’, ’$host.free_ram_mb’, 8*1024],
[‘>’, ’$host.vcpus_total’ - '$host.vcpus_used', 8],
[‘not’, [‘=', '$host.numa_topology', 'None']]]]
22
Dell - Restricted - Confidential
Policy Language: YAML based policy
parameters:
availability_zone:
type: String
label: availability zone number
description: Name of the availability zone server
should be hosted on.
affinity :
type : String
label : Affinity
description: Affinity Group Id
ram :
type : integer
label : RAM
description: Minimum RAM size required by server
instance in GB.
hard_constraints:
ram_constraint:
operation_type : min
value : { get_param : ram }
affinity_constraint:
operation_type : equals
value : { get_param : affinity }
availability_zone_constraint:
operation_type : equals
value : { get_param : availability_zone }
soft_constraints:
ram_factor:
operation_type : multiplication
value : { get_param : ram-weight}
23
Dell - Restricted - Confidential
Policy Language: DataLog
main(host) :-
nova:host(host),
not eliminated_host(host),
max_host_score(host, max)
eliminated_host(host) :-
nova:host(host),
request:same_hosts(vm),
not nova:deployed(vm, host)
eliminated_host(host) :-
nova:host(host),
request:different_hosts(vm),
nova:deployed(vm, host)
max_host_score(host, max(score)) :-
weight(host, score)
weight(host, ram_weight) :-
request:ram(requested_ram),
nova:host_ram(host, actual_ram),
ram_weight = actual - requested_ram / 256

Weitere ähnliche Inhalte

Was ist angesagt?

Hadoop Summit 2012 | HDFS High Availability
Hadoop Summit 2012 | HDFS High AvailabilityHadoop Summit 2012 | HDFS High Availability
Hadoop Summit 2012 | HDFS High AvailabilityCloudera, Inc.
 
70-410 Practice Test
70-410 Practice Test70-410 Practice Test
70-410 Practice Testwrailebo
 
Ibm spectrum scale fundamentals workshop for americas part 5 spectrum scale_c...
Ibm spectrum scale fundamentals workshop for americas part 5 spectrum scale_c...Ibm spectrum scale fundamentals workshop for americas part 5 spectrum scale_c...
Ibm spectrum scale fundamentals workshop for americas part 5 spectrum scale_c...xKinAnx
 
EMC Data domain advanced features and functions
EMC Data domain advanced features and functionsEMC Data domain advanced features and functions
EMC Data domain advanced features and functionssolarisyougood
 
Virtual Server Presentation Dha
Virtual Server Presentation DhaVirtual Server Presentation Dha
Virtual Server Presentation Dhamcshinsky
 
Accelerate and Scale Big Data Analytics with Disaggregated Compute and Storage
Accelerate and Scale Big Data Analytics with Disaggregated Compute and StorageAccelerate and Scale Big Data Analytics with Disaggregated Compute and Storage
Accelerate and Scale Big Data Analytics with Disaggregated Compute and StorageAlluxio, Inc.
 
Ibm spectrum scale fundamentals workshop for americas part 1 components archi...
Ibm spectrum scale fundamentals workshop for americas part 1 components archi...Ibm spectrum scale fundamentals workshop for americas part 1 components archi...
Ibm spectrum scale fundamentals workshop for americas part 1 components archi...xKinAnx
 
hadoop architecture -Big data hadoop
   hadoop architecture -Big data hadoop   hadoop architecture -Big data hadoop
hadoop architecture -Big data hadoopjasikadogra
 
Avoiding Chaos: Methodology for Managing Performance in a Shared Storage A...
Avoiding Chaos:  Methodology for Managing Performance in a Shared Storage A...Avoiding Chaos:  Methodology for Managing Performance in a Shared Storage A...
Avoiding Chaos: Methodology for Managing Performance in a Shared Storage A...brettallison
 
IBM Spectrum Scale Security
IBM Spectrum Scale Security IBM Spectrum Scale Security
IBM Spectrum Scale Security Sandeep Patil
 
IBM Spectrum Scale Best Practices for Genomics Medicine Workloads
IBM Spectrum Scale Best Practices for Genomics Medicine WorkloadsIBM Spectrum Scale Best Practices for Genomics Medicine Workloads
IBM Spectrum Scale Best Practices for Genomics Medicine WorkloadsUlf Troppens
 
Avamar Run Book - 5-14-2015_v3
Avamar Run Book - 5-14-2015_v3Avamar Run Book - 5-14-2015_v3
Avamar Run Book - 5-14-2015_v3Bill Oliver
 
Ibm spectrum scale_backup_n_archive_v03_ash
Ibm spectrum scale_backup_n_archive_v03_ashIbm spectrum scale_backup_n_archive_v03_ash
Ibm spectrum scale_backup_n_archive_v03_ashAshutosh Mate
 
ASPLOS2011 workshop RESoLVE "Effect of Disk Prefetching of Guest OS "
ASPLOS2011 workshop RESoLVE "Effect of Disk Prefetching of Guest OS "ASPLOS2011 workshop RESoLVE "Effect of Disk Prefetching of Guest OS "
ASPLOS2011 workshop RESoLVE "Effect of Disk Prefetching of Guest OS "Kuniyasu Suzaki
 
ZFS for Databases
ZFS for DatabasesZFS for Databases
ZFS for Databasesahl0003
 
Webinar NETGEAR - Storagecraft e Netgear: soluzioni per il backup e il disast...
Webinar NETGEAR - Storagecraft e Netgear: soluzioni per il backup e il disast...Webinar NETGEAR - Storagecraft e Netgear: soluzioni per il backup e il disast...
Webinar NETGEAR - Storagecraft e Netgear: soluzioni per il backup e il disast...Netgear Italia
 
Linux Performance Analysis and Tools
Linux Performance Analysis and ToolsLinux Performance Analysis and Tools
Linux Performance Analysis and ToolsBrendan Gregg
 

Was ist angesagt? (19)

Introduction
IntroductionIntroduction
Introduction
 
Hadoop Summit 2012 | HDFS High Availability
Hadoop Summit 2012 | HDFS High AvailabilityHadoop Summit 2012 | HDFS High Availability
Hadoop Summit 2012 | HDFS High Availability
 
70-410 Practice Test
70-410 Practice Test70-410 Practice Test
70-410 Practice Test
 
D02 Evolution of the HADR tool
D02 Evolution of the HADR toolD02 Evolution of the HADR tool
D02 Evolution of the HADR tool
 
Ibm spectrum scale fundamentals workshop for americas part 5 spectrum scale_c...
Ibm spectrum scale fundamentals workshop for americas part 5 spectrum scale_c...Ibm spectrum scale fundamentals workshop for americas part 5 spectrum scale_c...
Ibm spectrum scale fundamentals workshop for americas part 5 spectrum scale_c...
 
EMC Data domain advanced features and functions
EMC Data domain advanced features and functionsEMC Data domain advanced features and functions
EMC Data domain advanced features and functions
 
Virtual Server Presentation Dha
Virtual Server Presentation DhaVirtual Server Presentation Dha
Virtual Server Presentation Dha
 
Accelerate and Scale Big Data Analytics with Disaggregated Compute and Storage
Accelerate and Scale Big Data Analytics with Disaggregated Compute and StorageAccelerate and Scale Big Data Analytics with Disaggregated Compute and Storage
Accelerate and Scale Big Data Analytics with Disaggregated Compute and Storage
 
Ibm spectrum scale fundamentals workshop for americas part 1 components archi...
Ibm spectrum scale fundamentals workshop for americas part 1 components archi...Ibm spectrum scale fundamentals workshop for americas part 1 components archi...
Ibm spectrum scale fundamentals workshop for americas part 1 components archi...
 
hadoop architecture -Big data hadoop
   hadoop architecture -Big data hadoop   hadoop architecture -Big data hadoop
hadoop architecture -Big data hadoop
 
Avoiding Chaos: Methodology for Managing Performance in a Shared Storage A...
Avoiding Chaos:  Methodology for Managing Performance in a Shared Storage A...Avoiding Chaos:  Methodology for Managing Performance in a Shared Storage A...
Avoiding Chaos: Methodology for Managing Performance in a Shared Storage A...
 
IBM Spectrum Scale Security
IBM Spectrum Scale Security IBM Spectrum Scale Security
IBM Spectrum Scale Security
 
IBM Spectrum Scale Best Practices for Genomics Medicine Workloads
IBM Spectrum Scale Best Practices for Genomics Medicine WorkloadsIBM Spectrum Scale Best Practices for Genomics Medicine Workloads
IBM Spectrum Scale Best Practices for Genomics Medicine Workloads
 
Avamar Run Book - 5-14-2015_v3
Avamar Run Book - 5-14-2015_v3Avamar Run Book - 5-14-2015_v3
Avamar Run Book - 5-14-2015_v3
 
Ibm spectrum scale_backup_n_archive_v03_ash
Ibm spectrum scale_backup_n_archive_v03_ashIbm spectrum scale_backup_n_archive_v03_ash
Ibm spectrum scale_backup_n_archive_v03_ash
 
ASPLOS2011 workshop RESoLVE "Effect of Disk Prefetching of Guest OS "
ASPLOS2011 workshop RESoLVE "Effect of Disk Prefetching of Guest OS "ASPLOS2011 workshop RESoLVE "Effect of Disk Prefetching of Guest OS "
ASPLOS2011 workshop RESoLVE "Effect of Disk Prefetching of Guest OS "
 
ZFS for Databases
ZFS for DatabasesZFS for Databases
ZFS for Databases
 
Webinar NETGEAR - Storagecraft e Netgear: soluzioni per il backup e il disast...
Webinar NETGEAR - Storagecraft e Netgear: soluzioni per il backup e il disast...Webinar NETGEAR - Storagecraft e Netgear: soluzioni per il backup e il disast...
Webinar NETGEAR - Storagecraft e Netgear: soluzioni per il backup e il disast...
 
Linux Performance Analysis and Tools
Linux Performance Analysis and ToolsLinux Performance Analysis and Tools
Linux Performance Analysis and Tools
 

Ähnlich wie Policy-driven, Platform-aware Nova Scheduler

Ceph Day New York 2014: Best Practices for Ceph-Powered Implementations of St...
Ceph Day New York 2014: Best Practices for Ceph-Powered Implementations of St...Ceph Day New York 2014: Best Practices for Ceph-Powered Implementations of St...
Ceph Day New York 2014: Best Practices for Ceph-Powered Implementations of St...Ceph Community
 
Whd master deck_final
Whd master deck_final Whd master deck_final
Whd master deck_final Juergen Domnik
 
Intel and Red Hat: Enhancing OpenStack for Enterprise Deployment
Intel and Red Hat: Enhancing OpenStack for Enterprise DeploymentIntel and Red Hat: Enhancing OpenStack for Enterprise Deployment
Intel and Red Hat: Enhancing OpenStack for Enterprise DeploymentIntel® Software
 
New Ceph capabilities and Reference Architectures
New Ceph capabilities and Reference ArchitecturesNew Ceph capabilities and Reference Architectures
New Ceph capabilities and Reference ArchitecturesKamesh Pemmaraju
 
Software Defined Storage, Big Data and Ceph - What Is all the Fuss About?
Software Defined Storage, Big Data and Ceph - What Is all the Fuss About?Software Defined Storage, Big Data and Ceph - What Is all the Fuss About?
Software Defined Storage, Big Data and Ceph - What Is all the Fuss About?Red_Hat_Storage
 
Flexible DevOps Deployment of Enterprise Test Environments in the Cloud
Flexible DevOps Deployment of Enterprise Test Environments in the CloudFlexible DevOps Deployment of Enterprise Test Environments in the Cloud
Flexible DevOps Deployment of Enterprise Test Environments in the CloudDevOps for Enterprise Systems
 
The Importance of Fast, Scalable Storage for Today’s HPC
The Importance of Fast, Scalable Storage for Today’s HPCThe Importance of Fast, Scalable Storage for Today’s HPC
The Importance of Fast, Scalable Storage for Today’s HPCIntel IT Center
 
Taking Splunk to the Next Level - Architecture Breakout Session
Taking Splunk to the Next Level - Architecture Breakout SessionTaking Splunk to the Next Level - Architecture Breakout Session
Taking Splunk to the Next Level - Architecture Breakout SessionSplunk
 
Apache HDFS Extended Attributes and Transparent Encryption
Apache HDFS Extended Attributes and Transparent EncryptionApache HDFS Extended Attributes and Transparent Encryption
Apache HDFS Extended Attributes and Transparent EncryptionUma Maheswara Rao Gangumalla
 
Backup netezza-tsm-v1403c-140330170451-phpapp01
Backup netezza-tsm-v1403c-140330170451-phpapp01Backup netezza-tsm-v1403c-140330170451-phpapp01
Backup netezza-tsm-v1403c-140330170451-phpapp01Arunkumar Shanmugam
 
OpenStack Cinder, Implementation Today and New Trends for Tomorrow
OpenStack Cinder, Implementation Today and New Trends for TomorrowOpenStack Cinder, Implementation Today and New Trends for Tomorrow
OpenStack Cinder, Implementation Today and New Trends for TomorrowEd Balduf
 
Track B-3 解構大數據架構 - 大數據系統的伺服器與網路資源規劃
Track B-3 解構大數據架構 - 大數據系統的伺服器與網路資源規劃Track B-3 解構大數據架構 - 大數據系統的伺服器與網路資源規劃
Track B-3 解構大數據架構 - 大數據系統的伺服器與網路資源規劃Etu Solution
 
HNSciCloud Info Day, 7 Sept 2016, Functional Requirements by Helge Meinhard
HNSciCloud Info Day, 7 Sept 2016, Functional Requirements by Helge MeinhardHNSciCloud Info Day, 7 Sept 2016, Functional Requirements by Helge Meinhard
HNSciCloud Info Day, 7 Sept 2016, Functional Requirements by Helge MeinhardHelix Nebula The Science Cloud
 
Yeti DNS Project
Yeti DNS ProjectYeti DNS Project
Yeti DNS ProjectAPNIC
 
Dc lec- (network models)
Dc lec- (network models)Dc lec- (network models)
Dc lec- (network models)diaryinc
 
UKGSE DB2 pureScale
UKGSE DB2 pureScaleUKGSE DB2 pureScale
UKGSE DB2 pureScaleLaura Hood
 
Red Hat® Ceph Storage and Network Solutions for Software Defined Infrastructure
Red Hat® Ceph Storage and Network Solutions for Software Defined InfrastructureRed Hat® Ceph Storage and Network Solutions for Software Defined Infrastructure
Red Hat® Ceph Storage and Network Solutions for Software Defined InfrastructureIntel® Software
 
MCSA Installing & Configuring Windows Server 2012 70-410
MCSA Installing & Configuring Windows Server 2012 70-410MCSA Installing & Configuring Windows Server 2012 70-410
MCSA Installing & Configuring Windows Server 2012 70-410omardabbas
 

Ähnlich wie Policy-driven, Platform-aware Nova Scheduler (20)

Ceph Day New York 2014: Best Practices for Ceph-Powered Implementations of St...
Ceph Day New York 2014: Best Practices for Ceph-Powered Implementations of St...Ceph Day New York 2014: Best Practices for Ceph-Powered Implementations of St...
Ceph Day New York 2014: Best Practices for Ceph-Powered Implementations of St...
 
Whd master deck_final
Whd master deck_final Whd master deck_final
Whd master deck_final
 
Intel and Red Hat: Enhancing OpenStack for Enterprise Deployment
Intel and Red Hat: Enhancing OpenStack for Enterprise DeploymentIntel and Red Hat: Enhancing OpenStack for Enterprise Deployment
Intel and Red Hat: Enhancing OpenStack for Enterprise Deployment
 
New Ceph capabilities and Reference Architectures
New Ceph capabilities and Reference ArchitecturesNew Ceph capabilities and Reference Architectures
New Ceph capabilities and Reference Architectures
 
Software Defined Storage, Big Data and Ceph - What Is all the Fuss About?
Software Defined Storage, Big Data and Ceph - What Is all the Fuss About?Software Defined Storage, Big Data and Ceph - What Is all the Fuss About?
Software Defined Storage, Big Data and Ceph - What Is all the Fuss About?
 
Flexible DevOps Deployment of Enterprise Test Environments in the Cloud
Flexible DevOps Deployment of Enterprise Test Environments in the CloudFlexible DevOps Deployment of Enterprise Test Environments in the Cloud
Flexible DevOps Deployment of Enterprise Test Environments in the Cloud
 
The Importance of Fast, Scalable Storage for Today’s HPC
The Importance of Fast, Scalable Storage for Today’s HPCThe Importance of Fast, Scalable Storage for Today’s HPC
The Importance of Fast, Scalable Storage for Today’s HPC
 
Taking Splunk to the Next Level - Architecture Breakout Session
Taking Splunk to the Next Level - Architecture Breakout SessionTaking Splunk to the Next Level - Architecture Breakout Session
Taking Splunk to the Next Level - Architecture Breakout Session
 
Apache HDFS Extended Attributes and Transparent Encryption
Apache HDFS Extended Attributes and Transparent EncryptionApache HDFS Extended Attributes and Transparent Encryption
Apache HDFS Extended Attributes and Transparent Encryption
 
Oracle Storage a ochrana dat
Oracle Storage a ochrana datOracle Storage a ochrana dat
Oracle Storage a ochrana dat
 
Backup netezza-tsm-v1403c-140330170451-phpapp01
Backup netezza-tsm-v1403c-140330170451-phpapp01Backup netezza-tsm-v1403c-140330170451-phpapp01
Backup netezza-tsm-v1403c-140330170451-phpapp01
 
OpenStack Cinder, Implementation Today and New Trends for Tomorrow
OpenStack Cinder, Implementation Today and New Trends for TomorrowOpenStack Cinder, Implementation Today and New Trends for Tomorrow
OpenStack Cinder, Implementation Today and New Trends for Tomorrow
 
DDN Product Update from SC13
DDN Product Update from SC13DDN Product Update from SC13
DDN Product Update from SC13
 
Track B-3 解構大數據架構 - 大數據系統的伺服器與網路資源規劃
Track B-3 解構大數據架構 - 大數據系統的伺服器與網路資源規劃Track B-3 解構大數據架構 - 大數據系統的伺服器與網路資源規劃
Track B-3 解構大數據架構 - 大數據系統的伺服器與網路資源規劃
 
HNSciCloud Info Day, 7 Sept 2016, Functional Requirements by Helge Meinhard
HNSciCloud Info Day, 7 Sept 2016, Functional Requirements by Helge MeinhardHNSciCloud Info Day, 7 Sept 2016, Functional Requirements by Helge Meinhard
HNSciCloud Info Day, 7 Sept 2016, Functional Requirements by Helge Meinhard
 
Yeti DNS Project
Yeti DNS ProjectYeti DNS Project
Yeti DNS Project
 
Dc lec- (network models)
Dc lec- (network models)Dc lec- (network models)
Dc lec- (network models)
 
UKGSE DB2 pureScale
UKGSE DB2 pureScaleUKGSE DB2 pureScale
UKGSE DB2 pureScale
 
Red Hat® Ceph Storage and Network Solutions for Software Defined Infrastructure
Red Hat® Ceph Storage and Network Solutions for Software Defined InfrastructureRed Hat® Ceph Storage and Network Solutions for Software Defined Infrastructure
Red Hat® Ceph Storage and Network Solutions for Software Defined Infrastructure
 
MCSA Installing & Configuring Windows Server 2012 70-410
MCSA Installing & Configuring Windows Server 2012 70-410MCSA Installing & Configuring Windows Server 2012 70-410
MCSA Installing & Configuring Windows Server 2012 70-410
 

Kürzlich hochgeladen

Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 

Kürzlich hochgeladen (20)

Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

Policy-driven, Platform-aware Nova Scheduler

  • 1. Policy-driven, Platform-aware Nova Scheduler Adrian Hoban, Principal Engineer, Intel Ramki Krishnan, Distinguished Engineer, CTO NFV, Dell Tim Hinrichs, CTO, Styra
  • 2. 2 Dell - Restricted - Confidential Team • Core Team (besides presenters) – Arun Yerra, Dell – Dilip Krishnaswamy, IBM Research – Joseph Gasparakis, Intel – Ruby Krishnaswamy, Orange • Contributor Acknowledgement – Anoop Ghanwani, Dell – Diego Lopez, Telefonica (Operator) – Francisco Javier, Telefonica (Operator) – Frank Zdarsky, Red Hat – Jim Hao Chen, Northwestern University – Norival Figueira, Brocade – Peter Willis, BT (Operator) – Sridhar Ramaswamy, Brocade – Steve Gordon, Red Hat – Sylvain Bauza, Red Hat – Uri Elzur, Intel
  • 3. 3 Dell - Restricted - Confidential OpenStack Nova Scheduler Challenges • Platform Features Beyond Compute – SDS use case: High perf storage and compute isolation – Wait for next OpenStack Release? • Ease of Use – Gen use case: Determine highly loaded or unusable hosts – Build use case specific analysis tools? • Initial Placement vs other Functions – NFV use case: Dynamic monitoring and violation detection – Design one-off monitoring framework? Admin User
  • 4. 4 Dell - Restricted - Confidential Application Performance-aware Workload Placement (1) Delivering “Low-latency, reliable delivery” workloads e.g. Broadcast Video, Distance Learning, Augmented Reality in the Telco Cloud • NFV Orchestrator - End-to-end - Intra-dc, Inter-dc WAN etc. • Exemplary VNFs - Stateful firewall, Wireless Video Proxy, Crypto • Compute: Fine grained resource partitioning for VM – Dedicated core(s) AND NUMA awareness AND L3 cache part [1] AND SR-IOV *** ELSE ** – Dedicated core(s) AND NUMA awareness AND L3 cache partitioning AND DPDK vSwitch *** ELSE *** – Dedicated physical server • Network: Overlay/Underlay QoS – High QoS AND Minimum buffer depth in switches • Storage: High Performance Logging – NVMe SSD based storage *** ELSE *** SSD based storage Ref. [1] - Intel RDT - http://www.intel.com/content/www/us/en/architecture-and-technology/resource-director-technology.html 3G 4G 5G Premium Quality Video Poor Quality Video Infrastructure Issues
  • 5. 5 Dell - Restricted - Confidential Application Performance-aware Workload Placement (2) Delivering “Classic enterprise" workloads, e.g. Email, CRM in the Telco Cloud • Exemplary data plane VNFs - Stateful firewall, IDS/IPS, WAN Opt and IPSEC crypto • Compute: Deterministic performance by avoiding memory contention – NUMA awareness AND SR-IOV *** ELSE *** – NUMA awareness • Network: No HA requirement • Storage: SSD for High performance logging Delivering “Residential broadband" workloads, e.g. cost-effective Internet in the Telco Cloud • Exemplary data plane VNFs - NAT • Compute/Network: Max capacity limit • Storage: HDD for Low cost
  • 6. 6 Dell - Restricted - Confidential Policy-driven Scheduler Approach (1) Minimize Vendor Lock-in and Dependency Maximize feature velocity • Extensibility – Admin/User can add new compute (Nova), networking (Neutron), storage (Cinder) constraints on the fly • Understandability – Admin/User uses human readable scheduling policies and build analysis tools on a need basis • Monitoring – Admin/User benefits from a single representation for handling variation in resource utilization and initial placement Minimize additional code No custom analysis tools No delay in monitoring feature availability
  • 7. 7 Dell - Restricted - Confidential Policy-driven Scheduler Approach (2) Best of Breed • Imperative Interface Choices – Extensions to current JSON filter - JSON Weight • Declarative Interface Choices – JSON Filter extensions to current Nova Flavors – Datalog embedded in YAML for flexible constraint specification and database manipulation Enable user to customize specific applications Address User understandability, Admin extensibility
  • 8. 8 Dell - Restricted - Confidential Imperative Example Policy-driven Scheduler User Request NUMA and SR-IOV else NUMA and more cores Host 1 Host 2 Host 3 Host 4 Host1: SRIOV Host2: NUMA, SRIOV Host3: NUMA, more cores Host4: L3 partitioning Output 2 1 Host 2 Host 3 User Describes Desired Hardware
  • 9. 9 Dell - Restricted - Confidential Declarative Example Policy-driven Scheduler User Request affinity: [“vm123”, “vm456”] memory: 10GB type: “low-latency, reliable-delivery” Host 2 Output Host 1 Host 2 Host 3 Host 4 Policy Store Policy This type requires local ephemeral SSD-backed storage Host2 data memory: 20GB storage: ssd User Describes Workload
  • 10. 10 Dell - Restricted - Confidential OpenStack Nova Scheduler Host 1 Host 2 Host 3 Host N Host 1 Host 3 Host 8 Host 9 Filters Weighting • 30+ types of filters. • Find the subset of suitable hosts. • Order suitable hosts. Host 8 Host 1 Host 9 Host 3 : :
  • 11. 11 Dell - Restricted - Confidential Nova Scheduler Filter • Administrator configures the filter list (30+ options) • scheduler_default_filters=RamFilter,Compute Filter,AvailabilityZoneFilter,ComputeCapabi litiesFilter,ImagePropertiesFilter,ServerGr oupAntiAffinityFilter,ServerGroupAffinityFi lter' • Admin configures various filter input data sets such as the flavor definition with extra_specs Host 1: Host 3: Host 8: Host 9: Each host complies with an imperative request based on user and admin input. E.g. 4GB for VM, huge pages, AES-NI, same availability zone, PCIe accelerators, can meet image property requirements, etc., etc.
  • 12. 12 Dell - Restricted - Confidential Nova Scheduler Weight • Configured by the administrator. • RAM – Spread across hosts evenly based on RAM utilisation. • Metrics – Weigh hosts based on a combination of the weight associated with the specified host_state metrics. • IO Ops – Weight hosts based on I/O operations. • Affinity – Weights hosts based on the number of instances from a given server group. – Affinity and Anti-Affinity options available. Host 8: 10GB Free Host 1: 7GB Free Host 9: 3GB Free Host 3: 1GB Free RAM Centric weighting policy
  • 13. 13 Dell - Restricted - Confidential • Administrator input to the filter scheduler is largely static and Nova centric – E.g. flavour and extra_spec definitions, Host aggregate definitions, etc. • Not possible to deploy to a given service level with different infrastructure resource allocations (in the same request) under policy governance. • Not possible to modify the weighting configuration/policy for different parts of the environment such as per availability zone or host aggregates. Problem Statement(s) – Nova Placement
  • 14. 14 Dell - Restricted - Confidential Empower User: JsonFilter + JsonWeight Filter Scheduler Host Data (Nova’s HostState) User Request NUMA and SR-IOV weighted 2 NUMA and more cores weighted 1 JsonFilter JsonWeight
  • 15. 15 Dell - Restricted - Confidential Empower Admin 1: New Filter Filter Scheduler Policy StoreHost Data (Config, File)(Nova’s HostState) User Request workload: “low-latency, reliable-delivery” tenant-id: “pepsi” AdminJsonFilter AdminJsonWeight Pro: Extensible by admin to external data sources like Cinder and Neutron. Con: New filter on already long list.
  • 16. 16 Dell - Restricted - Confidential Empower Admin 2: Modify Existing Filters Field Description vCPUs Number of virtual CPUs Memory_MB VM memory in megabytes Disk Virtual root disk size in GB … Extra_specs Key-value pairs Policy AND/OR/NOT of tests Flavor fields Field Description ID Number of virtual CPUs Name VM memory in megabytes AvailabilityZone Virtual root disk size in GB Hosts List of hosts in group Metadata Key-value pairs Policy AND/OR/NOT of tests Host Aggregate FieldsPro: Extensible by admin. Already part of workflow. Con: Adds complexity to established filters
  • 17. 17 Dell - Restricted - Confidential Status • Concept stage with early drafts of several specs – Imperative: json-weight – Declarative: – New scheduler: policy-based-scheduler – New filter+weight: admin-json-filter – Modify existing flavor: flavor-policy – New Host aggregate field: host-aggregate-policy • 3 sessions at this summit – Wednesday, 9-10:30 (Nova scheduler working session) – Wednesday, 11-11:40 (Congress Integrations session) – Wednesday, 11:45-12:30 (NFV Orchestration BoF)
  • 18. 18 Dell - Restricted - Confidential Key Takeaways • Contributors: 10+ companies • Goal: Policy-driven scheduling, Service-assured resource-allocation • Approach: – Imperative: User describes desired hardware in policy language OR – JSON Weight – Declarative: User describes application; admin maps application to hardware – Admin JSON Filter, Admin JSON Weight – Enhance Flavor and Host Aggregates • Weekly meeting: 8am Pacific = 1300 UTC – Please join us!
  • 19. 19 Dell - Restricted - Confidential
  • 20. 20 Dell - Restricted - Confidential Intel Legal Notices and Disclaimers • Intel technologies’ features and benefits depend on system configuration and may require enabled hardware, software or service activation. Learn more at intel.com, or from the OEM or retailer. • No computer system can be absolutely secure. • Tests document performance of components on a particular test, in specific systems. Differences in hardware, software, or configuration will affect actual performance. Consult other sources of information to evaluate performance as you consider your purchase. For more complete information about performance and benchmark results, visit http://www.intel.com/performance. • Intel, the Intel logo and others are trademarks of Intel Corporation in the U.S. and/or other countries. *Other names and brands may be claimed as the property of others. • © 2016 Intel Corporation.
  • 21. 21 Dell - Restricted - Confidential Policy Language: JsonFilter and JsonWeight For "low-latency" workloads: • At least 8GB of free ram • At least 8 free vCPUs • NUMA awareness [‘or’, [‘and', ['=', '$user.type', 'low-latency'], [‘>’, ’$host.free_ram_mb’, 8*1024], [‘>’, ’$host.vcpus_total’ - '$host.vcpus_used', 8], [‘not’, [‘=', '$host.numa_topology', 'None']]]]
  • 22. 22 Dell - Restricted - Confidential Policy Language: YAML based policy parameters: availability_zone: type: String label: availability zone number description: Name of the availability zone server should be hosted on. affinity : type : String label : Affinity description: Affinity Group Id ram : type : integer label : RAM description: Minimum RAM size required by server instance in GB. hard_constraints: ram_constraint: operation_type : min value : { get_param : ram } affinity_constraint: operation_type : equals value : { get_param : affinity } availability_zone_constraint: operation_type : equals value : { get_param : availability_zone } soft_constraints: ram_factor: operation_type : multiplication value : { get_param : ram-weight}
  • 23. 23 Dell - Restricted - Confidential Policy Language: DataLog main(host) :- nova:host(host), not eliminated_host(host), max_host_score(host, max) eliminated_host(host) :- nova:host(host), request:same_hosts(vm), not nova:deployed(vm, host) eliminated_host(host) :- nova:host(host), request:different_hosts(vm), nova:deployed(vm, host) max_host_score(host, max(score)) :- weight(host, score) weight(host, ram_weight) :- request:ram(requested_ram), nova:host_ram(host, actual_ram), ram_weight = actual - requested_ram / 256