Q: 1 processor vs. 2 processors

Q: 1 processor vs. 2 processors

Post by Radomi Boskovi » Wed, 14 Aug 2002 16:36:36



Will adding the second processor speed up my Linux installation? In case it
will what shal I change in the existing installation to make it happen?


 
 
 

Q: 1 processor vs. 2 processors

Post by Michael Burne » Wed, 14 Aug 2002 17:54:16



> Will adding the second processor speed up my Linux installation? In case it
> will what shal I change in the existing installation to make it happen?

add smp support to your kernel.

--
Winning gives birth to hostility.
Losing, one lies down in pain.
The calmed lie down with ease, having set winning
_
 10:54am  up  4:45,  1 user,  load average: 0.79, 0.61, 0.45

 
 
 

Q: 1 processor vs. 2 processors

Post by Jean-David Beye » Wed, 14 Aug 2002 19:27:02


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

| Will adding the second processor speed up my Linux installation? In
case it
| will what shal I change in the existing installation to make it happen?
|

|
|

Whether it speeds up your system depends on why your installation is not
fast enough with one processor. For example, if you are out of memory,
or IO-limited, it will not help at all and just might slow you down a
little. If you have a single process that consumes the entire CPU you
have, that process will run only very slightly faster with two CPUs.

Where you do get a performance is when your machine is compute-limited
and you are running more than one compute-limited program at the same
time. Then two processors will make them run almost twice as fast.

So before you bother with two CPUs, measure your present system to see
why it is slow. If you are spending all your time paging, for example,
more CPUs will not help.

As far as changing your installation, you will need a mother board that
will accept multiple CPUs, and you will need to run an SMP kernel.

- --
~  .~.  Jean-David Beyer           Registered Linux User 85642.
~  /V\                             Registered Machine    73926.
~ /( )\ Shrewsbury, New Jersey     http://counter.li.org
~ ^^-^^ 6:20am up 8 days, 12:27, 2 users, load average: 2.12, 2.26, 2.14
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9WN72Ptu2XpovyZoRAqcqAJ93jWjImAcRrrLAaMcwr9CEbK35jwCglc5l
GpGeYUaLxUu3pRWLjt3nfVs=
=oj3R
-----END PGP SIGNATURE-----

 
 
 

Q: 1 processor vs. 2 processors

Post by mjt » Wed, 14 Aug 2002 23:11:13


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message


> Will adding the second processor speed up my Linux installation? In case it
> will what shal I change in the existing installation to make it happen?

... it all depends on what you plan to do with this system.
can you elaborate on the intents?

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Michael J. Tobler: motorcyclist, surfer,  #    Black holes result
 skydiver, and author: "Inside Linux",     #   when God divides the  
 "C++ HowTo", "C++ Unleashed"              #     universe by zero

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9WRNEtTveLPAHcDIRAsQEAJ4k172dB6+lIlHfNznbyQOJkrFzTQCfa5xR
PEKEVaki1Tc8p9UBWOt4e20=
=vGXI
-----END PGP SIGNATURE-----

 
 
 

Q: 1 processor vs. 2 processors

Post by Neal P. Murph » Thu, 15 Aug 2002 08:23:20



>> Will adding the second processor speed up my Linux installation? In case
>> it will what shal I change in the existing installation to make it
>> happen?

For example, I found on my previous system, having 2 procesors greatly
speeded up the system because X needed a fair bit of CPU time. If you
are doing things that require a lot of X activity *and* use a lot of CPU
time, you might just find that having 2 CPUs give you better processing
throughput.

Fest3er

 
 
 

Q: 1 processor vs. 2 processors

Post by Jean-David Beye » Thu, 15 Aug 2002 11:23:24


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

|>
|>
|>>Will adding the second processor speed up my Linux installation? In case
|>>it will what shal I change in the existing installation to make it
|>>happen?
|>
|
| For example, I found on my previous system, having 2 procesors greatly
| speeded up the system because X needed a fair bit of CPU time. If you
| are doing things that require a lot of X activity *and* use a lot of CPU
| time, you might just find that having 2 CPUs give you better processing
| throughput.
|
| Fest3er

I have two 550MHz Pentium IIIs, but I find that X runs at about 1.6% of
one CPU time most of the time. If I am not doing anything but running
xosview, top, and an idle xterm flashing the cursor, it can drop to
something like 0.4% of a CPU. It used to use more (30% of a CPU), once
in a while, when I was running a 2.2 kernel, but with the 2.4 kernels,
it does not do this anymore. So to get a lot of CPU time devoted to X,
you would probably need a pretty slow CPU, and I do not know if you
could find a mother board that would take such slow CPUs.

- --
~  .~.  Jean-David Beyer           Registered Linux User 85642.
~  /V\                             Registered Machine    73926.
~ /( )\ Shrewsbury, New Jersey     http://counter.li.org
~ ^^-^^ 10:15pm up 9 days, 4:22, 2 users, load average: 2.11, 2.12, 2.09
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQE9Wb8cPtu2XpovyZoRAsYTAJ9nb2x2HKYUZZlPL9VNJ6U6t/NlmQCYutpb
SIIOUKwFCEuKpp7VW2ExsA==
=wX5e
-----END PGP SIGNATURE-----