Visit Our UNIX and Linux User Community


SVN subversion performance issue.


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat SVN subversion performance issue.
# 1  
Old 06-09-2008
SVN subversion performance issue.

Hello to everyone,

I am having svn performace issue.

Whenever i am doing svn checkout it's slower on one machine than other Xen machine.

I will try to explain what is goin on here.

I have 3 machine and all three running linux (Centos 5)

Machine A is running Svn server.
Machine B is running Linux (centos5)
Machine C is running Linux too but Xen is configured so it has couple of Xen Virtual machines running.

So Here is what the problem is.

When i am doing SVN checkout on Machine B its really very fast.
But when i am doing SVN checkout on one of Xen virtual machine on Machine C it is 10 times slower than Machine B.

SVN is configured as SVNserve conf.
Xen Machines are mounted on NFS so when i am loggin as myself My home is mounted on Net App Filer.

There is any configuration that need to be done to make it faster on Xen machines.

Any question please ask i will try to explain again.

please any help will be great.

thanks,
Smilie
# 2  
Old 06-09-2008
Have you checked theoretical throughput on the xen machine? I have found xen without the paravirtualized divers can be dodgy on performance.

Try using the command ttcp (if you dont have it, find an rpm that inncludes it or a tar/gzip of the binary) and try to connect to the other machine with it.
# 3  
Old 06-09-2008
Thanks Mark replying to my thread. Smilie


I used the command ttcp and here is the result

ttcp -r -s
ttcp-r: buflen=8192, nbuf=2048, align=16384/0, port=5001
ttcp-r: sockbufsndsize=16384, sockbufrcvsize=87380, sockbufsize=51882, # tcp #
ttcp-r: accept from xxx.xxx.xxx.xxx
ttcp-r: 16777216 bytes in 0.161 real seconds = 101806.342 KB/sec +++
ttcp-r: 2235 I/O calls, msec/call = 0.074, calls/sec = 13887.767
ttcp-r: 0.000user 0.048sys 0:00real 23% 0i+0d 0maxrss 0+2pf 30

Transmition rate looks good to me.

So how i can enable para virtualization on my presently running Xen machine??
It is a rpm package i have to install on Xen machines?

Please help.
-lalit
# 4  
Old 06-09-2008
Quote:
Originally Posted by mark54g
...xen without the paravirtualized divers can be dodgy on performance.
+

Quote:
Originally Posted by email-lalit
Xen Machines are mounted on NFS so when i am loggin as myself My home is mounted on Net App Filer.

Simple answer...it's not that surprising really.
# 5  
Old 06-09-2008
Thanks reborg for replying.

I will try paravirtualization on one of xen machine and see how it goes?

I found out how to install them.
http://et.redhat.com/~jmh/pv_drivers/PV-Drivers-GDE.pdf

Meanwhile, if anyone have some more way to make SVN performace faster on xen machines.

Please help

I will let you guys know how para-virtualization is working for me or not.

Thanks,
-lalit
Smilie
# 6  
Old 06-09-2008
To be honest I'd just use a non Xen client connected to the NetApp to do that, that or use local storage for where I'm keeping my checkout.
# 7  
Old 06-11-2008
Hi everyone, Smilie

I did some testing and turn out that nfs mount is causing svn checkout slower on xen machines.

How i can make NFS faster mounted on Net App? So svn checkout on Xen machines run faster.

please any help.

thanks,
-lalit
SmilieSmilieSmilieSmilieSmilieSmilie

Previous Thread | Next Thread
Test Your Knowledge in Computers #64
Difficulty: Easy
HTTP uses UDP as the core transport protocol on the Internet.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Making post down hook script for svn regarding sending emails after an file is committed in svn

Hi Folks , I am asking this question but i apologise please if this is not the correct forum , I have to develop a shell script that i want to place in at hooks/post-commit , that is basically i have to develop a post hook script and the main functionality of that script would be lets say if... (0 Replies)
Discussion started by: sunsun06060606
0 Replies

2. Shell Programming and Scripting

Svn export issue

Hi all, When i do "svn export <URL of the specific file in svn>" it gives me file which is of older version instead of a file which is of latest or current working version. On the other hand, "svn co <URL of the directory in svn>" It gives me latest version committed files and... (0 Replies)
Discussion started by: nnsjw702
0 Replies

3. SuSE

SVN(subversion) installation on SLES 11

I had installed svn on SLES 11 using comands: zypper addrepo http://download.opensuse.org/repositories/devel:tools:scm:svn/SLE_11/devel:tools:scm:svn.repo zypper refresh zypper install subversion But when I run svn it gives me error as: linux-uw85:~/Desktop # svn help svn: error while... (4 Replies)
Discussion started by: rupeshkp728
4 Replies

4. Shell Programming and Scripting

Issue with svn update using cron job.

I want to update svn code using a nightly job using cron, i have created a job in cron as, 30 17-19 * * 1-5 /home/saprab/svnUpdate.sh <branch> <svnusername> <svnpassword> >> <logfile> 2>&1 svnUpdate.sh : =============== #!/bin/bash branch=$1 svnuser=$2 svnpass=$3 cd ${branch}... (2 Replies)
Discussion started by: bhavesh.sapra
2 Replies

5. Solaris

How to integrate SVN client to SVN server repository.

Hi, I am new to SVN configuration on Solaris 10.I have installed SVN client version 1.7. bash-3.00# ./svn --version svn, version 1.7.4 (r1295709) compiled Mar 2 2012, 12:59:36 Here my requirement is how to integrate svn client to One of the SVN server repository. My repository... (0 Replies)
Discussion started by: muraliinfy04
0 Replies

6. Red Hat

Subversion Timestamp Issue

Trying to find out the following strange subversion timestamping issue: - Used $Id$ in my source file and resulted in the following output Check date & time (issue 'date' command) on my local machine, it shows the following: Also check date & time on my subversion server, the time is... (0 Replies)
Discussion started by: tanlccc
0 Replies

7. UNIX for Dummies Questions & Answers

Permissions issue with webserver and svn

Update: Please anybody can give some help ? I've an issue with files ownerships. I have a drupal website and the "files" folder needs to be owned by "www-data" in order to let the users to upload files with php. However I'm now using svn and I need all folders and files to be owned by my... (1 Reply)
Discussion started by: aneuryzma
1 Replies

8. UNIX for Advanced & Expert Users

SVN Subversion Mac Questions

Hello all, I am the owner of a company that just lost it's programmer. Because I am not a programmer, I am trying to see if I can get some assistance setting up the following: Hey - couple questions On the SERVER SVN is kept. Is is maintained under the user USERSERVER The problem is... (0 Replies)
Discussion started by: yoyoyo777
0 Replies

9. UNIX and Linux Applications

integrating svn (subversion) with vi editor

hi, I have installed subversion in my debian system.and is working properly with authentication. my repository has only one workspace. and many authenticated users edit files in this. my question is simple. can we integrate svn with vi ,so that if anyone edits the file and make any... (1 Reply)
Discussion started by: madhusudankh
1 Replies

10. UNIX for Advanced & Expert Users

Problem with Subversion SVN

Hi, I am trtying to install SVN server with Apache. I have already configured apache with SVN modulesh and the same can be seen in the modules directory. -rwxr-xr-x 1 root root 34740 Jul 3 13:43 mod_authz_svn.so -rwxr-xr-x 1 root root 385133 Jul 3 13:43 mod_dav_svn.so now the... (1 Reply)
Discussion started by: Siddheshk
1 Replies

Featured Tech Videos