Slashdot Mirror


Covalent And Redhat Developing 64 bit Apache

ruiner5000 writes "Well it is official. AMD has just sent out a press release announcing that Covalent and Redhat are developing a 64 bit version of Apache. "Covalent is developing 64-bit compatibility because we believe the upcoming AMD Opteron processor-based server systems will deliver superior performance and reliability for our easy-to-install Apache project server software," said Mark Douglas, senior vice president of engineering, Covalent Technologies. "Compatibility is essential, and we are cooperatively working to ensure optimal performance with the upcoming AMD Opteron processors." "

22 of 47 comments (clear)

  1. Grassroots by Ann+Coulter · · Score: 2, Interesting

    I really don't trust corporations taking charge of a major Open Source project in any manner. Even if they stick to the GPL all the way I will still have doubts. First of all, AMD is another official supporter of DRM technology. I really don't trust the motives of companies' subvertion of Apache. If they continue to modify Open Source projects for the first real DRM equipt AMD, what prevents a major media corporation from funding an initiative to add DRM software to Apache and sell it to unsuspecting business customers? Why are they spending their time and resources to do something that Apache developers probably will get to in the near future? We should be more cynical with regards to corporate support of Open Source projects. In my opinion, critical Open Source projects should be managed and developed by an unbiased group of developers.

    1. Re:Grassroots by pete-classic · · Score: 5, Insightful

      The worst thing that could happen under the GPL (which you brought into the discussion) is that we have to separate the wheat of their contributions from the chaff and fork.

      The same isn't true with the Apache license, but the trump card with people playing games with Free Software is to fork.

      Open Source projects should be managed and developed by an unbiased group of developers.

      Do you mean unbiased, or biased the same way you are? While your biases (and mine) may be diametrically opposed to Covalent's, that doesn't make you (us) unbiased.

      -Peter

    2. Re:Grassroots by Jeff+Trawick · · Score: 2, Insightful

      What is "companies' subvertion of Apache"? Which companies have done what to Apache httpd, in your opinion?

    3. Re:Grassroots by mexilent · · Score: 2, Informative

      Covalent happens to employ about half of the apache developers--and it has for many years. At least these folks have a small, scrappy upstart company to work for...instead of /\/\icro$oft. How do you think apache would turn out if _that_ company started to commandeer open source projects?

      Even open source developers gotta eat, brother--and Covalent's as gooda place as any to pay the bills.

      --
      -- Know Nukes!
    4. Re:Grassroots by coene · · Score: 3

      1. DRM has nothing todo with open-source

      2. We should be more cynical with regards to corporate support of Open Source projects.

      Huh? RedHat and Covalent employee hundreds of open-source programmers. We? We? Are you going to commit the code? This is a way for programmers to further open-source projects and still bring home the bacon at the same time.

      3. In my opinion, critical Open Source projects should be managed and developed by an unbiased group of developers.

      80% of the software on a Linux machine has components developed by corporations. If a program is very popular, someone is paying for the development by now. Linux Kernel, GCC, Samba, Apache, Sendmail, you name it.

    5. Re:Grassroots by cant_get_a_good_nick · · Score: 2

      IBM started and still contributes to Jakarta

      Solaris contributed a huge amount to Jakarta as well, and in fact Jakarta is now the reference JSP container. They still contribute code.

  2. I'm pleading ignorance here.... by Anonymous Coward · · Score: 2, Informative



    Can't they just MAKE apache on a 64 bit computer?

    How much of the code is cpu-dependant!?

    1. Re:I'm pleading ignorance here.... by Lenolium · · Score: 2, Informative

      I've built apache on my multia, and on my PC164SX, both of which are 64-bit alpha machines, and it works just fine. So... I'm kindof confused about this article too. It sounds like AMD just payed about 200k or so for someone to type 'make'

    2. Re:I'm pleading ignorance here.... by masonator · · Score: 2
      I would have to agree, Apache's been around for quite a while and has been ported to most platform's around at the moment - so it probably should "just work".

      My guess is that this is just all a publicity stunt.

    3. Re:I'm pleading ignorance here.... by Cygnusx12 · · Score: 2, Interesting

      I actually asked the same question recentlt at work!

      Having just come off a project in which we ported all of our db code from 32 bit to 64bit, (Solairs CC 6.0u2) the conversion was actually a bit tricky, and there were a few nuances we had to deal with in order to get completely functional models. (Bit-packing, etc, INTs are 4 wide rather than 2, etc.).

      Several overloaded classes also need to be created to allow portability between the 32bit and 64bit versions, and several of our tools needed upgrading as well.

      There are most likely several hooks that need to be "re-Type(defed)" in order to function i>properly under the OS, would be my ever so humble opinion.

    4. Re:I'm pleading ignorance here.... by Russellkhan · · Score: 2

      "Can't they just MAKE apache on a 64 bit computer?

      How much of the code is cpu-dependant!?
      "

      OK, IANADeveloper - in fact, I'm not even the novice programmer I once was so this may be way off-base, but it seems to me that that would require someone having previously written the Makefiles and/or configure files so that Make would know what it needs to do in order to compile and run on that platform. I would think that that's what's being done here.

      If I'm wrong, I welcome corrections - this is something I would like to understand better (Plus the fact that I aspire to be a programmer again at some point).

      --
      Information doesn't want to be anthropomorphized anymore.
    5. Re:I'm pleading ignorance here.... by cant_get_a_good_nick · · Score: 2

      Depends on how clean the code is. If you assume data sizes (something you shouldn't do anyway, but some do) you should be OK. Do you try to pass data in places that ask for pointers? You'll be in some trouble then.

      Hmm, are peoples' memories so bad that they forget that there used to be DEC Alpha binaries pretty regularly... the Alpha being a 64 bit Little-Endian chip. I'm sure the code is pretty much 64 bit clean, it may be more of an optimization for the x86-64 processor than making it 64 bit clean.

  3. Will this benefit other upcoming 64bit chips? by dbrutus · · Score: 2

    By the time this comes out the 970 will either be released or about to be released. Will this work also benefit Apache on PPC?

  4. Advantage to 64bits by DrZaius · · Score: 3, Interesting

    What is the advantage to running a 64bit web server? From what I've heard and read, pointers are still pointers and registers are still registers. I don't really see any area where a normal webserver would benefit.

    In the webservers I run, most of the data that gets delivered is pretty small and most of the mathematically calculations can be done well within 32bits.

    Am I an ignorant fool?

    --
    -- DrZaius - Minister of Sciences and Protector of the Faith
    1. Re:Advantage to 64bits by Jeff+Trawick · · Score: 3, Insightful

      Lots of active connections handled by the same process can result in lots of mmaps. If these
      are large you can start getting worried about
      running out of address space with a 32-bit process.

      Also, perhaps sendfile works with large file support on Linux in 64-bit mode :) that would be a nice improvement

      For most situations a 64-bit Apache process isn't going to solve any problems right now. I imagine
      it will just use more memory.

    2. Re:Advantage to 64bits by pyrotic · · Score: 3, Informative

      http://aap.sourceforge.net/patchinfo.html

      SGI had people working on 64 bit support back in the days of Apache 1.36. Their big thing with 64 bit support was to cache huge amounts of static data with a new cacheing module, using the 64 bit address space. AFAIK there is curenlty no maintainer to this code and ASF didn't merge it into the main tree.

    3. Re:Advantage to 64bits by Sludge · · Score: 2

      I'm not sure I can answer your question Gary (hi, btw), but I can tell you that sizeof(void *) is now double the size. You will now use up more memory bandwidth passing pointers around. This will actually cause a bit of a performance decrease in well written code that relies on efficientcy by not to putting data structures on the stack by passing by reference/pointer.

  5. 64bit Apache Already Available? by lylonius · · Score: 5, Informative

    If you set and export your shell environment variable CFLAGS="-m64", you already have native 64-bit support for Apache. The Sun SPARC architecture has been 64-bit for a long time now.

    The "real" problem is getting all of your supporting modules to compile with 64-bit support as well. I've successfully compiled mod_php with the -m64 flag, but since our shop utilizes the Sleepycat Berkeley db3 library (which doesn't support the flag), we cannot build db3 support into mod_php.

    1. Re:64bit Apache Already Available? by Jeff+Trawick · · Score: 2, Informative

      Yes, I've run Apache 2 as a 64-bit process on AIX and Tru64 as well. And Apache 2 has run as 64-bit process on HP-UX for ia64 for some time.

      There have been a few assume-32-bit bugs found here and there and there probably are a few more still out there, but in general people should expect Apache 2 to already work in 64-bit mode with the caveat that it hasn't been tested as much as in 32-bit mode.

  6. Re:Tux? by cant_get_a_good_nick · · Score: 2

    For certain things, TUX is better. Apache has always been designed for correctness, security, and portability (they have code for mainframes using EBCDIC, Netware, BeOS...). Speed isn't one of their top priorities. At a dotcom I worked, we considered thttpd for static pages because of its speed, and apache for anything dynamic. We never got to the point where we had any real load (dot-com implosion) so we never got to the point where the speed diff waranted having the complications of two daemons. Apache has it's place, it's not for every situation.

    TUX is much faster on most things, such as static pages. It's an in-kernel server, and takes advantage of things such as direct access to kernel buffers and DMA, something a user-land daemon such as apache can never do. But it's not as configurable, especially in dynamic content situations (can't do JSP or mod_perl, or php for example). That's fine, the default config has TUX forwarding stuff it can't understand to a userland daemon anyway. The recommended server? Apache. They're really complimentary, even in RedHats config.

    In some respects, this makes a lot of sense for RedHat. They don't sell TUX. Hell both TUX and Apache are free/open source. They sell their OS (their version of it anyway) and support. To get OS sales, you need to have apps on your OS that people want, like Apache. As far as the support goes, more people using your OS, more support opportunities. Having a 64bit server can help, sicne the Opteron is more tuned for business sales, where they're more likely to buy support anyway. They also have the inside track a bit, since they did the porting and may gain some advantage by it.

  7. Linux-based by cant_get_a_good_nick · · Score: 2

    "Apache is a very widely used *Linux*-based enterprise Web server application, and we are working with two leaders - Covalent and Red Hat - to offer simultaneous high-performance 32- and 64- bit computing to our customers,"

    Hmm, I thought that Apache was pretty much run it everywhere, not just Linux. I guess this guy better tell Yahoo to stop running it on FreeBSD...

  8. OSX 970 Apache? by WatertonMan · · Score: 2
    Given the nature of open source expect a variation of this to appear on OSX once the 970 versions of OSX arrive.

    However as everyone else is saying, the actual situations where one would need 64-bit apps are rather limited. It might even result in a slight slowdown due to having to move a twice the data around with pointers and other such things.