Re: boring BK stats

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Sun Sep 22 2002 - 21:01:39 EST


Larry McVoy wrote:
> I should be working on getting the bk-3.0 release done but I'm sick of
> fixing BK-on-windows bugs...
>
> Linus' kernel tree has 13333 revision controlled files in it. Without
> repository compression, it eats up 280M in an ext2 fs. With repository
> compression, that drops to 129M. After checking out all the files, the
> size of the revision history and the checked out files is 317MB when
> the revision history is compressed. That means the tree without the
> history is 188MB, we get the revision history in less space than the
> checked out tree. That's pretty cool, by the way, I know of no other
> SCM system which can say that.
>
> Checking out the tree takes 16 seconds. Doing an integrity check takes 10
> seconds if the repository is uncompressed, 15 seconds if it is compressed.
> That's on 1.3Ghz Athlon w/ PC133 memory running at the slower CAS rate,
> but lots of it, around 900MB.

If you can't fit a whole tree including metadata into RAM, though, BK
crawls... Going from "bk citool" at the command line to actually
seeing the citool window approaches five minutes of runtime, on this
200MB laptop... [my dual athlon with 512MB RAM corroborates your
numbers, though] "bk -r co -Sq" takes a similar amount of time...

I also find that BK brings out the worst in the 2.4 kernel
elevator/VM... mouse clicks in Mozilla take upwards of 10 seconds to
respond, when "bk -r co -Sq" is running on this laptop [any other
read-from-disk process behaves similarly]. And running any two BK jobs
at the same time is a huge mistake. Two "bk -r co -Sq" runs easily take
four or more times longer than a single run. Ditto for consistency
checks, or any other disk-intensive activity BK indulges in.

Next time I get super-annoyed at BK on this laptop, I'm gonna look into
beating the disk scheduler into submission... some starvation is
clearly occurring.

</rant>

        Jeff

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Sep 23 2002 - 22:00:37 EST