on Rodent directory reading speed
Daniele Guerrieri
d.guerrieri at gmail.com
Sat Jun 25 13:12:10 CEST 2011
On Fri, Jun 24, 2011 at 9:46 PM, edscott wilson
<edscott.wilson.garcia at gmail.com> wrote:
> I'm editing the subject as the mailing list guidelines indicate. (sorry I
> did not do that sooner)
> 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 gemake a reload even faster. So
> it all depends who got to go first.
>
I've made a better test as suggested by Auke , rebooting after each
trial (i could also echo 3 > /proc/sys/vm/drop_caches ? ):
open /usr/bin, 2120 items, 266.7 mb:
Thunar: first read: ~18s
second read: ~3.6s
Rodent: first read: ~24s
second read: ~5.9s
So the differences are not huge (~2s on second read)
> Thus, on any empty OS cache clean start, Rodent will have a head start on
> other filemanagers if the user gets to /usr by navigating to / first. Some
> tweaks will be surely be necesary later on to optimize things.
what does this mean?
> Thank you. That is the reason Rodent is open source and available to
> everybody: the expectation that it may be as useful to others as it is to me
> :-)
Just two questions: can i enable bash completion? and is it possible
to add/enable a tree view?
>> regards
>
> Edscott
>
Thank you,
Daniele
More information about the Xfce
mailing list