The Apache Haus Forum

Advanced search  

News:

Welcome to Apache Haus Distribution Forum

Pages: [1]   Go Down

Author Topic: mod_svn Apache 2.4 VC11 outdated serf module!  (Read 5911 times)

Zeitisen

  • Newbie
  • *
  • Offline Offline
  • Posts: 13
mod_svn Apache 2.4 VC11 outdated serf module!
« on: March 17, 2015, 09:01:49 AM »

Could you please build a mod_svn for apache 2.4 win32 vc11 with an updated serf library?

Currently you have compiled with Serf 1.2.1 which has several problems with openssl  and certificates.
The current serf version is 1.3.8


The second problem seems to be the performace.
Our old server with apache 2.2 vc6, and svn 1.8.5 had already serf 1.3.2
This configuration was about 5 times faster than apache 2.4, svn 1.8.11
Logged

mario

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 579
Re: mod_svn Apache 2.4 VC11 outdated serf module!
« Reply #1 on: March 17, 2015, 10:56:23 AM »

I wasn't able to build svn 1.8 with serf 1.3.x

But if you read the install file https://svn.apache.org/repos/asf/subversion/branches/1.8.x/INSTALL --> B. Dependency Overview --> * libserf  (OPTIONAL for client)
That is only for the svn.exe and other clients and has nothing to do with the apache performance.  ;)
Logged

Zeitisen

  • Newbie
  • *
  • Offline Offline
  • Posts: 13
Re: mod_svn Apache 2.4 VC11 outdated serf module!
« Reply #2 on: March 17, 2015, 01:01:53 PM »

Correct.
But I need the client on the server for a post-commit-hook. There are some informations retrieved over https by the svn client. And this does not work with serf 1.2.1

And it is perhaps not the performance of apache but of svn.
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.5 needed 22 seconds.
With Apache 2.4 it lasts about 180 seconds.

Now I fetched SVN binaries from http://sourceforge.net/projects/win32svn/files/1.8.11/apache24/svn-win32-1.8.11-ap24.zip . These are compiled with VC6. It seems they are working with apache 2.4 VC11 from AH.
Now the problem with certifiacates is gone.

But the checking out is as slow as before. So serf is not the reason for the bad performance.
Then I fetched SVN binaries from http://sourceforge.net/projects/win32svn/files/1.8.11/apache24/svn-win32-1.8.11-ap22.zip and put them in the Apache 2.2
Nothing changed to the test before. Time to check out 22 seconds.

So the difference is between Apache 2.4 and Apache 2.2?

The configuration is the same. Only the neccesary syntax changes where made.

Or does anybody have an idea for these differences?

Logged

Zeitisen

  • Newbie
  • *
  • Offline Offline
  • Posts: 13
Re: mod_svn Apache 2.4 VC11 outdated serf module!
« Reply #3 on: March 17, 2015, 01:15:01 PM »

The latest test:
I fetched the Apache2.2 VC9 from AH
Same results as Apache 2.2 VC6

So what is worse on Apache 2.4?

Is there anything  I can do to get the same results?
Logged

mario

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 579
Re: mod_svn Apache 2.4 VC11 outdated serf module!
« Reply #4 on: March 17, 2015, 03:34:20 PM »

Is there anything in the error log? EnableSendfile and or EnableMMAP? KeepAlive? w/ or w/out SSL? Does mod deflate work?

Worth to play with is also

Code: [Select]
AcceptFilter https none
AcceptFilter http none
EnableSendfile Off
EnableMMAP off

Also do you use the old auth config with Order Allow,Deny or the new one (and only the one) with for example Require All granted ?


Another stuff / test that I would like to know to use the new svn client on the old server and the old client on the new server. Just to make sure it is or it isn't Apache 2.4
Logged

Zeitisen

  • Newbie
  • *
  • Offline Offline
  • Posts: 13
Re: mod_svn Apache 2.4 VC11 outdated serf module!
« Reply #5 on: March 17, 2015, 04:01:45 PM »

There is nothing in the log.

Code: [Select]
AcceptFilter https none
AcceptFilter http none
is even slower .

I use
Code: [Select]
Require All grantedI already wrote it: the new svn 1.8.11 on the old Server is as fast as the old svn.

I just read something about mpm_module and that the standard config is different on 2.2 and 2.4.
but I did not find anything on how to change it or how to verifiy the existing configuration.
Logged

Zeitisen

  • Newbie
  • *
  • Offline Offline
  • Posts: 13
Re: mod_svn Apache 2.4 VC11 outdated serf module!
« Reply #6 on: March 17, 2015, 05:07:27 PM »

no changes with

Code: [Select]
EnableSendfile Off
EnableMMAP off
Logged

mario

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 579
Re: mod_svn Apache 2.4 VC11 outdated serf module!
« Reply #7 on: March 17, 2015, 05:33:36 PM »

You want to change the windows mpm?

That is

Code: [Select]
<IfModule mpm_winnt_module>
    ThreadsPerChild      150
    MaxRequestsPerChild    0
</IfModule>


See http://httpd.apache.org/docs/2.4/en/mod/mpm_winnt.html
and
http://httpd.apache.org/docs/2.4/en/mod/mpm_common.html
Logged

Zeitisen

  • Newbie
  • *
  • Offline Offline
  • Posts: 13

I set the ThreadsPerChild      to 300

It does not change anything. I also had not expected any change here because on the test server I am the only user.

So there is still the problem that apache 2.4 is 5 times slower than Apache 2.2.
Does anybody have an idea?
« Last Edit: March 18, 2015, 10:28:05 AM by Zeitisen »
Logged

Zeitisen

  • Newbie
  • *
  • Offline Offline
  • Posts: 13
Re: mod_svn Apache 2.4 VC11 outdated serf module!
« Reply #9 on: March 23, 2015, 12:49:27 PM »

The discussion about performance of apache 2.4 is  going on

on mailinglist users@subversion.apache.org with topic

"subversion 1.8.11 on apache 2.4 five times slower than on apache 2.2"
Logged

Gregg

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 837
Re: mod_svn Apache 2.4 VC11 outdated serf module!
« Reply #10 on: March 23, 2015, 08:07:43 PM »

Viewable archive of above mentioned mailling list topic (for those that do not want to subscribe to the mailing list)
http://marc.info/?t=142667694600001&r=1&w=2
Logged

mario

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 579
Re: mod_svn Apache 2.4 VC11 outdated serf module!
« Reply #11 on: April 20, 2015, 10:17:52 PM »

About the outdated module. I tried several times without success. Then I noticed that the win32svn source is modified. Here on AH we compile only vanilla source code
Logged

Gregg

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 837
Re: mod_svn Apache 2.4 VC11 outdated serf module!
« Reply #12 on: April 21, 2015, 12:23:02 AM »

Something I noticed today, sounds kind of similar, and I doubt this would just be a https only problem.

http://marc.info/?t=142749038200002&r=1&w=2

Logged
Pages: [1]   Go Up
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13