[206] in arla-drinkers

home help back first fref pref prev next nref lref last post

Re: arla on Linux SMP

daemon@ATHENA.MIT.EDU (A.J.Martin)
Fri Aug 14 11:08:58 1998

From owner-arla-drinkers@stacken.kth.se Fri Aug 14 15:08:57 1998
Return-Path: <owner-arla-drinkers@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 19739 invoked from network); 14 Aug 1998 15:08:56 -0000
Received: from unknown (HELO sundance.stacken.kth.se) (130.237.234.41)
  by bloom-picayune.mit.edu with SMTP; 14 Aug 1998 15:08:56 -0000
Received: (from majordom@localhost)
	by sundance.stacken.kth.se (8.8.8/8.8.8) id RAA09040
	for arla-drinkers-list; Fri, 14 Aug 1998 17:03:53 +0200 (MET DST)
Received: from gamma.qmw.ac.uk (gamma.qmw.ac.uk [138.37.6.8])
	by sundance.stacken.kth.se (8.8.8/8.8.8) with SMTP id RAA09034;
	Fri, 14 Aug 1998 17:03:43 +0200 (MET DST)
Received: from hepag.ph.qmw.ac.uk by gamma.qmw.ac.uk with SMTP-QMW;
          Fri, 14 Aug 1998 16:03:32 +0100
Received: from localhost 
          by hepag.ph.qmw.ac.uk (5.65v4.0/1.1.19.2/11Aug98-0211PM)	id AA32296;
          Fri, 14 Aug 1998 16:03:30 +0100
Date: Fri, 14 Aug 1998 16:03:30 +0100 (BST)
From: "A.J.Martin" <A.J.Martin@qmw.ac.uk>
To: Magnus Ahltorp <map@stacken.kth.se>
Cc: "A.J.Martin" <A.J.Martin@qmw.ac.uk>, arla-drinkers@stacken.kth.se
Subject: Re: arla on Linux SMP
In-Reply-To: <lv1emujhlap.fsf@yakko.stacken.kth.se>
Message-Id: <Pine.OSF.3.96.980814155327.30259D-100000@hepag.ph.qmw.ac.uk>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-arla-drinkers@stacken.kth.se
Precedence: bulk

On 14 Aug 1998, Magnus Ahltorp wrote:

> >      I have trivially added  -D__SMP__ to the xfs Makefile, and it 
> > appears to solved the problems I saw yesterday. 
> 
> Do you have a general solution as to when -D__SMP__ should be used and
> when it shouldn't? How do I know that the compilation is done for an
> SMP kernel?
> 

cat /proc/cpuinfo | grep processor | wc -l

should normally give the number of processors (assuming /proc is 
mounted). Maybe there is a better way?  

cheers,
Alex Martin


home help back first fref pref prev next nref lref last post