You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Chris <ch...@angieslist.com> on 2009/07/02 19:34:00 UTC

Running Subversion on a Windows VM

Hey all,
I am about to make some adjustments to the way we are hosting our subversion repository, but I have some performance concerns in doing so.  I know there were a couple email threads posted on  svn.haxx.se a while ago, but I didn't really get what I needed from them.  Anyway, here is the scenario and what I would like to know:

I work in a mid-sized shop(20 devs) that is currently running Subversion 1.6 (as a windows service) on a Windows 2003 box right now, but the box itself is old and we are going to swap it out and use it for something else soon.  So, there are arrangements being made on what to do with the repository... i.e. what to put it on next.  I am also mirroring this primary repository to an off-site location with our production DR stuff.  The thought is to spin up a Windows 2003 VM (hosted on one of our ESX boxes), move the primary repository over to it, and continue life as normal.  I am a huge VM fan and should just know better probably, but are there any performance concerns I SHOULD have and investigate more into... Has anyone run things this way and stuck with it for a lengthy period?   If so, what has your experience been... good... bad... no diff ?

Any feedback would be much appreciated.

Thanks!
Chris

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2367569

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Running Subversion on a Windows VM

Posted by Nico Kadel-Garcia <nk...@gmail.com>.
On Fri, Jul 3, 2009 at 11:14 AM, John Waycott<ja...@cox.net> wrote:

> VM's are becoming very popular. IT departments are buying very powerful
> servers these days and they don't want to dedicate it to one task that takes
> 3% of the CPU... but they do want to sandbox stuff to avoid conflicts as
> much as possible.

A large subversion repository is one of the *worst* candidates for
virtualization. It's heavily disk I/O dependent, Its operations are
distinct and unlikely to remain cached well, and providing encryptions
to a VM is particularly burdensome for all sorts of practical and
theoretical reasons.

> That said... if the OP is looking for a low overhead solution to create a VM
> that only is for subversion, then I would say something like Debian Linux
> server will work just as well (with 0 license fees), if not better. Of
> course, if you don't have any *Nix admins on staff a Win server in a VM
> should work just fine.
>
> Another advantage of a good VM setup is the high availability it provides.
> We're running Citrix XenServer on two servers. SVN is in a VM. An IT admin
> can easily move the VM from one server to another without anyone noticing.
> It means that should there be a need to shutdown the server we can do it
> without shutting down SVN. This is important in globally distributed
> organizations like ours because developers access Subversion 24 hours/day.
> -- John

I like Xen a lot, and am saddened that RedHat seems to be pursuing KVM
instead: their integration of Xen into RHEL 5 (and thus, its
availability in CentOS as well) is extremely handy for building fast
prototyping environment.

The centralized deployment of Subversion and its CVS ancestor can
cause issues for detached development. Unfortunately, I've repeatedly
found that the work to port the latest Subversion back to an older,
still active OS can cause real pain and wasted engineering time. (RHEL
4 right now is such an environment: no, updating SQLite and Python is
not an option in this environment.)

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2367919

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Running Subversion on a Windows VM

Posted by John Waycott <ja...@cox.net>.
On Jul 2, 2009, at 2:11 PM, Bob Archer wrote:

>>
>> If you don't really NEED to run Subversion in a VM box (i.e. you have
>> Subversion as a part of your own project and run it in sandboxed
>> environment)
>> - you would be better off with native solution. Less segments in  
>> chain
>> - lower
>> chance for system failure.
>
> VM's are becoming very popular. IT departments are buying very  
> powerful servers these days and they don't want to dedicate it to  
> one task that takes 3% of the CPU... but they do want to sandbox  
> stuff to avoid conflicts as much as possible.
>
> That said... if the OP is looking for a low overhead solution to  
> create a VM that only is for subversion, then I would say something  
> like Debian Linux server will work just as well (with 0 license  
> fees), if not better. Of course, if you don't have any *Nix admins  
> on staff a Win server in a VM should work just fine.
>
Another advantage of a good VM setup is the high availability it  
provides. We're running Citrix XenServer on two servers. SVN is in a  
VM. An IT admin can easily move the VM from one server to another  
without anyone noticing. It means that should there be a need to  
shutdown the server we can do it without shutting down SVN. This is  
important in globally distributed organizations like ours because  
developers access Subversion 24 hours/day.

-- John

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2367824

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: Running Subversion on a Windows VM

Posted by Bob Archer <bo...@amsi.com>.
> > I am a huge VM fan and should just know better probably, but are
> there any
> > performance concerns I SHOULD have and investigate more into... Has
> anyone
> > run things this way and stuck with it for a lengthy period?   If so,
> what
> > has your experience been... good... bad... no diff ?
> 
> > Any feedback would be much appreciated.
> 
> If you don't really NEED to run Subversion in a VM box (i.e. you have
> Subversion as a part of your own project and run it in sandboxed
> environment)
> - you would be better off with native solution. Less segments in chain
> - lower
> chance for system failure.

VM's are becoming very popular. IT departments are buying very powerful servers these days and they don't want to dedicate it to one task that takes 3% of the CPU... but they do want to sandbox stuff to avoid conflicts as much as possible. 

That said... if the OP is looking for a low overhead solution to create a VM that only is for subversion, then I would say something like Debian Linux server will work just as well (with 0 license fees), if not better. Of course, if you don't have any *Nix admins on staff a Win server in a VM should work just fine.

BOb

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2367604

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


Re: Running Subversion on a Windows VM

Posted by Andrey Repin <an...@freemail.ru>.
Greetings, Chris!

> I work in a mid-sized shop(20 devs) that is currently running Subversion 1.6
> (as a windows service) on a Windows 2003 box right now, but the box itself
> is old and we are going to swap it out and use it for something else soon.
> So, there are arrangements being made on what to do with the repository...
> i.e. what to put it on next.  I am also mirroring this primary repository to
> an off-site location with our production DR stuff.  The thought is to spin
> up a Windows 2003 VM (hosted on one of our ESX boxes), move the primary
> repository over to it, and continue life as normal.

To make my thought short: I really don't understand why you're making troubles
for yourself, layering entities one over another, when Subversion exists for
nearly anything that has CPU and some RAM.
Why not use native solution? Settled once, it barely need ANY maintenance,
aside regular cron'tabbed backups.

> I am a huge VM fan and should just know better probably, but are there any
> performance concerns I SHOULD have and investigate more into... Has anyone
> run things this way and stuck with it for a lengthy period?   If so, what
> has your experience been... good... bad... no diff ?

> Any feedback would be much appreciated.

If you don't really NEED to run Subversion in a VM box (i.e. you have
Subversion as a part of your own project and run it in sandboxed environment)
- you would be better off with native solution. Less segments in chain - lower
chance for system failure.


--
WBR,
 Andrey Repin (anrdaemon@freemail.ru) 03.07.2009, <0:21>

Sorry for my terrible english...

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2367588

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: Running Subversion on a Windows VM

Posted by Christopher Viaggi <ch...@hds.com>.
Chris,

We run our subversion repository on Win2003 in a VM container without incident. I run multiple subversion services on different ports as windows services as well as serving it out through apache. We have about 5 subversion services (to keep the repositories and users separate from one another) and have a total of about 20 users, of which maybe 10 are located in the Bay Area the rest are offshore in India. As far as I know we haven't had any problems which haven't been network related not subversion related.

//C

________________________________
From: Chris [mailto:chrisl@angieslist.com]
Sent: Thursday, July 02, 2009 12:34 PM
To: users@subversion.tigris.org
Subject: Running Subversion on a Windows VM

Hey all,
I am about to make some adjustments to the way we are hosting our subversion repository, but I have some performance concerns in doing so.  I know there were a couple email threads posted on  svn.haxx.se a while ago, but I didn't really get what I needed from them.  Anyway, here is the scenario and what I would like to know:

I work in a mid-sized shop(20 devs) that is currently running Subversion 1.6 (as a windows service) on a Windows 2003 box right now, but the box itself is old and we are going to swap it out and use it for something else soon.  So, there are arrangements being made on what to do with the repository... i.e. what to put it on next.  I am also mirroring this primary repository to an off-site location with our production DR stuff.  The thought is to spin up a Windows 2003 VM (hosted on one of our ESX boxes), move the primary repository over to it, and continue life as normal.  I am a huge VM fan and should just know better probably, but are there any performance concerns I SHOULD have and investigate more into... Has anyone run things this way and stuck with it for a lengthy period?   If so, what has your experience been... good... bad... no diff ?

Any feedback would be much appreciated.

Thanks!
Chris

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2367574

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Running Subversion on a Windows VM

Posted by Chris <ch...@angieslist.com>.
Cool... That is exactly the encouragement I was looking for!  You bring up a good point... We have the W2K3 box plugged into a SATABeast right now, but the ESX box is hooked up to our SAN, which should be a bonus in going the VM host route.  Sounds like I am heading into a busy weekend making this happen, and as far as the network problems go - I made our Ops team promise to beat the network into submission on a regular basis for me. :)

Thanks for the quick responses guys!

Chris


On 7/2/09 3:52 PM, "Andy Levy" <an...@gmail.com> wrote:

On Thu, Jul 2, 2009 at 15:34, Chris<ch...@angieslist.com> wrote:
> Hey all,
> I am about to make some adjustments to the way we are hosting our subversion
> repository, but I have some performance concerns in doing so.  I know there
> were a couple email threads posted on  svn.haxx.se a while ago, but I didn't
> really get what I needed from them.  Anyway, here is the scenario and what I
> would like to know:
>
> I work in a mid-sized shop(20 devs) that is currently running Subversion 1.6
> (as a windows service) on a Windows 2003 box right now, but the box itself
> is old and we are going to swap it out and use it for something else soon.
>  So, there are arrangements being made on what to do with the repository...
> i.e. what to put it on next.  I am also mirroring this primary repository to
> an off-site location with our production DR stuff.  The thought is to spin
> up a Windows 2003 VM (hosted on one of our ESX boxes), move the primary
> repository over to it, and continue life as normal.  I am a huge VM fan and
> should just know better probably, but are there any performance concerns I
> SHOULD have and investigate more into... Has anyone run things this way and
> stuck with it for a lengthy period?   If so, what has your experience
> been... good... bad... no diff ?
>
> Any feedback would be much appreciated.

I'm running 4 repositories, hosted via Apache, on W2K3 in a VM (ESX
3.something). Repositories are stored on our SAN. Haven't had any
trouble.

------- INSERT FROM SEPARATE RESPONSE ---------------
------ Forwarded Message
From: Christopher Viaggi <ch...@hds.com>
Date: Thu, 2 Jul 2009 15:42:53 -0400
To: Chris Lee <ch...@angieslist.com>, <us...@subversion.tigris.org>
Subject: RE: Running Subversion on a Windows VM

Chris,

We run our subversion repository on Win2003 in a VM container without incident. I run multiple subversion services on different ports as windows services as well as serving it out through apache. We have about 5 subversion services (to keep the repositories and users separate from one another) and have a total of about 20 users, of which maybe 10 are located in the Bay Area the rest are offshore in India. As far as I know we haven't had any problems which haven't been network related not subversion related.

//C

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2367583

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Running Subversion on a Windows VM

Posted by Andy Levy <an...@gmail.com>.
On Thu, Jul 2, 2009 at 15:34, Chris<ch...@angieslist.com> wrote:
> Hey all,
> I am about to make some adjustments to the way we are hosting our subversion
> repository, but I have some performance concerns in doing so.  I know there
> were a couple email threads posted on  svn.haxx.se a while ago, but I didn’t
> really get what I needed from them.  Anyway, here is the scenario and what I
> would like to know:
>
> I work in a mid-sized shop(20 devs) that is currently running Subversion 1.6
> (as a windows service) on a Windows 2003 box right now, but the box itself
> is old and we are going to swap it out and use it for something else soon.
>  So, there are arrangements being made on what to do with the repository...
> i.e. what to put it on next.  I am also mirroring this primary repository to
> an off-site location with our production DR stuff.  The thought is to spin
> up a Windows 2003 VM (hosted on one of our ESX boxes), move the primary
> repository over to it, and continue life as normal.  I am a huge VM fan and
> should just know better probably, but are there any performance concerns I
> SHOULD have and investigate more into... Has anyone run things this way and
> stuck with it for a lengthy period?   If so, what has your experience
> been... good... bad... no diff ?
>
> Any feedback would be much appreciated.

I'm running 4 repositories, hosted via Apache, on W2K3 in a VM (ESX
3.something). Repositories are stored on our SAN. Haven't had any
trouble.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2367577

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].