Benefits of Compiling Apache for Windows

Is the windows distribution I download from apache.org still compiled for a 386 processor?

Is it worth the trouble of creating a build myself if I'm not going to run anything out of the ordinary with it?

Thanks
elmoredanielAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

kenfcampCommented:
You should be fine leaving it alone
elmoredanielAuthor Commented:
I think I'll wait for a better answer.
kenfcampCommented:
In this instance the dependency concerns are more for your Operating system, than hardware.  I am assuming however that you have downloaded the win32 version and have  reviewed http://mirrors.ibiblio.org/pub/mirrors/apache/httpd/binaries/win32/README.html

The x86 isn't referering to (286, 386, 486) but rather to the underlying architecture and instruction set that handles 32-bit operations.

Again ......... You should be fine
PMI ACP® Project Management

Prepare for the PMI Agile Certified Practitioner (PMI-ACP)® exam, which formally recognizes your knowledge of agile principles and your skill with agile techniques.

elmoredanielAuthor Commented:
"Optimizing the server for your platform: By compiling Apache on the platform where it’s to be installed, you can take advantage of the capabilities offered by the operating system or hardware that a  prebuilt binary can’t take advantage of. For example, although any  x86 processor will run a supplied Apache binary, you can build an optimized binary that takes full advantage of the newer processor features by using a compiler that’s aware of them. There’s no point in retaining a binary that’s built to work on a 386 processor when you  can rebuild it to take advantage of a Pentium 4."

http://www.devshed.com/c/a/Apache/Building-Apache-the-Way-You-Want-It/

Sounds like it's referring to the CPU there.
kenfcampCommented:
[Sounds like it's referring to the CPU there.]

Yes it does, for the nix crowd more than likely. But as stated above, x86 isn't referering to (286, 386, 486). Why would the author say this?
Perhaps to sell a book or two, who knows.

Since the minimum supported (admitedly less than robustly) windows version is 98
it's safe to assume the binary is not compiled for a 386 CPU .
I doubt it would run that well even "IF" 98 would install on it and as such I doubt Apache would even waste their time with it.
[see link in last post]

To compile or not compile, this is the question.

IMO, install the binary, see if it has what you need. If so you saved yourself allot of needless running arouind for compilers.

If not, you would have learned something in the mean time. (how to configure etc)
simply find out what you need to do to add what you need for your OS (some times this can be done without compiling). Uninstall and you're ready to start anew

ravenplCommented:
Under linux - I always recompiling with targer CPU set to really used in machine one. First it will use new instructions to sppedup some things (minimum i586) then, during optimization, it will resort asm instructions so many may be executed in one clock cycle. As all we know (!?) pentium is capable to run 2 instructions in one cycle, p4 3 instructions, and newest core2 4instructions. Then, modern CPUs have more than one execution unit (so it may compute both branches of IF). Then there are many more. All those things may be taken into account in optimization phase during compilation to get faster code.
However You have to know what compiler switches to use (I will not tell You for other than gcc) and be brave enough to install it by hand ;)

But if You want go safe - install provided binary (which is compilant with 386 processor). If Your machine can't handle he traffic due to CPU usage - recompile.
Also it would be nice to have system kernel compiled for p4 as well ;)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ravenplCommented:
Oh, and beside recompilation You may want take a look to one of config optimization guides http://www.howtoforge.com/configuring_apache_for_maximum_performance
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.