2. whoami
●
Principal Linux Administrator @ Ncsoft
– We make videogames (Guild Wars, Blade & Soul)
●
Founder of Sphere Cube LLC
– Privacy and Security focused Infastructure hosting on
esoteric platforms (ARM now, RISC-V later)
●
Previously: Chef Software, BlueBox, RedHat,
eNovance, Midokura, DreamHost, Rackspace ...
●
I work a lot with networking stuff
7. Let's talk about layers
OSI Model
Layer Protocol
Data Unit
Function Examples
Host
7 Application
Data
High-level APIs, including resource sharing, remote file
access, directory services and virtual terminals
DotNetFtpLibrary,
SMTP web API,
SSH.NET,
SnmpSharpNet, HTML
Class, HTTP API server
6 Presentation Translation of data between a networking service and
an application; including character encoding, data
compression and encryption/decryption
CSS, GIF, HTML, XML,
JSON, S/MIME
5 Session Managing communication sessions, i.e. continuous
exchange of information in the form of multiple back-
and-forth transmissions between two nodes
RPC, SCP, NFS, PAP,
TLS, FTP, HTTP,
HTTPS, SMTP, SSH
4 Transport Segment
(TCP) /
Datagram
(UDP)
Reliable transmission of data segments between
points on a network, including segmentation,
acknowledgement and multiplexing
NBF, TCP, UDP
Media
3 Network Packet Structuring and managing a multi-node network,
including addressing, routing and traffic control
AppleTalk, ICMP, IPsec,
IPv4, IPv6
2 Data Link Frame Reliable transmission of data frames between two
nodes connected by a physical layer
IEEE 802.2, L2TP,
LLDP, MAC, PPP, ATM,
MPLS
1 Physical Bit Transmission and reception of raw bit streams over a
physical medium
DOCSIS, DSL, Ethernet
physical layer, ISDN,
RS-232
https://en.wikipedia.org/wiki/OSI_model
9. Fiber Channel
●
Mostly used for storage
●
Some other applications
●
Topologies: Point 2 Point, Switched, Arbitrated
Loop
●
Available in 1, 2, 4, 8, 16, and 32 Gbps native
data rates
●
Loosing Ground to iSCSI (SCSI over IP)
10. Infiniband
●
Primarily developed for HPC
●
2.5, 5, 10, 14.0625, 25, and soon 50 Gbps
native data rate (much more when agg)
●
Switched fabric topology
●
Still used in a lot of storage
●
Has lots of nifty features like RDMA
25. Tomahawk
●
Up to 128 Ports
– 32x100GbE
●
Cut through or Store
& Forward
●
3.2Tbps
●
SFP+25, QSFP+28
26. 1GbE
●
Various manufacturers of ASIC parts
●
Various features options
●
All the way from super cheap (D-Link,
Netgear) to super awesome (Broadcom
Hurricane 2 based)
●
Find what matches your price/req
27. TP vs TwinAx vs Fiber
●
SFP+ Modules, $20/ea (MM-OM4) & 2-5w
– SM is more depending on length
●
TP (CAT6a) adds $20-40 & 7w per port
●
TwinAx is passive, $20/2m @ 2.5w TOTAL
30. Lessons Learned
●
Use active TwinAx or MPO fiber for QSFP+
spine-spine connections
●
Cable management is mandatory
●
LLDP is your friend
●
OSPF bad, BGP good
31. Virtual Networking
●
Frame Forwarding
– VMware vSwitch (Stand alone & distributed)
– Linux Bridge
– MAC VTAP
●
OpenFlow
– VMware NSX
– Open vSwitch
●
Pass through
– SR-IOv
– MAC VTAP (depends on hardware capabilities)
32. Routers & Firewalls
●
If you are rich, buy one
●
Otherwise, build one:
– Keep an eye on PCI Express bandwidth
– Moving between NUMA nodes is bad
– LOTS OF RAM (at least 16GB to hold Internet
routing table)
– NICs matter
34. About dem NICs
●
Intel NICs are great at 1GbE
●
Intel and Broadcom are descent at 10GbE
●
Broadcom sucks at 1GbE
●
Realtek to be avoided at all costs
●
Mellanox is supposed to be great now with
Connect-X3 for 10/40GbE (FB uses them)