[Thunar-dev] thunar speed
Danny Milosavljevic
dannym at xfce.org
Wed Mar 15 21:09:37 CET 2006
Hi,
Am Mittwoch, den 15.03.2006, 20:08 +0100 schrieb N. Volbers:
> Hi Benedikt,
>
> >>
> >>For /usr/bin, that's the expected behaviour, and easy to explain. ROX
> >>doesn't do magic lookups on the MIME database, while Thunar follows the
> >>MIME spec (with one small exception) and does the magic lookup if none
> >>of the glob patterns match. Since Linux binaries usually don't include
> >>an extension, no glob patterns will match, and Thunar will have to open
> >>each file and check the magic patterns. Looking into 2128 files for the
> >>first time can take up to 20 seconds, depending on the systems I/O
> >>performance.
> >>
> >>Benedikt
> >
> >
> > This might be the explanation for the slowness I observed, since the
> > directory was on a smb share mounted via smbfs and thus all files were
> > probably executable. I will check that tomorrow when I am back at that
> > computer.
> >
> > Niklas.
> >
>
> Confirmed. The slow directory was a smbfs mounted share with all files
> marked as executable. If I copy it over to my local hard drive,
> everything is veeeery fast.
I wonder if that "feature" of smbfs will ever be corrected... probably
not.
Unbreak-my-filesystem option for smbfs is
-o fmask=0664,dmask=0775
:)
cheers,
Danny
More information about the Thunar-dev
mailing list