[Numpy-discussion] "import numpy" is slow

Robert Kern robert.kern at gmail.com
Mon Aug 4 16:26:59 EDT 2008


On Mon, Aug 4, 2008 at 14:24, Christopher Barker <Chris.Barker at noaa.gov> wrote:
> Robert Kern wrote:
>> It isn't. The problem is on Chris's file system.
>
> Thanks for all your help, Robert. Interestingly, I haven't noticed any
> problems anywhere else, but who knows?
>
> I guess this is what Linux Torvalds meant when he said that OS-X's file
> system was "brain dead"
>
>> Whatever is wrong
>> with his file system (Bill Spotz's identical problem suggests too many
>> temporary but unused inodes)
>
> I didn't see anything about Bill having similar issues -- was it on this
> list?

>From my earlier message in this thread:

"""
Looking at the Shark results you sent me, it looks like all of your
time is getting sucked up by the system call getdirentries(). Googling
for some of the function names in that stack brings me to the message
"Slow python initialization" on the Pythonmac-SIG:

 http://mail.python.org/pipermail/pythonmac-sig/2005-December/015542.html

The ultimate resolution was that Bill Spotz, the original poster, ran
Disk Utility and used the Disk Repair option to clean up a large
number of unused inodes. This solved the problem for him:

 http://mail.python.org/pipermail/pythonmac-sig/2005-December/015548.html
"""

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
 -- Umberto Eco



More information about the NumPy-Discussion mailing list