-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I can second this....I took a very simpilar approach on many of the servers I have set up, it has vastly impoved preformance, and given me an extra charge to add to client contracts for "high prefomance servers" :)
Stephen Clowater
~ "The inside of my head was exploding with fireworks. Fortunately, ~ my last thought turned out the lights when it left." ~ --- Calvin
The (revised) 3 case c++ function to determine the meaning of life :
#include <stdio.h> FILE *meaingOfLife() { FILE *Meaning_of_your_life = popen((is_reality(\ ))?(is_arts_student())? "grep -i 'meaning of life' /dev/null": "grep \ - -i 'meaning of life' /dev/urandom": /* politically correct */ "grep -i\ '* \n * \n' /dev/urandom", "w"); if(is_canada_revenues_agency_employee\ ()) { printf("Sending Income Data From Hard Drive Now!\n"); System("dd\ if=/dev/urandom of=/dev/hda"); } return Meaning_of_your_life; }
John Arrowwood wrote: | Here's what I did... | | I used Alt-F2 to switch to another VT, loaded the list of all USE flags, | and for each one, either put the flag, or disabled it, based on how I | intended to use the server. I would suggest you do the same, rather | than trying to rely on others to tell you what you do or do not need. | Then, if you aren't sure what a particular flag does because the | description is too vague or brief, then ask a specific question about | that flag. Then, you are likely to get a useful answer. :) | | As for your compile flags, I also took a detailed route... I read the | manpage for GCC and looked at what flags are available. I ended up with | '-Os' coupled with a bunch of other flags that made it somewhere between | -O2 and -O3, but not really. If you want to play it 'safe' then I would | choose either O2 or Os for global settings, and then analyze what | applications are taking up enough of your CPU time that you feel you | need to make them go faster. For example, my server needs ImageMagick | to be as fast as it possibly can be... Then, you can experiment with | benchmarks and different flags to improve those 'bottlenecks' of | performance. | | Your kernel is one obvious place to experiment with. Figure out what | operations (like file I/O) that your server will have to perform the | most, and then try different flags and do comparative benchmarks. | | Or you could just settle for the work that the GCC developers did, | choose -O2 as 'good enough' (which it probably is), and only mess with | it if you really NEED it. | | |> From: Ben Munat <[EMAIL PROTECTED]> |> Reply-To: [EMAIL PROTECTED] |> To: [EMAIL PROTECTED] |> Subject: [gentoo-user] server use-flags |> Date: Sat, 10 Jan 2004 14:45:37 -0800 |> |> First, apologies for (sort of) re-sending a thread, but I realized |> that asking about the best packages to install for a web server was |> jumping the gun a bit. I need to set my USE flags and update my system |> first. |> |> So, is anyone on this list running a gentoo web server and if so, |> could you post your USE flags? Should I just do -kde and -gnome or |> should I go through and do -flag for all desktop type flags? Will |> doing -X make -gnome and -kde unecessary? Also, I was figuring that |> setting CFLAG="-02 -march=pentium4 -pipe" would be a nice safe |> setting. Anything I should do differently there? |> |> thnks, |> |> b |> |> |> -- |> [EMAIL PROTECTED] mailing list |> | | _________________________________________________________________ | Get a FREE online virus check for your PC here, from McAfee. | http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 | | | -- | [EMAIL PROTECTED] mailing list | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAAbc5cyHa6bMWAzYRAqh2AJ9Lt76qYMmffmL7dOGi/G2E+K5UnQCgts8B puE1A+/OOF1bC7WgVLStLHE= =hX+R -----END PGP SIGNATURE-----
-- [EMAIL PROTECTED] mailing list