SlideShare une entreprise Scribd logo
1  sur  12
Télécharger pour lire hors ligne
All bow to OpenSolaris
      CrossBow
             Abd4llA
              EGOSUG
Overview



• Crossbow (The Name)
• The Past
• The Future is Present
• Past is Full of Problems
• CrossBow Architecture
• Demo
CrossBow (The Name)



• Crossbow was invented in 314 B.C in China
• They prevailed in middle ages when steel was used
in them
• Crossbows are easier to learn and more effective
than normal bows
• QoS mechanisms are the same as normal bows,
requires long time to master.
The Past

• Without QoS, life can turn into hell
• QoS mechanisms are
   – Complex
    – Come with a performance penalty
• The interrupt based delivery mechanism for inbound
  packets and the QoS are implemented by a separate layer
• Packets are already delivered to the host memory by
  means of interrupts before QoS takes place
The Future is Present


• Crossbow                       Crossbow completes
                                 Network Virtualization
   – Network Virtualization
   – Resource Control
   – Live Monitoring
• Networking Virtualization is
  essential in today's Virtual
  World
The Future is Present

•   You can split physical NICs into multiple
    VNICs
•   A VNIC: a virtual network device with the
    same data-link interface as a physical
    interface.
•   VNICs can have their own resources “DMA
    channel, MAC, kernel threads and
    queues”
•   Each VNIC is implicitly connected to a
    virtual switch that corresponds to the
    physical interface.
•   Virtual Machines on the same host can
    communicate through Virtual Switches
Past is Full of Problems

•   Interrupt driven packet delivery model precludes any kind of
    policy enforcement and fair sharing.
•   Most of the time, the processing of a critical packet is
    interrupted to deal with the arrival of a non critical packet.
•   The cost of dropping unwanted packets is too high
•   Common queues and common threads make enforcing
    policies based on traffic type very difficult.
•   Pseudo NICs has no way of knowing about the hardware
    capabilities of the real hardware
Crossbow's Architecture

• Integrates network virtualization and resource control
  as part of the stack architecture.
• Pushes the classification of packets based on services,
  protocols or virtual machines as far below as possible.
   – Rx/Tx Rings -> CPU -> Squeue
• Rx/Tx ring, its DMA channel, MSI-X interrupt, the
  Squeue, the CPU, and processing threads are unique for
  the service, protocol or virtual machine
• It can be assigned a VNIC in case of Virtual Machines
Crossbow's Architecture

• If classification has already been done by the NIC to a
  particular Rx ring the entire data link layer is bypassed
  unless in promiscuous
• In case, the NIC hardware does not have classification
  capability, soft rings are used in Data-link layer “Pseudo
  Hardware Layer”
• The entire layered architecture is built on function
  pointers known us 'upcall_func' and 'downcall_func'
Demo




Our demo has a vmachine on which we
wanna create a vnic for it, and put
alimit on the total nic ssh traffic
Demo

• Create the vnic:
root@A0059:~# dladm create-vnic -l e1000g0 f11-vnic1
• Assign the vnic to your vmachine
• Add the flow:
root@A0059:~# flowadm add-flow -l e1000g0 -a
              transport=TCP,local_port=22 ssh-policy

• Set maximum bandwidth:
root@A0059:~# flowadm set-flowprop -p maxbw=50M ssh-policy
Thank you

                Join Us
                EGOSUG
http://www.opensolaris.org/os/project/egosug/



                                            Ahmed Abdalla
                                 http://www.Abd4llA.com
                              Abd4llA@AhmedAbdalla.net

Contenu connexe

Tendances

Cisco, Vmware, V9000
Cisco, Vmware, V9000Cisco, Vmware, V9000
Cisco, Vmware, V9000
Vibi Abraham
 
Hyper-v for Windows Server 2012 Live Migration
Hyper-v for Windows Server 2012 Live MigrationHyper-v for Windows Server 2012 Live Migration
Hyper-v for Windows Server 2012 Live Migration
CTE Solutions Inc.
 

Tendances (18)

Automating CloudStack and hypervisor installation and configuration
Automating CloudStack and hypervisor installation and configurationAutomating CloudStack and hypervisor installation and configuration
Automating CloudStack and hypervisor installation and configuration
 
CloudStack Networking
CloudStack NetworkingCloudStack Networking
CloudStack Networking
 
Cisco, Vmware, V9000
Cisco, Vmware, V9000Cisco, Vmware, V9000
Cisco, Vmware, V9000
 
Nicolas Vazquez - Open vSwitch with DPDK on CloudStack
Nicolas Vazquez - Open vSwitch with DPDK on CloudStackNicolas Vazquez - Open vSwitch with DPDK on CloudStack
Nicolas Vazquez - Open vSwitch with DPDK on CloudStack
 
How Can KVM Server Benefit VPS Hosted Websites | KVM VPS Hosting
How Can KVM Server Benefit VPS Hosted Websites | KVM VPS HostingHow Can KVM Server Benefit VPS Hosted Websites | KVM VPS Hosting
How Can KVM Server Benefit VPS Hosted Websites | KVM VPS Hosting
 
Hyper-v for Windows Server 2012 Live Migration
Hyper-v for Windows Server 2012 Live MigrationHyper-v for Windows Server 2012 Live Migration
Hyper-v for Windows Server 2012 Live Migration
 
Ceph Day Beijing: Containers and Ceph
Ceph Day Beijing: Containers and Ceph Ceph Day Beijing: Containers and Ceph
Ceph Day Beijing: Containers and Ceph
 
OpenNebulaConf 2016 - Networking, NFVs and SDNs Hands-on Workshop by Rubén S....
OpenNebulaConf 2016 - Networking, NFVs and SDNs Hands-on Workshop by Rubén S....OpenNebulaConf 2016 - Networking, NFVs and SDNs Hands-on Workshop by Rubén S....
OpenNebulaConf 2016 - Networking, NFVs and SDNs Hands-on Workshop by Rubén S....
 
Experiences porting KVM to SmartOS
Experiences porting KVM to SmartOSExperiences porting KVM to SmartOS
Experiences porting KVM to SmartOS
 
Mastering kvm virtualization- A complete guide of KVM virtualization
Mastering kvm virtualization- A complete guide of KVM virtualizationMastering kvm virtualization- A complete guide of KVM virtualization
Mastering kvm virtualization- A complete guide of KVM virtualization
 
OpenNebulaConf 2016 - Evolution of OpenNebula at Netways by Sebastian Saemann...
OpenNebulaConf 2016 - Evolution of OpenNebula at Netways by Sebastian Saemann...OpenNebulaConf 2016 - Evolution of OpenNebula at Netways by Sebastian Saemann...
OpenNebulaConf 2016 - Evolution of OpenNebula at Netways by Sebastian Saemann...
 
One
OneOne
One
 
Memcached as a Service for CloudFoundry
Memcached as a Service for CloudFoundryMemcached as a Service for CloudFoundry
Memcached as a Service for CloudFoundry
 
Neutron VEB Plugin
Neutron VEB PluginNeutron VEB Plugin
Neutron VEB Plugin
 
OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...
OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...
OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...
 
Mi-Cloud Deployment Scenarios - Nazarudin Wijee
Mi-Cloud Deployment Scenarios - Nazarudin WijeeMi-Cloud Deployment Scenarios - Nazarudin Wijee
Mi-Cloud Deployment Scenarios - Nazarudin Wijee
 
20150531 virtualizatino station 2.0 partner's day
20150531 virtualizatino station 2.0 partner's day20150531 virtualizatino station 2.0 partner's day
20150531 virtualizatino station 2.0 partner's day
 
Hypervisor selection in CloudStack
Hypervisor selection in CloudStackHypervisor selection in CloudStack
Hypervisor selection in CloudStack
 

En vedette

En vedette (7)

SmartOS ZFS Architecture
SmartOS ZFS ArchitectureSmartOS ZFS Architecture
SmartOS ZFS Architecture
 
Romantic Holidays
Romantic HolidaysRomantic Holidays
Romantic Holidays
 
Janzz informationsflyer (it)
Janzz informationsflyer (it)Janzz informationsflyer (it)
Janzz informationsflyer (it)
 
Janzz informationsflyer (lehrstellen_praktika)
Janzz informationsflyer (lehrstellen_praktika)Janzz informationsflyer (lehrstellen_praktika)
Janzz informationsflyer (lehrstellen_praktika)
 
Janzz informationsflyer (pensionierte)
Janzz informationsflyer (pensionierte)Janzz informationsflyer (pensionierte)
Janzz informationsflyer (pensionierte)
 
JANZZ Factsheet
JANZZ FactsheetJANZZ Factsheet
JANZZ Factsheet
 
Janzz informationsflyer (agronomie)
Janzz informationsflyer (agronomie)Janzz informationsflyer (agronomie)
Janzz informationsflyer (agronomie)
 

Similaire à All Bow To OpenSolaris Crossbow

Net1674 final emea
Net1674 final emeaNet1674 final emea
Net1674 final emea
VMworld
 
OpenStack and OpenContrail for FreeBSD platform by Michał Dubiel
OpenStack and OpenContrail for FreeBSD platform by Michał DubielOpenStack and OpenContrail for FreeBSD platform by Michał Dubiel
OpenStack and OpenContrail for FreeBSD platform by Michał Dubiel
eurobsdcon
 

Similaire à All Bow To OpenSolaris Crossbow (20)

Directions for CloudStack Networking
Directions for CloudStack  NetworkingDirections for CloudStack  Networking
Directions for CloudStack Networking
 
The Future of SDN in CloudStack by Chiradeep Vittal
The Future of SDN in CloudStack by Chiradeep VittalThe Future of SDN in CloudStack by Chiradeep Vittal
The Future of SDN in CloudStack by Chiradeep Vittal
 
Monitoring a virtual network infrastructure - An IaaS perspective
Monitoring a virtual network infrastructure - An IaaS perspectiveMonitoring a virtual network infrastructure - An IaaS perspective
Monitoring a virtual network infrastructure - An IaaS perspective
 
VMworld 2014: Advanced Topics & Future Directions in Network Virtualization w...
VMworld 2014: Advanced Topics & Future Directions in Network Virtualization w...VMworld 2014: Advanced Topics & Future Directions in Network Virtualization w...
VMworld 2014: Advanced Topics & Future Directions in Network Virtualization w...
 
Kube ovn-sandbox-proposal
Kube ovn-sandbox-proposalKube ovn-sandbox-proposal
Kube ovn-sandbox-proposal
 
Cloud Networking is not Virtual Networking - London VMUG 20130425
Cloud Networking is not Virtual Networking - London VMUG 20130425Cloud Networking is not Virtual Networking - London VMUG 20130425
Cloud Networking is not Virtual Networking - London VMUG 20130425
 
Open stack networking_101_update_2014-os-meetups
Open stack networking_101_update_2014-os-meetupsOpen stack networking_101_update_2014-os-meetups
Open stack networking_101_update_2014-os-meetups
 
Ccna4 mod5-frame relay
Ccna4 mod5-frame relayCcna4 mod5-frame relay
Ccna4 mod5-frame relay
 
Net1674 final emea
Net1674 final emeaNet1674 final emea
Net1674 final emea
 
NSX: La Virtualizzazione di Rete e il Futuro della Sicurezza
NSX: La Virtualizzazione di Rete e il Futuro della SicurezzaNSX: La Virtualizzazione di Rete e il Futuro della Sicurezza
NSX: La Virtualizzazione di Rete e il Futuro della Sicurezza
 
OpenStack and OpenContrail for FreeBSD platform by Michał Dubiel
OpenStack and OpenContrail for FreeBSD platform by Michał DubielOpenStack and OpenContrail for FreeBSD platform by Michał Dubiel
OpenStack and OpenContrail for FreeBSD platform by Michał Dubiel
 
Austin Docker Meetup May 2015
Austin Docker Meetup May 2015Austin Docker Meetup May 2015
Austin Docker Meetup May 2015
 
A closer look to locaweb IaaS
A closer look to locaweb IaaSA closer look to locaweb IaaS
A closer look to locaweb IaaS
 
Meetup open stack_grizzly
Meetup open stack_grizzlyMeetup open stack_grizzly
Meetup open stack_grizzly
 
10 sdn-vir-6up
10 sdn-vir-6up10 sdn-vir-6up
10 sdn-vir-6up
 
(SDD302) A Tale of One Thousand Instances - Migrating from Amazon EC2-Classic...
(SDD302) A Tale of One Thousand Instances - Migrating from Amazon EC2-Classic...(SDD302) A Tale of One Thousand Instances - Migrating from Amazon EC2-Classic...
(SDD302) A Tale of One Thousand Instances - Migrating from Amazon EC2-Classic...
 
Software Defined Networks (SDN) na przykładzie rozwiązania OpenContrail.
Software Defined Networks (SDN) na przykładzie rozwiązania OpenContrail.Software Defined Networks (SDN) na przykładzie rozwiązania OpenContrail.
Software Defined Networks (SDN) na przykładzie rozwiązania OpenContrail.
 
QoS, QoS Baby
QoS, QoS BabyQoS, QoS Baby
QoS, QoS Baby
 
ITN3052_04_Switched_Networks.pdf
ITN3052_04_Switched_Networks.pdfITN3052_04_Switched_Networks.pdf
ITN3052_04_Switched_Networks.pdf
 
Network Functions Virtualization and CloudStack
Network Functions Virtualization and CloudStackNetwork Functions Virtualization and CloudStack
Network Functions Virtualization and CloudStack
 

Dernier

Dernier (20)

Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
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
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
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
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
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
 

All Bow To OpenSolaris Crossbow

  • 1. All bow to OpenSolaris CrossBow Abd4llA EGOSUG
  • 2. Overview • Crossbow (The Name) • The Past • The Future is Present • Past is Full of Problems • CrossBow Architecture • Demo
  • 3. CrossBow (The Name) • Crossbow was invented in 314 B.C in China • They prevailed in middle ages when steel was used in them • Crossbows are easier to learn and more effective than normal bows • QoS mechanisms are the same as normal bows, requires long time to master.
  • 4. The Past • Without QoS, life can turn into hell • QoS mechanisms are – Complex – Come with a performance penalty • The interrupt based delivery mechanism for inbound packets and the QoS are implemented by a separate layer • Packets are already delivered to the host memory by means of interrupts before QoS takes place
  • 5. The Future is Present • Crossbow Crossbow completes Network Virtualization – Network Virtualization – Resource Control – Live Monitoring • Networking Virtualization is essential in today's Virtual World
  • 6. The Future is Present • You can split physical NICs into multiple VNICs • A VNIC: a virtual network device with the same data-link interface as a physical interface. • VNICs can have their own resources “DMA channel, MAC, kernel threads and queues” • Each VNIC is implicitly connected to a virtual switch that corresponds to the physical interface. • Virtual Machines on the same host can communicate through Virtual Switches
  • 7. Past is Full of Problems • Interrupt driven packet delivery model precludes any kind of policy enforcement and fair sharing. • Most of the time, the processing of a critical packet is interrupted to deal with the arrival of a non critical packet. • The cost of dropping unwanted packets is too high • Common queues and common threads make enforcing policies based on traffic type very difficult. • Pseudo NICs has no way of knowing about the hardware capabilities of the real hardware
  • 8. Crossbow's Architecture • Integrates network virtualization and resource control as part of the stack architecture. • Pushes the classification of packets based on services, protocols or virtual machines as far below as possible. – Rx/Tx Rings -> CPU -> Squeue • Rx/Tx ring, its DMA channel, MSI-X interrupt, the Squeue, the CPU, and processing threads are unique for the service, protocol or virtual machine • It can be assigned a VNIC in case of Virtual Machines
  • 9. Crossbow's Architecture • If classification has already been done by the NIC to a particular Rx ring the entire data link layer is bypassed unless in promiscuous • In case, the NIC hardware does not have classification capability, soft rings are used in Data-link layer “Pseudo Hardware Layer” • The entire layered architecture is built on function pointers known us 'upcall_func' and 'downcall_func'
  • 10. Demo Our demo has a vmachine on which we wanna create a vnic for it, and put alimit on the total nic ssh traffic
  • 11. Demo • Create the vnic: root@A0059:~# dladm create-vnic -l e1000g0 f11-vnic1 • Assign the vnic to your vmachine • Add the flow: root@A0059:~# flowadm add-flow -l e1000g0 -a transport=TCP,local_port=22 ssh-policy • Set maximum bandwidth: root@A0059:~# flowadm set-flowprop -p maxbw=50M ssh-policy
  • 12. Thank you Join Us EGOSUG http://www.opensolaris.org/os/project/egosug/ Ahmed Abdalla http://www.Abd4llA.com Abd4llA@AhmedAbdalla.net