Re: [Mon-devel] Re: Announcing ospf.monitor (beta-1 :-)
Brought to you by:
trockij
From: Jim T. <tr...@ar...> - 2006-02-06 19:17:41
|
On Mon, 6 Feb 2006, Ed Ravin wrote: > It would be nice to have a sample monitor that had working async SNMP > fetching the asynch fetch code i wrote is here, and it should be easy to convert this into a sample monitor: http://arctic.org/~trockij/async-table and here are some old results that show you the performance of this puppy: ./async-table bd2-edge{1,2,3} bd2-agg{1,2} bd2-core{1,2,3,4} it's *fast*! i can get the ifTable (hundreds of rows each) from all those routers in a couple of seconds if do the query from a host on the LAN! this is the bandwidth utilization when doing the test via my 144K DSL line (read the first row as 55kbit/s input / 51 kbit/s output, "o" means output, "I" means input, the crude ascii plot shows the lower value superimposed over the larger value, "=" means the input+output values were equal): async table get: 2.00user 0.14system 0:11.46elapsed 18%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (444major+377minor)pagefaults 0swaps 01/08 23:13:44 ooooooooooooooooooI | 55 /51 01/08 23:13:46 oooooooooooooooooooooooooooooooooooooII | 114 /107 01/08 23:13:48 oooooooooooooooooooooooooooII | 82 /78 01/08 23:13:50 oooooooooooooooooooooooooooooI | 87 /85 01/08 23:13:52 ooooooooooooooooooooooooooooooI | 88 /85 01/08 23:13:54 oooooooooooooooooooI | 57 /55 sync table get: 2.26user 0.19system 0:35.42elapsed 6%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (440major+320minor)pagefaults 0swaps 01/08 23:13:58 ooI | 6 /5 01/08 23:14:00 ooooooooooI | 29 /29 01/08 23:14:02 ooooooooooI | 32 /29 01/08 23:14:00 ooooooooooI | 29 /29 01/08 23:14:02 ooooooooooI | 32 /29 01/08 23:14:04 =========== | 31 /30 01/08 23:14:06 =========== | 31 /30 01/08 23:14:08 =========== | 31 /29 01/08 23:14:10 ooooooooooI | 29 /29 01/08 23:14:12 =========== | 30 /29 01/08 23:14:14 =========== | 31 /30 01/08 23:14:16 =========== | 32 /29 01/08 23:14:18 =========== | 30 /29 01/08 23:14:20 ooooooooooI | 30 /29 01/08 23:14:22 =========== | 31 /30 01/08 23:14:24 =========== | 31 /30 01/08 23:14:26 ooooooooooI | 31 /29 01/08 23:14:28 oooooooooooI | 33 /29 01/08 23:14:30 ooooooooooI | 31 /27 01/08 23:14:32 ooooooooooI | 30 /27 01/08 23:14:34 | 0 /0 SIGNIFICANT improvement by doing the thing with the async API! |