Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* mpich on a cluster of SMPs + 4GB kernel problems
@ 2000-06-26  4:00 Xavier Gallez
  2000-06-27  4:00 ` David Konerding
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Xavier Gallez @ 2000-06-26  4:00 UTC (permalink / raw)


We have installed mpich 1.2.0 on a cluster of Linux Alpha ev67 SMP systems
(264DP dual CPUs). For some reason, performance is rather disappointing when
processes running in the same box are to exchange data. We tried two
different configurations, one with the ch_p4 device and the other with
ch_shmem. Both gave identical results. So the problems we are facing now
are:

1) How can we improve the performance of the ch_shmem device for intranode
communications ? Is there any particular option that we should choose upon
configuration of mpich ?
2) How can we configure mpich so that is uses ch_shmem for communication
within an SMP node, and ch_p4 for inter-node communications ?

Another problem is that our kernel that supports 4GB of RAM for the 264DP is
rather unstable (2.2.14smp). Very often, the machines freeze when running
mpi programs. Is anybody aware of a stable SMP kernel that supports acces to
4GB of RAM on 264DP systems ?

Thanks in advance,

    Xavier

=============================================================
Xavier Gallez
http://www.meca.ucl.ac.be/~gallez

Centre for Systems Engineering and Applied Mechanics (CESAME)
Universite Catholique de Louvain
Batiment Euler, Av. Georges Lemaitre, 4-6
B-1348 Louvain-la-Neuve, BELGIUM

Tel: + 32 - 10 - 47 2365
Fax: + 32 - 10 - 47 2180
E-mail: gallez@mema.ucl.ac.be
=============================================================






^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mpich on a cluster of SMPs + 4GB kernel problems
  2000-06-26  4:00 mpich on a cluster of SMPs + 4GB kernel problems Xavier Gallez
@ 2000-06-27  4:00 ` David Konerding
  2000-07-11  4:00   ` tabascox
  2000-06-27  4:00 ` Mathew Lee
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 7+ messages in thread
From: David Konerding @ 2000-06-27  4:00 UTC (permalink / raw)


On Mon, 26 Jun 2000 21:45:16 +0200, Xavier Gallez <gallez@mema.ucl.ac.be> wrote:
>We have installed mpich 1.2.0 on a cluster of Linux Alpha ev67 SMP systems
>(264DP dual CPUs). For some reason, performance is rather disappointing when
>processes running in the same box are to exchange data. We tried two
>different configurations, one with the ch_p4 device and the other with
>ch_shmem. Both gave identical results. So the problems we are facing now
>are:
>
>1) How can we improve the performance of the ch_shmem device for intranode
>communications ? Is there any particular option that we should choose upon
>configuration of mpich ?
>2) How can we configure mpich so that is uses ch_shmem for communication
>within an SMP node, and ch_p4 for inter-node communications ?

MPICH's performance is icky.  Try getting MPI/Pro's free MPI implementation
instead, it works much better (2X better scaling for our applicaiton)

>
>Another problem is that our kernel that supports 4GB of RAM for the 264DP is
>rather unstable (2.2.14smp). Very often, the machines freeze when running
>mpi programs. Is anybody aware of a stable SMP kernel that supports acces to
>4GB of RAM on 264DP systems ?

There are about 30 billion different things that could be wrong with your
system, from hardware to software.  Try to isolate a very simple test case
that is totally reproducible.  For example, programs which do lots of I/O
over the network, or fill up lots of memory.  You should try to figure
out if the kernel is Oopsing, or is the hardware actually hanging, etc.
I just spent a week debugging a device driver that completely hung the
system due to a very simple bug (overwriting the 8K kernel stack by
allocating too much local memory in a function).  The system went into
a hard lock without any messages from the kernel.

Dave



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mpich on a cluster of SMPs + 4GB kernel problems
  2000-06-26  4:00 mpich on a cluster of SMPs + 4GB kernel problems Xavier Gallez
  2000-06-27  4:00 ` David Konerding
@ 2000-06-27  4:00 ` Mathew Lee
  2000-07-03  4:00 ` Greg Lindahl
  2000-07-19  4:00 ` Christopher Porter
  3 siblings, 0 replies; 7+ messages in thread
From: Mathew Lee @ 2000-06-27  4:00 UTC (permalink / raw)


<snizzip>

> We have installed mpich 1.2.0 on a cluster of Linux Alpha ev67 SMP systems
> (264DP dual CPUs). For some reason, performance is rather disappointing when
> processes running in the same box are to exchange data. We tried two
> different configurations, one with the ch_p4 device and the other with
> ch_shmem. Both gave identical results. So the problems we are facing now
> are:
>
> 1) How can we improve the performance of the ch_shmem device for intranode
> communications ? Is there any particular option that we should choose upon
> configuration of mpich ?
> 2) How can we configure mpich so that is uses ch_shmem for communication
> within an SMP node, and ch_p4 for inter-node communications ?
>
> Another problem is that our kernel that supports 4GB of RAM for the 264DP is
> rather unstable (2.2.14smp). Very often, the machines freeze when running
> mpi programs. Is anybody aware of a stable SMP kernel that supports acces to
> 4GB of RAM on 264DP systems ?
>

<snizzip>

Xavier,

    I had this same problem with performance, but found that it may be in other
areas other than mpi.  I take it you are using redhat linux (my hint was the
2.2.14smp kernel :).  You may be interested to find that the compiler that you
are using (if you are using gcc) is not optimized for the alpha architecture
(or your are not using the options that tell the gcc compiler to optimize the
code).  One of solutions that I found to this problem was to use the compaq
compilers that are made freely available for enthuasist usage in addition to
compiler options.  The can be found on compaq's website.  If I am way off, or
you have already tried this route, then I appologize for wasting your time (and
mine).
    With respect to your question on the 2.2.14smp kernel you are using,
I would suggest downloading 2.2.16 and building it with the specific options
that you need.  A good howto can be found at
http://charlotte.redhat.com/support/docs/rhl/kernel-upgrade/kernel-upgrade-5.html

and replacing the make config with make menuconfig or make xconfig if you have
x running.

Mathew Lee
Undergraduate Research Assistant
Mechanical and Aerospace Engineering
Oklahoma State University





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mpich on a cluster of SMPs + 4GB kernel problems
  2000-06-26  4:00 mpich on a cluster of SMPs + 4GB kernel problems Xavier Gallez
  2000-06-27  4:00 ` David Konerding
  2000-06-27  4:00 ` Mathew Lee
@ 2000-07-03  4:00 ` Greg Lindahl
  2000-07-19  4:00 ` Christopher Porter
  3 siblings, 0 replies; 7+ messages in thread
From: Greg Lindahl @ 2000-07-03  4:00 UTC (permalink / raw)


"Xavier Gallez" <gallez@mema.ucl.ac.be> writes:

> 2) How can we configure mpich so that is uses ch_shmem for communication
> within an SMP node, and ch_p4 for inter-node communications ?

The ch_p4 device does 2 things, ethernet and shared memory on-node.
I'm not sure how you're supposed to build it, but that's supposed to
be there with 1.2.0.

It doesn't help that you call the performance "disappointing" and
don't give anything concrete.

> Another problem is that our kernel that supports 4GB of RAM for the 264DP is
> rather unstable (2.2.14smp).

2.2.16 has a significant on-line SMP fix.

-- greg



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mpich on a cluster of SMPs + 4GB kernel problems
  2000-06-27  4:00 ` David Konerding
@ 2000-07-11  4:00   ` tabascox
  2000-07-11  4:00     ` James Cownie
  0 siblings, 1 reply; 7+ messages in thread
From: tabascox @ 2000-07-11  4:00 UTC (permalink / raw)


We have similar problem. Our es40 (4cpus) freezes when I transfer a big file
through
the network....This happen with SMP kernel but does not happen with single
processor kernel.
The problem remains with other network adapters.
Since I can reproduce the problem, how can I debug the kernel ??
Thanks

Stefano


David Konerding wrote:

> On Mon, 26 Jun 2000 21:45:16 +0200, Xavier Gallez <gallez@mema.ucl.ac.be> wrote:
> >We have installed mpich 1.2.0 on a cluster of Linux Alpha ev67 SMP systems
> >(264DP dual CPUs). For some reason, performance is rather disappointing when
> >processes running in the same box are to exchange data. We tried two
> >different configurations, one with the ch_p4 device and the other with
> >ch_shmem. Both gave identical results. So the problems we are facing now
> >are:
> >
> >1) How can we improve the performance of the ch_shmem device for intranode
> >communications ? Is there any particular option that we should choose upon
> >configuration of mpich ?
> >2) How can we configure mpich so that is uses ch_shmem for communication
> >within an SMP node, and ch_p4 for inter-node communications ?
>
> MPICH's performance is icky.  Try getting MPI/Pro's free MPI implementation
> instead, it works much better (2X better scaling for our applicaiton)
>
> >
> >Another problem is that our kernel that supports 4GB of RAM for the 264DP is
> >rather unstable (2.2.14smp). Very often, the machines freeze when running
> >mpi programs. Is anybody aware of a stable SMP kernel that supports acces to
> >4GB of RAM on 264DP systems ?
>
> There are about 30 billion different things that could be wrong with your
> system, from hardware to software.  Try to isolate a very simple test case
> that is totally reproducible.  For example, programs which do lots of I/O
> over the network, or fill up lots of memory.  You should try to figure
> out if the kernel is Oopsing, or is the hardware actually hanging, etc.
> I just spent a week debugging a device driver that completely hung the
> system due to a very simple bug (overwriting the 8K kernel stack by
> allocating too much local memory in a function).  The system went into
> a hard lock without any messages from the kernel.
>
> Dave




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mpich on a cluster of SMPs + 4GB kernel problems
  2000-07-11  4:00   ` tabascox
@ 2000-07-11  4:00     ` James Cownie
  0 siblings, 0 replies; 7+ messages in thread
From: James Cownie @ 2000-07-11  4:00 UTC (permalink / raw)


tabascox wrote:
> 
> We have similar problem. Our es40 (4cpus) freezes when I transfer a big file
> through
> the network....This happen with SMP kernel but does not happen with single
> processor kernel.
> The problem remains with other network adapters.
> Since I can reproduce the problem, how can I debug the kernel ??
> Thanks
> 

I suggest you check the thread 

"Alpha SMP Beowulf cluster: problems with SMP and ethernet !!"

in the June 2000 archive of the Bewulf mail list at 

http://www.beowulf.org/pipermail/beowulf/2000-May/subject.html

It would seem to be relevant.

-- Jim 

James Cownie	<jcownie@etnus.com>
Etnus, LLC.     +44 117 9071438
http://www.etnus.com



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mpich on a cluster of SMPs + 4GB kernel problems
  2000-06-26  4:00 mpich on a cluster of SMPs + 4GB kernel problems Xavier Gallez
                   ` (2 preceding siblings ...)
  2000-07-03  4:00 ` Greg Lindahl
@ 2000-07-19  4:00 ` Christopher Porter
  3 siblings, 0 replies; 7+ messages in thread
From: Christopher Porter @ 2000-07-19  4:00 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 2804 bytes --]

Xavier -

We did a test on our Dual CPU Celerons ( I understand they're a far cry from
your whizbang
alphas) but it's easy to test.  Download NETPIPE and set it up to send a bunch
of one byte messages,
and then plot the latency for each.  When we did this, we still see a severe
problem with MPICH:


     Every 60th message takes on average 150,000 microseconds (MPICH 1.2)
     Every 200th message takes on average 37 microseconds (TCP)
     Every 1450th message takes on average 35 microseconds (LAM 6.3.2)

It smells like the problem that Josip Loncaric ID'd in the 2.0.x kernel days.
Check out
http://www-unix.mcs.anl.gov/mpi/mpich for further info.

Hope that's helpful.
chris.

Xavier Gallez wrote:

> We have installed mpich 1.2.0 on a cluster of Linux Alpha ev67 SMP systems
> (264DP dual CPUs). For some reason, performance is rather disappointing when
> processes running in the same box are to exchange data. We tried two
> different configurations, one with the ch_p4 device and the other with
> ch_shmem. Both gave identical results. So the problems we are facing now
> are:
>
> 1) How can we improve the performance of the ch_shmem device for intranode
> communications ? Is there any particular option that we should choose upon
> configuration of mpich ?
> 2) How can we configure mpich so that is uses ch_shmem for communication
> within an SMP node, and ch_p4 for inter-node communications ?
>
> Another problem is that our kernel that supports 4GB of RAM for the 264DP is
> rather unstable (2.2.14smp). Very often, the machines freeze when running
> mpi programs. Is anybody aware of a stable SMP kernel that supports acces to
> 4GB of RAM on 264DP systems ?
>
> Thanks in advance,
>
>     Xavier
>
> =============================================================
> Xavier Gallez
> http://www.meca.ucl.ac.be/~gallez
>
> Centre for Systems Engineering and Applied Mechanics (CESAME)
> Universite Catholique de Louvain
> Batiment Euler, Av. Georges Lemaitre, 4-6
> B-1348 Louvain-la-Neuve, BELGIUM
>
> Tel: + 32 - 10 - 47 2365
> Fax: + 32 - 10 - 47 2180
> E-mail: gallez@mema.ucl.ac.be
> =============================================================

--
=====================================================================================
                                          ____   ____  ____ _____        ____
    Christopher N. Porter                /   /  /   / /      /   /|   / /
 Junior Engineer / Scientist            /___/  /   / /__    /   / |  / /  __
     (562) - 496 - 6353                /    \ /   / /      /   /  | / /    /
     The Boeing Company               /_____//___/ /___ __/__ /   |/ /____/

           E-Mail:                    christopher.n.porter@west.boeing.com

=====================================================================================



[-- Attachment #2: Type: text/html, Size: 4794 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2000-07-19  4:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-26  4:00 mpich on a cluster of SMPs + 4GB kernel problems Xavier Gallez
2000-06-27  4:00 ` David Konerding
2000-07-11  4:00   ` tabascox
2000-07-11  4:00     ` James Cownie
2000-06-27  4:00 ` Mathew Lee
2000-07-03  4:00 ` Greg Lindahl
2000-07-19  4:00 ` Christopher Porter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox