You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by vikram raj skumar <vi...@rediffmail.com> on 2005/09/29 06:44:00 UTC

Its taking 2-3 weeks for execution !!!

  
  
Hi,

Its taking 2-3weeks !!! for execution of p42svn.pl on 1.6GB data from p4 repos. Is there any way to make the p42svn execution faster?
can you please give a quick suggestion on this?

with thanks,
vikram raj.

Re: Its taking 2-3 weeks for execution !!!

Posted by Dimitri Papadopoulos-Orfanos <pa...@shfj.cea.fr>.
Hi,

I wrote:
> I'm having similar problems myself.
> [...]
> So I've tried running p42svn.pl directly on the Perforce server, but it 
> ran out of memory and I had to reboot the server. I have aksed sysadmins 
> to buy RAM or the server (128 Mb -> 512 Mb).

This server has now been upgraded to 640 MB of RAM. Unfortunately it 
looks like this is still not enough, p42svn.pl currently fails while 
converting a 1,9 GB Perforce depot. I'll try to add 512 MB of additional 
RAM and see if it helps.

This could be a memory leak in the P4 Perl module, it looks like memory 
usage grows linearly with time.

Anyway, there are indeed many problems with p42svn.pl, hopefully 
throwing lots of RAM into the server will help in most cases. I just 
hope I won't have to upgrade to a 64-bit server with more than 2 GB of 
RAM to convert our Perforce depot to a Subversion dump file.


> [...]
> By the way I got an error message while running the latest p42svn.pl:
>     Not an ARRAY reference at /home/user/p42svn.pl line 639.
> which I got rid of by commenting out line 639 and I also got warnings:
>     Key (depotFile) not a reference! at P4.pm line 211.
>     Key (rev) not a reference! at P4.pm line 211.
> which I ignored.

This is a known problem with the current stable release of P4 (3.4804). 
This problem is fixed in recent development versions. Unfortunately the 
current development versions (3.5073) suffer other serious problems so I 
had to revert to 3.4804 and ignore these messages:
http://maillist.perforce.com/pipermail/p4perl/2005q4/000133.html

Dimitri Papadopoulos

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Its taking 2-3 weeks for execution !!!

Posted by Dimitri Papadopoulos-Orfanos <pa...@shfj.cea.fr>.
Hi,

> Its taking 2-3weeks !!! for execution of p42svn.pl on 1.6GB data from p4 
> repos. Is there any way to make the p42svn execution faster?
> can you please give a quick suggestion on this?

I'm having similar problems myself.

The worst part is that since our Symantec Enterprise Firewall was 
"upgraded" to the latest and greatest, our bandwidth has gone down from 
4 Mb/s to 20 Kb/s. The firewall stands in the way of the Perforce 
server, so the bottleneck is currently the network here.

So I've tried running p42svn.pl directly on the Perforce server, but it 
ran out of memory and I had to reboot the server. I have aksed sysadmins 
to buy RAM or the server (128 Mb -> 512 Mb).

Make sure:
* you've got enough memory on the machine running p42svn.pl,
* the bandwidth to the Perforce server (if different) is sufficient,
   try running the script on the Perforce server.

I had successfully executed p42svn.pl on a 1.5 Gb depot something like 
12 months ago while testing Subversion. That was before the current 
bandwidth problem, I seem to recall it had taken a few hours to complete 
- at most.

By the way I got an error message while running the latest p42svn.pl:
	Not an ARRAY reference at /home/user/p42svn.pl line 639.
which I got rid of by commenting out line 639 and I also got warnings:
	Key (depotFile) not a reference! at P4.pm line 211.
	Key (rev) not a reference! at P4.pm line 211.
which I ignored.

Dimitri Papadopoulos

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org