1 00:00:15,500 --> 00:00:16,640 I'll use the working keyboard. 2 00:00:19,520 --> 00:00:24,700 I have a hobbled laptop due to the internal keyboard sparing the inside parts from a glass 3 00:00:24,700 --> 00:00:25,980 of orange juice two days ago. 4 00:00:26,620 --> 00:00:31,020 And the talk had to be rewritten subsequently, so here we go. 5 00:00:31,600 --> 00:00:34,540 So the title obviously is Fashionably Late. 6 00:00:34,880 --> 00:00:40,280 I'll explain, actually you probably will figure out over time what I mean by fashionably late 7 00:00:40,280 --> 00:00:42,740 with regards to round trip times. 8 00:00:43,260 --> 00:00:49,780 But in any case, this is a discussion mostly of what's going on in the murky underwaters 9 00:00:49,780 --> 00:00:55,080 of networks that actually have real load on them and experience real problems. 10 00:00:55,080 --> 00:01:01,140 I found through a couple discussions with the folks at school that generally the research 11 00:01:01,140 --> 00:01:07,000 crowd in the world doesn't regard analyzing round trip times and anything more than doing 12 00:01:07,000 --> 00:01:11,380 fancy histograms, smoothing, that sort of thing, isn't a very interesting thing. 13 00:01:11,700 --> 00:01:14,460 I thought it was more interesting than a lot of folks did. 14 00:01:14,580 --> 00:01:19,360 So I decided to sit down, get some gear, and start pinging stuff really fast. 15 00:01:20,860 --> 00:01:23,560 So we're going to talk today about something. 16 00:01:23,620 --> 00:01:25,060 I would just colloquially refer to it as fashionably late. 17 00:01:25,080 --> 00:01:29,080 I would also colloquially refer to it as active probes, kind of an entire field, if you will, 18 00:01:29,180 --> 00:01:32,080 of ways to analyze what's going on on a network. 19 00:01:32,260 --> 00:01:36,580 That is, when you don't have something you can continuously observe, you need to go and 20 00:01:36,580 --> 00:01:39,280 get the measurements routinely over and over and over again. 21 00:01:40,060 --> 00:01:41,520 Hence the name active probe. 22 00:01:44,720 --> 00:01:48,880 Okay, so generally I think I kind of almost talked halfway through this. 23 00:01:49,560 --> 00:01:53,760 We're going to talk about, I'm just going to go quickly over the concepts behind active 24 00:01:53,760 --> 00:01:54,120 probing. 25 00:01:55,420 --> 00:01:59,580 What you can expect from it, things that you have to be aware of, things that you just 26 00:01:59,580 --> 00:02:04,720 can't do with it, basically known problems that are just understood but I want to communicate 27 00:02:04,720 --> 00:02:06,440 before I display any kind of real data. 28 00:02:07,240 --> 00:02:13,580 I also wanted to discuss the operational aspect and the practical aspect of doing this kind 29 00:02:13,580 --> 00:02:16,320 of analysis work and data gathering. 30 00:02:16,920 --> 00:02:22,460 We'll also talk about how to identify, looking at some graphs, from an enterprise network, 31 00:02:22,600 --> 00:02:23,340 basically my school. 32 00:02:23,500 --> 00:02:23,720 Okay. 33 00:02:25,080 --> 00:02:29,140 What features you want to look for in your own graphs if you do some sampling and what 34 00:02:29,140 --> 00:02:33,140 these things really mean to maybe network administrators or network engineers. 35 00:02:34,700 --> 00:02:39,960 We will also, I'll basically kind of broach the topic, but this entire talk kind of is 36 00:02:39,960 --> 00:02:48,660 a kind of a reason why we should look at something that we sample on a routine basis, like network 37 00:02:48,660 --> 00:02:49,600 delay, as a signal. 38 00:02:49,680 --> 00:02:51,340 It's not just a datum. 39 00:02:51,400 --> 00:02:53,520 It is a signal, so to speak. 40 00:02:53,520 --> 00:02:54,580 A data set. 41 00:02:55,040 --> 00:02:58,680 If we interpret it as such, we find that there's a lot more interesting things, or at least 42 00:02:58,680 --> 00:03:01,900 I find there's a lot more interesting things to be seen than any other way. 43 00:03:03,820 --> 00:03:08,840 We'll of course have the required conclusion slide, which is useless. 44 00:03:10,580 --> 00:03:12,560 So what are active probes really? 45 00:03:15,020 --> 00:03:19,020 Essentially we want, in this case, to determine the round trip delay between hosts. 46 00:03:19,720 --> 00:03:20,720 Why is that important? 47 00:03:20,960 --> 00:03:22,780 Why that's important is what we'll see later. 48 00:03:23,560 --> 00:03:28,700 Essentially we have to actively probe the network itself to determine the state over 49 00:03:28,700 --> 00:03:29,200 and over again. 50 00:03:29,360 --> 00:03:33,020 We could look at a couple things, like try to infer that. 51 00:03:33,300 --> 00:03:38,920 We could look at a web server chained through routers to a dozen or so client machines 52 00:03:39,420 --> 00:03:43,480 and ramp TCP between the server and the clients, like transferring FTP and that sort of thing, 53 00:03:43,600 --> 00:03:49,800 and maybe try to gauge between each packet the gap that exists, or the time it takes 54 00:03:49,800 --> 00:03:52,060 to see eight packets go out, one act back. 55 00:03:52,140 --> 00:03:53,500 If we know the congestion window, we're on the right track. 56 00:03:53,520 --> 00:03:53,800 We're operating. 57 00:03:53,960 --> 00:03:58,640 And basically using existing sessions, infer the delay between hosts. 58 00:03:58,960 --> 00:04:01,020 Those methods can certainly work. 59 00:04:01,180 --> 00:04:05,560 I don't think they can reveal the delay state 300 times a second. 60 00:04:05,760 --> 00:04:08,480 Maybe two times a second you could determine this by watching TCP. 61 00:04:09,300 --> 00:04:14,440 So I want to know more rapidly what the delay state, inclusive of all the hops between me 62 00:04:14,440 --> 00:04:15,500 and an end node, would be. 63 00:04:16,520 --> 00:04:22,440 So doing an inferential kind of flow-based, or looking at pairs of hosts communicating, 64 00:04:22,800 --> 00:04:23,500 I don't think that's going to work. 65 00:04:23,520 --> 00:04:24,520 I think it's a real appropriate way to go. 66 00:04:26,280 --> 00:04:30,860 Another problem is, in this condition, we want to look at specific characteristics between 67 00:04:30,860 --> 00:04:34,320 a source host and a destination, or a collection of destination nodes. 68 00:04:34,760 --> 00:04:38,720 And flows in the real world don't work the way we would necessarily want our experiment 69 00:04:38,720 --> 00:04:39,100 to go. 70 00:04:39,920 --> 00:04:45,320 We wouldn't necessarily know that a person's ever going to be downloading an ISO for the 71 00:04:45,320 --> 00:04:45,820 entire time. 72 00:04:46,120 --> 00:04:49,800 They may start it and the transfer may subsequently error out. 73 00:04:49,980 --> 00:04:51,260 They may time out. 74 00:04:51,360 --> 00:04:52,960 They may go away off the internet entirely. 75 00:04:53,160 --> 00:04:53,500 I don't know. 76 00:04:53,500 --> 00:04:58,360 We can't really base any kind of routine experiment or routine measurement on looking 77 00:04:58,360 --> 00:05:02,300 at those types of traffic flows for more than just maybe ancillary data gathering. 78 00:05:04,680 --> 00:05:08,200 We also want to know that we will have enough data to look at. 79 00:05:08,320 --> 00:05:14,060 You may see that on any average pipe from an ISP or a dial-up provider, the transfer 80 00:05:14,060 --> 00:05:20,940 time for any one person's TCP activity or maybe web surfing activity is 200 milliseconds, 81 00:05:21,260 --> 00:05:21,840 300 milliseconds. 82 00:05:22,140 --> 00:05:23,480 And it may involve a couple hundred packets. 83 00:05:23,480 --> 00:05:24,320 Or three or four. 84 00:05:24,860 --> 00:05:28,540 There's just really no way to know that we're going to have enough long-lived traffic to 85 00:05:28,540 --> 00:05:29,180 make any use of. 86 00:05:31,420 --> 00:05:38,020 As far as things I like about active probes is the sampling is very straightforward and 87 00:05:38,020 --> 00:05:38,500 very easy. 88 00:05:38,600 --> 00:05:43,920 You write a program or use existing ones that just spew packets out and you wait for the 89 00:05:43,920 --> 00:05:44,180 replies. 90 00:05:44,520 --> 00:05:45,440 At least in this case. 91 00:05:46,840 --> 00:05:51,800 Relatively low overhead, you're not hoping the TCP stack can do its segmentation, can 92 00:05:51,800 --> 00:05:52,580 do its... 93 00:05:53,480 --> 00:05:58,380 math to increment sequence numbers, and all sorts of algorithmic overhead that just sending 94 00:05:58,380 --> 00:06:00,820 an ICMP echo request doesn't have. 95 00:06:01,800 --> 00:06:04,640 You also can't control the probe characteristics necessarily. 96 00:06:05,540 --> 00:06:06,440 If you... 97 00:06:06,940 --> 00:06:07,560 I'm sorry. 98 00:06:07,640 --> 00:06:09,400 You can control them yourself. 99 00:06:09,600 --> 00:06:10,480 That's what I meant to say. 100 00:06:11,060 --> 00:06:16,060 You will be able to control the rate of sending, unless you make modifications to TCP, will 101 00:06:16,060 --> 00:06:20,820 attempt to ferry the data between its buffer and the far host's buffer as quickly as possible 102 00:06:21,320 --> 00:06:23,320 without, of course, incurring too much loss. 103 00:06:23,380 --> 00:06:23,460 Okay. 104 00:06:23,480 --> 00:06:24,300 We don't want that. 105 00:06:24,360 --> 00:06:27,600 We want a committed information rate, not a maximum information rate between hosts. 106 00:06:28,980 --> 00:06:31,940 Downsides, of course, would certainly... 107 00:06:33,500 --> 00:06:35,180 Excuse me, I can't even read my text. 108 00:06:35,300 --> 00:06:37,160 My laptop display does not work this way. 109 00:06:39,540 --> 00:06:43,720 So, if we were to probe quickly, we'd obviously see that there's an additional load on the 110 00:06:43,720 --> 00:06:43,880 link. 111 00:06:43,980 --> 00:06:48,200 We would have to basically make sure that we gauge our own probing in respects to how 112 00:06:48,200 --> 00:06:51,560 much bandwidth we know to be available between the hosts, or can at least reasonably guess 113 00:06:51,560 --> 00:06:53,400 is available between the two hosts we care about. 114 00:06:54,220 --> 00:06:58,760 We could very easily overrun a constrained link and get useless samples as a result, 115 00:06:58,860 --> 00:07:03,960 or cause undue amounts of errors in our results, unless we can carefully gauge this. 116 00:07:04,100 --> 00:07:08,740 I've found that in just generic testing, 100 packets to 200 packets per second is not all 117 00:07:08,740 --> 00:07:14,380 that damaging, especially if they're containing maybe 8-byte ICMP echo request payloads. 118 00:07:15,000 --> 00:07:19,100 So, we don't see more than 5 or 6k a second typically on a link when I do any kind of 119 00:07:19,100 --> 00:07:20,340 tests like these. 120 00:07:23,720 --> 00:07:32,000 One last issue is certainly when you want to send packets on a known interval, it's 121 00:07:32,000 --> 00:07:38,820 not necessarily true that your host's IP stack will honor those requests to send data. 122 00:07:39,120 --> 00:07:41,980 Generally, ICMP is the best out of TCP or UDP. 123 00:07:42,380 --> 00:07:46,460 There could be plenty of good things going on that buffer up enough data to send a much 124 00:07:46,460 --> 00:07:47,800 larger chunk to be more efficient. 125 00:07:48,320 --> 00:07:50,540 There could be much of algorithms in the way of you. 126 00:07:50,660 --> 00:07:53,460 At least with ICMP, you are at the resolution of... 127 00:07:53,460 --> 00:07:58,600 the userland process dumping some data somewhere, which on an unloaded machine with recent kernels, 128 00:07:58,660 --> 00:08:00,960 as I've noticed, really isn't too bad. 129 00:08:01,160 --> 00:08:06,540 So, we don't have to go to extremes and lengths of constructing real-time OSes or even configuring 130 00:08:06,540 --> 00:08:11,340 a real-time OS to run our sampling applications, although certainly those should provide even 131 00:08:11,340 --> 00:08:12,020 more accurate results. 132 00:08:14,960 --> 00:08:16,460 So, the talk... 133 00:08:16,460 --> 00:08:22,240 Also, I want to focus a little bit on something akin to what Ophir earlier was referring 134 00:08:22,240 --> 00:08:22,520 to. 135 00:08:23,460 --> 00:08:30,200 He's using ICMP details in the headers now to nail a host or fingerprint a host's characteristics, 136 00:08:30,240 --> 00:08:30,740 that is. 137 00:08:31,600 --> 00:08:39,320 In terms of the way a machine replies to these rapid-fire pings, so to speak, you can definitely 138 00:08:39,320 --> 00:08:44,940 find that in a lot of systems, replying to ICMP is not a big priority. 139 00:08:45,540 --> 00:08:51,460 That's actually a very good trait, but that is the very trait that is worth looking for. 140 00:08:51,460 --> 00:08:57,820 So, if you had five router vendors, different engineers in each camp, certainly they're 141 00:08:57,820 --> 00:09:04,160 not going to decide how to reply to ICMP differently, lower prioritized the same way five times. 142 00:09:04,500 --> 00:09:08,480 You may see some runners use a scheduler on a specific interval to always reply to 143 00:09:08,480 --> 00:09:13,620 management traffic, which may include pinging ICMP, or basically ICMP messages to be sent 144 00:09:13,620 --> 00:09:16,000 at that time, routing messages, that sort of thing. 145 00:09:16,360 --> 00:09:20,420 The main focus, obviously, on a router is to pass user data or things that make the 146 00:09:20,420 --> 00:09:20,940 ISP money. 147 00:09:21,200 --> 00:09:24,240 Pinging a router doesn't make an ISP money, transiting customer data does. 148 00:09:24,680 --> 00:09:28,640 So, between Cisco and Foundry and Juniper, there's certainly going to be differences 149 00:09:28,640 --> 00:09:30,560 in how they handle management traffic. 150 00:09:31,080 --> 00:09:36,680 And while some may say that's the very reason we don't want to look at this data, I think 151 00:09:36,680 --> 00:09:37,140 the opposite. 152 00:09:37,300 --> 00:09:41,380 I think it should be very unique to each router vendor, and possibly within a classification 153 00:09:41,380 --> 00:09:42,840 or category of router as well. 154 00:09:47,300 --> 00:09:49,740 Okay, so when you look at network delay. 155 00:09:49,740 --> 00:09:57,360 What you'll see is upon sampling a path between, say, yourself and yahoo.com, you'll find 156 00:09:57,360 --> 00:10:03,060 most of the values come back on some sort of low, random noise, like a background noise 157 00:10:03,060 --> 00:10:03,460 of sorts. 158 00:10:03,740 --> 00:10:08,340 And you'll see these, for example, larger items that are spikes in delay. 159 00:10:08,660 --> 00:10:14,600 I would generally categorically split these kinds of measurements, or at least these 160 00:10:14,600 --> 00:10:16,880 measurements you observe, into two groups. 161 00:10:17,060 --> 00:10:19,720 One that involves small scale events that contribute to the data. 162 00:10:19,740 --> 00:10:22,320 To the average delay you see, the background noise. 163 00:10:22,620 --> 00:10:25,920 And then large scale events that contribute to the actual peak delay you may observe, 164 00:10:26,140 --> 00:10:29,520 the spikes you see throughout your sample set. 165 00:10:29,820 --> 00:10:34,540 And those are two elements that are present in the same sample data, but come from distinct 166 00:10:34,540 --> 00:10:35,420 sources. 167 00:10:36,280 --> 00:10:39,100 So I always would separate those two, certainly. 168 00:10:41,400 --> 00:10:47,080 I think I discussed a little bit how we're doing this, but here's just some example commands 169 00:10:47,080 --> 00:10:49,520 that I've found work reliably well. 170 00:10:50,960 --> 00:10:51,480 Time. 171 00:10:51,920 --> 00:10:56,660 Time is a great command to see how long some subsequent arguments take to execute. 172 00:10:57,040 --> 00:11:02,900 And generally on anything a gigahertz or faster, you can find that waiting eight milliseconds 173 00:11:03,580 --> 00:11:07,020 really means about ten milliseconds reliably between ping reps. 174 00:11:07,420 --> 00:11:09,440 Now, this takes some guesswork to nail. 175 00:11:09,580 --> 00:11:15,940 You just need to basically ping a set known packet payload count, say a thousand or two 176 00:11:15,940 --> 00:11:18,980 thousand packets, and time how long it takes. 177 00:11:18,980 --> 00:11:25,460 The rate at which each packet is sent, I've found, has noise below ten or twelve microseconds. 178 00:11:26,060 --> 00:11:31,680 And those measurements, that noise of the self-scheduling on the system is very, very, 179 00:11:31,700 --> 00:11:36,000 very far below the actual noise you'll see from a router with less CPU than you, or a 180 00:11:36,000 --> 00:11:36,580 link that's busy. 181 00:11:36,840 --> 00:11:41,960 So I can, I would say to anyone wondering about whether or not your own local machine's 182 00:11:41,960 --> 00:11:46,400 impact is going to be present in the data, that it probably is a very small portion of 183 00:11:46,400 --> 00:11:46,560 anything. 184 00:11:48,040 --> 00:11:53,660 Once you, once you then know what kind of interval will get you the samples, intervals 185 00:11:53,660 --> 00:11:57,900 you want, how many packets per second you want for a sampling rate, you can just take 186 00:11:57,900 --> 00:12:00,820 and drop the data to a text file, and then parse out the stuff you don't want. 187 00:12:01,020 --> 00:12:06,720 I just run it through awk, say, give me the value times one hundred so I have microseconds 188 00:12:06,720 --> 00:12:07,280 instead of milliseconds. 189 00:12:07,920 --> 00:12:08,600 Pretty simple. 190 00:12:08,720 --> 00:12:09,300 Or was it a thousand? 191 00:12:09,760 --> 00:12:10,380 Yeah, a thousand. 192 00:12:10,580 --> 00:12:10,880 Thanks. 193 00:12:13,780 --> 00:12:16,540 So then once we have data, you know, it makes some use. 194 00:12:16,560 --> 00:12:16,920 It makes some use of it. 195 00:12:17,140 --> 00:12:22,500 So we immediately jump into kind of an operational setting here. 196 00:12:23,420 --> 00:12:28,380 We will look specifically in whatever graphing application we have to look at a time series. 197 00:12:28,620 --> 00:12:36,900 That is just a time and amplitude graph to pick apart the high, the large scale events 198 00:12:36,900 --> 00:12:37,800 from the small scale events. 199 00:12:38,020 --> 00:12:44,520 And we'll also spend time then looking for other events that we can basically find similar 200 00:12:44,520 --> 00:12:45,800 across all of our samples. 201 00:12:45,800 --> 00:12:50,280 So if you're trying to determine, say, a path impairment somewhere between yourself 202 00:12:50,280 --> 00:12:55,000 and some other customer that you don't manage the routers in between, you may find that 203 00:12:55,000 --> 00:12:59,860 you can go to each router's IP stack, ping it rapidly, and spot the consistencies between 204 00:12:59,860 --> 00:13:03,100 the routers if they're all the same vendor, for example, and then find any differences 205 00:13:03,100 --> 00:13:03,760 quite obviously. 206 00:13:05,160 --> 00:13:09,780 Some things you'll find in typical data that are of great importance and great telling 207 00:13:09,780 --> 00:13:15,740 are shark fins, or something that a researcher at University of Wisconsin-Madison called 208 00:13:15,800 --> 00:13:16,500 shark fins. 209 00:13:17,300 --> 00:13:20,840 He did a lot of, this person I'm referring to, his name is Jim Gast. 210 00:13:21,060 --> 00:13:23,740 He hasn't published his thesis yet, so I couldn't reference anything. 211 00:13:25,460 --> 00:13:32,480 But he basically piled through something called the Surveyor Data Set, which was a project 212 00:13:32,480 --> 00:13:38,260 that lasted from, I believe, 1998 to late 2001, 2002, which involved 60 machines on 213 00:13:38,260 --> 00:13:41,420 the public internet, pinging each other two times a second and trace routing every five 214 00:13:41,420 --> 00:13:41,780 minutes. 215 00:13:42,380 --> 00:13:43,620 And it was a full mesh. 216 00:13:43,760 --> 00:13:45,780 So each of the 60 nodes would ping every other network. 217 00:13:45,780 --> 00:13:50,680 And with all this cross-sectional data through the network, the public internet at large, 218 00:13:51,160 --> 00:13:55,960 you could find similar events that kind of gave you the impression that at some point 219 00:13:55,960 --> 00:13:59,780 in the network, some interface or some link got seriously overloaded. 220 00:13:59,900 --> 00:14:02,680 And you saw the ripple effect, so to speak. 221 00:14:02,720 --> 00:14:06,240 You saw congestion in that link, and you saw other links that reacted to it. 222 00:14:06,280 --> 00:14:08,840 They became congestion, and so on and so forth. 223 00:14:09,040 --> 00:14:13,920 The effect was kind of like dropping a pebble on a water surface and watching the waves 224 00:14:13,920 --> 00:14:14,300 propagate. 225 00:14:14,300 --> 00:14:21,000 So the characteristic that Jim named these events, where the drillae would rise significantly 226 00:14:21,000 --> 00:14:23,820 quickly and then trail off quickly, were shark fins. 227 00:14:24,000 --> 00:14:24,820 That's what they looked like. 228 00:14:26,020 --> 00:14:30,200 The second characteristic you'll find is when you're looking at a frequency decomposed version 229 00:14:30,200 --> 00:14:36,400 of the time series data, is you'll see specific rings, ringing tones, so to speak, in the 230 00:14:36,400 --> 00:14:38,260 way the delay varies over time. 231 00:14:39,740 --> 00:14:44,280 And to visualize these things, the two packages that I commonly use are BaudLine and Surveyor 232 00:14:44,300 --> 00:14:44,500 and SigView. 233 00:14:45,100 --> 00:14:50,180 BaudLine's a much better Unix package, works on anything I've tried for FreeBSD and Linux 234 00:14:50,180 --> 00:14:56,020 kernels, runs in X beautifully well, has 24-bit visual output so that FFT results look 235 00:14:56,020 --> 00:14:58,020 pretty decent, aren't very aliased. 236 00:14:59,520 --> 00:15:05,000 SigView for Windows is a little bit less useful, but is also free, for a limited time at least, 237 00:15:05,180 --> 00:15:09,820 and can essentially do the same things that BaudLine does in terms of viewing just time 238 00:15:09,820 --> 00:15:11,080 data or frequency data. 239 00:15:14,300 --> 00:15:15,840 Okay, so, long awaited. 240 00:15:16,000 --> 00:15:21,000 Here is the effects, actually, of pinging a Foundry BigIron. 241 00:15:21,860 --> 00:15:26,380 This is 100 packets a second, and the time scales you see in the bottom is pretty condensed. 242 00:15:26,500 --> 00:15:31,520 We're running through about 10 seconds, 12 seconds worth of time. 243 00:15:32,300 --> 00:15:35,800 And the staircase patterns, as you can see, I wish I had a laser pointer to point these 244 00:15:35,800 --> 00:15:40,480 features out, but you'll see the staircase pattern is heavy towards the left side, becomes 245 00:15:40,840 --> 00:15:44,240 lighter and lighter and lighter as we go through time, and tends to shift downwards. 246 00:15:44,240 --> 00:15:47,220 And then we'll go downward again in terms of the random values that we tend to have 247 00:15:47,220 --> 00:15:48,980 delay focus on as we sample. 248 00:15:49,980 --> 00:15:54,760 That edge is where the decision point, presumably in the router, is whether or not to reply 249 00:15:54,760 --> 00:15:56,840 during this interval or the next interval. 250 00:15:57,300 --> 00:16:02,520 Again, as I was alluding to before, it seems as though this router vendor has a specific 251 00:16:02,520 --> 00:16:04,740 interval at which they will reply to management traffic. 252 00:16:04,960 --> 00:16:06,280 And so this reveals it. 253 00:16:08,920 --> 00:16:10,080 Now, this is zoomed in. 254 00:16:11,140 --> 00:16:13,900 The rate of delay that we see... 255 00:16:14,240 --> 00:16:18,680 It's pretty consistent, minus the random noise and whatnot, but the previous feature... 256 00:16:19,040 --> 00:16:22,480 If you see the very center, there's an upward-going peak and a downward-going peak. 257 00:16:23,060 --> 00:16:31,840 You can spot that exact same feature in almost the left third of the graph at that point 258 00:16:31,840 --> 00:16:32,220 as well. 259 00:16:35,420 --> 00:16:40,160 So another router that I had a chance to test was a Cisco 7513. 260 00:16:40,380 --> 00:16:44,220 This one is basically handling three or four hundred digits. 261 00:16:44,240 --> 00:16:48,300 There's segments of lane that come in over multiple OC3s from all over the campus. 262 00:16:51,480 --> 00:16:57,200 And recently, a feature was enabled to export all the S flow data, or net flow data, rather. 263 00:16:57,480 --> 00:17:04,700 And the spikes you see on a second interval presumably are for that activity on the router's CPU. 264 00:17:04,940 --> 00:17:07,700 Some sort of scheduled event every second of free memory. 265 00:17:08,340 --> 00:17:13,400 Push things across the management interfaces out to a sample receiving machine. 266 00:17:14,240 --> 00:17:14,600 And so forth. 267 00:17:15,180 --> 00:17:19,020 But if you were just to look at this data set without examining any other finer details, 268 00:17:19,340 --> 00:17:23,540 you may think that that staircase pattern or any kind of real interesting content isn't there. 269 00:17:23,940 --> 00:17:27,540 Because of the large deviation in delay, that's hidden. 270 00:17:27,780 --> 00:17:33,680 But if you were to magnify the graph, you'd see that the Cisco has a similar staircase pattern to the foundries. 271 00:17:35,920 --> 00:17:44,000 So, again, there's a notion of a scheduler here in the router that would give us the impression, at least to my eye, 272 00:17:44,060 --> 00:17:44,220 So, again, there's a notion of a scheduler here in the router that would give us the impression, at least to my eye, 273 00:17:44,240 --> 00:17:50,680 that there's an interval at which you can emit a packet, but you will always get a response either that sample or the next one through time. 274 00:17:50,940 --> 00:17:52,160 Or the next interval in time. 275 00:17:52,580 --> 00:18:01,820 And as my sending clock slowly drifts or changes through time, or doesn't quite harmonize with the receiving clock and the reply clock in the router, 276 00:18:01,960 --> 00:18:10,200 I will see a strange, maybe a variation of where I'm hitting it on the money, and then, so to speak, a few degrees later, off the money. 277 00:18:10,220 --> 00:18:12,140 And I wait exactly one more interval for reply. 278 00:18:12,600 --> 00:18:14,220 So as I harmonize with the router, I can see the difference in the response. 279 00:18:14,240 --> 00:18:18,980 So as I harmonize with the router, I can see that the staircase pattern grows and then almost immediately decays into this noise. 280 00:18:19,340 --> 00:18:22,380 And that could be very well the noise of my own sending clock. 281 00:18:23,640 --> 00:18:24,660 Going back a slide. 282 00:18:26,340 --> 00:18:30,740 Ideally, I wouldn't have that grass, so to speak, up above and below the trend line. 283 00:18:31,560 --> 00:18:36,260 But that could be caused easily enough by a random delay in the link, a forward cue somewhere else. 284 00:18:36,920 --> 00:18:41,880 Or my own sending clock, the sending interval in my system, being a little bit ahead or a little bit behind, 285 00:18:41,880 --> 00:18:45,220 and missing that interval just enough to see a deviation above or below. 286 00:18:48,220 --> 00:18:51,880 And here is another example, a T1 connected router. 287 00:18:52,080 --> 00:18:58,340 I was curious, in general, whether or not these harmonics I was observing were only something that somebody sitting on top of a large pipe, 288 00:18:58,420 --> 00:19:02,840 like a gigi to a university core switch, could see. 289 00:19:02,940 --> 00:19:11,080 I was curious whether or not low-speed, lower-speed links, that is, would still have enough, what's the word, temporal openness or temporal resolution, 290 00:19:11,880 --> 00:19:13,420 to convey these fine detail changes. 291 00:19:13,940 --> 00:19:19,540 And certainly enough, another friend of mine who is a SAVIS customer, bless his heart, 292 00:19:20,940 --> 00:19:28,560 or maybe outpouring of sympathy, has a 2624 on a T1 from them. 293 00:19:28,680 --> 00:19:36,140 And the same kind of harmonization with, presumably, that router's timer to reply to management traffic also exists. 294 00:19:36,540 --> 00:19:39,600 So it seems that this method, even though it's noisy, 295 00:19:39,840 --> 00:19:41,860 or that this sample is very noisy, 296 00:19:41,880 --> 00:19:48,300 because of the T1 possibly having more traffic on it than a large, fast E-pipe at school, 297 00:19:49,420 --> 00:19:52,220 you may find that the trend lines still exist. 298 00:19:54,920 --> 00:19:59,080 Okay, well, so that was the first interesting observation I made while doing these kinds of samples. 299 00:19:59,600 --> 00:20:03,380 The second ones, after a hint from another researcher, Jim Gast, 300 00:20:03,580 --> 00:20:06,940 was that, well, if I'm sampling quickly, 301 00:20:07,260 --> 00:20:09,980 I mean, the tests that he, the data that he was looking at for these, 302 00:20:10,120 --> 00:20:11,860 or found that these other anomalies occurred, 303 00:20:11,880 --> 00:20:14,200 and were at much lower rate, two samples a second. 304 00:20:14,580 --> 00:20:16,540 I'm sampling at 100 or 200 a second, 305 00:20:16,660 --> 00:20:19,540 so I figured that maybe I should be looking for something else in the data. 306 00:20:19,980 --> 00:20:26,460 And sure enough, the same kinds of spikes in delay would occur at these high rate samples. 307 00:20:27,020 --> 00:20:32,720 As you can see in this graph, we have two of these elements kind of zoomed in on, 308 00:20:32,900 --> 00:20:37,920 and the leading one contains a little bit of noise and then a significant rise in delay, 309 00:20:38,100 --> 00:20:41,480 and then fall off, and then some additional noise, 310 00:20:41,480 --> 00:20:43,700 and then another event similar to the first. 311 00:20:45,480 --> 00:20:51,300 And looking in closer, we can see a very interesting feature of these graphs. 312 00:20:51,780 --> 00:20:56,020 Now, I didn't really explain what was going on in why the delay spikes like this, 313 00:20:56,120 --> 00:21:04,320 but my best theory on this occurrence is that in the typical communication of a bunch of hosts 314 00:21:04,320 --> 00:21:07,400 accessing some resources through a constrained pipe, 315 00:21:07,600 --> 00:21:10,980 you have the effect of TCP multiplexing happening on a narrower bandwidth. 316 00:21:10,980 --> 00:21:15,800 That is, the amount of transit you could see from all the nodes in your local network 317 00:21:15,800 --> 00:21:19,140 probably vastly exceeds the connectivity you have to your ISP. 318 00:21:19,260 --> 00:21:21,080 Like, say, fast Ethernet over T1. 319 00:21:21,560 --> 00:21:24,720 So TCP, if it's active on, say, 10, 20, 30 hosts, 320 00:21:24,940 --> 00:21:26,820 or maybe even a couple hundred from a larger campus, 321 00:21:27,260 --> 00:21:33,420 you may find that the rates each person would see from their machine to a far host is dynamic. 322 00:21:33,720 --> 00:21:37,180 TCP is always going to try to ramp up and get more bandwidth until it sees losses, 323 00:21:37,300 --> 00:21:38,580 and then fall off quickly. 324 00:21:38,840 --> 00:21:40,580 That's the goal of the congestion map. 325 00:21:40,980 --> 00:21:45,200 The goal of the congestion window in TCP is not to denial of service yourself, 326 00:21:45,480 --> 00:21:48,000 but to get as much as you can up to the ceiling, 327 00:21:48,160 --> 00:21:49,580 or as near as the ceiling as you can approach. 328 00:21:50,800 --> 00:21:53,180 The interesting dynamics, though, in TCP, 329 00:21:53,360 --> 00:21:57,400 if you observe the delay through the same links that TCP is communicating over, 330 00:21:57,580 --> 00:22:00,620 is that right on the onset of that queue filling, 331 00:22:00,820 --> 00:22:02,460 certain special things happen in a router. 332 00:22:03,780 --> 00:22:06,480 Queuing in routers is an interesting discipline 333 00:22:06,480 --> 00:22:08,880 that I haven't spent more than a few months researching, 334 00:22:09,060 --> 00:22:09,900 but from what I understand, 335 00:22:10,980 --> 00:22:13,120 people these days implement something called random early detection, 336 00:22:13,420 --> 00:22:18,740 which is a method or a discipline to say on a router's output interface 337 00:22:19,280 --> 00:22:22,000 that if more data than I can stuff on my link bandwidth 338 00:22:22,000 --> 00:22:24,160 or my link rate comes in in a certain interval, 339 00:22:24,400 --> 00:22:27,320 we should sense that threshold before the queue fills 340 00:22:27,860 --> 00:22:31,040 and then drop data from the queue in a certain percentage. 341 00:22:31,320 --> 00:22:35,120 So if you had, say, a 16-kilobyte queue onto a fast Ethernet pipe, 342 00:22:35,780 --> 00:22:37,120 you might want, not you might want, 343 00:22:37,200 --> 00:22:40,220 but if your router were to sense that a delta came through, 344 00:22:40,220 --> 00:22:43,000 some sort of additional data came through in a large burst 345 00:22:43,000 --> 00:22:44,520 that put the queue over the edge, 346 00:22:44,660 --> 00:22:48,320 it may try to drop packets randomly within that 16 kilobytes 347 00:22:48,320 --> 00:22:51,420 to introduce uniform loss to all the speakers, 348 00:22:51,700 --> 00:22:55,340 the goal of which is to make the TCP people quiet down a little bit 349 00:22:55,340 --> 00:22:59,540 and not fill the queue up and not experience huge jitter or huge delay. 350 00:22:59,980 --> 00:23:01,860 Well, the problem is that that works, 351 00:23:01,940 --> 00:23:05,120 but it takes at least a round-trip time and then some 352 00:23:05,120 --> 00:23:07,400 for the senders to back off. 353 00:23:07,400 --> 00:23:11,760 So while that queue doesn't fill tremendously, 354 00:23:12,340 --> 00:23:13,340 doesn't fill greatly, 355 00:23:13,460 --> 00:23:15,400 it still fills a little bit more than it usually is. 356 00:23:15,680 --> 00:23:17,080 And we observe that here. 357 00:23:17,300 --> 00:23:19,800 If I'm pinging an end host 100 times a second, 358 00:23:20,040 --> 00:23:21,620 that's a packet every 10 milliseconds 359 00:23:21,620 --> 00:23:23,900 that I'm going to send out and hopefully receive. 360 00:23:24,300 --> 00:23:26,440 So every 10 milliseconds, I'm getting an idea 361 00:23:26,440 --> 00:23:29,380 of the state of some collection of buffers in this network. 362 00:23:29,720 --> 00:23:33,860 And the interesting result of that 363 00:23:33,860 --> 00:23:36,300 is when that queue becomes nearly full, 364 00:23:36,300 --> 00:23:39,100 I miss samples for a brief window of time, 365 00:23:39,180 --> 00:23:43,000 say 100 some milliseconds or whatever round-trip time 366 00:23:43,000 --> 00:23:44,700 those senders have between themselves. 367 00:23:45,160 --> 00:23:47,500 And then I get my reply back at a very, very high delay. 368 00:23:47,640 --> 00:23:50,380 In this case, it's 1.4 times 10 to the fifth. 369 00:23:50,980 --> 00:23:53,660 That's a pretty high delay for that one sample. 370 00:23:55,580 --> 00:23:59,940 And so as the queue gradually becomes less full, 371 00:24:00,200 --> 00:24:02,660 as the TCP senders get it that they should back off, 372 00:24:02,680 --> 00:24:03,480 they saw some loss, 373 00:24:03,740 --> 00:24:06,200 then the delay apparently drops again. 374 00:24:06,300 --> 00:24:08,740 So by looking for these shark fins, 375 00:24:08,980 --> 00:24:11,340 one could probably assume that, indeed, 376 00:24:11,400 --> 00:24:12,400 you saw a congestion event. 377 00:24:12,560 --> 00:24:15,760 You can maybe characterize what kind of event it was, 378 00:24:15,800 --> 00:24:17,780 whether it was on a drop-tail queue 379 00:24:17,780 --> 00:24:19,340 or a randomly detection queue, 380 00:24:19,480 --> 00:24:21,580 which are just two different heads of the same coin. 381 00:24:23,060 --> 00:24:25,640 That is a way to make TCP senders back off. 382 00:24:25,820 --> 00:24:27,740 Or you might be able to say something about 383 00:24:27,740 --> 00:24:30,300 how aggressively the queuing disciplines have been tuned. 384 00:24:33,460 --> 00:24:35,620 The artifact that this graph shows 385 00:24:36,460 --> 00:24:41,340 interestingly enough is on the leading edge of the shark fin. 386 00:24:42,300 --> 00:24:47,460 That has been also affectionately called by Jim stutter up. 387 00:24:47,660 --> 00:24:51,320 And that is where a few of the senders get it initially 388 00:24:51,320 --> 00:24:53,360 because they may have lower round-trip time. 389 00:24:53,500 --> 00:24:55,100 You may have a mix of traffic that involves 390 00:24:55,860 --> 00:24:58,860 10 or 20 or 30 customers on cable or DSL 391 00:24:58,860 --> 00:25:00,620 who are 10 or 15 milliseconds away. 392 00:25:01,100 --> 00:25:04,300 And they may realize loss or notice it quicker. 393 00:25:04,300 --> 00:25:09,180 The rest of your users may be much further away, 394 00:25:09,300 --> 00:25:11,320 300 milliseconds or 400 milliseconds away. 395 00:25:11,580 --> 00:25:13,180 And they don't get it just yet. 396 00:25:13,480 --> 00:25:15,060 So what you might see is, 397 00:25:15,120 --> 00:25:17,260 in the presence of that kind of mix of traffic, 398 00:25:17,420 --> 00:25:20,020 that the delay temporarily goes back down 399 00:25:20,020 --> 00:25:22,780 for a sample or two after the initial rising edge. 400 00:25:23,500 --> 00:25:25,780 But the other senders haven't backed off yet, 401 00:25:25,900 --> 00:25:28,000 and the queue then fills over the brim once more, 402 00:25:28,100 --> 00:25:29,400 and we have to induce more loss. 403 00:25:29,600 --> 00:25:32,080 And then we see again another significant rise, 404 00:25:32,560 --> 00:25:34,280 in this case from about 45% 405 00:25:34,300 --> 00:25:34,760 to about 4 milliseconds, 406 00:25:35,100 --> 00:25:37,180 all the way up to our peak value. 407 00:25:37,520 --> 00:25:40,360 And then, of course, as the queue finally becomes 408 00:25:40,360 --> 00:25:42,660 less abused by the senders backing off, 409 00:25:42,800 --> 00:25:43,660 they got the message this time, 410 00:25:43,760 --> 00:25:45,040 the delay goes back down. 411 00:25:46,460 --> 00:25:50,140 That stutter up can indeed reveal 412 00:25:50,140 --> 00:25:53,040 a very interesting dynamic mix of hosts 413 00:25:53,040 --> 00:25:55,920 at whatever buffer had the overrun. 414 00:25:57,620 --> 00:25:59,660 Some other stutter examples. 415 00:26:00,740 --> 00:26:02,700 You can see that the top left graph 416 00:26:02,700 --> 00:26:04,380 has a stutter down. 417 00:26:04,920 --> 00:26:06,760 And this could be again another condition 418 00:26:06,760 --> 00:26:08,980 where you may have aggressively tuned red 419 00:26:08,980 --> 00:26:11,200 that induced loss non-uniformly, 420 00:26:11,220 --> 00:26:14,520 and most of the communications level out quickly, 421 00:26:14,720 --> 00:26:16,400 but a few didn't get any loss, 422 00:26:16,600 --> 00:26:18,220 but still were able to ramp up enough 423 00:26:18,220 --> 00:26:21,040 to cause an additional small rampant delay. 424 00:26:21,820 --> 00:26:24,720 The other graphs show other variations in the theme. 425 00:26:25,040 --> 00:26:27,400 The bottom right shows what I would call 426 00:26:27,400 --> 00:26:29,880 queue resonance, where several, 427 00:26:30,100 --> 00:26:32,320 maybe 100 or 1,000 hosts were active 428 00:26:32,320 --> 00:26:34,160 over that same pipe, 429 00:26:34,780 --> 00:26:37,760 and were to all ramp up uniformly 430 00:26:38,280 --> 00:26:39,920 after the queue event occurred, 431 00:26:40,140 --> 00:26:42,020 but then hit the ceiling one more time, 432 00:26:42,160 --> 00:26:43,380 but to a lesser degree, 433 00:26:43,620 --> 00:26:47,040 and eventually settled back out over a few seconds. 434 00:26:50,740 --> 00:26:54,720 Okay, so, looking at the time series data, 435 00:26:54,800 --> 00:26:56,500 just sampling delay and graphing it, 436 00:26:56,540 --> 00:26:57,300 sample over time, 437 00:26:57,780 --> 00:26:59,880 is a pretty straightforward way to kind of pick out 438 00:26:59,880 --> 00:27:01,160 some elements of what's going on. 439 00:27:02,320 --> 00:27:04,780 And a bit more interesting angle on that analysis 440 00:27:05,320 --> 00:27:08,300 is the motivation to try to find a better way 441 00:27:08,300 --> 00:27:09,960 to visualize what's going on 442 00:27:09,960 --> 00:27:12,260 in that small-scale event category. 443 00:27:12,780 --> 00:27:14,360 The large-scale events are pretty obvious 444 00:27:14,360 --> 00:27:17,320 and pretty visually self-described, 445 00:27:18,300 --> 00:27:21,440 but the random changes in delay that are always there 446 00:27:21,440 --> 00:27:23,800 are maybe full of a few more interesting characteristics 447 00:27:24,320 --> 00:27:26,200 that maybe can be tied to the host IP stack 448 00:27:26,200 --> 00:27:27,200 a bit more closely. 449 00:27:28,600 --> 00:27:31,460 So it's basically, it's worth the effort, 450 00:27:31,460 --> 00:27:32,780 worth the time to look at the data 451 00:27:32,780 --> 00:27:34,880 through the eyes of maybe Fourier transforms. 452 00:27:37,680 --> 00:27:42,360 And inside of trying to analyze this delay 453 00:27:42,360 --> 00:27:44,640 in terms of a spectral breakdown, 454 00:27:45,000 --> 00:27:46,680 we also want to make sure that 455 00:27:48,600 --> 00:27:50,960 we're not doing a couple bad things. 456 00:27:51,060 --> 00:27:53,640 We're not sampling too slowly to catch important events. 457 00:27:54,040 --> 00:27:55,660 And if we are sampling too slowly, 458 00:27:55,780 --> 00:27:58,440 is the rapidly changing event being missed by our sampling 459 00:27:58,440 --> 00:28:01,180 giving us the false impression that the event happens 460 00:28:01,460 --> 00:28:02,320 at an even lower frequency? 461 00:28:03,200 --> 00:28:06,120 Much like sampling a signal too slowly, 462 00:28:06,200 --> 00:28:09,440 you hear some weird machine robot-like tones, 463 00:28:09,580 --> 00:28:11,200 maybe on AM radio you've heard this before, 464 00:28:11,420 --> 00:28:13,360 where you don't quite match the carrier's beat. 465 00:28:14,280 --> 00:28:15,900 The same kind of thing can happen 466 00:28:15,900 --> 00:28:18,200 in sampling network events, presumably. 467 00:28:18,720 --> 00:28:20,020 But we'll see that it's not, 468 00:28:20,140 --> 00:28:23,440 and I can show a couple graphs that kind of support 469 00:28:23,440 --> 00:28:25,960 the notion that we indeed aren't really aliasing ourselves 470 00:28:25,960 --> 00:28:27,180 by sampling slowly. 471 00:28:29,660 --> 00:28:31,680 So the first graph we see here 472 00:28:31,680 --> 00:28:36,020 is basically a run of 900 seconds 473 00:28:36,020 --> 00:28:37,460 going from left to right. 474 00:28:37,600 --> 00:28:40,120 The reason these aren't scaled is related to SigView. 475 00:28:40,300 --> 00:28:42,080 It's for Windows, and apparently you don't want 476 00:28:42,080 --> 00:28:43,400 actual information in your graphs, 477 00:28:43,520 --> 00:28:44,720 so you can't turn on labels. 478 00:28:46,980 --> 00:28:50,820 And so left to right is about 900 seconds. 479 00:28:50,900 --> 00:28:54,940 It comes down to about 250 samples of delay 480 00:28:54,940 --> 00:28:56,240 per pixel on the screen. 481 00:28:57,180 --> 00:28:59,520 It's about 1024 wide, so you can get an idea of it. 482 00:29:00,000 --> 00:29:02,860 Vertically, the top line, the purple line, 483 00:29:03,040 --> 00:29:06,100 is near zero hertz, or near no frequency change. 484 00:29:06,360 --> 00:29:08,540 And the bottom of the graph is near 50 hertz. 485 00:29:09,440 --> 00:29:11,280 And looking through time left to right, 486 00:29:11,420 --> 00:29:14,080 the color of the graph, 487 00:29:14,180 --> 00:29:16,000 from the darker yellow to the brighter red 488 00:29:16,000 --> 00:29:18,080 to the bright blue-purple, is intensity. 489 00:29:18,340 --> 00:29:20,760 Yellow is the background lowest intensity. 490 00:29:21,040 --> 00:29:23,280 Purple is the hot, hot signal we found, 491 00:29:23,380 --> 00:29:24,600 or we are seeing on the network. 492 00:29:25,420 --> 00:29:26,740 And as we go through time, 493 00:29:27,180 --> 00:29:29,300 the random change in delay sampled between 494 00:29:29,300 --> 00:29:32,280 this machine that I had and the router named, 495 00:29:32,440 --> 00:29:34,040 or at least the characteristic of it named. 496 00:29:34,220 --> 00:29:35,960 I tend to keep things like that anonymous 497 00:29:35,960 --> 00:29:37,180 from the campus' point of view. 498 00:29:37,660 --> 00:29:42,080 And you'll see that approximately 10, 20, and 30 hertz 499 00:29:42,080 --> 00:29:44,440 are frequencies or rates of change 500 00:29:44,440 --> 00:29:46,980 for that sample delay consistently through time. 501 00:29:48,140 --> 00:29:52,840 You'll also see some spreads or bursts of harmonics 502 00:29:52,840 --> 00:29:55,300 that go from near zero hertz all the way up to 50. 503 00:29:55,420 --> 00:29:56,700 There's just some random junk. 504 00:29:57,180 --> 00:29:58,660 Caused by queues being filled. 505 00:29:59,200 --> 00:30:01,580 A few bars in the graph. 506 00:30:03,100 --> 00:30:05,060 Presumably, if one were to characterize 507 00:30:05,060 --> 00:30:07,780 saturating traffic load conditions enough 508 00:30:07,780 --> 00:30:11,480 with, say, a mix of FTP, NFS, AFS, 509 00:30:11,520 --> 00:30:13,700 a host of common protocols, 510 00:30:13,980 --> 00:30:16,180 you might find that the way the delay changes 511 00:30:16,820 --> 00:30:19,600 and produces those bursts of spectra 512 00:30:19,600 --> 00:30:21,900 is different in characteristic of the transfers 513 00:30:21,900 --> 00:30:22,760 that are going on. 514 00:30:23,200 --> 00:30:25,020 So if 100 packets a second, you could maybe see 515 00:30:25,020 --> 00:30:26,180 if your queues are tuned properly, 516 00:30:26,180 --> 00:30:28,620 what kind of traffic is causing real outages 517 00:30:28,620 --> 00:30:30,660 or real service losses or service problems 518 00:30:30,660 --> 00:30:31,100 in your network. 519 00:30:31,240 --> 00:30:33,600 And at the same time, see what is occurring 520 00:30:33,600 --> 00:30:35,480 in terms of the response rates 521 00:30:35,480 --> 00:30:37,220 from IP stacks that you care about. 522 00:30:37,660 --> 00:30:39,900 So at least in this graph, we can see 523 00:30:39,900 --> 00:30:42,140 those three clear harmonics through time 524 00:30:42,140 --> 00:30:44,020 and the dynamics that change 525 00:30:44,020 --> 00:30:46,240 as you were sampling for those 900 seconds. 526 00:30:49,300 --> 00:30:50,500 And for the next graph, 527 00:30:50,700 --> 00:30:52,480 I couldn't fit it on one slide with text, 528 00:30:52,640 --> 00:30:54,780 but the description is the same as the first, 529 00:30:54,920 --> 00:30:56,160 but I sampled that 200 packets 530 00:30:56,180 --> 00:30:57,800 to 200 hertz and used the SIGVIEW program, 531 00:30:58,080 --> 00:30:59,920 not SIGVIEW, but BaudLine on UNIX 532 00:30:59,920 --> 00:31:02,740 to do the decomposition of the graph. 533 00:31:05,840 --> 00:31:07,920 And those top three lines again 534 00:31:07,920 --> 00:31:09,520 are the 10, 20, 30-hertz components, 535 00:31:09,680 --> 00:31:11,140 but now we have twice the headroom. 536 00:31:11,320 --> 00:31:13,240 The bottom of the graph is 100 hertz 537 00:31:14,440 --> 00:31:16,420 of energy, so to speak, in the delay. 538 00:31:16,640 --> 00:31:18,560 And we see two new components this time, 539 00:31:18,760 --> 00:31:22,740 wispy lines around 60 and maybe around 75 or 80. 540 00:31:23,000 --> 00:31:24,620 You can kind of see them towards the middle 541 00:31:24,620 --> 00:31:26,720 and the bottom six of the graph. 542 00:31:27,560 --> 00:31:29,640 And I'm not sure where those are from. 543 00:31:29,980 --> 00:31:31,660 This is a pretty fast router, 544 00:31:31,800 --> 00:31:34,080 but those certainly weren't there before. 545 00:31:34,420 --> 00:31:36,440 So with more sampling, 546 00:31:36,560 --> 00:31:39,440 presumably this should be able to build a library, 547 00:31:39,640 --> 00:31:42,580 so to speak, of commonly known harmonics 548 00:31:42,580 --> 00:31:45,140 from IP stacks on devices that are in operation. 549 00:31:47,720 --> 00:31:49,180 So the time series, 550 00:31:49,360 --> 00:31:51,620 the time over frequency breakdowns 551 00:31:51,620 --> 00:31:52,920 are interesting to look at dynamics 552 00:31:52,920 --> 00:31:54,020 through a sample period. 553 00:31:54,200 --> 00:31:55,440 But what if you just want to look at 554 00:31:55,440 --> 00:31:57,200 pure characteristics of the schedulers 555 00:31:57,200 --> 00:31:59,340 or the characteristics per packet 556 00:31:59,340 --> 00:32:01,620 for a long run of samples all at once? 557 00:32:02,160 --> 00:32:04,260 That's the place for a two-dimensional, 558 00:32:04,440 --> 00:32:05,880 just standard 480 composition. 559 00:32:06,920 --> 00:32:10,660 This graph is a Windows box 560 00:32:10,660 --> 00:32:12,160 sitting on the same lab network 561 00:32:12,160 --> 00:32:13,560 on a 100-megabit switch. 562 00:32:14,240 --> 00:32:17,000 And we see that the rate of reply 563 00:32:17,000 --> 00:32:18,680 or the variations in the rate of reply 564 00:32:18,680 --> 00:32:19,840 for this Windows machine 565 00:32:19,840 --> 00:32:22,020 are very, very characteristic and interesting. 566 00:32:22,920 --> 00:32:25,060 There's rises and peaks everywhere in the graph 567 00:32:25,060 --> 00:32:25,820 that you don't see 568 00:32:25,820 --> 00:32:27,560 for other specific kinds of samples. 569 00:32:30,560 --> 00:32:33,260 That's another Cisco router on campus 570 00:32:33,260 --> 00:32:35,360 looked at through the same medium 571 00:32:35,360 --> 00:32:36,660 up to the interface in the same, 572 00:32:36,800 --> 00:32:38,460 essentially the same processor 573 00:32:38,460 --> 00:32:39,980 as the previous two routers. 574 00:32:40,440 --> 00:32:43,580 But we see strong components at 10, 20, and 30 hertz 575 00:32:43,580 --> 00:32:45,100 and a combination of components 576 00:32:45,100 --> 00:32:49,260 at every single frequency interval, 577 00:32:49,440 --> 00:32:51,380 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 578 00:32:51,380 --> 00:32:53,460 going down the bottom of the graph. 579 00:32:53,700 --> 00:32:55,060 That, again, is repeatable, 580 00:32:55,080 --> 00:32:58,340 very characteristic of Cisco hardware of that era. 581 00:33:01,580 --> 00:33:04,040 Now, as far as host OSes that aren't Windows goes, 582 00:33:04,320 --> 00:33:06,320 the UNIXs are a lot quieter 583 00:33:06,320 --> 00:33:07,820 in terms of the harmonics they produce 584 00:33:07,820 --> 00:33:10,540 and the consistency with which they reply to ICMP. 585 00:33:11,840 --> 00:33:13,560 This is a FreeBSD 4.8 box. 586 00:33:13,680 --> 00:33:16,900 I believe it was actually running stable, if I recall. 587 00:33:17,720 --> 00:33:20,720 And it is unlike the Windows hosts 588 00:33:20,720 --> 00:33:22,100 and the routers in the way that it responds. 589 00:33:22,180 --> 00:33:24,600 It seems to reply as quickly as it can afford to, 590 00:33:24,740 --> 00:33:26,940 barring other activity on the machine, 591 00:33:27,020 --> 00:33:28,880 maybe interrupt activity, that sort of thing. 592 00:33:31,420 --> 00:33:32,900 Linux was very dirty. 593 00:33:36,560 --> 00:33:38,060 Very characteristic harmonics, 594 00:33:38,080 --> 00:33:44,700 and again, unlike other previous examples of routers 595 00:33:44,700 --> 00:33:45,680 or other host OSes. 596 00:33:46,200 --> 00:33:48,640 This seems to be a robust general fingerprint. 597 00:33:49,040 --> 00:33:50,320 This is actually an average 598 00:33:50,320 --> 00:33:52,940 of two different hosts behind that same T1. 599 00:33:54,880 --> 00:33:57,480 So the characteristics you see there 600 00:33:57,480 --> 00:33:59,760 are relative representations of 2, 4, 20 601 00:33:59,760 --> 00:34:03,140 on an average fast environment behind a T1. 602 00:34:06,200 --> 00:34:09,580 So the general takeaway, I think, 603 00:34:09,600 --> 00:34:14,840 from those sorts of sample or those sorts of methods 604 00:34:14,840 --> 00:34:19,480 would certainly be that the hosts you sample 605 00:34:19,480 --> 00:34:21,820 and the devices that you're testing 606 00:34:22,760 --> 00:34:24,640 indeed create interesting 607 00:34:24,640 --> 00:34:27,720 and what I would dare to call rich harmonics. 608 00:34:27,740 --> 00:34:30,760 That is the way that the delay you'd experience per sample 609 00:34:30,760 --> 00:34:32,860 is not just a consistent random function. 610 00:34:32,960 --> 00:34:34,480 It's very deterministic. 611 00:34:36,140 --> 00:34:37,660 Also that links and queues 612 00:34:37,660 --> 00:34:40,400 will create generally bursts of harmonics 613 00:34:40,400 --> 00:34:41,700 versus hosts creating consistency. 614 00:34:42,380 --> 00:34:45,340 Links and queues react differently to dynamicisms 615 00:34:45,340 --> 00:34:46,300 than hosts ever would. 616 00:34:46,520 --> 00:34:48,720 A host would still try to reply to ICMP 617 00:34:48,720 --> 00:34:49,840 as quickly as it could 618 00:34:49,840 --> 00:34:52,040 if it was transiting 20 megabits or 40 megabits, 619 00:34:52,040 --> 00:34:53,400 to the best of my ability to test. 620 00:34:53,940 --> 00:34:55,200 That's just how it seems to be. 621 00:34:55,580 --> 00:34:56,600 Routers are completely different 622 00:34:56,600 --> 00:35:00,140 and queues and whatnot are as well. 623 00:35:00,580 --> 00:35:01,440 They would certainly, 624 00:35:01,640 --> 00:35:02,680 queues would certainly look the same 625 00:35:02,680 --> 00:35:04,400 at 20 megabits and 30 megabits, 626 00:35:04,460 --> 00:35:06,500 but it would certainly look a lot different at 80 megabits 627 00:35:06,500 --> 00:35:08,040 if the link it were emptying into 628 00:35:08,040 --> 00:35:09,840 were just 79 megabits in bandwidth. 629 00:35:10,940 --> 00:35:12,880 Very interesting observation from that. 630 00:35:15,040 --> 00:35:18,560 And we can probably certainly argue that 631 00:35:18,720 --> 00:35:20,460 to take this kind of research, 632 00:35:20,540 --> 00:35:22,060 this kind of observation method forward, 633 00:35:22,140 --> 00:35:24,220 we'll need a lot of hosts in a controlled environment 634 00:35:24,220 --> 00:35:26,920 to really separate what's happening on a link layer, 635 00:35:27,100 --> 00:35:28,260 the large-scale events, 636 00:35:28,400 --> 00:35:30,080 from the consistency of the small-scale events. 637 00:35:30,800 --> 00:35:32,900 Right now I'm working in Whale 638 00:35:32,900 --> 00:35:34,000 at the University of Wisconsin. 639 00:35:34,700 --> 00:35:37,280 It's basically on an invitational basis at this point 640 00:35:37,280 --> 00:35:39,900 to use their equipment to eventually characterize 641 00:35:39,900 --> 00:35:41,760 how a GSR-12000 looks, 642 00:35:42,020 --> 00:35:43,400 how a VXR looks, 643 00:35:43,620 --> 00:35:45,000 how a DOCSIS equipment looks 644 00:35:45,000 --> 00:35:47,320 in terms of high-rate active probes 645 00:35:47,320 --> 00:35:48,380 hitting its management interface. 646 00:35:48,940 --> 00:35:50,320 Eventually we should be able to find 647 00:35:50,320 --> 00:35:51,680 between categories of routers, 648 00:35:51,680 --> 00:35:53,000 classes of routers in between vendors 649 00:35:53,000 --> 00:35:56,640 pretty consistent types of replies from these devices. 650 00:35:57,100 --> 00:35:58,720 But even more interesting, I think, 651 00:35:58,800 --> 00:36:00,260 is that even if you change 652 00:36:00,260 --> 00:36:02,020 how the ICMP implementation happens, 653 00:36:02,140 --> 00:36:03,340 what fields are set, 654 00:36:03,440 --> 00:36:04,580 what flags are set in the packets, 655 00:36:05,360 --> 00:36:06,960 the way the schedule works 656 00:36:06,960 --> 00:36:08,940 probably will not change drastically. 657 00:36:09,280 --> 00:36:10,900 You could change the cosmetics. 658 00:36:11,120 --> 00:36:12,300 As Ophir referred to, 659 00:36:12,400 --> 00:36:15,380 the individual packet attributes 660 00:36:15,380 --> 00:36:17,120 are what he's basing a lot of his decisions on. 661 00:36:17,320 --> 00:36:19,660 I'm basing mine on, or in this case, 662 00:36:19,700 --> 00:36:22,540 the rate, the delay rates are based on 663 00:36:22,540 --> 00:36:23,900 something a lot more fixed. 664 00:36:24,180 --> 00:36:26,540 It's doubtful that Cisco would ever change a scheduler. 665 00:36:26,540 --> 00:36:28,380 They may simply change the way ICMP replies. 666 00:36:28,680 --> 00:36:30,700 This should prove to be a longer-term, 667 00:36:30,720 --> 00:36:32,380 a long-term robust method 668 00:36:33,000 --> 00:36:34,780 if we can sample enough devices 669 00:36:34,780 --> 00:36:36,120 to really test that. 670 00:36:38,460 --> 00:36:40,000 And as just general conclusions, 671 00:36:41,080 --> 00:36:42,780 I would certainly say that 672 00:36:46,740 --> 00:36:48,340 the internal state of devices 673 00:36:48,340 --> 00:36:51,400 is certainly the thing we're measuring here. 674 00:36:51,760 --> 00:36:53,260 But we also measure the combination 675 00:36:53,260 --> 00:36:55,440 of its self-business, if you will, 676 00:36:55,500 --> 00:36:56,460 the internal state of a router, 677 00:36:56,600 --> 00:36:58,780 and the combination of the effect of that 678 00:36:58,780 --> 00:36:59,620 with its scheduler. 679 00:37:00,140 --> 00:37:02,620 The way the links themselves appear 680 00:37:02,620 --> 00:37:04,060 is obviously different, 681 00:37:04,700 --> 00:37:09,400 and that those two categories of influence, 682 00:37:09,660 --> 00:37:10,660 or those two spheres of influence, 683 00:37:10,820 --> 00:37:11,600 are certainly separate. 684 00:37:13,900 --> 00:37:17,720 And also that when we see a congestion event, 685 00:37:17,920 --> 00:37:20,220 Q basically delay rapidly rising 686 00:37:20,220 --> 00:37:21,060 and falling off again, 687 00:37:21,240 --> 00:37:23,240 the rate at which the falloff occurs 688 00:37:23,240 --> 00:37:24,780 should tell us something else about 689 00:37:25,300 --> 00:37:27,540 the path between that congestion event 690 00:37:27,540 --> 00:37:28,040 and your machine. 691 00:37:28,220 --> 00:37:30,020 And that is that edge rate, 692 00:37:30,160 --> 00:37:32,720 the rate of decay on that delay spike, 693 00:37:33,000 --> 00:37:34,740 should be equal to the bandwidth 694 00:37:34,740 --> 00:37:36,280 at the most constrained link 695 00:37:36,280 --> 00:37:37,340 between you and that hop. 696 00:37:37,840 --> 00:37:39,960 If you were to have a Q fill up with data 697 00:37:39,960 --> 00:37:40,940 back-to-back for you, 698 00:37:41,060 --> 00:37:42,680 it's as if you emitted the packet 699 00:37:42,780 --> 00:37:45,100 with zero seconds of delay between them, 700 00:37:45,160 --> 00:37:46,080 even though I emitted them 701 00:37:46,080 --> 00:37:48,620 with 10 milliseconds of delay between them. 702 00:37:48,800 --> 00:37:50,800 So if they were back-to-back at a Q 703 00:37:50,800 --> 00:37:52,240 because they weren't sent yet, 704 00:37:53,020 --> 00:37:54,240 and the Q finally empties, 705 00:37:54,320 --> 00:37:56,100 it should be played back on the wire, 706 00:37:56,220 --> 00:37:57,160 nearly back-to-back, 707 00:37:57,320 --> 00:38:01,480 and that slope of the falloff I see off that Q 708 00:38:01,480 --> 00:38:04,720 would be steeper if the bandwidth were higher, 709 00:38:04,820 --> 00:38:07,340 or much more gradual if the bandwidth were lower. 710 00:38:07,860 --> 00:38:08,920 So over time again, 711 00:38:09,100 --> 00:38:10,080 we should be able to determine 712 00:38:10,680 --> 00:38:11,800 the dynamic systems 713 00:38:11,800 --> 00:38:13,460 between myself and the queuing events 714 00:38:13,460 --> 00:38:15,120 based on link bandwidth that we know, 715 00:38:15,260 --> 00:38:16,580 or link bandwidth that we want to detect. 716 00:38:17,380 --> 00:38:18,920 Ideally if we could make one hop 717 00:38:18,920 --> 00:38:19,980 get really, really busy, 718 00:38:20,080 --> 00:38:21,980 say hitting from the other path into it, 719 00:38:22,600 --> 00:38:24,480 you would maybe be able to determine 720 00:38:24,480 --> 00:38:25,900 based on the falloff rate 721 00:38:25,900 --> 00:38:26,940 from that router being busy, 722 00:38:27,060 --> 00:38:28,420 how much bandwidth they had 723 00:38:28,420 --> 00:38:29,740 to the router upstream from them, 724 00:38:29,880 --> 00:38:31,300 and so on and so forth, 725 00:38:31,360 --> 00:38:32,680 until you could disambiguate the path 726 00:38:32,680 --> 00:38:33,720 pretty cleanly. 727 00:38:34,080 --> 00:38:35,460 Other programs like PCAR 728 00:38:35,460 --> 00:38:39,120 and packet pair dispersion utilities 729 00:38:39,120 --> 00:38:40,360 like PathRate 730 00:38:40,980 --> 00:38:45,520 don't really go per link detailed enough 731 00:38:45,520 --> 00:38:47,100 at this point to really tell you 732 00:38:47,100 --> 00:38:49,060 necessarily what the interconnection bandwidths are. 733 00:38:49,320 --> 00:38:51,960 Watching Q emptying rates should be dang near close 734 00:38:51,960 --> 00:38:53,880 to what the true link bandwidth would be. 735 00:38:55,060 --> 00:38:57,500 And the last point would be that 736 00:38:58,800 --> 00:39:00,860 by using Fourier decomposition techniques, 737 00:39:00,980 --> 00:39:03,840 we can see the richness in the variations 738 00:39:04,160 --> 00:39:07,280 that are in the small-scale amplitude domains, 739 00:39:07,540 --> 00:39:10,340 and have those exposed and be a bit more useful 740 00:39:10,360 --> 00:39:12,120 and uniform and a bit more specific 741 00:39:12,120 --> 00:39:13,300 to the host we're targeting 742 00:39:13,300 --> 00:39:14,740 than just the time scale limits, 743 00:39:14,880 --> 00:39:16,700 the time decompositions. 744 00:39:17,120 --> 00:39:18,720 So that would probably be 745 00:39:19,740 --> 00:39:21,740 everything that I wanted to say about the topic. 746 00:39:22,000 --> 00:39:24,600 Is there any questions or commentary on this? 747 00:39:25,000 --> 00:39:25,440 Yes. 748 00:39:25,920 --> 00:39:27,400 What are the hurdles right now 749 00:39:27,400 --> 00:39:30,360 to implementing this to make it true 750 00:39:30,360 --> 00:39:31,340 to make it work? 751 00:39:31,940 --> 00:39:32,380 Sure. 752 00:39:34,060 --> 00:39:35,220 So the question was, 753 00:39:35,280 --> 00:39:36,120 I think you probably all heard, 754 00:39:36,300 --> 00:39:38,760 what are the hurdles in the way of making a, 755 00:39:38,760 --> 00:39:41,400 this actually worked truly on a network to fingerprint hosts. 756 00:39:41,600 --> 00:39:45,580 That would mostly be access to equipment at this point. 757 00:39:47,420 --> 00:39:49,760 There's basically the results that you see here 758 00:39:49,760 --> 00:39:54,000 are things that we tried Sunday morning at 3 a.m., 759 00:39:54,000 --> 00:39:57,160 Saturday at 6, Monday at 1.30 in the afternoon, 760 00:39:57,400 --> 00:39:59,300 and the same sorts of harmonics were seen 761 00:39:59,300 --> 00:40:00,980 outside of the burst usages. 762 00:40:00,980 --> 00:40:03,080 That is, you'd see periods of near saturation, 763 00:40:03,400 --> 00:40:03,940 that sort of thing, 764 00:40:04,020 --> 00:40:05,420 but the general trends were still there. 765 00:40:05,700 --> 00:40:06,900 So really at this point, 766 00:40:06,960 --> 00:40:08,220 I think the sampling methods 767 00:40:08,220 --> 00:40:10,220 and the analysis techniques are pretty solid. 768 00:40:10,380 --> 00:40:11,120 I just need, 769 00:40:11,180 --> 00:40:12,760 I would need more access to gear, 770 00:40:12,860 --> 00:40:13,660 plain and simple, 771 00:40:13,740 --> 00:40:15,520 to basically build a good enough characterization. 772 00:40:16,000 --> 00:40:17,800 There's a lot of things that need to be toggled. 773 00:40:18,140 --> 00:40:19,120 On Cisco gear, 774 00:40:19,220 --> 00:40:21,500 I don't even know if these devices were running Ceph or not. 775 00:40:22,180 --> 00:40:24,600 Cisco Express Forwarding could change very great, 776 00:40:24,740 --> 00:40:27,480 very drastically the types of replies I'm seeing. 777 00:40:28,220 --> 00:40:30,840 So really this needs to be looked at quite thoroughly 778 00:40:30,840 --> 00:40:33,580 to base, to make a large enough sample, 779 00:40:33,680 --> 00:40:35,080 or to even generate a large enough dictionary 780 00:40:35,080 --> 00:40:36,440 to name a host, so to speak, 781 00:40:37,260 --> 00:40:38,200 in a network. 782 00:40:38,220 --> 00:40:38,420 And I think that's something that we need to do. 783 00:40:38,420 --> 00:40:39,000 in future probes, 784 00:40:39,020 --> 00:40:40,820 but that certainly isn't impossible. 785 00:40:41,480 --> 00:40:43,460 So that would be a high one, 786 00:40:43,600 --> 00:40:44,500 but at least in this lab, 787 00:40:44,660 --> 00:40:45,600 the gear exists. 788 00:40:45,720 --> 00:40:47,480 I just basically need to do the work. 789 00:40:49,000 --> 00:40:49,440 Yes? 790 00:40:50,860 --> 00:40:51,300 . 791 00:40:51,300 --> 00:40:51,760 . 792 00:40:55,320 --> 00:40:55,760 . 793 00:40:55,760 --> 00:40:56,140 . 794 00:40:56,140 --> 00:40:56,300 . 795 00:40:56,300 --> 00:40:56,560 . 796 00:40:59,180 --> 00:40:59,620 . 797 00:40:59,620 --> 00:40:59,800 . 798 00:40:59,800 --> 00:40:59,900 . 799 00:41:08,220 --> 00:41:08,580 . 800 00:41:08,580 --> 00:41:09,920 I wouldn't even know where to begin 801 00:41:10,800 --> 00:41:14,800 in engaging how its IP stack would look temporally on the wire. 802 00:41:15,720 --> 00:41:16,560 That's a good question. 803 00:41:16,780 --> 00:41:17,380 Thank you. 804 00:41:18,740 --> 00:41:19,240 . 805 00:41:21,060 --> 00:41:21,560 . 806 00:41:35,960 --> 00:41:38,120 What was the method? 807 00:41:38,800 --> 00:41:39,660 Switching methods? 808 00:41:41,400 --> 00:41:42,300 Oh, okay. 809 00:41:42,440 --> 00:41:43,740 So the first question was, 810 00:41:43,940 --> 00:41:47,180 do I think I can reveal the action of someone changing 811 00:41:47,180 --> 00:41:49,360 the type of service field in the IP packet? 812 00:41:50,580 --> 00:41:53,820 I'm not sure that it would be revealed at this point 813 00:41:53,820 --> 00:41:56,100 in a lot of the core writers in the United States, however, 814 00:41:56,600 --> 00:41:58,340 don't honor the type of service bit anymore. 815 00:41:58,700 --> 00:42:00,320 They forward the packet as it came in, 816 00:42:00,400 --> 00:42:02,960 and they probably drop it just the same if it has to. 817 00:42:04,020 --> 00:42:07,100 I can't see that the invoice over IP tests 818 00:42:07,100 --> 00:42:09,480 that I've done with trunks from California to New York 819 00:42:09,480 --> 00:42:10,200 and back and forth, 820 00:42:10,320 --> 00:42:13,680 the user impact of honoring type of service 821 00:42:13,680 --> 00:42:16,840 hasn't been, to my experience yet, very great. 822 00:42:17,280 --> 00:42:18,840 I know within a lot of enterprises, 823 00:42:19,360 --> 00:42:21,900 diff serve and things that tag packets on Ingress 824 00:42:21,900 --> 00:42:24,820 at borders through the core can be acted on and are done. 825 00:42:25,160 --> 00:42:27,200 I can't say that on the public internet at large. 826 00:42:27,260 --> 00:42:29,080 I've seen that action, 827 00:42:29,220 --> 00:42:33,400 and consequently, I'm not sure that a high-rate probe 828 00:42:34,080 --> 00:42:34,940 would review that, 829 00:42:35,000 --> 00:42:37,720 unless you were maybe modulating the type of service bit per packet 830 00:42:37,720 --> 00:42:41,280 and then doing tests with type of service 0, 1, 2, 3, 4, 5 831 00:42:41,280 --> 00:42:43,340 to see if there was any distinct difference. 832 00:42:43,460 --> 00:42:45,440 That would probably be a great analysis method. 833 00:42:45,560 --> 00:42:47,340 I haven't yet tried them in the backbone yet, 834 00:42:47,440 --> 00:42:48,820 but just probably based on... 835 00:42:49,360 --> 00:42:52,100 as I just mentioned, some silly assumptions, 836 00:42:52,320 --> 00:42:53,880 but they may not be true, so thank you. 837 00:42:54,000 --> 00:42:56,100 And the second question was... 838 00:42:58,440 --> 00:42:59,900 I'm sorry, refresh my memory. 839 00:43:05,100 --> 00:43:05,540 Sure. 840 00:43:09,960 --> 00:43:11,000 So switching methods, 841 00:43:11,220 --> 00:43:13,420 I have seen some minimal differences 842 00:43:13,420 --> 00:43:15,100 between T1s that are frame relay 843 00:43:15,100 --> 00:43:16,720 that I know about somewhere between 844 00:43:16,720 --> 00:43:18,540 the end host that I'm sampling 845 00:43:18,540 --> 00:43:19,340 and the winged host that I'm sampling. 846 00:43:19,360 --> 00:43:20,300 I think between my machine. 847 00:43:20,660 --> 00:43:23,620 A lot of times, it's ATM to some aggregate router, 848 00:43:23,840 --> 00:43:24,880 breaks out to frame, 849 00:43:25,140 --> 00:43:26,380 then to the customer's equipment. 850 00:43:26,800 --> 00:43:28,540 So the combination of ATM and frame 851 00:43:28,540 --> 00:43:30,140 as a media access method, 852 00:43:30,420 --> 00:43:33,900 I think that the links' effects on temporal 853 00:43:33,900 --> 00:43:35,640 or time skew are pretty minimal. 854 00:43:35,840 --> 00:43:37,640 I think it's got a lot more to do with queues 855 00:43:37,640 --> 00:43:39,920 and a lot more to do with the IPSec itself. 856 00:43:40,100 --> 00:43:41,980 So I'm not sure that you could cleanly detect it 857 00:43:41,980 --> 00:43:44,140 in anything more than maybe seeing 858 00:43:44,140 --> 00:43:44,920 if you have multiple paths. 859 00:43:45,620 --> 00:43:48,640 Specifically, if you had CDDI or FDDI 860 00:43:48,640 --> 00:43:49,220 between Cisco, 861 00:43:49,360 --> 00:43:49,480 you'd be able to see what's going on 862 00:43:49,480 --> 00:43:49,620 between these two routers. 863 00:43:49,680 --> 00:43:51,320 I've found that on certain protocols, 864 00:43:51,480 --> 00:43:52,440 IPX being one, 865 00:43:52,580 --> 00:43:54,460 you don't get perfect sequencing. 866 00:43:55,020 --> 00:43:56,460 Some packets are transposed. 867 00:43:56,540 --> 00:43:58,140 Or three packets are transposed. 868 00:43:58,340 --> 00:43:59,980 If you're looking at that kind of thing 869 00:43:59,980 --> 00:44:00,560 on this graph, 870 00:44:00,680 --> 00:44:02,580 you should see a very, very, very noisy output. 871 00:44:03,740 --> 00:44:06,600 I haven't yet tested the robustness 872 00:44:06,600 --> 00:44:08,600 of those methods with CDDI or FDDI, 873 00:44:08,800 --> 00:44:10,060 mainly because we don't have the gear anymore. 874 00:44:10,800 --> 00:44:12,380 But I would think that, 875 00:44:12,400 --> 00:44:14,260 knowing a lot about the MACs that are out there, 876 00:44:14,320 --> 00:44:16,120 you probably should see some large differences 877 00:44:16,120 --> 00:44:17,280 between them. 878 00:44:18,900 --> 00:44:19,340 So I'm going to stop there. 879 00:44:19,340 --> 00:44:19,900 Yes? 880 00:44:20,520 --> 00:44:20,960 Audience Member 2 881 00:44:20,960 --> 00:44:22,720 Have you checked any of the differences 882 00:44:22,720 --> 00:44:25,000 with the direct . 883 00:44:28,760 --> 00:44:29,200 Yes. 884 00:44:30,780 --> 00:44:32,700 Generally, Ethernet switches, by and large, 885 00:44:32,820 --> 00:44:34,440 are the quietest devices 886 00:44:35,020 --> 00:44:36,340 I've passed traffic through. 887 00:44:36,700 --> 00:44:38,760 A flip cable doesn't look much different. 888 00:44:39,800 --> 00:44:41,080 How much time do we have left? 889 00:44:41,700 --> 00:44:42,140 Five? 890 00:44:42,920 --> 00:44:43,920 Hit me up for the show. 891 00:44:44,040 --> 00:44:45,340 I can show you some other graphs online. 892 00:44:45,900 --> 00:44:46,040 Audience Member 2 893 00:44:46,040 --> 00:44:46,800 I was more interested 894 00:44:46,800 --> 00:44:47,840 in can you tell 895 00:44:47,840 --> 00:44:49,240 how that switch works? 896 00:44:56,380 --> 00:44:58,020 Sure, as far as 897 00:44:58,560 --> 00:45:00,320 knowing what type of switch you'd have in place 898 00:45:01,020 --> 00:45:02,600 you'd have to have a good enough 899 00:45:02,600 --> 00:45:04,580 sample set with actual cross traffic 900 00:45:04,580 --> 00:45:06,740 on the backbone of the switch to disambiguate 901 00:45:06,740 --> 00:45:08,260 that. I found that if 902 00:45:08,260 --> 00:45:10,620 a switch has just two hosts on it, that's the most 903 00:45:10,620 --> 00:45:12,520 ideal condition and you get pretty darn 904 00:45:12,520 --> 00:45:14,700 near wire rate with a few microseconds of forwarding 905 00:45:14,700 --> 00:45:16,460 delay. And that's pretty 906 00:45:16,460 --> 00:45:18,500 consistent. But if you have cross traffic, that's where 907 00:45:18,500 --> 00:45:20,340 things get very, very interesting because how 908 00:45:20,340 --> 00:45:22,480 a vendor multiplexes access 909 00:45:22,480 --> 00:45:23,840 to the backbone bus 910 00:45:23,840 --> 00:45:26,380 even if it's a virtualized 911 00:45:26,380 --> 00:45:28,140 matrix on a core or an ASIC somewhere 912 00:45:28,140 --> 00:45:30,660 is still per clock cycle, still a rigid 913 00:45:30,660 --> 00:45:32,060 function that's going to be exposed 914 00:45:32,060 --> 00:45:33,220 by high frequency 915 00:45:33,220 --> 00:45:36,580 samples. So with 916 00:45:36,580 --> 00:45:38,580 testing it should be visible. I would go on the 917 00:45:38,580 --> 00:45:39,260 limb and say 918 00:45:39,940 --> 00:45:42,200 have I done more than Cisco and Allied Teleson? 919 00:45:42,300 --> 00:45:44,540 Unfortunately not. I just don't have a lot of gear. 920 00:45:44,660 --> 00:45:46,260 It would be very interesting to go through 921 00:45:46,260 --> 00:45:47,340 Xilin, Bay, 922 00:45:50,240 --> 00:45:51,360 Lucent, all the big 923 00:45:51,360 --> 00:45:53,200 names who've had actual switches in maybe 924 00:45:53,200 --> 00:45:55,160 COLA facilities or core environments 925 00:45:55,160 --> 00:45:57,240 and do a good cross-sectional 926 00:45:57,240 --> 00:45:59,260 study of what are the effects 927 00:45:59,260 --> 00:46:01,280 of port pairs and then 928 00:46:01,280 --> 00:46:02,680 cross traffic present, but not yet. 929 00:46:03,360 --> 00:46:04,680 There was one more. 930 00:46:05,720 --> 00:46:06,400 It's over here. 931 00:46:10,720 --> 00:46:11,200 Yes. 932 00:46:11,760 --> 00:46:12,780 Sure. So the 933 00:46:12,780 --> 00:46:15,260 reason that got in there was when I was writing 934 00:46:15,260 --> 00:46:16,940 my presentation, we had a 935 00:46:16,940 --> 00:46:18,360 29, I'm sorry, a 35 936 00:46:18,500 --> 00:46:20,700 50 with layer 3. And with 937 00:46:20,700 --> 00:46:22,560 layer 3 enabled specifically, that device 938 00:46:22,560 --> 00:46:24,760 induces different types of 939 00:46:24,760 --> 00:46:25,840 variations at high frequencies 940 00:46:26,420 --> 00:46:28,820 when you have those ports you're testing 941 00:46:28,820 --> 00:46:30,240 through in the span group. 942 00:46:30,620 --> 00:46:32,620 I had originally not disambiguated 943 00:46:32,620 --> 00:46:34,120 that. The problem was I thought 944 00:46:34,120 --> 00:46:36,680 any port with, any chassis with 945 00:46:36,680 --> 00:46:38,540 a span port configured for any traffic was revealed 946 00:46:38,540 --> 00:46:40,640 by a pair of hosts communicating through it. 947 00:46:40,740 --> 00:46:42,640 It turns out it's only the pair that, if you 948 00:46:42,640 --> 00:46:44,420 have the port you're on, being spanned. 949 00:46:44,960 --> 00:46:46,620 But the effects are basically 950 00:46:46,620 --> 00:46:48,280 higher frequency variations, some 951 00:46:48,280 --> 00:46:50,620 wispy noises, so to speak, 70 to 80 952 00:46:50,620 --> 00:46:51,240 hertz typically. 953 00:46:52,820 --> 00:46:54,660 That is detectable, so to speak. 954 00:46:55,000 --> 00:46:56,600 It's not robust, and that's 955 00:46:56,600 --> 00:46:57,920 why I didn't include it in my presentation. 956 00:46:58,780 --> 00:47:00,460 You have to really have a 957 00:47:00,460 --> 00:47:02,320 quiet, quiet environment to 958 00:47:02,320 --> 00:47:04,320 see the two sides of it being on and off. 959 00:47:04,540 --> 00:47:06,760 So it, unfortunately, it's not detectable 960 00:47:06,760 --> 00:47:07,940 really from, say, 961 00:47:08,040 --> 00:47:10,120 OC3 to aggregate router 962 00:47:10,120 --> 00:47:12,380 some larger center through a colo 963 00:47:12,380 --> 00:47:13,100 to that device. 964 00:47:14,420 --> 00:47:14,900 Yes? 965 00:47:24,280 --> 00:47:26,180 Well, we couldn't turn it on and turn it off 966 00:47:26,180 --> 00:47:27,880 in the core routers in the university, but 967 00:47:29,040 --> 00:47:30,700 we, in the lab, 968 00:47:30,840 --> 00:47:32,200 I've seen on 969 00:47:32,200 --> 00:47:34,400 our TELUS and specifically on the alternative 970 00:47:34,400 --> 00:47:34,920 routers, 971 00:47:36,600 --> 00:47:38,220 they typically will have these 972 00:47:38,220 --> 00:47:40,280 rough things on a second or a minute 973 00:47:40,280 --> 00:47:41,900 intervals that kind of do some cleanup work. 974 00:47:42,120 --> 00:47:44,180 The Cisco that I showed with the big spikes, 975 00:47:44,380 --> 00:47:46,340 orders of magnitude above the average low 976 00:47:46,340 --> 00:47:48,260 latency, samples from the 977 00:47:48,280 --> 00:47:50,200 were presumably from net flow export. 978 00:47:51,740 --> 00:47:52,520 The other 979 00:47:52,520 --> 00:47:54,440 elements that I didn't show, but I 980 00:47:54,440 --> 00:47:56,160 could welcome to see as we're done, 981 00:47:56,880 --> 00:47:58,020 show minutely intervals 982 00:47:58,020 --> 00:48:00,440 of something happening on the management interface. 983 00:48:00,820 --> 00:48:02,200 And it turns out that something 984 00:48:02,200 --> 00:48:03,560 was OSPF, 985 00:48:04,440 --> 00:48:06,340 SPF calculations on a river stone. 986 00:48:07,060 --> 00:48:08,500 There's a bigger one every hour, 987 00:48:08,560 --> 00:48:10,100 too, that even drops packets 988 00:48:10,100 --> 00:48:12,620 to port that other folks at other networks have reported. 989 00:48:12,700 --> 00:48:14,260 I haven't observed that myself, but 990 00:48:14,260 --> 00:48:16,380 certainly that would show up in these samples 991 00:48:16,380 --> 00:48:18,120 as well. But yes, 992 00:48:18,120 --> 00:48:20,280 depending on how the CPU and how the router 993 00:48:20,280 --> 00:48:22,140 is architected, each individual 994 00:48:22,140 --> 00:48:23,900 ICMP probe could be a new flow. 995 00:48:24,200 --> 00:48:25,720 And if that's a heavyweight operation, 996 00:48:26,060 --> 00:48:28,220 it's going to compete for CPU with a routing protocol 997 00:48:28,220 --> 00:48:29,740 that should have more priority, you'd think. 998 00:48:30,460 --> 00:48:31,920 So that should be visible 999 00:48:31,920 --> 00:48:33,920 in a very interesting way, but needs to be 1000 00:48:33,920 --> 00:48:36,040 disambiguated more. Just haven't had the opportunity 1001 00:48:36,040 --> 00:48:38,220 to turn this protocol on, that one on, this one 1002 00:48:38,220 --> 00:48:39,120 off, do this 1003 00:48:40,280 --> 00:48:42,020 redistribution with this protocol, that sort of thing 1004 00:48:42,020 --> 00:48:43,920 yet. But that's certainly in the works. Maybe 1005 00:48:43,920 --> 00:48:44,840 next year we'll have it. 1006 00:48:46,640 --> 00:48:47,240 Any others? 1007 00:48:48,520 --> 00:48:49,640 Thank you very much for coming. 1008 00:48:49,860 --> 00:48:53,300 Thank you.