330 likes | 489 Views
Real-time End-to-end Network Monitoring in Large Distributed Systems. Han Hee Song University of Texas at Austin Joint work with Praveen Yalagandula Hewlett-Packard Labs. Outline. Introduction S3 – Scalable Sensing Service Concurrent n2 measurements Serialized measurements
E N D
Real-time End-to-end Network Monitoring in Large Distributed Systems Han Hee Song University of Texas at Austin Joint work with Praveen Yalagandula Hewlett-Packard Labs
Outline • Introduction • S3 – Scalable Sensing Service • Concurrent n2 measurements • Serialized measurements • Network inference • Proposed solution • Resource adaptive network monitoring • Evaluation • Path distribution • Inference accuracy • Adaptive path count management • Summary
S3– Scalable Sensing Service • Goal • Securely measure real-time e2e network properties • In a network with 10,000s of end hosts • Applications • Content distribution systems • Media streaming systems • Traffic engineering • Overlay routing
Network usage of different measurement tools CPU usage of PathChirp Memory usage of PathChirp Challenges of Concurrent measurements • Problems of concurrent n2 measurements • Resource constraints on CPU, memory, network BW
Challenges of Concurrent measurements • Problems of concurrent n2 measurements • Resource constraints on CPU, memory, network BW • Interference on node and network Response time of LossDelay msmt tool Latency error of LossDelay tool
Challenges - Serialized measurements • Problems of serialized measurements • Single cycle of measurement takes too long to be real-time CDF of times taken for a single cycle of measurements on a 500 node PlanetLab topology
b1 b2 x1 b3 x2 x4 Routing matrix A é ù 1 1 0 0 x3 ê ú b4 1 0 1 0 ê ú = ê ú 0 1 0 1 ê ú 0 1 1 0 ë û Rank(A)=4 b5 Network Inference • Monitor path performance of a subset of paths, and reconstruct the performance of all other paths. • Example • Measurement of additive metrics, e.g. delay, log(1 - loss rate) • Bandwidth measurement End hosts é ù é ù x b 1 1 ê ú ê ú x b ê ú ê ú 2 2 A = ú ê ú x ê b ú 3 3 ê ê ú ê ú x ë ë û û b 4 4
Network Inference • Network inference goal • Optimize the number of monitored paths, without considering available resources at the end hosts • Our goal • Builda system that leverages inference techniques that adapts to the resource constraints
Outline • Introduction • S3 – Scalable Sensing Service • Concurrent n2 measurements • Serialized measurements • Network inference • Proposed solution • Resource adaptive network monitoring • Evaluation • Path distribution • Inference accuracy • Adaptive path count management • Summary
Resource adaptive network monitoring • Background: NetQuest • Design of experiment • Using Bayesian experimental design, select a subset of paths to measure that maximize the expected amount of information gain. • Network inference • Using L1-norm minimization, reconstruct the performances of all other paths from the partial indirect observation. • We extend NetQuest by following ways • Characterize resource requirement • CPU usage of LossDelay measurement tool • Continuously monitor available resources • Monitor CPU usage of other on-going processes • Path selection • Modify the Design of experiment stage by select paths w.r.t. the available resources • Measurement • Measure selected e2e path properties using S3 system • Inference • Leverage NetQuest’s L1-norm minimization
Resource requirement characterization • Assume CPU usage grows linearly with the number of measurement tools • From each node, characterize the amount of CPU used by an instance of LossDelay measurement tool • Test run the tool several times • Obtain average CPU usage by UNIXtime command: (user+sys)/real time
Monitoring resources • On each node, continuously monitorfraction of CPU used by other processes • CoTop tool outputs CPU usage across all slices • Determine max number of LossDelay measurements w.r.t. remaining free CPU and CPU requirement of LossDelay
Path selection • Greedy search algorithm selectinga set of paths to measure 1. Start with an empty bag of paths 2. Among paths outside of the bag, choose and add a path p s.t. (1) Adding p does not violate constraint (2) Maximize the accuracy 3. Repeat step 2 until the
Measurement • Configure S3 system to perform measurements • To only selected destinations • Without incurring on-host interference and on-network interference.
Inference • Network inference using NetQuest • L1 norm minimization approximately reconstructs all path performance • Based on measured path data and topology information
Evaluation • Algorithms compared • Resource oblivious algorithm • Choose set of paths equal to the rank of the routing matrix. • Measurements that exceeds a node’s resource constraint are taken out later. • Resource aware algorithm • Schedule paths w.r.t. each node’s resource constraints • Note: the total number of paths measured differs between resource-oblivious and resource-aware algorithms
Evaluation • Evaluation setting • 100 end hosts • Measure loss rate and delay of paths using LossDelay tool • Constrain nodes to use 0.1%, 0.5%, 1%, or 2% of remaining CPU • Simulation & real PlanetLab deployment • Compare path distribution • Measure accuracy of inference • Measure CPU adaptability
Evaluation –Path distribution • Path distribution for resource constraint of 0.5% available CPU • Less number of paths scheduled on loaded nodes.
Evaluation –Inference accuracy comparison • Mean Absolute Error (MAE) of inferred path performances • Inference accuracy loss smaller even with stringent constraints
Evaluation –Adaptive path count management • Adaptive path count management graph • Adaptive management reacts to the changes in the CPU load
Summary • Conclusion • Real-time end-to-end monitoring system • Monitoring loss and delay metrics using small fraction of free resources • Future work • Decentralize path selection algorithm • Based on resource constraints • Inference algorithm • Decentralize inference load • Leverage other algorithms: GNP, NetVigator • Available Bandwidth measurement
Network Monitoring • Goal • To measure real-time e2e network properties • In a network with 10,000s of end hosts • Applications • Content distribution systems • Media streaming systems • Traffic engineering • Overlay routing
Challenges - Simultaneous measurements • Resource usage of simultaneous measurements • Loss delay sensor • CPU, memory, bandwidth usage plots • PathChirp • CPU, memory, bandwidth usage plots • Pathrate • CPU, memory, bandwidth usage plots
Challenges of Simultaneous measurements • Interferences of simultaneous measurements • Loss delay sensor • response time, latency error plots • PathChirp • Maximum response time, measurement failure frequency plots • Pathrate • Measurement error plot
Resource adaptive network monitoring • Network monitoring system that adapts the number of active measurements according to the machine and network load • Key tasks overview • Resource requirement characterization • CPU usage of LossDelay measurement tool • Monitoring resources • Monitor CPU usage of other on-going processes • Path selection • Select paths w.r.t. the load on the node and network • Measurement • Measure path properties of only selected e2e paths • Inference • Leverage NetQuest’s L1-norm minimization.
Inference Server End hosts measurements
Path selection algorithm contd. • Original NetQuest path selection algorithm
Path selection algorithm contd. • Path selection algorithm with constraints
Topology information gathering • Internet topology stable for at least a day* • Using S3 deployment on PlanetLab, perform round-robin Traceroute among all end nodes • Once topology built, detect changes by checking remaining TTL from ICMP response * Zhang, Paxson, Shenker. The stationarity of Internet path properties. ACIRI Technical Report, May, 2000