Kernel/Hardware for bifrost

Slides:



Advertisements
Similar presentations
Device Layer and Device Drivers
Advertisements

Unified Wire Felix Marti, Open Fabrics Alliance Workshop Sonoma, April 2008 Chelsio Communications.
Institute of Computer Science Foundation for Research and Technology – Hellas Greece Computer Architecture and VLSI Systems Laboratory Exploiting Spatial.
WOW NETWORK SIMULATOR Duke Lee, Mustafa Ergen, Jeff Ko WOW WOW UC Berkeley UC Berkeley.
Customizing Virtual Networks with Partial FPGA Reconfiguration
Linux Networking Overview COMS W Spring 2010.
UC Berkeley 1 Time dilation in RAMP Zhangxi Tan and David Patterson Computer Science Division UC Berkeley.
1 PC-base Software Routers: High Performance and Application Service Support Author: Raffaele Bolla, Roberto Bruschi Publisher: PRESTO’08 Presenter: Hsin-Mao.
Embedded Transport Acceleration Intel Xeon Processor as a Packet Processing Engine Abhishek Mitra Professor: Dr. Bhuyan.
Jadavpur University Centre for Mobile Computing & Communication Implementation of Ad-Hoc Mesh Network Presentation by: Sudipto Das Rajesh Roy.
CS 838: NetFPGA Tutorial Theophilus Benson.
Optical modules, WDM, routing and KTH/CSD master program 2009 Robert Olsson KTH/CSD.
Software Routers: NetSlice Hakim Weatherspoon Assistant Professor, Dept of Computer Science CS 5413: High Performance Systems and Networking October 15,
MIDeA :A Multi-Parallel Instrusion Detection Architecture Author: Giorgos Vasiliadis, Michalis Polychronakis,Sotiris Ioannidis Publisher: CCS’11, October.
Block1 Wrapping Your Nugget Around Distributed Processing.
On the processing time for detection of Skype traffic P.M. Santiago del Río, J. Ramos, J.L. García-Dorado, J. Aracil Universidad Autónoma de Madrid A.
ENW-9800 Copyright © PLANET Technology Corporation. All rights reserved. Dual 10Gbps SFP+ PCI Express Server Adapter.
An initial study on Multi Path Routing Over Multiple Devices in Linux 2.4.x kernel Towards CS522 term project By Syama Sundar Kosuri.
High Performance Network Virtualization with SR-IOV By Yaozu Dong et al. Published in HPCA 2010.
Linux Implementation of the TRILL protocol Syed Mohsin Kazmi, Mohsin Sardar, Syed Ali Khayam School of EECS National University of Sciences & Technology.
Intel Research & Development ETA: Experience with an IA processor as a Packet Processing Engine HP Labs Computer Systems Colloquium August 2003 Greg Regnier.
Memory and network stack tuning in Linux:
High Definition Valley HDV Jan 08, 20091CSD FALL 2008.
Instructions to build HIBI_PE_DMA testing system (SOPC+NIOS II Eclipse) Lasse Lehtonen Last modification:
Recent experience with PCI-X 2.0 and PCI-E network interfaces and emerging server systems Yang Xia Caltech US LHC Network Working Group October 23, 2006.
Linux on ARM7TDMI or Nothing is as easy as it looks Helicon technologies Ltd. How to run uClinux on NXP LPC22xx.
10Gbit/s Bi-Directional Routing on standard hardware running Linux 10Gbit/s Bi-Directional Routing on standard hardware running Linux by Jesper Dangaard.
Bifrost och 10Gbit routing Software Freedom Day /Stockholm Robert Olsson Uppsala Universitet och KTH.
Open Source Routing KTH CSD Kick-Off Workshop Robert Olsson Uppsala University
Diagnostic Interface For Optical Transceivers 20 min presentation for coming experts Bernt fiber course Robert Olsson/2009.
Multiqueue & Linux Networking Robert Olsson UU/KTH.
Open Source Routing KTH CSD Kick-Off Workshop Robert Olsson Uppsala University & KTH
Multiqueue Networking David S. Miller Red Hat Inc.
Status from Martin Josefsson Hardware level performance of Status from Martin Josefsson Hardware level performance of by Jesper Dangaard Brouer.
Open-source routing at 10Gb/s Olof Hagsand (KTH) Robert Olsson (Uppsala U) Bengt Görden (KTH) SNCNW May 2009 Project grants: Internetstiftelsen (IIS) Equipment:
Bifrost KTH/CSD course kick-off Fall 2010 Robert Olsson.
Memory vs. Networking LSF/MM-summit March, 2017 Jesper Dangaard Brouer
New Approach to OVS Datapath Performance
KTH/CSD course kick-off Summer 2010 Robert Olsson
ARM Embedded Systems
Zero-copy Receive Path in Virtio
Control and forwarding plane separation on an open-source router
XDP – eXpress Data Path Intro and future use-cases
XDP Infrastructure Development
DPDK API and Virtual Infrastructure
TX bulking and qdisc layer
Memory vs. Networking Provoking and fixing memory bottlenecks
Reference Router on NetFPGA 1G
Data Transfer Node Performance GÉANT & AENEAS
Towards 10Gb/s open-source routing
Open Source 10g Talk at KTH/Kista
NUMA scaling issues in 10GbE NetConf 2009 PJ Waskiewicz Intel Corp.
Report from Netconf 2009 Jesper Dangaard Brouer
Semester Review Chris Gill CSE 422S - Operating Systems Organization
Multi-PCIe socket network device
KTH/CSD course kick-off Spring 2010 Robert Olsson
KTH/CSD course kick-off Fall 2009 Robert Olsson
Get the best out of VPP and inter-VM communications.
Using Packet Information for Efficient Communication in NoCs
GEN: A GPU-Accelerated Elastic Framework for NFV
Active Networking at Washington Univ.
Virtio Keith Wiles July 11, 2016.
Xen Network I/O Performance Analysis and Opportunities for Improvement
DPDK Accelerated Load Balancer
Open vSwitch HW offload over DPDK
Fast Packet Processing In Linux with AF_XDP
Enrich your NIC's capabilities with DPDK Soft NIC
Reference Router on NetFPGA 1G
Interrupt Message Store
Presentation transcript:

Kernel/Hardware for bifrost Linux for infrastructure Robustness, robustness, performance No chance to support all HW or SW Selection in lab Very time consuming process Costly, need resources and needs support & skill

Kernel/Hardware for bifrost We still on use Opteron Now Shanghai 2382 or close Motherboard TYAN 2915, 2923, two NUMA nodes Memory config to reach 128 bit transfers Chassies, redundant power USB boot seems OK. No recommendations for low or mid range HW!!

Kernel/Hardware for bifrost NIC's (Recommended) 10g Intel 82598 chips fixed 10GBASE-SR SUN neptune 10g/1g, XFP modules Intel 82576. GIGE. TP XFP-LR can drive fibre 40km or more Tested at KTH/CSD 10GBASE-T not seen yet Hot-Lava SFP board?

Kernel/Hardware for bifrost Drivers Critical. Drivers and Kernel support Almost critital. Open chip documentation Multiqueue. RSS a la MS NDIS 6.0 and later Ixgbe, niu, igb (e1000, e1000e, tulip) Issues: Optical Statistics, DOM etc

Kernel/Hardware for bifrost Kernel selection Long time monitor and test. Code Freeze. Now 2.6.29-rc2 from DaveM git with many pathes do { modify_and_patch(); happy = test(); } while( ! happy);

Kernel/Hardware for bifrost Multiqueue efforts landed. Needs: NIC, Driver, Affinity, Understanding Linux Network framework for MO Thanks, DaveM eth-affinity cat /proc/interrups IRQ/DMA consistant naming driver patches. ixgbe, niu, igb

Kernel/Hardware for bifrost Multiqueue efforts landed. HW classifier splits incoming based on hash etc to different MSI-X IRQ vectors (For RX) We set IRQ affinity so: RXQ1 → CPU1 RXQ2 → CPU2 etc. This done automaticly by eth-affinity it can be done due the consistent naming in /proc/interrupts

Kernel/Hardware for bifrost Multiqueue efforts landed. At RX the driver records the RX queue in the skb @@ -3815,6 +3824,8 @@ static void igb_receive_skb(struct igb_ring *ring, u8 status, struct igb_adapter * adapter = ring->adapter; bool vlan_extracted = (adapter->vlgrp && (status & E1000_RXD_STAT_VP)); + skb_record_rx_queue(skb, rp->rx_channel); +

Kernel/Hardware for bifrost Multiqueue efforts landed. At TX the driver selects the TX queue according to RX +static u16 select_queue(struct net_device *dev, struct sk_buff *skb) +{ + if( dev->real_num_tx_queues && skb_rx_queue_recorded(skb) ) + return skb_get_rx_queue(skb) % dev->real_num_tx_queues; + + return smp_processor_id() % dev->real_num_tx_queues; +}

Kernel/Hardware for bifrost Multiqueue efforts landed Of course we have also set IRQ affinity so: TXQ1 → CPU1 TXQ2 → CPU2 etc. This done automaticly by eth-affinity it can be done due the consistent naming in /proc/interrupts

Kernel/Hardware for bifrost Multiqueue efforts landed This OK for fowarding... Packets Per Sec scales with No CPU Cores Detailed numbers in the IIS report Ixia measued roughly 2.8Mpps Duplex 3.5 Mpps simplex. 8.6 Gbits/s (1.8 Mpps) with Internet traffic load with simplex forwarding.

Kernel/Hardware for bifrost Known issues Intel new 82599 chip not supported. quagga netlink. 32 vs 64 bit kernel Do we need quagga for 64 bit? No real problem

Kernel/Hardware for bifrost New directions for development & research? Explore advanced classifier benefits Control Plane, Route w/o dst cache etc? Energy Low-Power routing and networking

Time for Questions!