Re: What hardware components bottleneck Linux?

From: Al Dykes (adykes_at_panix.com)
Date: 02/14/05


Date: 14 Feb 2005 07:54:46 -0500

In article <pan.2005.02.14.05.08.33.723382@zianet.com>,
ray <ray@zianet.com> wrote:
>On Sun, 13 Feb 2005 20:31:26 -0800, Mike wrote:
>
>> Rather than asking what hardware you would recommend, let me approach
>> it from the other end. What components in a desktop system are most
>> likely to cause a performance bottleneck in a Linux system?
>>
>> To make it interesting, I want to run Apache, I don't expect the world
>> to come knocking, I will likely run a relational database such as
>> MySQL, and I want to spend about $500 on the tower; no mouse, keyboard,
>> display included in the price. How should I allocate my money to
>> maximize total system thruput?
>>
>> First, am I missing anything from the following component list? CPU,
>> RAM type, RAM size, bus speed, cache sizes, disk access times, multiple
>> disk arms, NIC.
>>
>> Second, does the Linux distribution that I pick influence the answer?
>>
>> Third, which of these components is Linux most sensitive to?
>>
>> Lastly, are there any rules of thumbs for picking component mixtures so
>> as to avoid bottlenecks? "No bottlenecks" is defined as the entire
>> system failing at once when response time hits the elbow in the
>> response time vs. load curve. Pointers to pertinent URL links would be
>> appreciated.
>>
>> --Thank you,
>> --Mike Jr.
>
>I expect the bottleneck is going to be your internet connection. Typical
>broadband connections are limited to 1.5mbit/sec or thereabouts - so a
>gigabit card is not going to help. Next is probably going to be disk
>access.
>

You don't know what your bottleneck is until you've hit it, or
something like that.

If you have residential DSL service is generally slower upstream than
incomming. As slow as 128kb upstream. That's the speed an external
user sees if he hits your web server. Cable broadband is typically
symetric. Check the TOS for your broadband service. They may preclude
running a server or have other obnoxious fine print.

As for the general question, there are too many variables and you have
to start somewhere. Bottleneck analysis is very personal. You need to
build an application and measure what it's doing when you think it
shoud be faster,. make changes, and then measure again because the
bottleneck has shifted to something else.

IMO the single biggest hog on a workstation is the fancy GUI (these
days gnome or KDE by default). Nice, but people who run servers or
performance-limited computers frequently ignore the GUI entirely or
switch to a much lighter one, but I'm in over my depth here.

Start with a fast CPU and 512MB memory. Disks and memory can be added
as needed.

-- 
a d y k e s @ p a n i x . c o m 
Don't blame me. I voted for Gore.


Relevant Pages

  • Re: Your suggestions about this Dell configuration?
    ... Websites with 3-4 million hits per month with video ads. ... either Apache or MySQL stops responding. ... Server Configuration: ... from/to disk, then your disks could get a thrashing. ...
    (freebsd-questions)
  • Re: How can i cluster sql 2005 for load balancing?
    ... If you have a disk I/O bottleneck, it could be that you're memory starved. ... data will still be managed by a single server. ... medium price hardware for my server. ...
    (microsoft.public.sqlserver.clustering)
  • Re: We quadrupled hardware power and reduced performance
    ... Seems to be CPU where the bottleneck is, ... > CPU, Memory, Disk i/o, Index information, long running queries etc. ... >> We did several tests with new box serving as server to other boxes. ...
    (microsoft.public.sqlserver.server)
  • SUMMARY: Disk contention
    ... I'm still convinced that it's not significant for big blocks (say 1 Mb I/O). ... S> due to the disk part. ... You can either use AT&T'ssfio library, or use Solaris 64-bit ... A significant bottleneck threshold occurs if b (processes ...
    (SunManagers)
  • Re: Any advantage to obtaining IIS6.0 for this problem?
    ... There are two software solutions you can pursue: ... Profile your ASP, COM, and ODBC to determine where the bottleneck resides ... server code is not going to help in 99.999% of the case since changing ... My real question is would upgrading to IIS6.0 increase web server ...
    (microsoft.public.inetserver.iis)