To possibly add to the sage.math woes yesterday, I was testing a new
memory manager just before the slowdown. It had the unusual property
of allocating very many gigabytes of swap space in small chunks and
very little actual memory. My presumption was that the slowness had
something to do with sage.math trying to recover from the swap space
mess it created for itself after I killed the process that was causing
the problem.

Needless to say, the new new memory manager doesn't have this
"feature".

Sorry if my tinkering contributed to the problem.

Bill.

On 14 Aug, 06:38, "Justin C. Walker" <[EMAIL PROTECTED]> wrote:
> On Aug 13, 2007, at 18:51 , William Stein wrote:
>
>
>
>
>
> > On 8/13/07, mabshoff <[EMAIL PROTECTED]
> > dortmund.de> wrote:
> [snip]
> > Robert Miller was cleaning up his home directories (we ran out
> > of disk space yesterday) and ...
> >    8598 pts/16   DN+    7:47 rm -rf tmp
> > The problem is that the directory tmp contains almost 5 million files:
>
> The file system ain't made that can deal gracefully with that many  
> files in one directory.
>
> > sage:/home/rlmill/tmp# ls -1 > a
> > sage:/home/rlmill/tmp# wc -l a
> > 4754843 a
>
> How long did that 'ls' take?  'ls' has to read the whole directory,  
> sort it, and then print it :-}.  Next time, use "ls -f1", which won't  
> sort the directory; it just takes the entries as they come in the read.
>
> > (Robert -- Why do you have so many tmp files?  Maybe you should
> > be using a database?  Filesystems like ext3 aren't good at dealing
> > with 5 million files in a directory...)
>
> Inquiring minds want to know...
>
> Justin
>
> --
> Justin C. Walker, Curmudgeon-at-Large
> () The ASCII Ribbon Campaign
> /\ Help Cure HTML Email


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to