Thanks, William.  That's just what I needed.  -Rob

On Feb 22, 6:18 pm, William Stein <[email protected]> wrote:
> On Sun, Feb 22, 2009 at 6:13 PM, Rob Beezer <[email protected]> wrote:
>
> > Does Sage use some sort of cache or swap space in your home directory
> > when working at the Sage command line?
>
> > I keep my home directory on a small USB portable notebook hard drive
> > and when doing timing experiments with large matrices (25 million
> > rational entries on a machine with 8 GB) I get noticeably slower
> > results and see more disk activity through the one light on the
> > drive.  If I run Sage as root, so the home directory is on the system
> > disk, performance is more in line with expectations and there's no
> > apparent disk activity on my external drive.
>
> Yes, Sage extensively uses $HOME/.sage by default for local disk files, etc.
> If you do
>     export DOT_SAGE=whatever/directory/you/want
> it will use that instead.
>
> If you *must* use $HOME/.sage you could at least symlink
> $HOME/.sage/temp to /tmp/sage say by typing
>
>    cd $HOME/.sage
>    rm -rf  temp
>    ln -s /tmp/sage temp
>
> William
>
>
>
> > If this is the case, is there a configuration or environment variable
> > to control the location of the disk activity?  I haven't been able to
> > find anything of the sort.
>
> > Thanks in advance,
> > Rob
>
> --
> William Stein
> Associate Professor of Mathematics
> University of Washingtonhttp://wstein.org
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to