OSNT – A Community-owned platform for high-performance and ...

24
1 Gianni Antichi [email protected] OSNT – A Community-owned platform for high-performance and low-cost network testing May, 14 2015

Transcript of OSNT – A Community-owned platform for high-performance and ...

Page 1: OSNT – A Community-owned platform for high-performance and ...

1

Gianni Antichi

[email protected]

OSNT – A Community-owned platform for high-performance and low-cost network

testing

May, 14 2015

Page 2: OSNT – A Community-owned platform for high-performance and ...

2

 •  commonly  closed  and  proprietary  systems  •  limited  flexibility  •  well  outside  the  reach  of  most  universi8es  and  research  laboratories    

Let’s start with the context. We  all  know  why  we  need  network  testers.  We  also  know  there  are  plenty  of  solu4ons  that  do  the  job.    

Why  OSNT  then?  

Page 3: OSNT – A Community-owned platform for high-performance and ...

3

Introduction

•  Open-­‐source  hardware/so1ware  co-­‐design  •  For  research  community  

Long  development  cycles  and  high  cost  create  a  requirement  for  open-­‐source  network  tes4ng  

www.osnt.org

•  flexible  •  scalable  •  community-­‐based  

Page 4: OSNT – A Community-owned platform for high-performance and ...

4

Introduction

•  NetFPGA  pla?orm  enabled  the  first  prototype  of  OSNT.  

•  The  open  nature  of  NetFPGA  ecosystem  represents  the  best  star8ng  point  for  open  HW/SW  community-­‐oriented  projects.  

•  OSNT  aims  to  build  a  community  as  NetFPGA  did.    

Page 5: OSNT – A Community-owned platform for high-performance and ...

5

NetFPGA-10G NetFPGA  (Networked  FPGA)  is  a  line-­‐rate,  flexible,  open  

networking  plaIorm  for  teaching  and  research  

•  NeFPGA  board  •  tools  +  reference  designs  •  contributed  projects  •  community  

Page 6: OSNT – A Community-owned platform for high-performance and ...

6

OSNT architecture on NetFPGA-10G OSNT  flexibility  provides  support  for  a  wide  range  of  

use-­‐cases  •  OSNT-­‐TG  

–  a  single  card,  capable  of  genera8ng  packets  on  four  10GbE  ports  

–  to  test  a  single  networking  system  or  a  small  network  

•  OSNT-­‐MON  –  a  single  card,  capable  of  capturing  packets  arriving  through  four  10GbE  ports  

–  to  provide  loss  limited  capture  system  with  both  high-­‐resolu8on  and  high  precision  8mestamping  

Page 7: OSNT – A Community-owned platform for high-performance and ...

7

•  Hybrid  OSNT  –  the  combina8on  of  Traffic  Generator  and  Traffic  Monitor  into  single  FPGA  device  and  single  card  

–  to  perform  full  line-­‐rate,  per-­‐flow  characteriza8on  of  a  network  (device)  under  test  

•  Scalable  OSNT  –  our  approach  for  coordina8ng  large  numbers  of  mul8ple  generators  and  monitors  synchronized  by  a  common  8me-­‐base  

–  s8ll  largely  under  work    

OSNT architecture on NetFPGA-10G

Page 8: OSNT – A Community-owned platform for high-performance and ...

8

OSNT-TG •  PCAP  replay  func8on  

–  replay  traces  at  a  configurable  rate  –  look  at  it  as  a  sort  of  Hardware-­‐Assisted  “tcpreplay”  –  PCAP  traces  dumped  straight  in  the  SRAM  (27  MB)  

•  Possibility  to  embed  hardware  TX  8mestamp  alongside  a  packet  count  at  a  configurable  offset  –  8mestamp  can  be  GPS  corrected  

•  full  line  rate  regardless  packet  length  on  2  ports  (10Gbps  ports)  

Page 9: OSNT – A Community-owned platform for high-performance and ...

9

OSNT-MON •  Packet  capture  func8onality  

–  GPS  corrected  hardware  8mestamp  in  recep8on  

•  Two  traffic-­‐thinning  approaches  –  hardware  packet  filtering  (5-­‐tuple)  –  hardware  snap-­‐length  (hash  for  the  discarded  part)  

•  High  level  traffic  sta8s8cs  being  calculated  in  hardware  

•  Libpcap  patch  for  nanosecond  granularity  provided  

Page 10: OSNT – A Community-owned platform for high-performance and ...

10

OSNT-MON evaluation

0

5

10

15

20

64 128 256 512 1024

Util

izat

ion

(Gbp

s)

Packet size (bytes) - log10 scale

OSNT with 40B cut/hash 2-ports max rate (without loss)OSNT 2-ports max rate (without loss)OSNT 1-port max rate (without loss)

Max rate PCIe Gen1

Page 11: OSNT – A Community-owned platform for high-performance and ...

11

what  can  we  do  from  here?  how  can  we  effec6vely  use  OSNT?    

•  traffic  characteriza8on  (OSNT  is  an  high  precision  traffic  capture  system)  

•  networking  device  tes8ng  (OSNT  is  an  high  performance  traffic  generator)  

•  adapt  OSNT  to  your  needs  (OSNT  is  open,  OSNT  is  a  star8ng  point)  

•  What  about  using  OSNT  for  switch  performance  evaluaCon/characterizaCon?  (i.e.,  latency)  

Page 12: OSNT – A Community-owned platform for high-performance and ...

12

how  is  it  possible  to  characterize  a  networking  device  latency  with  OSNT?  

 •  we  can  embed  the  transmission  8mestamp  into  the  packet    

•  OSNT  can  send  packets  at  high  rates  and  wait  them  back  •  Compare  the  TX  8mestamp  with  the  RX  one.  

Switch  under  test  

Page 13: OSNT – A Community-owned platform for high-performance and ...

13

woooot!!!!!  I  can  accurately  measure  switching  latency!    

Page 14: OSNT – A Community-owned platform for high-performance and ...

14

•  par8cipate,  contribute  to  the  open  source  network  tes8ng  community  

•  extend  OSNT  with  new  features  

ok…this  is  cool,  but  what’s  next?    

yes,  ok..but…    

•  Where  can  we  go  from  here?  •  How  can  we  fully  exploit  OSNT?  

Page 15: OSNT – A Community-owned platform for high-performance and ...

15

•  NetFPGA  enables  OSNT  •  OSNT  enables  OFLOPS-­‐Turbo  

the  effec8ve  integra8on  of  the  OpenFlow  protocol  in  produc8on  requires  a  flexible  and  high-­‐precision  open-­‐source  measurement  pla?orm  which  provide  a  deep  

understanding  of  switch  capabili8es    

OFLOPS-­‐Turbo  (Open  Framework  for  OpenFlow  Switch  Evalua4on)  

 

Page 16: OSNT – A Community-owned platform for high-performance and ...

16

OFLOPS-Turbo

OFLOPS  

OFLOPS-­‐Turbo  

hbps://github.com/OFLOPS-­‐Turbo/nf-­‐pktgencap-­‐lib  

 code  available  soon!!!  

Page 17: OSNT – A Community-owned platform for high-performance and ...

17

OFLOPS-Turbo •  OFLOPS  is  an  holis8c  measurement  pla?orm  which  enables  the  development  of  custom  OF-­‐based  experiment      

•  OSNT  can  be  used  to  fulfil  the  data  plane  requirements  of  the  experiment  

•  OFLOPS-­‐Turbo  host  can  be  interconnected  with  one  or  more  switches  in  arbitrary  topologies  and  measure  with  high  precision  specific  aspects  of  the  network  architecture  

Page 18: OSNT – A Community-owned platform for high-performance and ...

18

OFLOPS-Turbo OFLOPS-Turbo host

...ControlChannel

OpenFlow Switch

OSNT

...DataChannels

OSNT

OFLOPS platform

OpenFlow Switch

swhw

Page 19: OSNT – A Community-owned platform for high-performance and ...

19

•  OpenFlow  flow  table  inser8on  measurements  •  OpenFlow  flow  table  modifica8on  measurements  •  Create  your  own  test  in  SW  and  test  mul8  Gigabit  switches!  

what  can  we  do  from  here?    

how  can  we  effec6vely  use  OFLOPS-­‐Turbo?    

Page 20: OSNT – A Community-owned platform for high-performance and ...

20

Let’s  consider  a  tes6ng  scenario  

Page 21: OSNT – A Community-owned platform for high-performance and ...

21

In  our  lab  we  have  01.  Pica8  P3922  

02.  DELL  Force10  S4810      

Let’s  see  what  we  can  do  with  OFLOPS-­‐Turbo!        

Page 22: OSNT – A Community-owned platform for high-performance and ...

22

0

5

10

15

20

0 200 400 600 800 1000

inse

rtio

n d

ela

y (s

ec)

number of flows

Pica8 OVSPica8 L2/L3

Force10

Page 23: OSNT – A Community-owned platform for high-performance and ...

23

0

0.5

1

1.5

2

2.5

3

0 200 400 600 800 1000

inse

rtio

n d

ela

y (s

ec)

number of flows

Pica8 OVSPica8 L2/L3

Force10

Page 24: OSNT – A Community-owned platform for high-performance and ...

24

this  is  a  star6ng  point…      

OSNT/OFLOPS-­‐Turbo  are  a  star6ng  point..    

Ques6ons?  Ideas?  

Comments?