KTH CSD Kick-Off Workshop

Slides:



Advertisements
Similar presentations
Open Source Routing Experinces at Uppsala University Robert Olsson Hans Wassen Emil Pedersen Uppsala Universitet
Advertisements

Logically Centralized Control Class 2. Types of Networks ISP Networks – Entity only owns the switches – Throughput: 100GB-10TB – Heterogeneous devices:
Traffic Management - OpenFlow Switch on the NetFPGA platform Chun-Jen Chung( ) SriramGopinath( )
Efficient IP-Address Lookup with a Shared Forwarding Table for Multiple Virtual Routers Author: Jing Fu, Jennifer Rexford Publisher: ACM CoNEXT 2008 Presenter:
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Understanding Linux Kernel to Build Software Routers (Qualitative Discussion) Shiv Kalyanaraman,
Service Providers & Data Link & Physical layers Week 4 Lecture 1.
Embedded Transport Acceleration Intel Xeon Processor as a Packet Processing Engine Abhishek Mitra Professor: Dr. Bhuyan.
CISCO NETWORKING ACADEMY Chabot College ELEC Router Introduction.
GigE Knowledge. BODE, Company Profile Page: 2 Table of contents  GigE Benefits  Network Card and Jumbo Frames  Camera - IP address obtainment  Multi.
CCNA 1 Module1. Objectives Internet Connections Physical – NIC card to connect to local net Logical – Use a standard set of protocols (TCP/IP) Applications.
1 MASTERING (VIRTUAL) NETWORKS A Case Study of Virtualizing Internet Lab Avin Chen Borokhovich Michael Goldfeld Arik.
Routing. A world without networks and routing  No connection between offices, people and applications  Worldwide chaos because of the lack of centralized.
Christopher Bednarz Justin Jones Prof. Xiang ECE 4986 Fall Department of Electrical and Computer Engineering University.
Networking Virtualization Using FPGAs Russell Tessier, Deepak Unnikrishnan, Dong Yin, and Lixin Gao Reconfigurable Computing Group Department of Electrical.
Hosting Virtual Networks on Commodity Hardware VINI Summer Camp.
© 2008 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Achieving 10 Gb/s Using Xen Para-virtualized.
A TCP/IP transport layer for the DAQ of the CMS Experiment Miklos Kozlovszky for the CMS TriDAS collaboration CERN European Organization for Nuclear Research.
1 Lecture 20: I/O n I/O hardware n I/O structure n communication with controllers n device interrupts n device drivers n streams.
Traffic Management - OpenFlow Switch on the NetFPGA platform Chun-Jen Chung( ) Sriram Gopinath( )
IP Forwarding.
Lets play Jeopardy No, sorry. You got it! Routers LayersMixed up Net Address Protocols
1.4 Open source implement. Open source implement Open vs. Closed Software Architecture in Linux Systems Linux Kernel Clients and Daemon Servers Interface.
Srihari Makineni & Ravi Iyer Communications Technology Lab
1. 2 Router is a device which makes communication between two or more networks present in different geographical locations. Routers are data forwarding.
Efficient Cache Structures of IP Routers to Provide Policy-Based Services Graduate School of Engineering Osaka City University
1.4 Open source implement. Open source implement Open vs. Closed Software Architecture in Linux Systems Linux Kernel Clients and Daemon Servers Interface.
Wrapping up subnetting, mapping IPs to physical ports BSAD 146 Dave Novak Sources: Network+ Guide to Networks, Dean 2013.
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
1 Building big router from lots of little routers Nick McKeown Assistant Professor of Electrical Engineering and Computer Science, Stanford University.
Multiqueue & Linux Networking Robert Olsson UU/KTH.
Open Source Routing KTH CSD Kick-Off Workshop Robert Olsson Uppsala University & KTH
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:
Graciela Perera Department of Computer Science and Information Systems Slide 1 of 18 INTRODUCTION NETWORKING CONCEPTS AND ADMINISTRATION CSIS 3723 Graciela.
Bifrost KTH/CSD course kick-off Fall 2010 Robert Olsson.
A Campus Design Example Agricultural University IP design
Instructor Materials Chapter 1: LAN Design
KTH/CSD course kick-off Summer 2010 Robert Olsson
Chapter 13: I/O Systems Modified by Dr. Neerja Mhaskar for CS 3SH3.
Whirlwind Tour Of Lectures So Far
ETHANE: TAKING CONTROL OF THE ENTERPRISE
Chapter 4: Routing Concepts
Towards 10Gb/s open-source routing
Open Source 10g Talk at KTH/Kista
Architecture Background
Multi-PCIe socket network device
Introducing Novell IPv6 Stack
KTH/CSD course kick-off Spring 2010 Robert Olsson
KTH/CSD course kick-off Fall 2009 Robert Olsson
Chapter 4: Network Layer
IP Forwarding Relates to Lab 3.
What’s “Inside” a Router?
The Stanford Clean Slate Program
IP Forwarding Relates to Lab 3.
Storage Networking Protocols
Xen Network I/O Performance Analysis and Opportunities for Improvement
NTHU CS5421 Cloud Computing
CS703 - Advanced Operating Systems
Lecture Topics: 11/1 General Operating System Concepts Processes
Computer Network Overview
Chapter 4 Network Layer Computer Networking: A Top Down Approach 5th edition. Jim Kurose, Keith Ross Addison-Wesley, April Network Layer.
Network Processors for a 1 MHz Trigger-DAQ System
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
IP Forwarding Relates to Lab 3.
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
Author: Xianghui Hu, Xinan Tang, Bei Hua Lecturer: Bo Xu
NetFPGA - an open network development platform
Internet Exchange.
Chapter 4: Network Layer
Cluster Computers.
Presentation transcript:

KTH CSD Kick-Off Workshop Open Source Routing KTH CSD Kick-Off Workshop Robert Olsson Uppsala University 2008-09-02

Why Open Source? Reclaim research and development to universities etc To be a part in the development loop Open for wide collaboration No national boundaries No organizational boundaries Easy experimentation to prototype new ideas Next-Generation Internet take-off Other ideas we can't even think of right now

Why Open Source? Possibilities for superior quality Work can be reviewed by many people Very fast development can be achieved Process can be independent from business or politics Non-discriminating Economical possibilities Idea started in computer science

Relation to Open Source Your are getting other people's work for “free” Respect Open Source does not work without contributions Compare a relay race. Reuse and recycle work. Open Source has strong momentum Business models are developed etc

Open Source Networking Now Interesting suitable hardware Technological breakthrough Multi-Core CPU, other silicons Fiber Optics Fast buses PCI-Express There are interesting applications Open source OS has come a long way

Open Source Competitors MIT click modular router Berkeley, CA XORP Vyatta

Over 10 years in production Three major installations UU core routers towards SUNET UU Student Network 30.000 students ftp.sunet.se

Over 10 years in production UU facts Over 25.000 registered hosts Dual ISP BGP connect GIGE Local BGP peering GIGE Ipv4/Ipv6 OSPFv2/OSPFv3 600 netfilter rules 10 Cisco 6500 OSPF-routers Redundant Power 10g planned

Over 10 years in production

Over 10 years in production The SUNET FTP ARCHIVE DMZ AS15980 AS1653 Juniper Bifrost LINUX Router discovery IRDP Full Internet routing IPv4, IPv6 10TB

Over 10 years in production

Over 10 years in production Student Network Core Router

Over 10 years in production Student Network facts Dual ISP BGP connect GIGE Local BGP peering GIGE Ipv4 IRDP (ICMP) About 30 netfilter rules 19 netlogin-service boxes for premises 10g planned

IP-login installation at Uppsala University Approx 1000 outlets

Testing, Verification Development & Research Started out as simple testing. Curiosity, Open Source, Collaboration Relatively freedom, the idea to use in own infrastructure. No need for external funding. OS was intended for desktops.

Testing, Verification Development & Research No need for test network. We could test in own infrastructure. (Or SLU) Problem oriented vs Project oriented We could work on complicated issues NAPI 3years pktgen 2years fib_trie 1year TRASH 1year

Building Blocks Hardware: PC Motherbord/CPU/Memory Network Interfaces GIGE/10g WiFi etc Software Operating System Linux/BSD/Microsoft Applications Routing Daemons Quagga/XORP IP-login/netlogon Network Cable, Fiber, Copper Equipment, Switches

Flexible netlab at Uppsala University El cheapo-- High customable -- We write code :-) Ethernet | Ethernet Tested device Test generator linux sink device linux * Raw packet performance * TCP * Timing * Variants

Lab at UU

Intel NIC's

Latest & Greatest Hardware Intel 10g board Chipset 82598

Latest & Greatest Hardware 2U Hi-End Opteron box

Not all were blessed...

Bifrost concept Linux kernel collaboration Performance testing, development of tools and testing techniques Hardware validation, support from big vendors Detect and cure problems in lab not in the network infrastructure. Test deploy (Often in own network)

Overall Effect Inelegant handling of heavy net loads System collapse Scalabiity affected System and number of NICS A single hogger netdev can bring the system to its knees and deny service to others March 15 report on lkml Thread: "How to optimize routing perfomance" reported by Marten.Wikstron@framsfab.se - Linux 2.4 peaks at 27Kpps - Pentium Pro 200, 64MB RAM

A high level view of new system pkts Interupt area Polling area Quota P P packets to deliver to the stack (on the RX ring) Horizontal line shows different netdevs with different input rates Area under curve shows how many packets before next interrupt Quota enforces fair share

Kernel support NAPI kernel part was included in: 2.5.7 and back ported to 2.4.20 Current driver support: e1000 Intel GIGE NIC's tg3 BroadCom GIGE NIC's dl2k D-Link GIGE NIC's tulip (pending) 100 Mbs

Cache effect/Performance

Cache effect/Performance Relative speed ( Very approximative) L1/L2 cache 1 Memory 1000 IO 10000 Mordern programming takes this into account.

Cache effect/Performance Cache line 32 – 128 bytes Optimize struct for cache and multiprocessors usage PIO even worse then cache miss PIO READ stalls CPU PIO WRITE can be posted DMA copies of data into RAM Does prefetch solve problems?

A new network symbol has been seen... The Penguin Has Landed

Forwarding performance Fills a GIGE pipe -- starting from256byte pkts

Other activities informal linux agenda Ericsson is willing to open patent for Linux Jamal have the contacs via Ericsson Montreal DaveM has discussions with Washington university about who is willing to grant another patent for use with Linux Discussed LC-trie with Alexey Kuznetsov. LC-trie investigations. Got GPL from authors.

fib_trie performance comparison Preroute pathes to disable route hash

32/64 bit || sizeof(sk_buff) Gcc 3.4 x86_64 vs i686 on same HW

ipv6 performance How rDoS work on sparse routing table?

Trash datastucture Interesting novel approc. Trie-Hash --> Trash When extending the LC-trie Paper with Stefan Nilsson/KTH Expoits that keylen does not affect tree deepth We lengthen the so key it can be better compressed. Implemented in Linux forwarding patch as a replacement to the route hash.

Trash datastucture Can do full key lookup. src/dst/sport/dport/proto/if etc and later socket. For even ip6 with littele performnace degradation Could be a candidate for the grand unified lookup Full flow lookup can understand connections. Free flow logging etc New garbage collection (GC) possible. Active GC stated AGC in the paper. Listen to TCP SYN, FIN and RST Show to be performance winner.

Trash datastucture Uppsala Universitet core router

Trash datastucture Very flat(fast) trees

SLU's nät (inte hela) GigaSUNET UU SLU2 SLU1 80.74/32 80.73/32 HVC DC 88.49/30 88.33/30 130. 242. DMZ UU/ITS ultKC-gw 127.54 Switch HVC KC e0 knutpunkt 193.10.131.0/24 88.50/30 e1 .5 193.10.131 .4 e5 e1 88.34/30 e5 SLU's nät (inte hela) e1 127.82 e4 e4 127.81 ultGC-gw ultgw-2 1 1 ultgw-1 127.61 127.2 96.2 e3 /24 e3 96.61 127.1 GC e8 3 e3 HVC 1 98.2 e6 /24 e6 98.61 DC 3 e0 127.58 e7 127.17 e9 127.69 127.57 e2 127.53 127.45 e2 e3 ultrouter7 127.7 127.62 HVC 3 e0 127.18 2 e0 127.46 1 127.101 e10 127.21 ultrouter8 expgw.data e9 127.8 127.102 e0 HVC DC skara-gw 1 e1 127.13 34 Mb e2 ..233.33/24 e3 e0 127.14 e1 127.70 ultrouter9 1 3 127.85 e2 ultrouter6 2 127.9 127.22 3 3 127.6 e10 HVC 118.1 127.86 DC e3 e0

BGP policy routing ISP:er (SUNET) och Knupunkt. GigaSUNET UU SLU2 SLU1 80.74/32 80.73/32 HVC DC 88.49/30 88.33/30 130. 242. DMZ UU/ITS ultKC-gw 127.54 Switch HVC KC e0 knutpunkt 193.10.131.0/24 88.50/30 e1 .5 193.10.131 .4 e5 e1 88.34/30 e5 e1 127.82 e4 e4 127.81 ultGC-gw ultgw-2 1 1 ultgw-1 127.61 127.2 96.2 e3 /24 e3 96.61 127.1 GC e8 3 e3 HVC 1 98.2 e6 /24 e6 98.61 DC 3 e0 127.58 e7 127.17 e9 127.69 BGP policy routing ISP:er (SUNET) och Knupunkt. 127.57 e2 127.53 127.45 e2 e3 ultrouter7 127.7 127.62 3 e0 127.18 HVC 2 e0 127.46 1 127.101 e10 127.21 ultrouter8 expgw.data e9 127.8 127.102 e0 HVC DC skara-gw 1 e1 127.13 34 Mb e2 ..233.33/24 e3 e0 127.14 e1 127.70 ultrouter9 1 3 127.85 e2 ultrouter6 2 127.9 127.22 3 3 127.6 e10 HVC 118.1 127.86 DC e3 e0

Redundant inre kärna GigaSUNET UU SLU2 SLU1 80.74/32 80.73/32 HVC DC 88.49/30 88.33/30 130. 242. DMZ UU/ITS ultKC-gw 127.54 Switch HVC KC e0 knutpunkt 193.10.131.0/24 88.50/30 e1 .5 193.10.131 .4 e5 e1 88.34/30 e5 e1 127.82 e4 e4 127.81 ultGC-gw ultgw-2 1 1 ultgw-1 127.61 127.2 96.2 e3 /24 e3 96.61 127.1 GC e8 3 e3 HVC 1 98.2 e6 /24 e6 98.61 DC 3 e0 127.58 e7 127.17 Redundant inre kärna e9 127.69 127.57 e2 127.53 127.45 e2 e3 ultrouter7 127.7 127.62 3 e0 127.18 HVC 2 e0 127.46 1 127.101 e10 127.21 ultrouter8 expgw.data e9 127.8 127.102 e0 HVC DC skara-gw 1 e1 127.13 34 Mb e2 ..233.33/24 e3 e0 127.14 e1 127.70 ultrouter9 1 3 127.85 e2 ultrouter6 2 127.9 127.22 3 3 127.6 e10 HVC 118.1 127.86 DC e3 e0

Redundant ansluting av tunga servernät via router discovery GigaSUNET UU SLU2 SLU1 80.74/32 80.73/32 HVC DC 88.49/30 88.33/30 130. 242. DMZ UU/ITS ultKC-gw 127.54 Switch HVC KC e0 knutpunkt 193.10.131.0/24 88.50/30 e1 .5 193.10.131 .4 e5 e1 88.34/30 e5 e1 127.82 e4 e4 127.81 ultGC-gw ultgw-2 1 1 ultgw-1 127.61 127.2 96.2 e3 /24 e3 96.61 127.1 GC e8 3 e3 HVC 1 98.2 e6 /24 e6 98.61 DC 3 e0 127.58 e7 127.17 e9 127.69 Redundant ansluting av tunga servernät via router discovery 127.57 e2 127.53 127.45 e2 e3 ultrouter7 127.7 127.62 3 e0 127.18 HVC 2 e0 127.46 1 127.101 e10 127.21 ultrouter8 expgw.data e9 127.8 127.102 e0 HVC DC skara-gw 1 e1 127.13 34 Mb e2 ..233.33/24 e3 e0 127.14 e1 127.70 ultrouter9 1 3 127.85 e2 ultrouter6 2 127.9 127.22 3 3 127.6 e10 HVC 118.1 127.86 DC e3 e0

GigaSUNET UU SLU2 SLU1 80.74/32 80.73/32 HVC DC 88.49/30 88.33/30 130. 242. DMZ UU/ITS ultKC-gw 127.54 Switch HVC KC e0 knutpunkt 193.10.131.0/24 88.50/30 e1 .5 193.10.131 .4 e5 e1 88.34/30 e5 e1 127.82 e4 e4 127.81 ultGC-gw ultgw-2 1 1 ultgw-1 127.61 e8 3 127.2 96.2 e3 /24 e3 96.61 127.1 e3 GC HVC 1 98.2 e6 /24 e6 98.61 DC 3 e0 127.58 e7 127.17 e9 127.69 127.57 e2 127.53 127.45 e2 e3 ultrouter7 127.7 127.62 HVC 3 e0 127.18 2 e0 127.46 1 127.101 e10 127.21 ultrouter8 expgw.data e9 127.8 127.102 e0 HVC DC skara-gw 1 e1 127.13 34 Mb e2 ..233.33/24 e3 e0 127.14 e1 127.70 ultrouter9 1 3 127.85 e2 ultrouter6 2 127.9 127.22 3 3 127.6 e10 HVC 118.1 127.86 DC e3 e0

Almost all... OpenSource bifrost zebra/quagga