RE: subversion 1.8.11 on apache 2.4 five times slower than on apache 2.2

2015-03-23 Thread Grierson, David
Okay - so to summarise, things that have changed between your old and new 
environment:

* Apache 2.2 -> 2.4
* Subversion 1.8.5 -> 1.8.11
* PHP 5.2.x -> 5.6.6
* http:// -> https:// access to repositories

To me that last one is where I'd be looking to start with. Every connection to 
the server is going to incur an overhead because of the SSL comms taking place.

What I would do is remove that one aspect from your configuration to see 
whether it's any faster without the SSL layer in order that you can identify 
which aspect of the performance you're needing to tune.

Dg.
--
David Grierson - SDLC Tools Specialist
Sky Broadcasting - Customer Business Systems - SDLC Tools
Email: david.grier...@bskyb.com
Watermark Building, Alba Campus, Livingston, EH54 7HH



> -Original Message-
> From: Zeitler Hans (LVT) [mailto:hans.zeit...@liebherr.com]
> Sent: 23 March 2015 10:53
> To: Grierson, David; Nico Kadel-Garcia
> Cc: users@subversion.apache.org
> Subject: AW: subversion 1.8.11 on apache 2.4 five times slower than on
> apache 2.2
>
>
>
> > -Ursprüngliche Nachricht-
> > Von: Grierson, David [mailto:david.grier...@bskyb.com]
> > Gesendet: Montag, 23. März 2015 11:07
> > An: Zeitler Hans (LVT); Nico Kadel-Garcia
> > Cc: users@subversion.apache.org
> > Betreff: RE: subversion 1.8.11 on apache 2.4 five times slower than on
> apache 2.2
> >
> > Well you're not really giving us much to go on in order to help you.
> >
> > I recommend you start by reading Eric S Raymond's guide to asking
> questions:
> >
> > http://www.catb.org/esr/faqs/smart-questions.html
> >
> > --
> > David Grierson - SDLC Tools Specialist
> > Sky Broadcasting - Customer Business Systems - SDLC Tools
> > Email: david.grier...@bskyb.com
> > Watermark Building, Alba Campus, Livingston, EH54 7HH
> >
>
> I thought I was writing enough. Telling everything I tried before will
> lengthen this mail a bit.
>
> But if it helps here in long form:
>
> We had a Server as VMware virtual machine with windows Server 2008 32bit,
> 4GByte Ram. On this Server there was apache 2.2 running with subversion
> 1.8.5 and PHP 5.2.x
> With this system we had quite a good performance.
> A test archive, which is unchanged for about 8 years, could be checked out
> within 22 seconds.
>
> Now our security division requested to change the protocol from http to
> https.
> Because it was not so easy to get the the openssl version up to date for
> apache 2.2, we decided to update the complete system
> to Apache 2.4, svn 1.8.11 and PHP 5.6.6
>
> For test purposes we cloned the virtual machine and replaced the software.
> For apache I only changed the httpd.conf, httpd-dav.conf, and httpd-
> ssl.conf so that there where no error messages anymore.
>
> The system is running but as mentioned before it is drastically slower.
> The checking out of the test archive lasts about 110 seconds.
>
> I therefore tried a lot  in configurations:
> SVNInMemoryCacheSize, SVNCacheRevProps, SVNPathAuthz, LDAPSharedCacheSize,
> MaxKeepAliveRequests, ThreadsPerChild, AcceptFilter, EnableMMAP,
> EnableSendfile
> I also tried apache 2.4 compiled with VC11 and VC9 . No difference
> Subversion is compiled with vc6 ( from alagazam.net), The apache modules
> (mod_dav_svn, mod_authz_svn, mod_dontdothat) are from apache haus,
> compiled with vc11 like apache itself. The problem here was the Serf
> library from apache haus, which was 1.2.1 and to old. I got a certifcate
> problem with this version.
>
> Sometimes there was a little change but nothing which was only in the near
> of the former performance.
>
> So now I am at the end of my knowledge and hope, somebody has an idea.
>
> What has to be done different on apache 2.4 for gaining the same
> performance?
>
> Can anybody reproduce this behavior?
>
>
> Zeitisen
>
>
>

Information in this email including any attachments may be privileged, 
confidential and is intended exclusively for the addressee. The views expressed 
may not be official policy, but the personal views of the originator. If you 
have received it in error, please notify the sender by return e-mail and delete 
it from your system. You should not reproduce, distribute, store, retransmit, 
use or disclose its contents to anyone. Please note we reserve the right to 
monitor all e-mail communication through our internal and external networks. 
SKY and the SKY marks are trademarks of Sky plc and Sky International AG and 
are used under licence. Sky UK Limited (Registration No. 2906991), Sky-In-Home 
Service Limited (Registration No. 2067075) and Sky Subscribers Services Limited 
(Registration No. 2340150) are direct or indirect subsidiaries of Sky plc 
(Registration No. 2247735). All of the companies mentioned in this paragraph 
are incorporated in England and Wales and share the same registered office at 
Grant Way, Isleworth, Middlesex TW7 5QD.


Re: subversion 1.8.11 on apache 2.4 five times slower than on apache 2.2

2015-03-23 Thread Nico Kadel-Garcia
On Mon, Mar 23, 2015 at 6:07 AM, Grierson, David
 wrote:
> Well you're not really giving us much to go on in order to help you.
>
> I recommend you start by reading Eric S Raymond's guide to asking questions:
>
> http://www.catb.org/esr/faqs/smart-questions.html

He's not being *horrible*, and he's following*most* of the guidelines.
The key missing aspects would include posting a copy of his Apache 2.4
configuration files: and more information about how he switched from
the older to the newer Apache.


RE: subversion 1.8.11 on apache 2.4 five times slower than on apache 2.2

2015-03-23 Thread Grierson, David
Well you're not really giving us much to go on in order to help you.

I recommend you start by reading Eric S Raymond's guide to asking questions:

http://www.catb.org/esr/faqs/smart-questions.html

--
David Grierson - SDLC Tools Specialist
Sky Broadcasting - Customer Business Systems - SDLC Tools
Email: david.grier...@bskyb.com
Watermark Building, Alba Campus, Livingston, EH54 7HH


> -Original Message-
> From: Zeitler Hans (LVT) [mailto:hans.zeit...@liebherr.com]
> Sent: 23 March 2015 07:54
> To: Nico Kadel-Garcia; Grierson, David
> Cc: users@subversion.apache.org
> Subject: AW: subversion 1.8.11 on apache 2.4 five times slower than on
> apache 2.2
>
>
>
> > -Ursprüngliche Nachricht-
> > Von: Nico Kadel-Garcia [mailto:nka...@gmail.com]
> > Gesendet: Freitag, 20. März 2015 23:48
> > An: Grierson, David
> > Cc: Zeitler Hans (LVT); users@subversion.apache.org
> > Betreff: Re: subversion 1.8.11 on apache 2.4 five times slower than on
> apache 2.2
> >
> > On Fri, Mar 20, 2015 at 11:21 AM, Grierson, David
> 
> > wrote:
> > > No - he meant memory swapping.
> >
> > Memory swapping to disk, but yes. It should show up in your control
> panels. You
> > can sometimes hit a "threshold" where a slightlier larger binary or more
> > sophisticated tool takes more resources, and triggers serious swapping
> on the
> > server itself.
>
> It is not a problem of to less memory. I looked at the resource monitor
> during the checking out.
> CPU load <4% , Memory Usage < 35%  physical memory. Memory used by httpd
> 176.192 Kbyte
>
> Task manager:
> Physical memory (MB): total 4096, Cached 2302, free 760
> Kernel memory: total 169, paged 124, nonpaged 44
>
> I think that apache 2.4 needs a different configuration, but where and
> how?
>
> Zeitisen
Information in this email including any attachments may be privileged, 
confidential and is intended exclusively for the addressee. The views expressed 
may not be official policy, but the personal views of the originator. If you 
have received it in error, please notify the sender by return e-mail and delete 
it from your system. You should not reproduce, distribute, store, retransmit, 
use or disclose its contents to anyone. Please note we reserve the right to 
monitor all e-mail communication through our internal and external networks. 
SKY and the SKY marks are trademarks of Sky plc and Sky International AG and 
are used under licence. Sky UK Limited (Registration No. 2906991), Sky-In-Home 
Service Limited (Registration No. 2067075) and Sky Subscribers Services Limited 
(Registration No. 2340150) are direct or indirect subsidiaries of Sky plc 
(Registration No. 2247735). All of the companies mentioned in this paragraph 
are incorporated in England and Wales and share the same registered office at 
Grant Way, Isleworth, Middlesex TW7 5QD.


Re: subversion 1.8.11 on apache 2.4 five times slower than on apache 2.2

2015-03-20 Thread Nico Kadel-Garcia
On Fri, Mar 20, 2015 at 11:21 AM, Grierson, David
 wrote:
> No - he meant memory swapping.

Memory swapping to disk, but yes. It should show up in your control
panels. You can sometimes hit a "threshold" where a slightlier larger
binary or more sophisticated tool takes more resources, and triggers
serious swapping on the server itself.


RE: subversion 1.8.11 on apache 2.4 five times slower than on apache 2.2

2015-03-20 Thread Grierson, David
No - he meant memory swapping.



--
David Grierson - SDLC Tools Specialist
Sky Broadcasting - Customer Business Systems - SDLC Tools
Email: david.grier...@bskyb.com
Watermark Building, Alba Campus, Livingston, EH54 7HH

> -Original Message-
> From: Zeitler Hans (LVT) [mailto:hans.zeit...@liebherr.com]
> Sent: 20 March 2015 07:10
> To: Nico Kadel-Garcia
> Cc: users@subversion.apache.org
> Subject: AW: subversion 1.8.11 on apache 2.4 five times slower than on
> apache 2.2
>
>
>
> >
> > You're swapping due to the increased burden of the newer Apache? Your
> Apache
> > is misconfigured? You installed a 32-bit Apache 2.4 on a 64.bit host?
> >
> I am swapping for having a complete system up to date with openssl, php
> 5.6.6, subversion 1.8.11
> It is a 32-bit apache on a 32-bit virtual system
>
>
> zeitisen
Information in this email including any attachments may be privileged, 
confidential and is intended exclusively for the addressee. The views expressed 
may not be official policy, but the personal views of the originator. If you 
have received it in error, please notify the sender by return e-mail and delete 
it from your system. You should not reproduce, distribute, store, retransmit, 
use or disclose its contents to anyone. Please note we reserve the right to 
monitor all e-mail communication through our internal and external networks. 
SKY and the SKY marks are trademarks of Sky plc and Sky International AG and 
are used under licence. Sky UK Limited (Registration No. 2906991), Sky-In-Home 
Service Limited (Registration No. 2067075) and Sky Subscribers Services Limited 
(Registration No. 2340150) are direct or indirect subsidiaries of Sky plc 
(Registration No. 2247735). All of the companies mentioned in this paragraph 
are incorporated in England and Wales and share the same registered office at 
Grant Way, Isleworth, Middlesex TW7 5QD.


Re: subversion 1.8.11 on apache 2.4 five times slower than on apache 2.2

2015-03-18 Thread Nico Kadel-Garcia
On Wed, Mar 18, 2015 at 6:52 AM, Zeitler Hans (LVT)
 wrote:
> Hello,
>
>
>
> I updated my Server from Apache 2.2 to Apache 2.4 ( windows binaries from
> apachehaus on Windows Server 2008 x86)
>
> The configuration is the same. Only the necessary syntax changes were made.
>
>
>
> I have a test repository with the same content over the past 8 years. Before
> and after each change of a configuration I measure the time consumed for
> checking out this repository.
>
> The old configuration with Apache 2.2 and SVN 1.8.11 needed 22 seconds.
> With Apache 2.4 it lasts about 180 seconds.
>
>
>
> Does  anybody have an idea what has changed or what has to be changed?

You're swapping due to the increased burden of the newer Apache? Your
Apache is misconfigured? You installed a 32-bit Apache 2.4 on a 64.bit
host?

> I can't believe that the new apache is slower than the old one.
>
>
>
>
>
> Zeitisen
>
>