Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Specifically, I was wondering if there are any performance benefits to compile apache2 from source in Ubuntu as opposed to installing via apt-get?

share|improve this question

3 Answers 3

up vote 5 down vote accepted

For any given one point in time you can probably beat a packaged release by small single-digit-percentages. However if you aren't committed to benchmarking and rebuilding each future release its only a matter of time before the Ubuntu build pulls ahead of you or fixes a bug/security-hole that you won't.

Consider the cost of you doing lets say quarterly benchmarks and builds (and rolling them out manually) vs. the cost of an extra 2% of hardware budget. Worth it? Assuming you make more than minimum wage and have less than 1000 servers, not likely.

share|improve this answer

Slight gains, but, not enough that it made much sense to repackage it for our data center. (running Debian, not Ubuntu) An autobuilder makes the task easier, but, we never really found it worth the effort.

share|improve this answer

I don't know about ubuntu's default but atleast when i was using 1.3 on rather large setup, the default MaxClients max value was 256. Our machines and net connection could handle alot more so tweaking some header files resulted as a much better performance since we could offer more concurrent connections. However, if you go this path, be prepared to tweak abit of network and filesystem options.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.