Making diff fast (was Re: Some notes on distributed SCM)

Martin Pool mbp at sourcefrog.net
Mon Apr 11 00:32:29 BST 2005


On Sun, 2005-04-10 at 19:11 -0400, Chris Mason wrote:

> This is only true if your machine does nothing other then source control.  
> make -j 10 can toss the inodes from cache, or starting your gui email client, 
> or ...

I'd expect that make -j10 would leave a fair number of the source inodes
in memory.  (Arch loses by contrast because Make has no reason to read
the id files.)

Of course the vc tool itself might also be evicted, and pulling it all
back in could take a little while.

Another option is a kind of "pre-heater", loading all the stat
information from a separate process so that we don't need to block
waiting for each inode to come in.

I've already been running bzr under "stat -c" to make sure that as much
as possible the system call counts are a low multiple of the number of
source files.  

-- 
Martin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050411/e62779b8/attachment.pgp 


More information about the bazaar mailing list