Hardware
Hardware
Hardware
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
June 2012<br />
TM<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire,<br />
ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobileGT, PowerQUICC,<br />
Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of<br />
Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack,<br />
CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and<br />
Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service<br />
names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.<br />
.<br />
Steve Furr<br />
Software Product Manager
• Service providers increasingly supporting multiple tenants in<br />
service-oriented networks to maximize resource utilization<br />
• Content, data volume and increased density stress networks and<br />
drive demand for multicore processing support<br />
• Partitioning and virtualization technologies enable the efficient<br />
management of traffic between multiple tenants<br />
• Partitioning technologies further enhance the secure and reliable<br />
operation of tenants so that they are isolated from the effects of<br />
other tenants<br />
• QorIQ processors contain features that enable efficient<br />
partitioning and virtualization on behalf of tenants<br />
• Freescale provides enablement for key software technologies to<br />
facilitate different partitioning and virtualization approaches<br />
TM<br />
2<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• After completing this session you will be able to:<br />
− Understand the various architectural approaches to partitioning<br />
and virtualizing network elements for multiple tenants<br />
− Understand the facilities provided by QorIQ AMP processors in<br />
support of each approach<br />
− Map architectural approaches to Freescale software<br />
technologies<br />
TM<br />
3<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• Market Drivers<br />
• Partitioning & Virtualization Approaches<br />
• Processor Enablement<br />
• Software Technologies<br />
TM<br />
4<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
Streamlined,<br />
efficient<br />
resource<br />
management<br />
is key<br />
Tablets<br />
eReaders<br />
Smartbooks<br />
Mobile Devices<br />
Smartphone<br />
Residential Gateway<br />
Smart Meter<br />
Compute resources required always-on anytime, everywhere<br />
TM<br />
Factory HMI<br />
Medical Devices<br />
Smart Energy Grid<br />
Telematics<br />
Auto Infotainment<br />
Machine to Machine<br />
5<br />
Energy Gateways<br />
Human Collaboration<br />
Video/IP Phones<br />
Wireless Access Points<br />
Transformation<br />
of services<br />
delivery <br />
Network Centricity<br />
Touchscreen Printers<br />
Mobile Computing<br />
Desktop Computing<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• Service Providers focus on more than bandwidth provisioning –<br />
increasing network services in the infrastructure:<br />
− Network Security – Firewall, IPsec VPN, IDS/IPS, Web Application Firewalls.<br />
− Application Delivery Controllers – To balance the traffic across multiple<br />
physical/virtual servers.<br />
− WAN Optimization – To reduce the traffic on WAN links.<br />
• Multi-tenancy Public Clouds support large number of tenants;<br />
enables sharing of resources and costs among many network<br />
service appliances for a large pool of users, allowing:<br />
− Centralization of infrastructure in locations with lower costs (such as real estate,<br />
electricity, etc.)<br />
− Peak-load capacity increases (users need not engineer for highest possible<br />
load-levels)<br />
− Utilization and efficiency improvements for systems that are often only 10–20%<br />
utilized<br />
• Multi-tenant architectures – a trend in network services appliances<br />
– requires multicore technology<br />
The network plays a key role in how the service provider enables scalable,<br />
on-demand, flexible yet secure bundles of services<br />
TM<br />
6<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
Increasing number<br />
of connections<br />
Multi-tenancy<br />
& multi-services<br />
TM<br />
Ever increasing<br />
Bandwidth Needs<br />
High Performance<br />
Multicore HW Virtualization-<br />
Enabled Processors<br />
7<br />
Increasing types of<br />
network content<br />
Low Power<br />
Low Cost<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• Our Approach<br />
− Best-in-class<br />
performance within a<br />
power envelope<br />
− Scalability up and<br />
down with a<br />
common<br />
architecture<br />
− Leading integration<br />
of communications,<br />
security, I/O<br />
requirements<br />
− Complete software<br />
environment with<br />
virtualization<br />
TM<br />
Management<br />
Interfaces<br />
Standard<br />
I/O<br />
128KB<br />
Backside<br />
L2 Cache<br />
Security<br />
Accelerators<br />
8<br />
Power Architecture ®<br />
E500-mc Core<br />
32KB<br />
D-Cache<br />
32KB<br />
I-Cache<br />
Datapath<br />
Acceleration<br />
1024KB<br />
Frontside<br />
L3 Cache<br />
1024KB<br />
Frontside<br />
L3 Cache<br />
CORE-NET<br />
High-Speed<br />
Interconnect<br />
<strong>Hardware</strong>-based Virtualization<br />
64-bit<br />
DDR-2/3<br />
Memory Controller<br />
64-bit<br />
DDR-2/3<br />
Memory Controller<br />
Debug<br />
18-Lane 5GHz SERDES<br />
Designed for performance, power efficiency and scalability<br />
CPU<br />
Cores<br />
DPAA<br />
Accelerators<br />
Software<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
Requirement Freescale’s Approach<br />
Multi-Tenancy<br />
<strong>Hardware</strong> Partitioning<br />
• Separate hardware partition (AMP) per<br />
tenant/OS<br />
• Cores and peripherals dedicated to partitions<br />
Single OS Partitioning<br />
• Data Virtualization<br />
• Single shared address space between tenants<br />
• Process based virtualization<br />
• Set of processes dedicated to a tenant.<br />
• OS virtualization<br />
• Domain isolation (file system, net i/f) between<br />
tenants<br />
Server Virtualization<br />
• Separate virtual machine (VM) and OS per tenant<br />
TM<br />
9<br />
<strong>Hardware</strong> (Cores)<br />
• Core performance still matters<br />
• Focus on high performance, high IPC<br />
<strong>Hardware</strong> (DPAA)<br />
• Leveraging data path for traffic management<br />
• Associations with tenancy<br />
<strong>Hardware</strong> (Accelerators)<br />
• Access to accelerators with minimal overhead<br />
• Sharing of resources for performance<br />
Software<br />
• Access to H/W + User space abstraction<br />
• Efficient use of resources<br />
Target: Scalable and Efficient Performance<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
C<br />
P<br />
U<br />
C<br />
P<br />
U<br />
VM<br />
VM<br />
Multicore <strong>Hardware</strong><br />
VM<br />
App App App<br />
OS OS OS<br />
Embedded Hypervisor<br />
C<br />
P<br />
U<br />
App<br />
CP<br />
U<br />
Linux<br />
C<br />
P<br />
U<br />
CP<br />
U<br />
Multicore <strong>Hardware</strong><br />
Linux ®<br />
SMP<br />
App App<br />
<strong>Hardware</strong><br />
Partitioning /<br />
supervised AMP,<br />
failover<br />
C<br />
P<br />
U<br />
TM<br />
C<br />
P<br />
U<br />
App App<br />
C<br />
P<br />
U<br />
C<br />
P<br />
U<br />
Linux<br />
CP<br />
U<br />
CP<br />
U<br />
BB<br />
Multicore <strong>Hardware</strong><br />
Unsupervised AMP<br />
App<br />
CP<br />
U<br />
VM<br />
App<br />
OS<br />
Linux<br />
CP<br />
U<br />
Multicore <strong>Hardware</strong><br />
10<br />
C<br />
P<br />
U<br />
VM<br />
BB<br />
Server<br />
virtualization<br />
App<br />
OS<br />
KVM KVM<br />
Topaz KVM: Linux-based Hypervisor<br />
C<br />
P<br />
U<br />
Consolidation, high<br />
performance<br />
user space DPA<br />
engines<br />
Linux OS<br />
Convergence<br />
Leverage both<br />
KVM & LXC<br />
OS<br />
Virtualization<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.<br />
C<br />
P<br />
U<br />
C<br />
P<br />
U<br />
COS<br />
App<br />
App<br />
COS<br />
Linux<br />
Multicore <strong>Hardware</strong><br />
COS<br />
LXC LXC LXC<br />
CP<br />
U<br />
CP<br />
U<br />
USDPAA USDPAA<br />
Linux<br />
Multicore <strong>Hardware</strong><br />
Single OS Partitioning<br />
USDPAA USDPAA<br />
CP<br />
U<br />
CP<br />
U<br />
Isolated<br />
Containers,<br />
resource control &<br />
monitoring<br />
Linux Containers<br />
C<br />
P<br />
U<br />
C<br />
P<br />
U
Requirement Freescale’s Approach<br />
Multi-Tenancy<br />
<strong>Hardware</strong> Partitioning<br />
• Separate hardware partition (AMP) per<br />
tenant/OS<br />
• Cores and peripherals dedicated to partitions<br />
Single OS Partitioning<br />
• Data Virtualization<br />
• Single shared address space between tenants<br />
• Process based virtualization<br />
• Set of processes dedicated to a tenant.<br />
• OS virtualization<br />
• Domain isolation (file system, net i/f) between<br />
tenants<br />
Server Virtualization<br />
• Separate virtual machine (VM) and OS per tenant<br />
TM<br />
<strong>Hardware</strong> (Cores):<br />
Large number of cores – Dedicate cores to tenants<br />
High IPC<br />
Advanced Cache architecture<br />
<strong>Hardware</strong> hypervisor enablement<br />
<strong>Hardware</strong> (DPAA)<br />
Dedicate Ethernet Ports to Processes/Virtual Machine.<br />
Sharing of Ethernet Port across multiple tenants.<br />
No Kernel demux of packets – Direct user space access.<br />
Classification of tenant can be done in HW.<br />
<strong>Hardware</strong> (Accelerators)<br />
Engines can be accessed directly from user space.<br />
Multiple user space daemons can access offload engines.<br />
No Kernel demux required (large number of FQs).<br />
Support for large number of connections.<br />
Software:<br />
USDPAA , Low level APIs to access HW.<br />
KVM / QEMU support in Linux distributions.<br />
UIO Support in Linux to inform interrupts to user space.<br />
Direct Portal access (Memory mapping).<br />
HugeTLBFs Support in Linux<br />
Target: Scalable and Efficient Performance<br />
11<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• Frequency does still matter<br />
• Higher efficiency (IPC) means<br />
higher performance<br />
• Cache architecture and size<br />
impact performance<br />
• Cache “stashing” and warming<br />
reduces data access latency<br />
• Hypervisor hardware improves<br />
software efficiency<br />
• Performance monitoring and<br />
instruction trace are keys to<br />
multicore debug<br />
• Vector processing further<br />
enhancing software performance<br />
TM<br />
12<br />
Branch<br />
Unit<br />
Integer<br />
Unit<br />
(2)<br />
e500mc Core<br />
I-Cache/<br />
SRAM<br />
(32KB)<br />
Address<br />
I-Fetcher<br />
Dispatch Unit<br />
GPR<br />
Complete<br />
Unit<br />
Ld/St<br />
Unit<br />
MMU<br />
APUs<br />
Processor Interface Unit<br />
64<br />
Read-1<br />
FPU<br />
128<br />
Read-2<br />
e500mc Core Complex<br />
CPU<br />
Cores<br />
DPAA<br />
Accelerators<br />
Software<br />
D-Cache/<br />
SRAM<br />
(32KB)<br />
Write<br />
128<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• Key hardware<br />
resources are<br />
accessible by<br />
hypervisor<br />
privileged state<br />
only:<br />
− MMU<br />
− Timers<br />
− Cache control<br />
− Debug<br />
resources<br />
− Interrupt<br />
Configuration<br />
• Key resources<br />
to optimize<br />
guest OS<br />
access:<br />
− LRAT<br />
TM<br />
User<br />
MSR[PR=1][GS=0]<br />
Kernel/Supervisor<br />
MSR[PR=0][GS=0]<br />
No Hypervisor<br />
partition<br />
App<br />
OS<br />
CPU<br />
Memory<br />
I/O<br />
13<br />
User<br />
MSR[PR=1][GS=1]<br />
Kernel/Supervisor<br />
MSR[PR=0][GS=1]<br />
Hypervisor<br />
MSR[PR=0][GS=0]<br />
With Hypervisor<br />
partition<br />
App<br />
App<br />
OS<br />
Hypervisor<br />
CPU<br />
Memory<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.<br />
I/O
• PAMU enforces<br />
I/O-to-memory<br />
accesses<br />
• A key<br />
component in a<br />
securely<br />
partitioned<br />
system<br />
TM<br />
Access<br />
OK<br />
CPU<br />
I/O<br />
Linux ® OS<br />
Memory<br />
PAMU<br />
14<br />
CPU CPU CPU<br />
I/O<br />
Access<br />
Denied Memory<br />
I/O<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
Requirement Freescale’s Approach<br />
Multi-Tenancy<br />
<strong>Hardware</strong> Partitioning<br />
• Separate hardware partition (AMP) per<br />
tenant/OS<br />
• Cores and peripherals dedicated to partitions<br />
Single OS Partitioning<br />
• Data Virtualization<br />
• Single shared address space between tenants<br />
• Process based virtualization<br />
• Set of processes dedicated to a tenant.<br />
• OS virtualization<br />
• Domain isolation (file system, net i/f) between<br />
tenants<br />
Server Virtualization<br />
• Separate virtual machine (VM) and OS per tenant<br />
TM<br />
<strong>Hardware</strong> (Cores):<br />
Large number of cores – Dedicate cores to tenants<br />
High IPC<br />
Advanced Cache architecture<br />
<strong>Hardware</strong> hypervisor enablement<br />
<strong>Hardware</strong> (DPAA)<br />
Dedicate Ethernet Ports to Processes/Virtual Machine.<br />
Sharing of Ethernet Port across multiple tenants<br />
No Kernel demux of packets – Direct user space access.<br />
Classification of tenant can be done in HW.<br />
<strong>Hardware</strong> (Accelerators)<br />
Engines can be accessed directly from user space<br />
Multiple user space daemons can access offload engines.<br />
No Kernel demux required (large number of FQs)<br />
Support for large number of connections<br />
Software:<br />
USDPAA , Low level APIs to access HW.<br />
KVM / QEMU support in Linux distributions.<br />
UIO Support in Linux to inform interrupts to user space.<br />
Direct Portal access (Memory mapping)<br />
HugeTLBFs Support in Linux<br />
Target: Scalable and Efficient Performance<br />
15<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• FMAN<br />
− VLAN-ID and IP address packet<br />
distribution<br />
− Protocol field extraction<br />
− Fairness and traffic prioritization<br />
− Classify packets<br />
• QMAN<br />
− Manage priority of flows<br />
− Low software overhead queuing<br />
• BMAN<br />
− Avoid overhead of S/W managed<br />
memory pools<br />
• Queues are serviced by different<br />
cores for load/work spreading and<br />
tenancy association<br />
TM<br />
16<br />
Power<br />
D$ I$<br />
Architecture<br />
L2$ D$ I$<br />
®<br />
D$ Power I$<br />
Architecture<br />
L2$ D$ Core I$<br />
D$ I$<br />
®<br />
Core<br />
D$ I$<br />
Frame Manager<br />
Frame Manager<br />
1GE 1GE<br />
10GE<br />
1GE 1GE<br />
10GE<br />
1GE 1GE<br />
1GE 1GE<br />
CoreNet<br />
Coherency Fabric<br />
Sec 4.0 PME 2<br />
Queue<br />
Manager<br />
Buffer<br />
Mgr<br />
Multi-Lanes SERDES<br />
Any packet to any core to any accelerator or network interface<br />
without locks or semaphores<br />
…<br />
…<br />
CPU<br />
Cores<br />
DPAA<br />
Accelerators<br />
Software<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
Requirement Freescale’s Approach<br />
Multi-Tenancy<br />
<strong>Hardware</strong> Partitioning<br />
• Separate hardware partition (AMP) per<br />
tenant/OS<br />
• Cores and peripherals dedicated to partitions<br />
Single OS Partitioning<br />
• Data Virtualization<br />
• Single shared address space between tenants<br />
• Process based virtualization<br />
• Set of processes dedicated to a tenant.<br />
• OS virtualization<br />
• Domain isolation (file system, net i/f) between<br />
tenants<br />
Server Virtualization<br />
• Separate virtual machine (VM) and OS per tenant<br />
TM<br />
<strong>Hardware</strong> (Cores):<br />
Large number of cores – Dedicate cores to tenants<br />
High IPC<br />
Advanced Cache architecture<br />
<strong>Hardware</strong> hypervisor enablement<br />
<strong>Hardware</strong> (DPAA)<br />
Dedicate Ethernet Ports to Processes/Virtual Machine.<br />
Sharing of Ethernet Port across multiple tenants<br />
No Kernel demux of packets – Direct user space access.<br />
Classification of tenant can be done in HW.<br />
<strong>Hardware</strong> (Accelerators)<br />
Engines can be accessed directly from user space<br />
Multiple user space daemons can access offload engines.<br />
No Kernel demux required (large number of FQs)<br />
Support for large number of connections<br />
Software:<br />
USDPAA , Low level APIs to access HW.<br />
KVM / QEMU support in Linux distributions.<br />
UIO Support in Linux to inform interrupts to user space.<br />
Direct Portal access (Memory mapping)<br />
HugeTLBFs Support in Linux<br />
Target: Scalable and Efficient Performance<br />
17<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
TM<br />
18<br />
• Offloads computeintensive<br />
encryption/<br />
decryption, public key,<br />
security protocol<br />
− IPsec, SSL/TLS,<br />
LinkSec, MacSec<br />
− Public key cryptography<br />
− Random number<br />
generation<br />
− Cryptographic<br />
authentication<br />
− Encryption and<br />
decryption<br />
CPU<br />
Cores<br />
DPAA<br />
Accelerators<br />
Software<br />
− Advanced protocol<br />
support<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
Requirement Freescale’s Approach<br />
Multi-Tenancy<br />
<strong>Hardware</strong> Partitioning<br />
• Separate hardware partition (AMP) per<br />
tenant/OS<br />
• Cores and peripherals dedicated to partitions<br />
Single OS Partitioning<br />
• Data Virtualization<br />
• Single shared address space between tenants<br />
• Process based virtualization<br />
• Set of processes dedicated to a tenant.<br />
• OS virtualization<br />
• Domain isolation (file system, net i/f) between<br />
tenants<br />
Server Virtualization<br />
• Separate virtual machine (VM) and OS per tenant<br />
TM<br />
<strong>Hardware</strong> (Cores):<br />
Large number of cores – Dedicate cores to tenants<br />
High IPC<br />
Advanced Cache architecture<br />
<strong>Hardware</strong> hypervisor enablement<br />
<strong>Hardware</strong> (DPAA)<br />
Dedicate Ethernet Ports to Processes/Virtual Machine.<br />
Sharing of Ethernet Port across multiple tenants<br />
No Kernel demux of packets – Direct user space access<br />
. Classification of tenant can be done in HW.<br />
<strong>Hardware</strong> (Accelerators)<br />
Engines can be accessed directly from user space<br />
Multiple user space daemons can access offload engines.<br />
No Kernel demux required (large number of FQs)<br />
Support for large number of connections<br />
Software:<br />
USDPAA , Low level APIs to access HW.<br />
KVM / QEMU support in Linux distributions.<br />
UIO Support in Linux to inform interrupts to user space.<br />
Direct Portal access (Memory mapping)<br />
HugeTLBFs Support in Linux<br />
Target: Scalable and Efficient Performance<br />
19<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• Freescale Embedded<br />
Hypervisor<br />
− A lightweight framework for<br />
partitioning an SoC<br />
− Gives you the best of both<br />
worlds – bare-metal<br />
performance with enforced<br />
partitioning and fully<br />
architected approach to<br />
meeting AMP requirements<br />
− Solves many of the headaches<br />
of running multiple<br />
unsupervised OSes<br />
− Threads appear as cores to<br />
OS<br />
TM<br />
Topaz<br />
20<br />
I/O<br />
MMU<br />
Interrupt<br />
Controller<br />
App App<br />
OS<br />
CPU CPU CPU<br />
Memory<br />
I/O<br />
App App<br />
OS<br />
Memory<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.<br />
I/O
MMUs<br />
PAMU<br />
TM<br />
Partition 1 Partition 2<br />
Freescale Embedded Hypervisor<br />
Device<br />
Dedication<br />
Core 0 Core 1 Core 2 Core 3<br />
DPAA Devices DPAA Devices<br />
21<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• Linux Containers Overview<br />
− Containers provide OS-level virtualization<br />
Provides low overhead, lightweight, secure<br />
partitioning of Linux applications into different<br />
domains<br />
Can control resource utilization of domains –<br />
CPU, I/O bandwidth<br />
Linux Containers is based on a collection of<br />
technologies including kernel and user-space<br />
components<br />
TM<br />
22<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.<br />
C<br />
P<br />
U<br />
COS<br />
App<br />
COS<br />
Linux<br />
Multicore <strong>Hardware</strong><br />
COS<br />
LXC LXC LXC<br />
CP<br />
U<br />
USDPAA USDPAA<br />
CP<br />
U<br />
Linux Containers<br />
C<br />
P<br />
U
• KVM is a Linux kernel driver<br />
• User space tool, QEMU, is used in<br />
conjunction with KVM<br />
• Solution is open source<br />
• Highlights<br />
− Number of virtual machines is only<br />
limited by available resources (CPU<br />
cycles, memory)<br />
− No or minimal OS changes required<br />
− Virtual I/O – multiple partitions share<br />
disk, network interfaces, serial<br />
− Direct/pass-thru I/O – assign devices<br />
to partitions<br />
− ePAPR compliant<br />
− Interface to debug virtual machines<br />
TM<br />
23<br />
Virtual<br />
Machine 1<br />
App<br />
OS<br />
QEMU<br />
kvm<br />
Virtual<br />
Machine 1<br />
App<br />
OS<br />
QEMU<br />
Linux ® Kernel<br />
App<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
Tenants 1-20 Tenant 21 Tenants 50, 51<br />
PME<br />
APP<br />
Drivers<br />
Kernel Space<br />
TM<br />
APP<br />
Drivers<br />
ETH SEC PME<br />
…<br />
APP<br />
Drivers<br />
USDPAA USDPAA USDPAA<br />
VLAN IDs<br />
1 - 20<br />
VLAN ID<br />
21<br />
…<br />
Parse, Classify, Distribute<br />
Drivers<br />
…<br />
User Space<br />
Network<br />
Traffic<br />
ETH SEC<br />
…<br />
Kernel Mode App<br />
VLAN IDs<br />
50, 51<br />
DPAA<br />
24<br />
• Process Model<br />
− 1 process, 1 tenant<br />
− 1 process, N tenants<br />
− Multi-threaded process<br />
− Multiple processes, 1 tenant<br />
• User-space memory mapped DPAA<br />
access (USDPAA)<br />
− Access partitioning via portals<br />
− One portal per process/thread<br />
− Polling or interrupt based<br />
• Ingress packet distribution to<br />
processes<br />
− HW Parse/Classify/Distribute<br />
e.g. VLAN-id determines destination<br />
process/thread<br />
− Hierarchical Classification – If a tenant<br />
has multiple processes.<br />
− Separate packet buffer pools per tenant<br />
for isolation<br />
− Zero-copy lockless packet path<br />
CPU<br />
Cores<br />
DPAA<br />
Accelerators<br />
Software<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• Multi-tenant deployments are key to enabling efficient and<br />
scalable service provider networks<br />
• Multicore processors addressing increased performance,<br />
security, cost and power reduction and are keys to success<br />
• Freescale QorIQ multicore networking processors and<br />
VortiQa software provide the performance scalability<br />
necessary for virtualization and efficient use of resources<br />
− Delivering best-in-class multicore power / performance<br />
TM<br />
Freescale on Kaixin<br />
Tag yourself in photos<br />
and upload your own!<br />
Session materials will be posted @ www.freescale.com/FTF<br />
26<br />
Weibo?<br />
Please use hashtag<br />
#FTF2012#<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• URLs:<br />
− www.freescale.com/virtualization<br />
• SME Contact information<br />
− Steve Furr, Software Product Manager<br />
− steve.furr@freescale.com<br />
TM<br />
27<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.
• By now, you should be able to:<br />
− Effectively describe, at a high level, partitioning and<br />
virtualization approaches in service-oriented networks<br />
− Understand how facilities in QorIQ AMP processors enable<br />
partitioning and virtualization approaches<br />
− Understand the distinct Freescale software technologies<br />
offered for partitioning and virtualization and which to choose<br />
for specific partitioning and virtualization approaches<br />
TM<br />
28<br />
Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,<br />
mobileGT, PowerQUICC, Processor Expert, QorIQ, Qorivva, StarCore, Symphony and VortiQa are trademarks of Freescale Semiconductor, Inc.,<br />
Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, CoreNet, Flexis, MagniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine,<br />
Ready Play, SafeAssure, the SafeAssure logo, SMARTMOS, TurboLink, Vybrid and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All<br />
other product or service names are the property of their respective owners. © 2012 Freescale Semiconductor, Inc.