vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Big Board Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=172)
-   -   Quad Opterons + FreeBSD + Lighttpd + FastCGI/PHP + APC = Fast vB :) (https://vborg.vbsupport.ru/showthread.php?t=114632)

Erwin 05-03-2006 09:41 PM

Quote:

Originally Posted by mathias
how is converting apache over to lighhtpd

On FreeBSD, it's this: portinstall lighttpd.

;)

Erwin 05-03-2006 09:42 PM

Quote:

Originally Posted by adalren
Erwin, did you notice less load on the servers vs apache? Any optimizations? I converted to lighttpd but didn't see a noticable drop in load but the pages are generated slightly faster.

Maybe because your webserver wasn't badly overloaded? I can tell you that I was able to consolidate my multiple webservers into a single more powerful one which makes maintaining files and the datastore cache much easier.

Zachery 05-03-2006 10:19 PM

Gentoo's portage system does all of that too, and i personally would have gone with Gentoo over FreeBSD.

Erwin 05-03-2006 11:13 PM

Yeah but Gentoo is still Linux and it basically copied the BSD ports system. BSD is the oldest *nix around AFAIK. In any case, there is no one OS that suits everyone. :) They are all good in their own way. I just wanted to try something different. :)

Zachery 05-03-2006 11:21 PM

I'm glad its working for you, what is your current setup now, and would you mind sharing who you went with?

Erwin 05-04-2006 12:58 AM

For the database server, it's a dual processor/dual core Opteron 270 with 8Mb RAM, 8 x 15k SCSI PCI-X Raid 10 array, FreeBSD 6, MySQL 5 - runs like the wind. Loads never hit 0.5. :) The main webserver is the Quad Opteron with similar specs. We also have image server, irc, attachment, dns, and a slave search server.

We went with webnx in the end - best prices in town - look for Dan Paultz and tell him Erwin sent you - he'll look after you well. :)

kmike 05-04-2006 04:21 AM

Quote:

Originally Posted by Erwin
Only if you compile the wrong kernel. :) FreeBSD 6.0 using AMD64 SMP kernel on a Quad Opteron just plain flies.

Well, but you haven't compared it to Linux, have you?
I already posted some links to FreeBSD/Linux comparisons in MySQL performance, here're some more:
FreeBSD 5.x: http://unix.derkeiler.com/Mailing-Li...5-06/0331.html
FreeBSD 6.x:
http://www.archivesat.com/FreeBSD_Pe...read412787.htm
http://www.archivesat.com/FreeBSD_Pe...read420280.htm

Quote:

Ports are better than yum/rpm because ports automatically fixes all broken dependencies and installs everything automatically using 1 command: portinstall apache or portinstall mysql5

Can't get any easier than that. ;)
I see some confusion here: yum does resolve the missing dependencies! I'm not sure what do you mean by "broken" dependencies, probably 3rd party rpm packages? But the same goes for the ports - if you install some 3rd party program manually, outside the ports system (doing usual "./configure; make; make install"), you have to resolve its dependencies manually.

There's one fundamental difference between the ports and rpm-based package managers - rpm's are all binary, and you build your ports from the source when installing them. It could be considered as an advantage as you're supposedly tuning the package for your system when building it (with the right parameters), but some time ago I saw the tests of Gentoo (which is touting the same approach as an advantage) vs some binary-based distribution didn't reveal any substantial performance advantages.

And finally, you can easily rebuild RPM package from the source rpm with options tailored for your architecture, too (that's what I did for our install, rebuilt php rpms with Opteron optimizations). It's as easy as doing "rpmbuild --target=athlon --rebuild yourpackage.src.rpm"

Erwin 05-04-2006 04:28 AM

Thanks for the links, it's very specific stuff there. Interesting.

I know about yum - I ran RHEL servers for 4 years. :)

I'm not here to start an OS-debate. :) I'm just posting my experiences which mirrors the experience of many others. :)

T.S. 05-04-2006 10:29 AM

Quote:

Originally Posted by Erwin
For the database server, it's a dual processor/dual core Opteron 270 with 8Mb RAM, 8 x 15k SCSI PCI-X Raid 10 array, FreeBSD 6, MySQL 5 - runs like the wind. Loads never hit 0.5. :) The main webserver is the Quad Opteron with similar specs. We also have image server, irc, attachment, dns, and a slave search server.

We went with webnx in the end - best prices in town - look for Dan Paultz and tell him Erwin sent you - he'll look after you well. :)

I would have went with a little more ram. :p

Erwin 05-04-2006 11:58 PM

My swap is still zero. :) Loads are still less than 1. I think it's okay for now considering all it has is the one database as a dedicated database server, MINUS any search or IP searches - we have another dedicated slave database Dual Xeon with 4 MB or RAM to do just search or IP searches. :)


All times are GMT. The time now is 01:09 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01030 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete