text stringlengths 15 499 |
|---|
[04:32] <mwhudson> spm: any idea how to do that? |
[04:32] <spm> mwhudson: sure - point us at a way of getting the numbers, or numberise? |
[04:33] <mwhudson> spm: of course, i should simply dump the data into our separate-from-main-database *cough* |
[04:33] <mwhudson> spm: i'm thinking more where to store the data |
[04:33] <spm> oh |
[04:33] <spm> is this something we'd ping on a regular basis? |
[04:34] <mwhudson> mmf maybe it can wait until we use the job system properly, then we can pull it from the database |
[04:34] * jml is curious |
[04:34] <mwhudson> spm: to be specific |
[04:34] <mwhudson> spm: there's this method, acquireBranchToPull, that returns a branch that's waiting to be pulled |
[04:35] <mwhudson> spm: i'd like to log somewhere how long it's been waiting |
[04:35] <mwhudson> right now there's not really anywhere in the db to log this |
[04:36] <spm> mwhudson: hmmm |
[04:36] <mwhudson> i think using a BranchJob probably really is the right answer |
[04:36] <mwhudson> jml: is this making sense to you? |
[04:36] <spm> is this logged anywhere? request/start/fin times? |
[04:36] <jml> mwhudson, yeah. |
[04:37] <mwhudson> spm: currently, no |
[04:37] <jml> mwhudson, 'how long it's been waiting for' is interesting, but it's not ultimately the value we'd like to optimize. |
[04:37] <mwhudson> jml: which is what? how long from request until completion? |
[04:38] <jml> mwhudson, for hosted branches, it's how long from push finished until pulled&scanned. |
[04:38] <mwhudson> jml: that's less under our control though |
[04:38] <mwhudson> jml: for example, jelmer's open office branch was always going to take ages |
[04:39] <mwhudson> jml: from my pov as an integrator, i think all i can do is squeeze on the time spent not working |
[04:40] <jml> mwhudson, well, I don't mean to say it's either / or. |
[04:40] <mwhudson> jml: ok |
[04:45] <spm> jml: to throw the question back at you - if you know that inro (push fin'ed to pull/scan) what action(s) would you expect to take given that info? |
[04:45] <spm> s/inro/info/ |
[04:46] <jml> spm: if that were all the information I had, I'd ask for more numbers :) |
[04:46] <spm> jml: heh |
[04:47] <jml> spm: but it is the number that we ultimately care about |
[04:47] <spm> is a serious question tho - the difference between reporting vs analysis. the numbers are useless in and of themselves in a report. it's the actions those numbers drive that matters. Else it's so much "Gee Whiz" |
[04:48] <jml> spm: in this case, because there are so many parts to the system, and because the design for quite a few of those parts is changing, it makes sense to have an overall thing that measures what we value |
[04:48] <spm> certainly. so we can? add more servers? speed up the code? |
[04:48] <jml> spm: we know the problem fairly well, so we are unlikely to do a local optimization that causes a global sub-optimization, but it's still worth being careful of it |
[04:48] <spm> both :-D |
[04:49] <mwhudson> spm: a particular knob to tune is how many branches we pull in parallel |
[04:49] <jml> spm: see the impact of bzr upgrades, see the impact of branches moving to a new format, see how database changes affect the scanner etc. |
=== Ursinha is now known as Ursinha-afk |
[04:50] <spm> coolio. I wasn't objecting btw, just asking in a way to help drive a foxus on what you *really* need, vs want. if you ken. :-) |
[04:50] <thumper> damn firebug! |
[04:50] <jml> spm: I understand. |
[04:50] <spm> foxus. sigh. focus :-) |
[04:50] <thumper> it lies! |
[04:50] <jml> spm: I've been wanting to do it for a very long time :) |
[04:50] <thumper> firebug tells me it is using white-space: pre-wrap |
[04:50] <thumper> but konq view source tells me no |
[04:50] <thumper> (and the source code itself) |
[04:51] <spm> thumper: "computer say no"? |
[04:51] <jml> spm: the principle I'm working from is "measure what we value". |
[04:54] <spm> jml: for sure! I try and hit things like that with the "So What?" question. This value goes up. So what? What do we do differently? Goes down? same. Is *great* for alerts. We get an alert on codebrowse for example - do we ignore or do an action. if we ignore, why have the alert in the first place. |
[04:55] <jml> right :) |
[04:57] <spm> so back to the original. if we want to know how many branches to pull in ||, can we get that closer to the branchscanner itself? proxy it via load? type of thing. |
[04:57] <spm> would throughput of all branches scanned be better? vs time/delay? |
[04:58] <spm> or just buy honking 64 core boxes with PT's of ram and bugger it all :-P |
[04:59] <mwhudson> argh |
[04:59] <mwhudson> we seem to have two interfaces called IBranchPuller :( |
[04:59] <jml> mwhudson, sorry |
[04:59] <jml> mwhudson, that's my fault. |
[04:59] <mwhudson> oh well |
[05:00] <jml> spm: I don't understand "get that closer to the scanner" |
[05:01] <spm> jml: heh. sure. what I meant was, is it better to look down in the weeds - at a single process (vs daemon) vs the holistic start to finsih. |
[05:01] <jml> spm: we want to combine the puller and the scanner, to reduce the amount of dead time. |
[05:01] <spm> right |
[05:01] <jml> spm: we ought to do both! |
[05:01] <jml> spm: we know we are done when the overall number is sufficiently low. |
[05:02] <spm> soudns fair to me - cause that way you'll know if holistic is better throughput etc; and detail is more efficient. |
[05:02] <jml> (of course almost everywhere we're saying 'number' here, we mean 'distribution') |
[05:02] <spm> :-) |
[05:03] <spm> so... have a start of holistic timestamp logged in a table; end of same; and maybe reuse same table(s) (normalised) to get the detail for individual jobs? |
[05:03] <spm> the branch scan took X-Y seconds; the entire start to finish request took A-B seconds? |
[05:03] <mwhudson> the main problem with the scanner is the fucking branchrevision table |
[05:04] <jml> yeah, something like that |
[05:04] <spm> the former would be useful for code performance improvement feedback |
[05:04] <mwhudson> unfortunately, we need to do design to fix this :( |
[05:04] <spm> mwhudson: nah. we're open source now. a solution will magically arrive for us :-P |
[05:04] <mwhudson> spm: hah |
[05:05] <jml> spm: you've seen https://dev.launchpad.net/Code?action=AttachFile&do=view&target=codehosting.png right? |
[05:05] <spm> jml: verra briefly, yes. it didn't seem complicated enough tho |
[05:06] <jml> :) |
[05:06] <jml> spm: I left out the Cthulhu's |
[05:06] <spm> for shame |
[05:07] <jml> (ever since then I've been cursed with superfluous apostrophe's) |
[05:07] <spm> doesn't lh talk direct to xmlrpc? |
[05:07] <jml> spm: http://paste.ubuntu.com/225869/ |
[05:07] <wgrant> Nyargh. |
[05:07] <mwhudson> spm: yes |
[05:07] <mwhudson> spm: apache does too |
[05:07] <wgrant> Can I get doctest to avoid doing its diffing thing and just give me the raw output, or do I have to run the test manually myself? |
[05:07] <mwhudson> well, for the moment |
[05:07] <spm> mwhudson: :-) |
[05:07] <mwhudson> soon it will talk to the db |
[05:07] <spm> mwhudson: apache? |
[05:08] <mwhudson> spm: branch-rewrite.py |
[05:08] <mwhudson> spm: it's almost apache |
[05:08] <spm> ah |
[05:08] <jml> I have the svg if you'd like to update it. |
[05:08] <jml> wgrant, that, I don't know. |
[05:09] <wgrant> Because it makes an awful mess of the diff. |
[05:09] <jml> wgrant, the version of zope.testrunner we use is a little obsure. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.