<font face="arial" size="2"><p style="margin:0;padding:0;">Thanks for the incredibly thoughtful response. I get the "packager" issue. It really compounds the problem if the upstream folks don't bother to focus on quality at the level one needs, coupled with the goals of the upstream folks being different than the packager.</p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;">Regarding Bob Taylor's resources... I worked closely with Bob and his various team members in a number of dimensions, including consulting for him. You are right that CeroWRT does not have that kind of resource. (I have been trying hard in other venues relating to radio issues that are really important to me to find a way to assemble a coordinated set of resources at such a scale, and I've failed so far. Still trying.)</p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;">However, I think that the technical issue one could work on in this respect is a way to create high-level system tests of routing functionality and performance that would be independent of hardware configuration and also capable of creating a network environment that would avoid regression. Jay Lepreau created a very nice platform framework at Utah that the network "innovation" community might be able to "copy" (where virtualized "networks" could be configured and tested). I'd be happy personally, for example, to provide some resources on my various home networks (the one in my home, and the ones in my "cloud" instances) to run "system tests" on new releases of CeroWRT and other systems - *if* it was run in a way that did not disrupt my other work, using a bounded percentage of capacity and devices.</p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;">I participated in the PlanetLab project that HP and Intel supported, coordinated by Princeton and others.</p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;">This was a model for a kind of "co-op" that incorporated networked resources.</p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;">We need to create a generic networking innovation framework that is *independent* of ISOC, IETF, Verizon, Cisco, ATT, Alcatel-Lucent, etc. Those guys may *help* but they should not be able to block experimentation or innovation (which was the point of PlanetLab).</p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;">-----Original Message-----<br />From: "Dave Taht" <dave.taht@gmail.com><br />Sent: Sunday, April 8, 2012 1:31pm<br />To: dpreed@reed.com<br />Cc: cerowrt-devel@lists.bufferbloat.net<br />Subject: Re: [Cerowrt-devel] Cero-state this week and last<br /><br /></p>
<div id="SafeStyles1333935610">
<p style="margin:0;padding:0;">On Thu, Apr 5, 2012 at 9:09 PM, <dpreed@reed.com> wrote:<br />> I understand this. In the end of the day, however, *regression tests*<br />> matter, as well as tests to verify that new functionality actually works.<br />><br /><br />The problems with developing global test suites, particularly when dealing with<br />embedded hardware, are manyfold. I certainly would like to have a full<br />test suite<br />that I could run on any router rather than the ad-hoc collection of<br />tests I run now.<br /><br />One of the problems we have is that we are testing for new problems,<br />and by definition,<br />you don't know what those are, and after you fix it, you need to<br />develop a viable test.<br /><br />I can think hundreds of things fixed in the past year that I'd like to<br />test for, not just on this<br />hardware, or this software, but over the internet, E2E.<br /><br />Example: in june of last year, there was a 10 year old bug in how ECN<br />enabled packets<br />were prioritized by the *default* pfifo_fast qdisc. I'll argue that<br />this has skewed every study<br />published about it in the last decade as well, and all that data and<br />academic papers need<br />to be reanalyzed - or preferably, thrown out, and we need to start over.<br /><br />The harder problem than writing the tests are:<br /><br />1) Which problems are important? What tests are valid? What is repeatable?<br />2) Who will write the test?<br />3) How can the test be deployed?<br />4) How often does it need to run?<br />5) How can the data be analyzed?<br />6) How does that work get paid for?<br /><br />I am happy that I have ONE ECN related study to rely on from steve<br />bauer at MIT. I'd love to have more, and one of my other projects<br />(thumbgps) is going to give us a baseline for investigating a bunch of<br />similar issues. I'm happy to have a solution emerging to problems 3<br />and 4 above. 1,2,5 and 6 remain unsolved.<br /><br />> I've managed projects with 200 daily "committers". Unless those committers<br />> get immediate feedback on what they break (accidentally) and design the<br />> tests for their new functionality so that others don't break what they<br />> carefully craft, projects go south and never recover.<br /><br />If I need to establish cred here, I've been a part of projects with<br />far more committers and managed up to about 70 staff myself.<br /><br />When working with the open source community, which is mostly<br />volunteers, there is no way to be dictatorial. Consensus needs to<br />sought. Needed stuff that nobody wants to do has to get paid for.<br /><br />The linux kernel - which is at best, 1/10th of the overall code base<br />in openwrt - goes through about 10,000 changesets every quarter. The<br />3.2 development cycle had nearly 1300 committers.<br /><br />http://lwn.net/Articles/472852/<br /><br />They all have their own processes for quality control, and somehow<br />manage to produce a usable system on a reliable basis.<br /><br />And that's just the kernel portion of the problem!<br /><br />A better word for the kind of work that goes on in developing an OS<br />like a redhat or openwrt is 'packaging'. You don't actually have<br />conventional 'developers', packagers are rather different catagory of<br />developer, skilled in make, cross-compilation techniques, and many<br />have a good familiarity with architecture-level issues (like<br />endianness and bit size and innards of a given architecture like arm<br />or mips). They are capable of basic coding in dozens of languages, all<br />on the same day, but are only highly skilled in one or two, at best.<br /><br />in this way they tend to be something of a hybrid between sysadmin and<br />developer. And they do care, a lot, about the quality of the<br />engineering, and try to push patches back to the developer, and make<br />sysadmins (and users) lives easier.<br /><br />Packagers do have standards for quality control, and do test on their<br />own platforms, but: as the potential test matrix has<br />several thousand permutations, having a tool like a buildbot that<br />tries to give at least some wider coverage to the most common<br />combinations, and leverages technology to give them adaquate feedback<br />to iteratively get it right.<br /><br />Like anything else, it can always be done better. In an ideal world, a<br />packager could do a test commit, get it built against all those<br />permutations, have run for 24 hours, exaustively checking all the<br />in-built functionality, have it's memory and cpu use analyzed, and get<br />the result back a few seconds later. Aside from needing Dr Who to help<br />out on parts of that, it's hard, expensive, and something of a tragedy<br />of the commons - somebody has to pay for all that infrastructure,<br />electricity, and testing for everyone to benefit.<br /><br />The gradually improving recent buildbot-disaster is a case-in-point.<br />It was working. A bunch of machines died over time. Nobody was paying<br />attention. It became a disaster. We fixed it with bailing wire, scotch<br />tape and stolen resources.<br /><br />I'd certainly love it if we had budget to where doing the logical<br />thing - build everything, all the time - was practical. Same goes for<br />developing regression tests, having racks of hardware that can be<br />reburnt and re-tested every day,<br /><br />This sort of pattern repeats in nearly every low budget project<br />(volunteer or corporate sponsored), but unfortunately Elon doesn't<br />hang out with us, and isn't going to fly in with the liquid oxygen.<br /><br />As for regression testing, regressions against what? (the answer is<br />too large to fit in the margins of this email)<br /><br />Certainly multiple companies make wireless test suites (one has been<br />actively helping out, actually), there are dozens of benchmark suites,<br />there are zillions of subcomponent tests...<br /><br />and in this market, razor thin margins on the vendors side, as well as<br />the ISPs. Now, I like to think that our governments and society are<br />waking up to the chaos that can ensue if the internet goes down, corps<br />are realizing that ipv4 can't last forever and ipv6 has to be made<br />deployable e2e, and maybe there's a shift in thinking that making the<br />Internet just work is a civil engineering job that *has* to be done<br />right ( http://esr.ibiblio.org/?p=4213 http://esr.ibiblio.org/?p=4196<br />)...<br /><br />but at the end of the day we just have to do the best engineering we<br />can with the resources available.<br /><br />> You don't have that rate of committers here, but it's not really an excuse<br />> to say -<br /><br />Well, in some ways we do. Adding in a new kernel requires depending on<br />a multitude of other people on having got it right.<br />Same goes for the other thousand packages.<br /><br />It has taken a year and a ton of effort (from multiple volunteers) to<br />get from where the cerowrt kernel lagged the mainline kernel by 3<br />versions, down to where it is only going to lag by 1. That effort was<br />necessarily if we wanted to be able to do work on both x86 and a<br />router simultaneously while investigating bufferbloat, security, and<br />ipv6, and be able to move forward (And back and forth) with a minimum<br />of backporting. That portion of the effort has eaten more of my time<br />this year than I care to think about.<br /><br />At the time we started hacking on cerowrt, most commercial embedded<br />products were based on 5 year old kernels, or older, due to how<br />difficult it is to track the mainline, and a perceived lack of demand<br />from consumers for new stuff, despite the ISPs increasing frustration<br />with what's being shipped today not meeting their needs or<br />expectations.<br /><br />We are trying to change that - in part by listening to the screams of<br />ISPs like comcast - but in also trying out new technologies such as<br />fixes for bufferbloat, ipv6, radical concepts like ccnx and openhip -<br />to be geek and early adoptor attractors - to get more of the needed<br />work done.<br /><br />Still, an effort well beyond the original scope of the "wide" project<br />seems needed to get ipv6 rolled out. The theoretical breakthroughs<br />required to fix bufferbloat seem almost trivial in comparison.<br /><br />> "we have to jam in code without testing it because we don't have a<br />> discipline of testing and it's a waste of time".<br /><br />It's a matter of having enough distributed testing.<br /><br />> 50% of what a developer should be doing (if not more) is making sure that<br />> they don't break more than they improve.<br /><br />so try 'packaging' rather than developing, and wrap your head around<br />the test matrix problem.<br /><br />><br />><br />><br />> I realize this is tough, not fun, and sometimes very frustrating. But cool<br />> "new stuff" is far less important than keeping stuff stable.<br /><br />This is a classic tension. I note that we're trying to fix the<br />internet here, before *it's* stability goes unstable.<br /><br />So a great deal of change and r&d is needed, and yes, it needs to be<br />managed well, but stability only qualifies as a goal in limited ways.<br /><br />> I'm not trying to be negative - this is stuff I learned at huge personal<br />> cost in very high stress environments where people were literally screaming<br />> at me every hour of every day.<br /><br />I have been in those too. I would say that the amount of stress I've<br />put myself under, trying to ship something by the end of this month -<br />compares closely. Personally I would like to like to offload about 95%<br />of what I currently do, so I could focus on what's truly important.<br />I'm glad we have more and more volunteers, self identifying problems,<br />leaping forward and going out on their own, to go fix them.<br /><br />Still the seat I wish I was sitting in now, with resources I wish I<br />could command, is Bob Taylor, circa 1968 or so.<br /><br />http://en.wikipedia.org/wiki/Robert_Taylor_%28computer_scientist%29<br /><br />He's always been a real inspiration to me.<br /><br />> The cerowrt/bufferbloat stuff is worth doing, and it's worth doing right -<br />> I'm a fan.<br /><br />THX!<br /><br />><br />><br />> -----Original Message-----<br />> From: "Dave Taht" <dave.taht@gmail.com><br />> Sent: Thursday, April 5, 2012 10:50pm<br />> To: dpreed@reed.com<br />> Cc: cerowrt-devel@lists.bufferbloat.net<br />> Subject: Re: [Cerowrt-devel] Cero-state this week and last<br />><br />> On Thu, Apr 5, 2012 at 7:33 PM, <dpreed@reed.com> wrote:<br />>> A small suggestion.<br />>><br />>><br />>><br />>> Create a regression test suite, and require contributors to *pass* the<br />>> test<br />>> with each submitted patch set.<br />><br />> A linear complete build of openwrt takes 17 hours on good hardware.<br />> It's hard to build in parallel.<br />><br />> A parallel full build is about 3 hours but requires a bit of monitoring<br />><br />> Incremental package builds are measured in minutes, however...<br />><br />>> Be damned politically incorrect about checkins that don't meet this<br />>> criterion - eliminate<br />>> the right to check in code for anyone who contributes something that<br />>> breaks<br />>> functionality.<br />><br />> The number of core committers is quite low, too low, at present.<br />> However the key problem here is that<br />> the matrix of potential breakage is far larger than any one contribute<br />> can deal with.<br />><br />> There are:<br />><br />> 20 + fairly different cpu architectures *<br />> 150+ platforms *<br />> 3 different libcs *<br />> 3 different (generation) toolchains *<br />> 5-6 different kernels<br />><br />> That matrix alone is hardly concievable to deal with. In there are<br />> arches that are genuinely weird (avr anyone), arches that have<br />> arbitrary endian, arches that are 32 bit and 64 bit...<br />><br />> Add in well over a thousand software packages (everything from Apache<br />> to zile), and you have an idea of how much code has dependencies on<br />> other code...<br />><br />> For example, the breakage yesterday (or was it the day before) was in<br />> a minor update to libtool, as best as I recall. It broke 3 packages<br />> that cerowrt has available as options.<br />><br />> I'm looking forward, very much, to seeing the buildbot produce a<br />> known, good build, that I can layer my mere 67 patches and two dozen<br />> packages on top of without having to think too much.<br />><br />>> Every project leader discovers this.<br />><br />> Cerowrt is an incredibly tiny superset of the openwrt project. I help<br />> out where I can.<br />><br />>> Programmers are *lazy* and refuse to<br />>> check their inputs unless you shame them into compliance.<br />><br />> Volunteer programmers are not lazy.<br />><br />> They do, however, have limited resources, and prefer to make progress<br />> rather than make things perfect. Difficult to pass check-in tests<br />> impeed progress.<br />><br />> The fact that you or I can build an entire OS, in a matter of hours,<br />> today, and have it work, most often buffuddles me. This is 10s of<br />> millions of lines of code, all perfect, most of the time.<br />><br />> It used to take 500+ people to engineer an os in 1992, and 4 days to<br />> build. I consider this progress.<br />><br />> There are all sorts of processes in place, some can certainly be<br />> improved. For example, discussed last week was methods for dealing<br />> with and approving the backlog of submitted patches by other<br />> volunteers.<br />><br />> It mostly just needs more eyeballs. And testing. There's a lot of good<br />> stuff piled up.<br />><br />> http://patchwork.openwrt.org/project/openwrt/list/<br />>><br />>><br />>><br />>> -----Original Message-----<br />>> From: "Dave Taht" <dave.taht@gmail.com><br />>> Sent: Thursday, April 5, 2012 10:27pm<br />>> To: cerowrt-devel@lists.bufferbloat.net<br />>> Subject: [Cerowrt-devel] Cero-state this week and last<br />>><br />>> I attended the ietf conference in Paris (virtually), particularly ccrg<br />>> and homenet.<br />>><br />>> I do encourage folk to pay attention to homenet if possible, as laying<br />>> out what home networks will look like in the next 10 years is proving<br />>> to be a hairball.<br />>> ccrg was productive.<br />>><br />>> Some news:<br />>><br />>> I have been spending time fixing some infrastructural problems.<br />>><br />>> 1) After be-ing blindsided by more continuous integration problems in<br />>> the last month than in the last 5, I found out that one of the root<br />>> causes was that the openwrt build cluster had declined in size from 8<br />>> boxes to 1(!!), and time between successful automated builds was in<br />>> some cases over a month.<br />>><br />>> The risk of going 1 to 0 build slaves seemed untenable. So I sprang<br />>> into action, scammed two boxes and travis has tossed them into the<br />>> cluster. Someone else volunteered a box.<br />>><br />>> I am a huge proponent of continuous integration on complex projects.<br />>> http://en.wikipedia.org/wiki/Continuous_integration<br />>><br />>> Building all the components of an OS like openwrt correctly, all the<br />>> time, with the dozens of developers involved, with a minimum delta<br />>> between commit, breakage, and fix, is really key to simplifying the<br />>> relatively simple task we face in bufferbloat.net of merely layering<br />>> on components and fixes improving the state of the art in networking.<br />>><br />>> The tgrid is still looking quite bad at the moment.<br />>><br />>> http://buildbot.openwrt.org:8010/tgrid<br />>><br />>> There's still a huge backlog of breakage.<br />>><br />>> But I hope it gets better. Certainly building a full cluster of build<br />>> boxes or vms (openwrt@HOME!!) would help a lot more.<br />>><br />>> If anyone would like to help hardware wise, or learn more about how to<br />>> manage a build cluster using buildbot, please contact travis<br />>> <thepeople AT openwrt.org><br />>><br />>> 2) Bloatlab #1 has been completely rewired and rebuilt and most of<br />>> the routers in there reflashed to Cerowrt-3.3.1-2 or later. They<br />>> survived some serious network abuse over the last couple days<br />>> (ironically the only router that crashed was the last rc6 box I had in<br />>> the mix - and not due to a network fault! I ran it out of flash with a<br />>> logging tool).<br />>><br />>> To deal with the complexity in there (there's also a sub-lab for some<br />>> sdnat and PCP testing), I ended up with a new ipv6 /48 and some better<br />>> ways to route that I'll write up soon.<br />>><br />>> 3) I did finally got back to fully working builds for the ar71xx<br />>> (cerowrt) architecture a few days ago. I also have a working 3.3.1<br />>> kernel for the x86_64 build I use to test the server side.<br />>> (bufferbloat is NOT just a router problem. Fixing all sides of a<br />>> connection helps a lot). That + a new iproute2 + the debloat script<br />>> and YOU TOO can experience orders of magnitude less latency....<br />>><br />>> http://europa.lab.bufferbloat.net/debloat/ has that 3.3.1 kernel for<br />>> x86_64<br />>><br />>> Most of the past week has been backwards rather than forwards, but it<br />>> was negative in a good way, mostly.<br />>><br />>> I'm sorry it's been three weeks without a viable build for others to test.<br />>><br />>> 4) today's build: http://huchra.bufferbloat.net/~cero1/3.3/3.3.1-4/<br />>><br />>> + Linux 3.3.1 (this is missing the sfq patch I liked, but it's good<br />>> enough)<br />>> + Working wifi is back<br />>> + No more fiddling with ethtool tx rings (up to 64 from 2. BQL does<br />>> this job better)<br />>> + TCP CUBIC is now the default (no longer westwood)<br />>> after 15+ years of misplaced faith in delay based tcp for wireless,<br />>> I've collected enough data to convince me the cubic wins. all the<br />>> time.<br />>> + alttcp enabled (making it easy to switch)<br />>> + latest netperf from svn (yea! remotely changable diffserv settings<br />>> for a test tool!)<br />>><br />>> - still horrible dependencies on time. You pretty much have to get on<br />>> it and do a rndc validation disable multiple times, restart ntp<br />>> multiple times, killall named multiple times to get anywhere if you<br />>> want to get dns inside of 10 minutes.<br />>><br />>> At this point sometimes I just turn off named in /etc/xinetd.d/named<br />>> and turn on port 53 for dnsmasq... but<br />>> usually after flashing it the first time, wait 10 minutes (let it<br />>> clean flash), reboot, wait another 10, then it works. Drives me<br />>> crazy... Once it's up and has valid time and is working, dnssec works<br />>> great but....<br />>><br />>> + way cool new stuff in dnsmasq for ra and AAAA records<br />>> - huge dependency on keeping bind in there<br />>> - aqm-scripts. I have not succeed in making hfsc work right. Period.<br />>> + HTB (vs hfsc) is proving far more tractable. SFQRED is scaling<br />>> better than I'd dreamed. Maybe eric dreamed this big, I didn't.<br />>> - http://www.bufferbloat.net/issues/352<br />>> + Added some essential randomness back into the entropy pool<br />>> - hostapd really acts up at high rates with the hack in there for more<br />>> entroy (>From the openwrt mainline)<br />>> + named caching the roots idea discarded in favor of classic '.'<br />>><br />>><br />>> --<br />>> Dave Täht<br />>> SKYPE: davetaht<br />>> US Tel: 1-239-829-5608<br />>> http://www.bufferbloat.net<br />>> _______________________________________________<br />>> Cerowrt-devel mailing list<br />>> Cerowrt-devel@lists.bufferbloat.net<br />>> https://lists.bufferbloat.net/listinfo/cerowrt-devel<br />><br />><br />><br />> --<br />> Dave Täht<br />> SKYPE: davetaht<br />> US Tel: 1-239-829-5608<br />> http://www.bufferbloat.net<br /><br /><br /><br />-- <br />Dave Täht<br />SKYPE: davetaht<br />US Tel: 1-239-829-5608<br />http://www.bufferbloat.net</p>
</div></font>