Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Overriding a loop if 0 observations using tabstat


From   Richard Goldstein <richgold@ix.netcom.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Overriding a loop if 0 observations using tabstat
Date   Wed, 28 Apr 2010 08:34:59 -0400

Like Kit, I also found a dramatic advantage for -count- on my machine; I
have a 64-bit MacPro running Stata11/MP8

when I set memory to any of 2m, 5m or 10m, I found approximately the
following times: 6.1, 49.5, 55.6

however, when I set memory to any of 50m, 500m, 5g or 25g (I have 32G of
RAM), I find the following: 6.2, 99, 104

so, little change for count, much change for summarize

I think a comment from StataCorp on why there are big changes for
summarize when changing memory would be appropriate here

Rich Goldstein

On 4/28/10 8:26 AM, Kit Baum wrote:
> <>
> I find a dramatic advantage for -count- on my 4-core 64-bit MacPro, running Stata 11/MP4:
> 
> 13.53; 60.70; 72.25
> 
> The activity monitor showed all four cores maxed out during -summarize-, so whether it is affected as much by paralleiization, it seems to be able to utilize everything the machine has to offer.
> 
> Unlike Robert, I find that reducing memory allocation from 500m to 100m slows it down!
> 
> Kit Baum   |   Boston College Economics & DIW Berlin   |   http://ideas.repec.org/e/pba1.html
>                               An Introduction to Stata Programming  |   http://www.stata-press.com/books/isp.html
>    An Introduction to Modern Econometrics Using Stata  |   http://www.stata-press.com/books/imeus.html
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index