[Numpy-discussion] "import numpy" is slow
Mon Aug 4 15:26:59 CDT 2008
On Mon, Aug 4, 2008 at 14:24, Christopher Barker <Chris.Barker@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
>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:
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:
"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