on Rodent directory reading speed
Auke Kok
auke at foo-projects.org
Sat Jun 25 04:27:45 CEST 2011
On 06/24/2011 12:46 PM, edscott wilson wrote:
> I'm editing the subject as the mailing list guidelines indicate. (sorry I
> did not do that sooner)
>
> Date: Thu, 23 Jun 2011 18:14:00 +0200
>> From: Daniele Guerrieri<d.guerrieri at gmail.com>
>>
>>
>> Hi,
>> I've just built and installed Rodent beta-2 on my Fedora
>> 15-hyperthreaded atom N450 acer netbook. It's very nice, but it takes
>> ~26s to open /usr/bin while thunar takes only ~5s. (2217 items). Maybe
>> something related to the atom CPU?
>>
>
> That is an operating system glitch. The first time you read the directory,
> you really read the directory, while the second time, the operating system
> has it all in memory cache and can determine that it is useless to do the
> physical read again and will give you the cache data: much, much faster.
> Rodent handles an additional stat cache which make a reload even faster. So
> it all depends who got to go first.
I personally doubt it, but, Daniele should do the following exercise:
1) reboot
2) start rodent in /usr/bin and time it
3) reboot
4) start Thunar in /usr/bin and time it
Now we're comparing the same thing, and the number means something.
Auke
More information about the Xfce
mailing list