From radford at cs.toronto.edu  Fri Aug 10 16:48:49 2012
From: radford at cs.toronto.edu (Radford Neal)
Date: Fri, 10 Aug 2012 10:48:49 -0400
Subject: [Rd] Performance issues with R2.15.1 built from source on Solaris
In-Reply-To: <mailman.15.1344592805.9704.r-devel@r-project.org>
References: <mailman.15.1344592805.9704.r-devel@r-project.org>
Message-ID: <20120810144849.GB4641@cs.toronto.edu>

Is this a SPARC system?  On at least some SPARC systems, the "long double" 
type in C is implemented very slowly in software, and it seems that it is 
used for the sums done when calculating standard deviations with "sd".

   Radford Neal


> Date: Wed, 8 Aug 2012 18:55:37 -0500
> From: "Eberle, Anthony" <aeber at allstate.com>
> To: <r-devel at r-project.org>
> Subject: [Rd] Performance issues with R2.15.1 built from source on
> 	Solaris?

> I have a question about building R (2.15.1) from source on a Solaris 10
> 64bit virtual server with 2 cores and 16GB memory that is running on an
> Oracle T4 server.  Based on several tests I have done this configuration
> has been several orders of magnitude slower than any other configuration
> I've tested.  
> 
> A simple test of some code to calculate the standard deviation 10000
> times (simple code to consume resources) takes on average 121.498
> seconds on the Solaris server where the next worst system (Redhat Linux)
> takes 1.567 seconds:



[Rd] Performance issues with R2.15.1 built from source on Solaris
Radford Neal