Statalist


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

Re: st: Any way to impose a memory limit?


From   "Sergiy Radyakin" <serjradyakin@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Any way to impose a memory limit?
Date   Wed, 22 Oct 2008 12:37:25 -0400

Hi, Neil.

The license restricts:

1. how (within one session) the computations are brunched (in MP).
Even for a single CPU Stata (e.g. IC or SE) you can start as many
sessions as your computer is capable of, e.g. 40 (Stata licenses cover
up to 32 CPUs max AFAIK). In fact Bill Gould earlier explained how
Stata generates a session identifier (instance number) to prevent
conflicts between several simultaneously running Stata sessions on one
machine: http://www.stata.com/statalist/archive/2007-08/msg01124.html.
E.g. I often run a .do file in a different Stata so as not to
preserve/restore data in the current session if they are relatively
independent jobs. (Stata program loads much faster than to save and
load, say a 600M dataset).

2. the network license restricts the number of users, but I don't want
to artificially reduce this limit. Rather I want to make sure that
noone can MONOPOLIZE the server by requesting all resources to his/her
job. I couldn't find any definitive explanation on the Stata's website
as to what is the behaviour of the network-licensed Stata with this
respect.

Suppose, for example, I have users A, B, C, D and a networked Stata MP
with license for 4 users, 2CPUs.

I want A, B, C and D to be able to run up to 2 Stata sessions each
simultaneously (up to 8 sessions in total), and I want no user to
claim more than 4 GB of memory in each Stata session. How to do it? if
it is at all possible.

Best regards, Sergiy


On Wed, Oct 22, 2008 at 5:36 AM, Neil Shephard <nshephard@nhs.net> wrote:
> Sergiy Radyakin wrote:
>> Dear All,
>>
>>   I have 2 questions regarding configuring Stata to run on a remote
>> server (Win64):
>>
>>   Q1.  is there any way an administrator can impose an upper limit on
>> the memory (X) that Stata can allocate with -set mem X- (ideally for
>> each specific user)?
>>
> Can't help there I'm afraid.
>>   Q2: is there any way to limit the number of simultaneously running
>> Statas (number of sessions)?
>>
> Won't Stata limit this via the license?  I.e. if the license only
> permits two simultaneous users then you can't start three sessions?
>
> Neil
>
> --
> "We should make things as simple as possible, but not simpler" - Anon (not Albert Einstein)
>
>
> ***********************************************************************
> This  message  may  contain  confidential and  privileged  information.
> If you  are not the  intended recipient  you should not  disclose, copy
> or distribute information in this e-mail or take any action in reliance
> on its contents.  To do so is strictly  prohibited and may be unlawful.
> Please  inform  the  sender that  this  message has  gone astray before
> deleting it.  Thank you.
>
> 2008 marks the 60th anniversary of the NHS.  It's an opportunity to pay
> tribute to the NHS staff and volunteers who help shape the service, and
> celebrate their achievements.
>
> If you work for the NHS  and  would like  an NHSmail  email account, go
> to: www.connectingforhealth.nhs.uk/nhsmail
> ***********************************************************************
>
> *
> *   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/
>
*
*   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   |   What's new   |   Site index