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: how to make stata run faster


From   George Vega Yon <[email protected]>
To   [email protected]
Subject   Re: st: how to make stata run faster
Date   Wed, 22 May 2013 10:30:15 -0400

Dear Eduardo,

One way to speedup computations without buying StataMP can by through
the module "parallel" ideas.repec.org/c/boc/bocode/s457527.html
(which I'll show at Stata Conference in New Orleans). The next version
of the module (which will be soon release) will include a set of tools
for use parallel within MATA. That said, you'll be able to efficiently
rewrite algorithms in such a way to take advantage of multicore CPUs.

As a way to promote my module, I've started rewriting some particulary
slow algorithms. For instance, in the next weeks I'll release
"nnmatch2", a new version of nearest neighbour matching (nnmatch)
implemented in mata + parallel computing. The MATA implementation have
speedup the algorithm in around 10 times; and the parallel part will
(at least) double that number (if you have a dual core computer...).

If you are up to, we can evaluate rewriting a part of Stata's "arima"
and see where does this leads us.

Please let me know,

Best wishes,

George


George Vega Yon
7 647 2552
http://cl.linkedin.com/in/georgevegayon


2013/5/21 Darren White <[email protected]>:
> Hi
>
> STATA MP (multi processor) has optimised processing for many STATA computations/ routines.
>
> I recently upgraded and it is very quick.
>
> Darren
>
>>>> "JVerkuilen (Gmail)" <[email protected]> 5/21/2013 2:39 pm >>>
> You should indicate what version of Stata and the specifications of
> the platform. The answer might well be "get a better computer." ;)
>
> On Mon, May 20, 2013 at 4:09 PM, Eduardo de Masi <[email protected]> wrote:
>>
>>
>> Dear,
>>
>> Please,
>>
>> I'm running a transfer function with ARIMA errors (Arimax) in STATA and processing is very slow, is taking three to four hours. My database has 626 observation and my model has five variables, and their lags. What can I do to Stata run faster?
>> I have the following memory allocated:
>>
>> Current memory allocation is:
>>
>> current                                 memory usage
>> settable          value     description                 (1M = 1024k)
>> --------------------------------------------------------------------
>> set maxvar         5000     max. variables allowed           1.909M
>> set memory       200M    max. data space                      200.000M
>> set matsize        5000     max. RHS vars in models        191.154M
>> -----------
>> 393.063M
>>
>> Thanks,
>> Eduardo de Masi
>> PhD student in Sciences
>>
>>
>> *
>> *   For searches and help try:
>> *   http://www.stata.com/help.cgi?search
>> *   http://www.stata.com/support/faqs/resources/statalist-faq/
>> *   http://www.ats.ucla.edu/stat/stata/
>
>
>
> --
> JVVerkuilen, PhD
> [email protected]
>
> "They were careless people, Tom and Daisy - they smashed up things and
> creatures and then retreated back into their money of their vast
> carelessness, or whatever it was that kept them together, and let
> other people clean up the mess they had made." -- F. Scott Fitzgerald
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/
>
>
> ********************************************************************************
> This email, including any attachments sent with it, is confidential and for the sole use of the intended recipient(s). This confidentiality is not waived or lost, if you receive it and you are not the intended recipient(s), or if it is transmitted/received in error.
> Any unauthorised use, alteration, disclosure, distribution or review of this email is strictly prohibited.  The information contained in this email, including any attachment sent with it, may be subject to a statutory duty of confidentiality if it relates to health service matters.
> If you are not the intended recipient(s), or if you have received this email in error, you are asked to immediately notify the sender by telephone collect on Australia +61 1800 198 175 or by return email.  You should also delete this email, and any copies, from your computer system network and destroy any hard copies produced.
> If not an intended recipient of this email, you must not copy, distribute or take any action(s) that relies on it; any form of disclosure, modification, distribution and/or publication of this email is also prohibited.
> Although Queensland Health takes all reasonable steps to ensure this email does not contain malicious software, Queensland Health does not accept responsibility for the consequences if any person's computer inadvertently suffers any disruption to services, loss of information, harm or is infected with a virus, other malicious computer programme or code that may occur as a consequence of receiving this email.
> Unless stated otherwise, this email represents only the views of the sender and not the views of the Queensland Government.
> **********************************************************************************
>
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index