From owner-sc22wg5@open-std.org  Thu Oct 22 14:35:48 2009
Return-Path: <owner-sc22wg5@open-std.org>
X-Original-To: sc22wg5-dom8
Delivered-To: sc22wg5-dom8@www2.open-std.org
Received: by www2.open-std.org (Postfix, from userid 521)
	id 8C251C76BC4; Thu, 22 Oct 2009 14:35:48 +0200 (CET DST)
X-Original-To: sc22wg5@open-std.org
Delivered-To: sc22wg5@open-std.org
Received: from ppsw-6.csi.cam.ac.uk (ppsw-6.csi.cam.ac.uk [131.111.8.136])
	by www2.open-std.org (Postfix) with ESMTP id C9F69C76BB7
	for <sc22wg5@open-std.org>; Thu, 22 Oct 2009 14:35:47 +0200 (CET DST)
X-Cam-AntiVirus: no malware found
X-Cam-SpamDetails: not scanned
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from hermes-1.csi.cam.ac.uk ([131.111.8.51]:60929)
	by ppsw-6.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:25)
	with esmtpa (EXTERNAL:nmm1) id 1N0wtO-0008Si-Lu (Exim 4.70) for sc22wg5@open-std.org
	(return-path <nmm1@hermes.cam.ac.uk>); Thu, 22 Oct 2009 13:35:46 +0100
Received: from prayer by hermes-1.csi.cam.ac.uk (hermes.cam.ac.uk)
	with local (PRAYER:nmm1) id 1N0wtO-0008QC-P7 (Exim 4.67) for sc22wg5@open-std.org
	(return-path <nmm1@hermes.cam.ac.uk>); Thu, 22 Oct 2009 13:35:46 +0100
Received: from [131.111.10.32] by webmail.hermes.cam.ac.uk
	with HTTP (Prayer-1.3.2); 22 Oct 2009 13:35:46 +0100
Date: 22 Oct 2009 13:35:46 +0100
From: "N.M. Maclaren" <nmm1@cam.ac.uk>
To: SC22WG5 <sc22wg5@open-std.org>
Subject: Re: [ukfortran] (SC22WG5.4111) (j3.2006) Standard	intrinsics	and coarrays
Message-ID: <Prayer.1.3.2.0910221335460.27726@hermes-1.csi.cam.ac.uk>
In-Reply-To: <20091022122517.81D7CC76BB7@www2.open-std.org>
References: <20091020111544.C0F5CC178E3@www2.open-std.org>
 <20091020154252.946EAC178E3@www2.open-std.org>
 <20091021161933.1B2FCC178E3@www2.open-std.org>
 <20091021171501.21FA4C178E3@www2.open-std.org>
 <20091021175702.E4D26C178E3@www2.open-std.org>
 <20091022043326.83DB9C178E4@www2.open-std.org>
 <20091022051613.0AEF5C178E4@www2.open-std.org>
 <20091022062554.CF066C178E4@www2.open-std.org>
 <20091022115243.E875EC178E4@www2.open-std.org>
 <20091022122517.81D7CC76BB7@www2.open-std.org>
X-Mailer: Prayer v1.3.2
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset=ISO-8859-1
Sender: owner-sc22wg5@open-std.org
Precedence: bulk

On Oct 22 2009, Bill Long wrote:
>
>>     Systems with suitable compare-and-swap hardware can implement
>> parallel use of a shared RANDOM_NUMBER safely without locking.  Adding
>> RANDOM_SEED to the mix makes that much trickier, and it's not something
>> that any sane programmer would do, anyway.
>
>As a (my) performance rule of thumb, if you can generate 1.e9 64-bit 
>values per second you are OK. In some cases, 1.e8 might be considered. 
>Even with hardware compare-and-swap, a shared generator on an even 
>modest sized system will have trouble with this. The scheme has no 
>chance of scaling to large numbers of images.  And it still fails the 
>reproducibility requirement.

Oh, yes.  It's a crazy approach for scalable HPC systems - no dissention
there.  But I don't think that it should be forbidden, as it's a very
plausible approach for single-chip, non-HPC implementations.  In those
cases, 1.0e7 values a second would be adequate, or even 1.0e6.

Regards,
Nick.




