-
-
Save zdxerr/6327615 to your computer and use it in GitHub Desktop.
- IP lookup: longest prefix match
- parallelize
DRAMaccess to acive acceptable access times
- parallelize
TDMTime Division MultiplexingWDMWavelength Division MultiplexingPOPPoint of Presence- Buffer Memory
SRAMShadowed RAM -> fast but smallDRAMDynamic RAM -> large but slow
OQOutput Queueing Switch- no intermediate buffer
- flows on different out port do not affect each other
- work conserving
- highest throughput, lowest average delay
IQInput Queueing Switch-
packets are released when access to switching fabric and out port is guaranteed
-
HOLHead of Line BlockingTroughput is not maximized, because possibly outgoing packets can be blocked queued packets from other out ports.
-
VOQVirtual Output QueueInput buffer is devided in N vitual output buffers
- non uniform, unknown traffic
-
MWMMaximum Weight Matching -
Maximum Size Matching
Find largest number of edges, such that each node has at most one edge.
-
Maximal Size Matching
Add edges until the next edge would destroy the matching property.
|M_maximum| / 2 <= |M_maximal| <= |M_maximum| -
LQFLongest Queue First -
OCFOldest Cell First
-
- non uniform, unknown traffic
-
-
- Shared Memory Switch
FIFOFirst In First Out Queue- favor the most greedy flow
GPSGeneralized Processorr Sharing- Weighted Bit-by-Bit Fair Queueing
- per flow queueing with bitwise round robin
Packetized GPS- calculate a packets finishing round R using
GPS, serve packets in order of increased finishing time
- calculate a packets finishing round R using
WFQWeighted Fair QueueingPacketized GPSwith weighted flows- gives packets incentive to behave well, packets are lost if a source is sending to much
- drawback: complexity
O(log N)forNactive flows
DRRDeficit Round Robin- approximation of
WFQ - complexity
O(1)
- approximation of
- Hybrid Memory Architecture
MDQFMost Deficit Queue FirstECQFEarliest Critical Queue FirstMDQFLMaximum Deficit Queue First with Latency
-
Reasons for
- large buffers
- smooth variation in incomming traffic
- small buffers
TCPfixes the botleneck
- large buffers
-
M/M/1queue -
M/G/1queue -
TCPcongestion-avoidance algorithm-
ACKclockingACKpermits to inject the corresponding amount of data
-
AIMDAidditive Increase Multiplicative Decrease -
Loss is detected by tripple acknowledge
-
TCPTahoe -
TCPReno EVENT STATE ACTIONACK ss window *= 2 if window > threshold: STATE = ca ACK ca window += MSS LOSS - threshold = window / 2 window = threshold STATE = ca TIMEOUT - threshold = window / 2 window = MSS STATE = ss ss slow start ca congestion avoidance -
TCPCubic -
TCPSlow Start, Congestion Avoidance, Fast Retransmit -
Paced
TCP: no bursts, fixed rate atW/RTT -
Short flow: never leaves slow start
-
-
TCPflows will synchronize -
Rule of Thumb
- On synchronized flows, buffer size should be at least bandwidth-delay product. B >= 2 * Tp * C
- On asynchronous flows, buffer size should be only square root of number of flows of rule of thumb. B >= sqrt(N * 2 * Tp * C)
Cideal packet rateRTTRound Trip Time (Tp)- time between
SENDandACK
- time between
Wcongestion windowW*packets in flight when loss detected
ATMAsynchronous Transfer ModeVCVirtual CircuitVCIVirtual Circuit Identifier- unique per switch, switch swaps the
VCIusing translation table(InPort, InVCI) -> (OutPort, OutVCI)
- unique per switch, switch swaps the
- Fixed packet size: 48 bytes payload + 5 bytes header
- Statistical Multiplexing
- Integrated Services (voice, data, ...)
- evolved to
MPLS
MPLSMulti-Protocol Label Switching- Label instead of
VCI - support varying payload
- tunnel arbtrary network layer protocols
- shim header
Label, QoS, StackBit, TimeToLive LSRLabel Switched Router- replace label
- insert label
- remove label
- if last header is removed, pass packet to contained protocol
LERLabel Edge RouterFECForward Equivalent Class- set of packets to be treated similar, decided on arrival at
LER
- set of packets to be treated similar, decided on arrival at
LSPLabel Switched PathLERinsters shim header with the Label of theLSP
- Distributed
LERdecides on the path
- Centralized
-
routing decissions made at central instance and distributed to routers
-
PCEPath Computation Element-
entity that is able to compute a network path or route
-
PCCPath Computation Client (typicallyLER)- requests path to destination
- computes path and returns it
3.
PCCrequests path
-
-
makes more sense in a circuit switched environment than in packet switched
-
TEDTraffic Engineering Database -
TE LSPTraffic Engineering MPLS Label Switched Path -
Domaincollections of network elements with common management -
NMSNetwork Management SystemGMPLSGeneralizedMPLS
-
- Label instead of
- Optical networking
- Transmitters
- light emitting diodes
- simple laser
- tunable lasers
- Directional Coupler
- combines/splits signal from input to output
- Isolator
- only one-directionla
- Circulator
- combination of isolators to multiple inputs/outputs
- Multiplexer/Filter
- based on frequency
MZIMach-Zehnder InterferometerAWGArrayed Wavelength Grating- routes signals based on their wavelength
- Wavelength converter
WDMWavelenght Division MultiplexingOADMOptical Add/Drop MultiplexerOCXOptical Crossconnect- wavelength
- reuse
- conversion
LTDLight Path Topology DesignMILPproblem is NP-hard
RWARouting and Wavelength AssignmentMILPsolution is linear relaxation
WDMDimensioning- First-passage model
- light path requests overload network at time T, how to postpone T
- Blocking model
- incomming requests = outgoing request, server as many as possible
- First-passage model
- Photonic Package Switching
- how to buffer a photon
- Transmitters
-
Flow
- Microflow
- fine grain controll
- Aggregated
- large number of flows
- reactive
- first packet creates table entry
- proactive
- table is populated before packet arrival
- Microflow
-
FSLFlow Based Security Language- allow
- deny
- waypoint
-
OpenFlow
- Flow Table
RuleSwitch Port | MAC Src | MAC Dst | Eth Type | VLAN ID | IP Src | IP Dst | IP Prot | TCP Src Port | TCP Dst Port
- Packet
Action- Forward to port
- Encapsulate and forward to controller
- Drop
- Send to normal processing pipeline
Statistics- PAcket and byte counter to determine dead flows
- Limitations
- No per-packet routing
- use all tables on switch chips
- New forwarding primitives
- New packet format/field definitions
- Optical circuits
- Low-setup-timeindividual flows
- Flow Table
-
Scalability
- Controller scalability
- Link failure recovery
- Onyx
- A platform on top of which a network control plane can be implemented as a distributed system.
- global view of the network
- basic state distribution
- Network information bas
- Partitioning: partition state over multiple controllers
- Aggregation: group network elements
- Consistency
- Kandoo
- two layers of controllers
- bottom, local view
- no interconnection,
- no knowledge of the network state
- top, global view
- logically centralized controller
- bottom, local view
- Difference to Onyx: no consistency
- two layers of controllers
- DevoFlow
- Reduce global visibility in OpenFlow to reduce overhead.
- Only use controller for large flows (elephants)
- Rule cloning
- update counters on the clone
- Local actions
- switch between alternative ports
- Controller placement
- NP-hard
- Maximum cover: greedy has the best approximation
-
Programming
- Frenetic
- Procera
-
Requirements
- Uniform high capacity
- Performance isolation
- Ease of management: Plug-&-Play
- Scalable, easy manageble, fault tolerant
- VM migration without IP change
- No switch configuration before deployment
- Efficient communication between all end hosts
- No forwarding loops
- Rapid failure detection
-
Topologies
ToRconnects end host to one or moreEoRToRTop of Rack SwitchEoREnd of Row SwitchOSPFOpen Shortest Path First- A link-state routing protocol for IP networks
- Full Mesh Network
- Basic Tree Topology
- Fat Tree Topology
- Clos Networks
- n-Stage Clos
- Folded Clos
- Data Center Fabric
SPBShortest Path Bridge- Virtual Chassis
MLAGMulti-chassis Link AggregationTRILLTransparent Interconnection of Lots of Links
PMACPseudoMAC- encodes the location of the host
- Taxonomy
- Fixed Topology: electrical
- Flexible Topology: optical/hybrid
- Switch from electrical packet switched to optical flow switched on detection of large flows
-
LACPLink Aggregation Control Protocol -
Layer 3 (Network Layer)
IP
-
Layer 2 (Data link layer)
MAC
-
ECMPEqual-cost multi-path routing- packet forwarding to a single destination can occur over multiple best paths
-
Functions of the internet
- distribute
- interact
- notify
-
Most volume: static content
-
Internet architecture: host centric/id-centric communication style
- bad for content distribution
- disemination is inefficient
- security is host-centric
-
Benefits of content-centric networking
- reduce congestion
- improve delivery speed
- simplify configuration
- security at data level
-
packet-level cache present at each node
-
Naming objects
- hierarchical or flat namespace
-
NetInf -
Security
PKIPublic Key Infrastructur
-
CCNContent-centric networking -
ICNInformation-centric networking -
NDNNamed data networking