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: Benchmarks for Stata


From   Austin Nichols <austinnichols@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Benchmarks for Stata
Date   Fri, 10 Dec 2010 10:28:22 -0500

Dimitriy V. Masterov <dvmaster@gmail.com>:
Try timing a do file run in batch mode on both machines, to see
whether interacting with the user interface plays a big role--I can
see where it is possible that a remote connection consumes a lot of
resources, depending on configuration.

If you don't know about batch mode, try out:

cd `c(sysdir_stata)'
tempname t
file open `t' using batch.do, write
file write `t' "sysuse nlsw88, clear" _n
file write `t' "set rmsg on" _n
file write `t' "set seed 1" _n
file write `t' "bs, r(1000): logit married grade south wage" _n
file write `t' "exit" _n
file close `t'
!StataMP -b do batch
erase batch.do
type batch.log
erase batch.log

but don't do the above as your test--the idea is to set something up
that will take a long time, disconnect from the remote machine and see
if the performance improves when you are disconnected for most of the
runtime.  So you can use that do file but make it r(10000) or r(50000)
and start the StataMP process from the command line or Run... it from
the Windows start menu.

On Fri, Dec 10, 2010 at 9:38 AM, Dimitriy V. Masterov
<dvmaster@gmail.com> wrote:
> Stas,
>
> I share the server with one other user and it has considerably better
> specs than my laptop.
>
> DVM
>
*
*   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