[revml] cvs -> p4 problems and memory usage

Chia-liang Kao clkao@clkao.org
Mon, 31 May 2004 00:09:35 +0100


--0OAP2g/MAC+5xKAE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,

1. unexpected p4 output:

testing with freebsd repository:

vcp cvs:/home/ncvs:src/sys/... --continue \
    map: (...)<> trunk/$1 (...)<(...)> branches/$2/$1 -- \
    p4:/tmp/p4freebsd://depot/freebsd/... --run-p4d

~8000 files, 271015 revs with 240557 tag applications

unexpected stderr from 'p4':
p4: //depot/freebsd/branches/AMANCIO/i386/isa/sound/configure.c#3 - all revision(s) already integrated in pending changelist.
vcp: writing revisions: [#-        ]  29709/271015 change 7660

22911.619365 vcp: change @7662: 1 revs:
    branches/AMANCIO/i386/isa/sound/configure.c#1.1.1.2 @7662 <AMANCIO> (<undef>) clone  1995-12-30 18:56:08Z peter "recording cvs-1.6 file death\n"
22911.623270 vcp: $ p4 -c vcp_tmp_24652 -p localhost:4050 branch -i
Branch vcp_24652 saved.
22911.705205 vcp: $ p4 -c vcp_tmp_24652 -p localhost:4050 -x - integrate -b vcp_24652
//depot/freebsd/branches/AMANCIO/i386/isa/sound/configure.c#2 - delete from //depot/freebsd/branches/voxware/i386/isa/sound/configure.c#3,#4
22912.133183 vcp: change @7663: 2 revs:
    trunk/i386/i386/machdep.c#1.166 @7663 <<undef>> (text) edit   1995-12-30 23:13:32Z davidg "In memory test, cast pointer as "
    trunk/amd64/amd64/machdep.c#1.166 @7663 <<undef>> (text) edit   1995-12-30 23:13:32Z davidg "In memory test, cast pointer as "
22912.137633 vcp: $ p4 -c vcp_tmp_24652 -p localhost:4050 branch -i
Branch vcp_24652 not changed.
22912.276423 vcp: $ p4 -c vcp_tmp_24652 -p localhost:4050 -x - integrate -b vcp_24652
//depot/freebsd/branches/AMANCIO/i386/isa/sound/configure.c#3 - all revision(s) already integrated in pending changelist.
22919.106497 vcp: unexpected stderr from 'p4':
p4: //depot/freebsd/branches/AMANCIO/i386/isa/sound/configure.c#3 - all revision(s) already integrated in pending changelist.

2. cvs continue seems buggy.

testing with the freebsd repository, cvs:/home/ncvs:src/etc/...

vcp cvs:/home/ncvs:src/etc/... --continue \
    map: (...)<> trunk/$1 (...)<(...)> branches/$2/$1 -- \
    p4:/tmp/p4freebsd://depot/freebsd/... --run-p4d

   500 files / 15593 revs

first run finished in about 2 hours. but a consecutive run submitted
another 10 changes. 3rd run ended normally with 'vcp: no revisions to
write'.

3. memory usage

for those interested:

* the ram usage does not grow over 30M while parsing cvs files
  and this takes about 40min.

* the ram usage grows to 60M before it starts writing to p4

* finally, it seems to stay (till it dies) around 90~100M writing to
  perforce.

This actually looks quite pleasant, especially another conversion stays around 15M at the final phase.

But the whole freebsd repository has 55071 files and much more revs, I
wonder the actual amount of memory. I'll post a follow-up when I test
it.

Cheers,
CLK

--0OAP2g/MAC+5xKAE
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAummuk1XldlEkA5YRAogMAJ4oMLa1uvibTm8cbLjswIB5KbwuZgCgjKDL
5IurRrph4aw4LZh2dHOQEW4=
=gLJf
-----END PGP SIGNATURE-----

--0OAP2g/MAC+5xKAE--