Mailinglist Archive: opensuse (4219 mails)

< Previous Next >
Re: [opensuse] Is reiserfs dead?
  • From: Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx>
  • Date: Sat, 2 Dec 2006 12:34:35 +0100 (MET)
  • Message-id: <Pine.LNX.4.61.0612021233510.1635@xxxxxxxxxxxxxxx>

>> Well, I'm sure it works. I don't have a quesiton about that. It just seems
>> "slow" to list.
>>
>> When I go to my Documents folder or my media folder, there's always a long
>> pause and a bunch of disk activity while it loads the contents. I'm not
>> sure why.
>
>Go there in a shell and list them.
>
>You are confusing the time it takes to allocate huge chunks of memory to build
>a listview and sus out what type of file each is (in order to show the
>correct icon) with the time it takes to acutally do ls -l.

ls also does sorting, so at best you would do this:

#include <dirent.h>
int main(void) {
DIR *x = opendir(".");
while(readdir(x));
closedir(x);
}

and time that, both with cold and hot dirs.

-`J'
--
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >