lkml.org 
[lkml]   [2003]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: BK->CVS, kernel.bkbits.net
On Wed, Apr 23, 2003 at 05:49:47PM +0200, Carl-Daniel Hailfinger wrote:
> > % time bk pull
> > ....
> > 444.95user 42.29system 49:09.46elapsed 16%CPU (0avgtext+0avgdata 0maxresident)k
> > 0inputs+0outputs (326737major+196385minor)pagefaults 0swaps
> >
> >
> > % time cvs update
> > .....
> > 2.78user 1.94system 4:12.36elapsed 1%CPU (0avgtext+0avgdata 0maxresident)k
> > 0inputs+0outputs (333major+7240minor)pagefaults 0swaps

Fast or safe, pick one. CVS has no integrity check and you will never know
if you have bad data or not. And the BK checks find el cheapo memory dimms
and all sorts of other problems all the time. It even found a cache aliasing
bug in SPARC/Linux...

The BK integrity check will tell you right away if any of your data is bad.
*Everyone* hates the check until it saves their butt and then they decide
it's not such a bad idea. It's a lot like a seatbelt - you don't like it
until something goes wrong.

BK != CVS. You want fast and loose, by all means, use CVS, that's not our
intended market and we don't care about fast where fast means bad data.

> > That is an order of magnitude difference in wall-clock time! This is
> > on my humble notebook with "only" 128Meg of RAM. The delay is mostly
> > in the consistency checking. Sure there is a way to turn that off.
>
> Just add this line to your /etc/BitKeeper/etc/config:
> []partial_check:yes!
>
> and you should notice a big speedup.
>
> P.S. If anyone knows other speedup tricks for a kernel tree in bk,
> please tell me.

Mount the file system with noatime.

Buy enough memory to fit the kernel in memory and on a 1Ghz processor that
pull will take about 20 seconds. Even laptop memory is pretty cheap these
days. Pricewatch says $80 for .5GB for laptops, that's cheap.
--
---
Larry McVoy lm at bitmover.com http://www.bitmover.com/lm
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:1.567 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site