Prev: Accelerating directory's content's viewing: how, is directory is huge?
Next: X11 just froze, and /var/log/syslog (dmesg)'s output seems to mean something
From: Merciadri Luca on 18 May 2010 15:20 Boyd Stephen Smith Jr. wrote: > On Tuesday 18 May 2010 13:16:27 Merciadri Luca wrote: > >> Hi, >> >> I have many media files in some specific directory (folder, call it as >> you want). Loading the folder takes ~30 sec., even if I am using quite >> fast HDDs, etc. They're all on the same partition. I have disabled >> previewing, or thumbnails. >> >> How can I do to make this process faster? >> > > Slow to ls? reiserfs, xfs, btrfs, or the dir_index option and hash_alg > extended option of ext3. > > Is the directory fast to ls, but slow to render in a GUI? Problem is likely > with the GUI. > Sorry, it is only slow to GUI (nautilus). > How many files? ~25,000. > It may be better to convert to a "stepped" directory > structure. > > E.g.: > Instead of: > /home/abel > /home/alfred > /home/ada > [...] > /home/zelda > /home/zola > /home/zoolander > > Use: > /home/a/abel > /home/a/alfred > /home/a/ada > [...] > /home/z/zelda > /home/z/zola > /home/z/zoolander > Or: (usually only when names are fixed-length) > /home/a/bel > /home/a/lfred > /home/a/da > [...] > /home/z/elda > /home/z/ola > /home/z/oolander > > I'm most familiar with using this for ASCII names, but it can be converted to > work with other names. Japanese can use stroke count of the first character > instead of first character, for example. > Yes. Good idea. I am however astonished that nautilus takes ~30 sec. to open such a directory. -- Merciadri Luca See http://www.student.montefiore.ulg.ac.be/~merciadri/ I use PGP. If there is an incompatibility problem with your mail client, please contact me.
From: Camaleón on 18 May 2010 16:30 On Tue, 18 May 2010 20:16:27 +0200, Merciadri Luca wrote: > I have many media files in some specific directory (folder, call it as > you want). Loading the folder takes ~30 sec., even if I am using quite > fast HDDs, etc. They're all on the same partition. I have disabled > previewing, or thumbnails. > > How can I do to make this process faster? Did you also turn off "Count Number of Items" and "Show Text In Icons" in Nautilus "preview" preferences? Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/pan.2010.05.18.20.20.40(a)gmail.com
From: Ron Johnson on 18 May 2010 16:50 On 05/18/2010 02:15 PM, Merciadri Luca wrote: > Boyd Stephen Smith Jr. wrote: >> On Tuesday 18 May 2010 13:16:27 Merciadri Luca wrote: >> >>> Hi, >>> >>> I have many media files in some specific directory (folder, call it as >>> you want). Loading the folder takes ~30 sec., even if I am using quite >>> fast HDDs, etc. They're all on the same partition. I have disabled >>> previewing, or thumbnails. >>> >>> How can I do to make this process faster? Don't use a GUI tool that's designed for small subdirectories. >> >> Slow to ls? reiserfs, xfs, btrfs, or the dir_index option and hash_alg >> extended option of ext3. >> >> Is the directory fast to ls, but slow to render in a GUI? Problem is likely >> with the GUI. >> > Sorry, it is only slow to GUI (nautilus). >> How many files? > ~25,000. Don't use Nautilus, or reorganize your directory structure. -- Dissent is patriotic, remember? -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/4BF2FD4A.5030203(a)cox.net
From: Merciadri Luca on 18 May 2010 17:10
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ron Johnson <ron.l.johnson(a)cox.net> writes: > Don't use Nautilus, or reorganize your directory structure. Okay. Then, for browsing big directories with a GUI, which GUI do you advice to use? Thanks. - -- Merciadri Luca See http://www.student.montefiore.ulg.ac.be/~merciadri/ - -- Necessity is the mother of all invention. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/> iEYEARECAAYFAkvy/wAACgkQM0LLzLt8Mhxy3gCfayfXnM0E3mcSvanyhEhwYDzy kygAn1IqwurbrT9bqgtfmVyefaUq6Zdx =pRyc -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/877hn17wu7.fsf(a)merciadriluca-station.MERCIADRILUCA |