Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SMP/dual (multi) core phase II



On Sun, May 06, 2007 at 07:12:00PM -0400, markw at mohawksoft.com wrote:
> If someone has an educated argument against this position I would really
> like to be educated.

We have a easily parallelizable, highly math-intensive workload
that forms the core of our services. (We == work, that is.)
We start as many processes as we have CPU cores available as
determined by Linux. This scales linearly on both single-core
CPUs and multicore CPUs. It scales almost, but not quite,
linearly on HyperThreading CPUs.

> Second, does anyone out there know if dual core processors can (as a
> matter of hardware and OS implementation) be used to run two different
> processes simultaneously rather than merely two different threads of a
> single process. 

Yes.

> VMM map have to be loaded into the memory controller, meaning that
> separate processes with different virtual memory mapping could not benefit
> from two cores.

That is not the case. CPU cache is split between the processes,
but unless you have a program structure where the main loops
don't fit into cache, you are unlikely to see much impact.
Remember, you're running a multitasking OS anyway. Right?

-dsr-

-- 
.. .----. --   .-. . .- -.. .. -. --.   -.-- --- ..- .-.   -- .- .. .-.. .-.-.-   .-- .... ---   . .-.. ... .   .. ... ..--.. 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org