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

Slides:



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

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Understanding Linux Kernel to Build Software Routers (Qualitative Discussion) Shiv Kalyanaraman,
Evaluating System Performance in Gigabit Networks King Fahd University of Petroleum and Minerals (KFUPM) INFORMATION AND COMPUTER SCIENCE DEPARTMENT Dr.
Embedded Transport Acceleration Intel Xeon Processor as a Packet Processing Engine Abhishek Mitra Professor: Dr. Bhuyan.
CISCO NETWORKING ACADEMY Chabot College ELEC Router Introduction.
Optical modules, WDM, routing and KTH/CSD master program 2009 Robert Olsson KTH/CSD.
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.
Christopher Bednarz Justin Jones Prof. Xiang ECE 4986 Fall Department of Electrical and Computer Engineering University.
RSC Williams MAPLD 2005/BOF-S1 A Linux-based Software Environment for the Reconfigurable Scalable Computing Project John A. Williams 1
Hosting Virtual Networks on Commodity Hardware VINI Summer Camp.
UNIX System Administration OS Kernal Copyright 2002, Dr. Ken Hoganson All rights reserved. OS Kernel Concept Kernel or MicroKernel Concept: An OS architecture-design.
© 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.
1 CS503: Operating Systems Spring 2014 Dongyan Xu Department of Computer Science Purdue University.
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.
“ PC  PC Latency measurements” G.Lamanna, R.Fantechi & J.Kroon (CERN) TDAQ WG –
1.4 Open source implement. Open source implement Open vs. Closed Software Architecture in Linux Systems Linux Kernel Clients and Daemon Servers Interface.
COMPUTER ORGANIZATIONS CSNB123. COMPUTER ORGANIZATIONS CSNB123 Why do you need to study computer organization and architecture? Computer science and IT.
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.
1.4 Open source implement. Open source implement Open vs. Closed Software Architecture in Linux Systems Linux Kernel Clients and Daemon Servers Interface.
Network Performance Test on IPv Technology Laboratory, KT Choi Sung Mi
L1/HLT trigger farm Bologna setup 0 By Gianluca Peco INFN Bologna Genève,
Chapter 1: Computer Basics Instructor:. Chapter 1: Computer Basics Learning Objectives: Understand the purpose and elements of information systems Recognize.
Operating Systems: History, Hardware & Concepts Ch 1.4 & 1.5 Thursday, January 18, 2007.
Bifrost och 10Gbit routing Software Freedom Day /Stockholm Robert Olsson Uppsala Universitet och KTH.
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:
Bifrost KTH/CSD course kick-off Fall 2010 Robert Olsson.
Introduction to Operating Systems Concepts
Voice Controlled Robot by Cell Phone with Android App
Operating System Overview
Instructor Materials Chapter 1: LAN Design
KTH/CSD course kick-off Summer 2010 Robert Olsson
USB The topics covered, in order, are USB background
KTH CSD Kick-Off Workshop
Operating Systems (CS 340 D)
Group Manager – PXI™/VXI Software
Reference Router on NetFPGA 1G
Towards 10Gb/s open-source routing
Open Source 10g Talk at KTH/Kista
CS 286 Computer Organization and Architecture
Architecture Background
Multi-PCIe socket network device
The PCI bus (Peripheral Component Interconnect ) is the most commonly used peripheral bus on desktops and bigger computers. higher-level bus architectures.
Drill Translate the following message:
KTH/CSD course kick-off Spring 2010 Robert Olsson
KTH/CSD course kick-off Fall 2009 Robert Olsson
TASK 4 Guideline.
The Stanford Clean Slate Program
QNX Technology Overview
Virtualization Techniques
Storage Networking Protocols
Xen Network I/O Performance Analysis and Opportunities for Improvement
CS703 - Advanced Operating Systems
Today’s agenda Hardware architecture and runtime system
Lecture Topics: 11/1 General Operating System Concepts Processes
Computer Network Overview
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
Lecture9: Embedded Network Operating System: cisco IOS
EEC4113 Data Communication & Multimedia System Chapter 1: Introduction by Muhazam Mustapha, July 2010.
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
Types of Parallel Computers
Internet Exchange.
Lecture9: Embedded Network Operating System: cisco IOS
Cluster Computers.
Presentation transcript:

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

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 students ● ftp.sunet.se

Over 10 years in production UU facts Over 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 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

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

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 - Linux 2.4 peaks at 27Kpps - Pentium Pro 200, 64MB RAM

A high level view of new system P pkts Interupt areaPolling area ➔ 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 Quota

Kernel support NAPI kernel part was included in: and back ported to 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

Relative speed ( Very approximative) L1/L2 cache 1 Memory 1000 IO 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