Peter Fein | 18 Sep 2005 00:41
Picon
Favicon
Gravatar

Kernel Support for Dual Core x86-64?

Hi all-

My company is looking to build a cluster of Linux machines to run an
in-house compute-intensive application.  We're strongly considering
dual-processor, dual-core x86-64 systems for cost reasons (shared
hardware, less rack space).  I have a few questions, and despite
extensive googling, haven't been able to find satisfactory answers.

1. Can a dual core chip run two os-level *processes* simultaneously or
only two threads from the same process?  Our processes (written in
Python, with parts in C) are completely independent of each other.

2. What sort of speed up relative to a dual processor, single core
system could I expect to gain?  I realize this is highly application
dependent and I'm not looking for any hard figures.  I just want to get
a rough idea to see if the additional cost is worth it.

3. Any suggestions on compiler version?  We're currently using GCC-3.3.6
on our 32 bit boxes.

Thanks in advance!

--

-- 
Peter Fein                 pfein <at> pobox.com                 773-575-0694

Basically, if you're not a utopianist, you're a schmuck. -J. Feldman

-
To unsubscribe from this list: send the line "unsubscribe linux-smp" in
the body of a message to majordomo <at> vger.kernel.org
(Continue reading)

Al Boldi | 18 Sep 2005 16:48

Fork capture


Is there a way to capture a process-fork?

Something like:
process/kModule A monitors procs for forking, captures it and manages further 
processing.

Thanks!

--
Al

-
To unsubscribe from this list: send the line "unsubscribe linux-smp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Robert M. Hyatt | 18 Sep 2005 17:29
Picon
Favicon

Re: Kernel Support for Dual Core x86-64?


Robert M. Hyatt, Ph.D.          Computer and Information Sciences
hyatt <at> uab.edu                   University of Alabama at Birmingham
(205) 934-2213                  136A Campbell Hall
(205) 934-5473 FAX              Birmingham, AL 35294-1170

On Sat, 17 Sep 2005, Peter Fein wrote:

> Hi all-
> 
> My company is looking to build a cluster of Linux machines to run an
> in-house compute-intensive application.  We're strongly considering
> dual-processor, dual-core x86-64 systems for cost reasons (shared
> hardware, less rack space).  I have a few questions, and despite
> extensive googling, haven't been able to find satisfactory answers.
> 
> 1. Can a dual core chip run two os-level *processes* simultaneously or
> only two threads from the same process?  Our processes (written in
> Python, with parts in C) are completely independent of each other.
> 

yes.   A dual-core is two separate processors, on a single NUMA "node".  
You can create two processes any way you want, from threads, to fork() 
to simply typings a&; b&, and the two processes will run on the two cpus 
just fine.  I've run on a quad 875 system at AMD, and the box appears to 
have 8 cpus since each processor is dual-core.  It runs like a bat out 
of Egypt also...

> 2. What sort of speed up relative to a dual processor, single core
> system could I expect to gain?  I realize this is highly application
(Continue reading)

Coywolf Qi Hunt | 19 Sep 2005 08:55
Picon

Re: Fork capture

On 9/18/05, Al Boldi <a1426z <at> gawab.com> wrote:
> 
> Is there a way to capture a process-fork?
> 
> Something like:
> process/kModule A monitors procs for forking, captures it and manages further
> processing.

Look at the fork_connector patch.
--

-- 
Coywolf Qi Hunt
http://sosdg.org/~coywolf/
-
To unsubscribe from this list: send the line "unsubscribe linux-smp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Al Boldi | 19 Sep 2005 17:01

Re: Fork capture

Coywolf Qi Hunt wrote:
> On 9/18/05, Al Boldi <a1426z <at> gawab.com> wrote:
> > Is there a way to capture a process-fork?
> >
> > Something like:
> > process/kModule A monitors procs for forking, captures it and manages
> > further processing.
>
> Look at the fork_connector patch.

Nice, but how could this be used to _manage_ further process-execution?

Also, would a user-space solution be possible?

Thanks!

--
Al

-
To unsubscribe from this list: send the line "unsubscribe linux-smp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Gmane