On Tue, Dec 22, 2009 at 6:28 PM, Dr. David Kirkby
<[email protected]> wrote:
> William Stein wrote:
>> On Tue, Dec 22, 2009 at 5:08 PM, Dr. David Kirkby
>> <[email protected]> wrote:
>>> I've just set this Sage 4.2.1 server up.
>>>
>>> It's on my home computer, on a slow network, so performance wont be great. 
>>> The
>>> machine is also 8 years old, so don't expect miracles from it!
>>
>> It seems to work well.  Is it a 4-core box?
>>
>> Calling get_memory_usage() goes nuts with:
>>
>> sh: top: not found
>> sh: top: not found
>> sh: top: not found
>> ...
>>
>> since I guess we never rewrote that command to not rely on top.
>
> No, it is not quad core. It is a Sun Blade 2000 with 2 x 1200 MHz UltraSPARC
> III+ CPUs.
>
> This Blade 2000 was made in 2002 - probably before the days of CPUs with
> multiple cores. But only one processor is available in this zone, so the zone
> will not know how many there are.
>
> I assume there must be 4 calls to top.
>
> My quad core (8 thread) machine is the Sun Ultra 27, which runs Open Solaris 
> on
> a 3.33 GHz Xeon. I'd like to get Sage running on that, as that machine will be
> considerably faster than this, and has a bit more memory (12 GB vs the 8 in 
> the
> Sun Blade 2000).
>
> I might postulate that the fact the Sage code does not know how much RAM is
> being used, would make it quite easy to exhaust the 6 GB of RAM allocated to 
> the
> zone. I assume the limit I applied starting the notebook will not actually do
> anything.

There

> Anyway, feel free to crash it if you want. As I say, it wont cause me any
> problems, as it is in a zone.

I'm trying

  a = matrix(ZZ, 10000)

and I'm sure that the 500000MB limit isn't being enforced, since on
sage.math that command uses about 4GB RAM:

sage: get_memory_usage()
769.07421875
sage:  a = matrix(ZZ, 10000)
sage: get_memory_usage()
5346.5703125

This may be a bug in the notebook.

William

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to