extent-2017: techniques for trading on fpga enabled switches

32
Simplifying networks Reducing latency in Electronic Trading Opening up network packet visibility Increasing flexibility Techniques for trading on FPGA enabled switches Dr David Snowdon CTO

Upload: iosif-itkin

Post on 22-Jan-2018

279 views

Category:

Technology


1 download

TRANSCRIPT

Simplifying networks Reducing latency in Electronic Trading Opening up network packet visibility

Increasing flexibility

Techniques for trading on FPGA enabled switches

Dr David Snowdon CTO

www.metamako.com 2

Basics

www.metamako.com

Basics — Who are Metamako?

3

The leading vendor of high performance network devices for trading

Based in Australia, Global offices

www.metamako.com

Basics — Who are Metamako?

4

• Build a first class platform to host FPGA apps • Hardware (x86 + L1 + FPGA) • Network operating system • IP Cores • Containers

• Build our own FPGA apps to produce best-in-class devices • MetaWatch — Timestamping and packet capture • MetaMux — High performance exchange access

www.metamako.com

Basics — Who are Metamako?

5

• MetaWatch

• Cost effective network monitoring

• 1 ns precision timing

• Robust deep buffering (8GB)

Ideal for MIFID II RTS 25 Compliance

www.metamako.com

Basics — Layer 1 Switch

6

www.metamako.com

Basics — Software Trading Systems

7

Response Engine

Logging

Parameters

Modelling

Network

www.metamako.com

Basics — FPGA Trading Systems

8

Response Engine

Logging

Parameters

Modelling

Network

www.metamako.com

Basics — The advantages of FPGA

9

•Low latency

•Predictability/Determinism

•Performance

www.metamako.com 10

FPGA Platforms

www.metamako.com

FPGA Development Platforms

11

MetaApp 32

MetaMux 48

MetaConnect 96

www.metamako.com

K-Series DevicesVirtex 7

C-Series DevicesArria 10

FPGA Development Platforms

12

MetaMux 48K MetaMux 48

MetaApp 32 MetaApp 32C

MetaConnect 96K MetaConnect 96C

www.metamako.com

FPGA Development Platforms

• Development kit, example designs, tips and tricks:

www.metamako.com/support

13

www.metamako.com 14

E-Series

www.metamako.com

E-Series

• Ultrascale and Ultrascale+ FPGA

• MetaApp 32E, MetaMux 48E and MetaConnect 96E

• All include “MetaConnect”

15

www.metamako.com

E-Series

16

FPGA

56

MetaConnect Fabric

www.metamako.com

E-Series

17

Central FPGALeaf FPGA Leaf FPGA

14 1456

MetaConnect Fabric

www.metamako.com

E-Series

18

Central FPGALeaf FPGA Leaf FPGA

14 1456

MetaConnect Fabric

130 IO 130 IO

www.metamako.com

E-Series

19

RX MAC Logic TX MACOne FPGA L1

Switch

Minimum ~60 ns

www.metamako.com

E-Series

20

RX MAC Logic TX MACOne FPGA L1

Switch

Minimum ~60 ns

L1 Switch

RX MAC Logic TX MAC Cable RX

MAC Logic TX MACTwo FPGAs

Minimum ~60 ns Minimum ~60 ns

www.metamako.com

E-Series

21

RX MAC Logic TX MACOne FPGA L1

Switch

Minimum ~60 ns

L1 Switch

RX MAC Logic TX MAC Cable RX

MAC Logic TX MACTwo FPGAs

L1 Switch

RX MAC Logic Logic TX MACE-Series

Minimum ~60 ns Minimum ~60 ns

Minimum ~70 ns

~10 ns

www.metamako.com

E-Series

22

Central FPGALeaf FPGA Leaf FPGA

14 1456

MetaConnect Fabric

130 IO 130 IO

www.metamako.com

E-Series

23

K-Series(Virtex 7

415T)C-Series(Arria 10)

E-Series (3x VU9P Variant)

Flip Flops or Registers 515k 1,708k 7,092k

Total On-Chip RAM 31.7 Mb 65Mb 1,037 Mb

www.metamako.com 24

Architectures

www.metamako.com

Architecting for the switch

25

Response Engine

Logging

Parameters

Modelling

Network

www.metamako.com

Architecting for the switch

26

Logging

Parameters

Modelling

Network

Response Engine

www.metamako.com

A few quick thoughts…

• Ditch PCI Express — leverage the network

• Physical distance matters

• Memory is king

27

www.metamako.com

Architecting for the switch

28

Traditional FPGA Solution x86 FPGAPCIE

www.metamako.com

Architecting for the switch

29

Traditional FPGA Solution x86 FPGAPCIE

Modern FPGA Solution x86 FPGA10GbE

www.metamako.com

Architecting for the switch

30

Traditional FPGA Solution x86 FPGAPCIE

Modern FPGA Solution x86 FPGA10GbE

Metamako FPGA Solution x86 FPGA10GbE

x86

x86

www.metamako.com

E-Series

31

MetaMux 48E

Simplifying networks Reducing latency in Electronic Trading Opening up network packet visibility

Increasing flexibility

For development kits, see:www.metamako.com/support