2008/5/8 mabshoff <[EMAIL PROTECTED]>: > > On May 8, 6:17 pm, "John Cremona" <[EMAIL PROTECTED]> wrote: > > Hi John, > > > Additional timings. > > The original timings are odd, i.e. no speed up at all. Maybe some env > variable didn't get set properly or there is a bug lurking in the > current hook up code for pbuild in sage-sage somewhere. > > > > After a first clone (from the PBUILD build) doing > > "sage -br" to get back to the main branch took 8m29s. Then doing a > > new clone from the main branch took 7s. Then another "sage -br" is > > almost instantaneous, after which yet another clone is only 7s. > > Yes, one of the benefits of pbuild is that hashed file content is used > to decide whether a rebuild is needed and not time stamps. So once you > have a working branch and then clone a "sage -br" or even a "sage -ba" > should be more or less "free". But what you describe certainly doesn't > come close to that ideal, so we will need to do some more debugging > and bug fixing before pbuild becomes the default. > > > > I'm not sure any of this helps, it certainly seems bizarre to me. > > Yes, I wouldn't use "bizarre" but "buggy and broken", but thanks for > testing and feedback :). >
You're welcome. It is certainly possible I got confused doing all that. Also the machine I was doing it on has a habit of disconnecting me when idle, so I have to reconnect, and then might forget to reset the enronment variables. Question: at what point is it important to have SAGE_PBUILD and SAGE_BUILD_THREADS set? Is it only when Sage is first built from source, or should they be set for other things (sage -br and sage -clone, for example)? If the latter then it is highly likely that they were *not* set after the initial build (becuase of being disconnected as I said) which would mean that some of those timings are not trustworthy. John > > John > > > > > > Cheers, > > Michael > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
