Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Linux / Apache Web Server question...RAM or Processor?

 
   Web Hosting Problem Solving Community! (Home) -> Apache RSS
Next:  Good Source for HD Programming Schedules?  
Author Message
spshaffer

External


Since: Sep 14, 2003
Posts: 3



(Msg. 1) Posted: Mon Dec 22, 2003 3:34 pm
Post subject: Linux / Apache Web Server question...RAM or Processor?
Archived from groups: alt>apache>configuration (more info?)

All,

First off, happy holidays.

Second, we'd like to build up a Linux / Apache web server that will be
doing a lot of CGI / Perl scripts (older stuff not necessarily
ModPerl).

Newbie question: what's better for an Linux / Apache Web Server -
Processor or RAM? Is there a point of diminishing returns for RAM?

Thanks in advnaced,

Steve Shaffer

 >> Stay informed about: Linux / Apache Web Server question...RAM or Processor? 
Back to top
Login to vote
spam_this

External


Since: Jan 06, 2004
Posts: 11



(Msg. 2) Posted: Tue Dec 23, 2003 1:56 pm
Post subject: Re: Linux / Apache Web Server question...RAM or Processor? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Stephen Shaffer wrote:

 > All,
 >
 > First off, happy holidays.
 >
 > Second, we'd like to build up a Linux / Apache web server that will be
 > doing a lot of CGI / Perl scripts (older stuff not necessarily
 > ModPerl).
 >
 > Newbie question: what's better for an Linux / Apache Web Server -
 > Processor or RAM? Is there a point of diminishing returns for RAM?
 >
 > Thanks in advnaced,
 >
 > Steve Shaffer

As always, this very much *depends*. Depends on how intensive the CGI/Perl
stuff is and also how much content they generate.

As a rule, a server dealing with purely static data (html files, etc) will
benefit from increased memory as it will cache a lot of the content to RAM
and serve it from there. Imagine you can cache 100% of your data in RAM,
then additional RAM is "wasted".

Dynamic content on the other hand (as a rule) will benefit from more clock
cycles. HOWEVER, the dynamic content needs to be staged somewhere while
it's generated - enter the RAM part of the equation.

If your scripts are only producing small (<100kB) amounts of content then
you would be better off spending a little extra on the CPU. Once again,
this depends on how many hits you expect etc. If your generated content is
bigger than about 100kB then you really need more RAM AND lots of CPU power
too.

As for the diminishing returns for increased RAM, this is usually more
obvious on systems serving static content (see my previous comments).
Dynamic content will usually benefit from additional RAM until you reach
the limits of the CPU, at which point no amount of RAM will help, only more
clock cycles.

It's really a balancing act. Good luck.

James
--
Fortune cookie says:
Coward, n.:
One who in a perilous emergency thinks with his legs.
-- Ambrose Bierce, "The Devil's Dictionary"<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Linux / Apache Web Server question...RAM or Processor? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
apache installation on linux - Hi All, I'm new to Apache. I've been trying to find instructions for installing Apache on my Red Hat Linux box. However, I haven't had any luck at all. I've navigated over to www.apache.org, but no luck there either. Plus, I don't know what version of..

Apache with RedHat Linux 9 - I see in the Server Settings a place to administer SSL / encryption. However, I am failing to understand how to make it work. Could you point me to a step-by-step on how to use the settings in the GUI Server settings of RH9 for Apache? I can get Apache t...

autostart apache in linux - hello! i`ve installed apache2 on my suse linux 8.2 box and it works correctly the only problem is that i`ve to start it from the command line because i don`t know how to add it into the boot progress so it starts while booting the system up maybe..

What about perl on linux apache? - Hi. I see that some Win2K folks (of which I'm one) are having a problem with perl on apache. I am having a problem on RH Linux 9.0; I finally got httpd configured, so I think, but my perl scripts display their code. This has happened more than once....

Remote restart of Apache 1.3/2.0 on Linux? - I have a requirement that I update the configuration on an Apache server and then restart the server so that the new configuration is read. Is there any ready-made tool from Apache for this? Or is there generally an 'accepted practice' for..
   Web Hosting Problem Solving Community! (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]