Re: [newbie] file utilities slowdown with many files ..

1999-08-02 Thread Niels Larsen
Chmouel, > it's normal if your ls is a ls --color, ls do before a file on each > files to see the filetype and colorise it. your perl script do only > a opendir/readdir, it's only two call to system. Thats it, thanks .. I did 'unalias ls' and time dropped from 10-15 mins to 2 seconds. Then I did

[newbie] file utilities slowdown with many files ..

1999-08-02 Thread Niels Larsen
If I put 30-40,000 files in one directory (to avoid the overhead of putting and getting from some container) and do 'ls', or 'ls -1', then my new Mandrake 6.0 machine (with plenty of memory and disk) gets busy 98% busy for 10-15 minutes and then returns the expected output. Same with other utili