Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: Benchmarks for Stata


From   Austin Nichols <[email protected]>
To   [email protected]
Subject   Re: st: Benchmarks for Stata
Date   Fri, 10 Dec 2010 10:28:22 -0500

Dimitriy V. Masterov <[email protected]>:
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
<[email protected]> 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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index