You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Harvey, Edward" <Ed...@patni.com> on 2008/04/06 19:05:54 UTC

svn client verbosity / debugging --> possibly help compiling

Hi all.

I'm trying to figure out where the time is being spent, during excessively long svn up / svn stat, etc, so I can decide if I need faster disks, faster network, or what.  When I do an svn update, it takes 6-7 minutes before the first packet goes out on the network, yet iostat seems to indicate there's not a lot of local disk activity.  Is there any way to make svn client verbose, or debug, to tell me what it's doing with its time?

Since I hit a roadblock trying to figure this out (couldn't find any way to make svn client verbose) I took a guess that I can compile it with some sort of debugging options turned on.  But I'm having difficulty getting the thing to compile, even for the simplest of configuration.  Here's what I'm trying:

RHEL 4u5 x86_64.  Not much customization; basically out-of-the-box.
tar xzf subversion-1.4.6.tar.gz
tar xzf subversion-deps-1.4.6.tar.gz
cd subversion-1.4.6
      ./configure --prefix=/home/eharvey/local
      (Everything looks good, but warning about no Berkeley DB)
      make
Error as follows:
cd subversion/libsvn_ra_dav && /bin/sh /scratch/eharvey/subversion-1.4.6/libtool --tag=CC --silent --mode=link gcc  -g -O2  -g -O2 -pthread    -rpath /scratch/eharvey/local/lib -o libsvn_ra_dav-1.la  commit.lo fetch.lo file_revs.lo log.lo merge.lo options.lo props.lo replay.lo session.lo util.lo ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la /scratch/eharvey/subversion-1.4.6/apr-util/libaprutil-0.la -lexpat /scratch/eharvey/subversion-1.4.6/apr/libapr-0.la -lrt -lm -lcrypt -lnsl  -lpthread -ldl /scratch/eharvey/subversion-1.4.6/neon/src/libneon.la -lz
/usr/bin/ld: /scratch/eharvey/subversion-1.4.6/neon/src/.libs/libneon.a(ne_request.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/scratch/eharvey/subversion-1.4.6/neon/src/.libs/libneon.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [subversion/libsvn_ra_dav/libsvn_ra_dav-1.la] Error 1

I've tried everything I could think of - export CXXFLAGS=-fPIC, editing Makefile, googling around, searching this list, run it as root, with or without the prefix, export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib

Still no luck.

This e-mail message may contain proprietary, confidential or legally privileged information for the sole use of the person or entity to whom this message was originally addressed. Any review, e-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error kindly delete  this e-mail from your records. If it appears that this mail has been forwarded to you without proper authority, please notify us immediately at netadmin@patni.com and delete this mail.

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


Re: svn client verbosity / debugging --> possibly help compiling

Posted by Charles Acknin <ch...@gmail.com>.
On Sun, Apr 6, 2008 at 9:05 PM, Harvey, Edward <Ed...@patni.com> wrote:
> Hi all.
>
>  I'm trying to figure out where the time is being spent, during excessively long svn up / svn stat, etc, so I can decide if I need faster disks, faster network, or what.  When I do an svn update, it takes 6-7 minutes before the first packet goes out on the network, yet iostat seems to indicate there's not a lot of local disk activity.

Although I understand you're trying to get subversion compile, your
question ultimately belongs to users@subversion.tigris.org .

(Anyway, it's just a guess but are you experiencing name resolution
issues?  Every time I hear about this kind of behavior I first happen
to think there's a DNS misconfiguration somewhere.  Have a try at
sniffing your network interface (tcpdump, ethereal, etc.), there's a
big chance it helps.)

Charles

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

Re: svn client verbosity / debugging --> possibly help compiling

Posted by Charles Acknin <ch...@gmail.com>.
On Sun, Apr 6, 2008 at 9:05 PM, Harvey, Edward <Ed...@patni.com> wrote:
> Hi all.
>
>  I'm trying to figure out where the time is being spent, during excessively long svn up / svn stat, etc, so I can decide if I need faster disks, faster network, or what.  When I do an svn update, it takes 6-7 minutes before the first packet goes out on the network, yet iostat seems to indicate there's not a lot of local disk activity.

Although I understand you're trying to get subversion compile, your
question ultimately belongs to users@subversion.tigris.org .

(Anyway, it's just a guess but are you experiencing name resolution
issues?  Every time I hear about this kind of behavior I first happen
to think there's a DNS misconfiguration somewhere.  Have a try at
sniffing your network interface (tcpdump, ethereal, etc.), there's a
big chance it helps.)

Charles

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