Meta tags:
Headings (most frequently used words):
vxlan, linux, 2009, what, for, is, why, plumber, monday, september, thursday, tuesday, october, protocol, do, network, journal, 24, 2012, february, 28, 2011, march, 18, 2010, wednesday, november, 11, 27, 20, 17, blog, archive, about, me, net, snmp, ip, forward, table, performance, problems, gtsm, powerpoint, karoke, contest, ubuntu, 10, hates, kernel, developers, japan, symposium, netconf, linuxcon, conference, the, we, need, yet, another, tunnel, not, just, use, gre, does, openvswitch, already, could, in, be, used, cool, that, too, technical, can, show, my, manager,
Text of the page (most frequently used words):
the (91), and (38), linux (21), share (21), table (21), vxlan (18), for (18), this (15), network (14), was (13), #plumber (12), are (12), with (12), but (11), snmp (11), that (10), not (9), kernel (8), have (8), net (8), route (8), pinterest (7), facebook (7), blogthis (7), email (7), posted (7), just (7), comments (6), there (6), would (6), some (6), first (6), than (6), entries (6), each (6), container (6), cache (6), september (5), 2009 (5), labels (5), has (5), when (5), grub (5), why (5), tcp (5), what (5), networking (5), does (5), which (5), october (4), will (4), out (4), performance (4), vyatta (4), been (4), time (4), they (4), from (4), also (4), request (4), full (4), good (4), used (4), use (4), lookup (4), can (4), complete (3), february (3), conference (3), developer (3), over (3), then (3), routing (3), support (3), tuesday (3), ubuntu (3), never (3), development (3), like (3), too (3), make (3), much (3), problem (3), contest (3), here (3), open (3), really (3), patches (3), one (3), patch (3), less (3), since (3), into (3), existing (3), version (3), bgp (3), walk (3), fix (3), better (3), wrappers (3), read (3), proc (3), ifindex (3), data (3), fast (3), new (3), load (3), insert (3), using (3), sort (3), protocol (3), about (2), december (2), june (2), november (2), march (2), 2010 (2), 2011 (2), 2012 (2), posts (2), getting (2), portland (2), ever (2), big (2), event (2), linuxcon (2), netconf (2), thursday (2), you (2), give (2), distribution (2), looks (2), made (2), need (2), install (2), usually (2), menu (2), now (2), system (2), source (2), speed (2), manager (2), changes (2), pptk (2), area (2), creative (2), done (2), slides (2), minutes (2), set (2), topics (2), powerpoint (2), karoke (2), comment (2), lwn (2), small (2), change (2), story (2), comes (2), should (2), credit (2), well (2), starting (2), point (2), those (2), where (2), initial (2), wasn (2), nothing (2), quagga (2), yet (2), implementation (2), current (2), problems (2), hard (2), daemon (2), way (2), cpu (2), more (2), scalability (2), disable (2), simple (2), packet (2), discovery (2), caused (2), etc (2), hosts (2), allow (2), old (2), entry (2), extra (2), short (2), netlink (2), dump (2), already (2), another (2), next (2), instead (2), real (2), code (2), main (2), linked (2), list (2), sorted (2), dirty (2), makes (2), inserts (2), insertion (2), machine (2), seconds (2), because (2), fifo (2), different (2), flag (2), duplicates (2), faster (2), these (2), get (2), down (2), function (2), only (2), file (2), monday (2), standard (2), udp (2), tunnel (2), may (2), openvswitch (2), ovs (2), many (2), could (2), journal (2), skip (2), view, profile, 2007, january, august, 2008, july, blog, archive, subscribe, atom, home, older, busy, week, together, weekend, followed, hope, holds, tendency, rain, weather, giving, three, talks, staging, drivers, cli, attending, jls, please, stop, japan, symposium, easiest, things, painful, build, kernels, all, update, manually, wrapped, mkconfig, great, setup, doing, put, updated, cfg, sense, managed, break, sky2, driver, somehow, connection, won, come, negotiates, wrong, turned, wiring, issue, combined, hates, developers, toastmasters, anyone, interested, fun, invited, 1st, noon, meeting, location, rules, spirit, drawn, licensed, decks, commons, openoffice, impress, prizes, awarded, speaker, topic, draw, probably, 9403, nimbus, ave, beaverton, oregon, timbertalkers, wednesday, seeing, writers, pick, explain, important, often, impact, obvious, without, further, explanation, significant, unnoticed, such, example, writer, research, background, nice, history, did, based, took, writing, test, programs, perfect, missed, case, icmp, messages, both, fixed, rc2, necessary, integrated, upstream, appreciate, review, feedback, eric, andi, david, pekka, making, work, broke, wait, sockets, freebsd, systems, unaccepted, enhancement, author, recent, generalized, ttl, security, measures, gtsm, complex, others, seem, due, plain, stupidity, saga, back, 2006, discovered, server, peg, 500k, job, exposing, nightmares, caching, return, hardly, returning, crashing, began, investigating, tools, capture, wireshark, syscall, capturing, strace, library, deny, bogus, two, counts, retrieves, ipv4, ipv6, school, through, isn, total, disaster, start, interface, name, wants, 300k, ioctl, calls, term, hack, later, replaced, gives, surprisingly, mib, observation, stupid, whole, helps, still, looking, internally, uses, objectish, abstraction, store, ones, flat, stored, order, sequential, access, placed, end, bit, quicksort, interesting, creates, twice, reads, puts, walks, create, loading, non, scalable, takes, several, timeout, ends, causing, finds, reload, news, fixing, step, realizing, temporary, doesn, changed, actual, requires, approach, unused, turning, allow_duplicates, until, lastly, couple, other, improvements, help, binary_table, expanded, calloc, copy, free, original, worse, realloc, place, expansion, large, optimized, avoid, calling, comparison, sub, sections, second, who, implements, something, tables, avl, tree, causes, snmpbulk, snmpwalk, last, ifname, translation, our, enabling, anyway, debian, shipping, files, exist, fail, forward, published, possible, inclusion, unfamiliar, common, questions, transfer, layer, ethernet, packets, under, protocols, depend, properties, backbone, available, generic, encapsulation, works, tunneling, maybe, blocked, routers, firewalls, accept, fundamentally, normal, people, want, take, jump, cases, technologies, easier, configure, terminate, router, link, bridges, across, hypervisors, talk, legacy, expensive, virtualization, products, blogosphere, points, introductory, video, fundamentals, technical, show, nvgre, packetpushers, podcast, examining, digging, deeper, part, ivan, pepelnjak, otv, suckered, cool, gre, draft, rfc, related, sidebar,
Text of the page (random words):
network plumber s journal skip to main skip to sidebar network plumber s journal linux networking and related topics monday september 24 2012 vxlan for linux vxlan for linux just published a linux kernel implementation of vxlan for possible inclusion in 3 7 kernel patches for those unfamiliar with vxlan here are some common questions q what is vxlan it is a standard protocol to transfer layer 2 ethernet packets over udp q what is the vxlan protocol the standard is under development the current draft rfc is at version 2 q why do we need yet another tunnel protocol why not just use gre existing tunnel protocols depend on properties of the backbone which may not be available generic routing encapsulation works by tunneling over ip and maybe blocked at routers by firewalls that only accept tcp and udp q does openvswitch already do vxlan the development version of openvswitch does have vxlan support but ovs is fundamentally different than normal linux networking many people may not want to take the jump into ovs there are many cases where existing linux networking technologies are easier to configure and use q what could vxlan in linux be used for it could be used to terminate vxlan in linux router or link linux bridges across hypervisors or talk to legacy expensive virtualization products q why is vxlan cool read the blogosphere here are some good starting points ivan pepelnjak vxlan and otv i ve been suckered digging deeper into vxlan part 1 examining vxlan nvgre vs vxlan on packetpushers podcast q that s too technical what can i show my manager there is a short introductory video on the fundamentals of vxlan posted by linux network plumber at 12 37 pm no comments email this blogthis share to x share to facebook share to pinterest labels networking vxlan monday february 28 2011 net snmp ip forward table performance problems some performance problems are hard and complex but others seem to be due to just plain stupidity this is the saga of snmp daemon and a full bgp route table way back in 2006 vyatta discovered that if an snmp walk was done on a server with a full bgp route table it would peg the cpu and never complete a full bgp route table is 500k entries or more so it does a good job of exposing scalability nightmares the initial fix was to disable the caching of the route table in snmp which made it return no entries hardly a good fix but returning nothing is better than crashing i began investigating with the simple tools of packet capture with wireshark and syscall capturing with strace the first discovery was that each request caused the tcp wrappers library to open and read etc hosts allow and etc hosts deny bogus on two counts debian is shipping the 2 files with no real entries only comments each packet caused file to be read but there was really no data it would have been better to have the file not exist and have the open fail but for our distribution there was no point in enabling tcp wrappers anyway the fix was simple to disable tcp wrappers the net snmp daemon retrieves the ipv4 and ipv6 routing table the old school way through proc this isn t a total disaster but since the route entries in proc start with an interface name and net snmp wants an ifindex it looks up each entry that is 300k extra ioctl calls short term hack was to just cache last ifname ifindex translation later i replaced it with a netlink route dump which gives ifindex surprisingly netlink route dump is already used in another mib next observation was that it is stupid to use snmpwalk to walk the whole system and instead use snmpbulk this helps but still the walk would not complete the real discovery was when looking at the net snmp container code internally net snmp uses an objectish abstraction to store data and the main ones are a flat table and a linked list the table is stored in sorted order for fast lookup and sequential access new entries are placed at the end of the table and a dirty bit is set for next lookup the problem is that each insert also does a lookup for duplicates which causes a sort this makes inserts do quicksort for each entry there is the scalability problem to make it more interesting net snmp creates the route table twice first it reads table from proc and puts entries in one table then walks that table to create the cache table used for lookup loading the cache with non scalable insertion takes several minutes on a really fast machine and the cache timeout is 30 seconds this ends up causing the cpu load because each request finds a dirty cache and does a full reload now for the good news fixing the insert wasn t the hard the first step was realizing that the temporary table doesn t have to a table container instead it can be changed to a fifo linked list the fifo container is o 1 on insert the actual cache container requires a different approach the table container has an unused flag to allow duplicates in the table turning the allow_duplicates flag makes inserts much faster because the table is not sorted until the first request these get the table load down to less than a 5 seconds on fast machine lastly a couple of other improvements help as well when the binary_table is expanded the code would calloc a new area copy the old data and then free the original this is much worse than just using realloc which can usually in place expansion when table is getting large the sort function can be optimized to avoid calling the comparison function and using a faster insertion sort for small sub sections these get the load down to less than a second extra credit to the first developer who implements a new net snmp container using something better for big tables like avl or b tree posted by linux network plumber at 12 45 pm 1 comment email this blogthis share to x share to facebook share to pinterest labels networking performance snmp thursday march 18 2010 gtsm i like seeing lwn writers pick up small patches and explain what they are why they are important as a developer often the impact of a change is not obvious and without further explanation significant changes go unnoticed the recent story about generalized ttl security measures in lwn net is one such example but when a story comes out the writer should do research on the background first it is nice to give some credit to the author and vyatta as well as also some history i did this patch based on an enhancement request for the current vyatta version the starting point was a unaccepted patch to quagga and existing implementation for freebsd systems it was one of those patches where the kernel change took less time than writing the test programs also the initial patch wasn t perfect since nothing ever is since it broke time wait sockets and missed the case of icmp messages both should be fixed by the time 2 6 34 rc2 comes out also the necessary support has not been integrated into upstream quagga yet i appreciate the review and feedback from eric andi david and pekka for making this work posted by linux network plumber at 10 53 pm 1 comment email this blogthis share to x share to facebook share to pinterest labels network tcp wednesday november 11 2009 powerpoint karoke contest anyone in the portland area interested in a fun and creative event is invited to the 1st timbertalkers powerpoint karoke contest on tuesday 11 24 at noon meeting location is 9403 b sw nimbus ave beaverton oregon if you have never done pptk here are the rules topic is draw from set of 30 topics probably 10 to 15 slides speaker will have 2 to 3 minutes prizes awarded in spirit of open source it will really be a openoffice impress contest and the slides will be drawn from creative commons licensed decks posted by linux network plumber at 4 43 pm no comments email this blogthis share to x share to facebook share to pinterest labels pptk toastmasters tuesday october 27 2009 ubuntu 9 10 hates kernel developers ubuntu has never been the easiest distribution to do kernel development but it looks like with 9 10 it has made things too painful i need to build and install kernels all the time and usually just update grub menu manually but now with grub 2 in ubuntu 9 10 they have wrapped the grub menu in grub mkconfig why it would be great if the system was setup so just doing make install in the kernel source put in the kernel and updated the grub cfg but no that would make too much sense p s they managed to break the sky2 driver somehow the connection won t come up and negotiates the wrong speed it turned out not to be a kernel problem wiring issue speed combined with some network manager changes posted by linux network plumber at 8 42 pm 5 comments email this blogthis share to x share to facebook share to pinterest tuesday october 20 2009 japan linux symposium i am giving three talks 1 routing performance 2 staging drivers 3 vyatta cli so if you are attending jls please stop by and give me support posted by linux network plumber at 1 25 am no comments email this blogthis share to x share to facebook share to pinterest thursday september 17 2009 netconf linuxcon linux plumber s conference it will be a busy week the network developer s are getting together at netconf over the weekend then linuxcon followed by linux plumber s conference hope the weather holds out portland has a tendency to rain when ever there is a big event posted by linux network plumber at 9 20 am no comments email this blogthis share to x share to facebook share to pinterest labels conference network older posts home subscribe to posts atom blog archive 2012 1 september 1 vxlan for linux 2011 1 february 1 2010 1 march 1 2009 7 november 1 october 2 september 1 july 1 june 1 february 1 2008 8 december 1 october 1 september 1 august 2 june 2 january 1 2007 1 december 1 about me linux network plumber view my complete profile
|