tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: 64bit windows mod_jk connector download for apache httpd 2.4
Date Thu, 19 Apr 2012 16:33:15 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris,

On 4/19/12 9:32 AM, chris derham wrote:
> On Wed, Apr 18, 2012 at 5:07 PM, Mladen Turk <mturk@apache.org>
> wrote:
>> On 04/18/2012 02:00 PM, chris derham wrote:
>> 
>>> All,
>>> 
>>> Our setup has apache tomcat running behind apache httpd using
>>> mod_jk. I would like to upgrade to apache 2.4, but for this I
>>> need to find a 64bit mod_jk release for httpd 2.4. The binaries
>>> contained at 
>>> http://tomcat.apache.org/**download-connectors.cgi<http://tomcat.apache.org/download-connectors.cgi>32
>>> bit httpd connectors, or a 64bit iis one.
>>> 
>>> 
>> Why would you need a 64-bit httpd at the first place especially
>> on windows.

Huge in-memory disk caches? ;)

> Can't help feel that I am falling into a trap here, but if we have
> a windows 64 bit os, using 64 bit jvm and 64 bit tomcat, are you
> suggesting that it would be better to use a 32 bit httpd and
> mod_jk?

A 64-bit JVM makes total sense because you can get access to really
large heaps (well, if you think more than 1.5GiB is a large heap,
which I do).

IMO on the other hand, having a 64-bit httpd just wastes memory (from
pointers, mostly) because httpd itself does not require gobs of memory
to run (like Java webapps usually do, or databases, etc.).

Running a 32-bit httpd will give you a leaner process in terms of
memory as well as potentially faster execution time because more
32-bit data can be transferred at a time between memory and CPU. This
is why "compressed OOPs" exist in JVMs - because you need a 64-bit JVM
just to get to a 3GiB heap, but if all you need are 32-bit pointers
for your Java objects, then you can (almost) have the best of both worlds.

https://wikis.oracle.com/display/HotSpotInternals/CompressedOops

> Worked perfectly. Thank you. Would you think that it is a good idea
> to add this text to a new section in building.txt?

+1

> I see that the binary releases that are available are signed by
> you. So perhaps I could ask why there isn't a 64 bit mod_jk
> included? I assume the answer will relate to your response to the
> above question

I think it's reasonable for us to add x86-64 builds for mod_jk+httpd.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+QPksACgkQ9CaO5/Lv0PAxegCfaykEXxJFBfG6ci8TqQQM6fFu
QBoAn29qd884E2k4oTsdc0/69p9yihil
=qrNL
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message