Re: Accelerating directory's content's viewing: how, is directory is huge?

2010-05-19 Thread Merciadri Luca
Thanks!


Ardison Nicolas wrote:
> Also you can use Midnight Commander {1} a CLI soft that i think that
> is fast.
> {1} apt-get install mc


-- 
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.


A thief thinks everyone steals.



signature.asc
Description: OpenPGP digital signature


Re: Accelerating directory's content's viewing: how, is directory is huge?

2010-05-19 Thread Merciadri Luca
Ron Johnson wrote:
> On 05/19/2010 05:56 AM, Merciadri Luca wrote:
>> I wanted to say that it now takes some seconds of less. I think that I'm
>> going to use CLI, no problem.
>>
>
> I'm not sure I understand you.  Do you mean that it's many seconds
> faster, or just a few?
It is just a few seconds faster. Sorry if I was not clear.


-- 
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.


You'll always miss 100% of the shots you don't take.



signature.asc
Description: OpenPGP digital signature


Re: Accelerating directory's content's viewing: how, is directory is huge?

2010-05-19 Thread Ron Johnson

On 05/19/2010 05:56 AM, Merciadri Luca wrote:

I wanted to say that it now takes some seconds of less. I think that I'm
going to use CLI, no problem.



I'm not sure I understand you.  Do you mean that it's many seconds 
faster, or just a few?


--
Dissent is patriotic, remember?


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4bf3d4c9.4050...@cox.net



Re: Accelerating directory's content's viewing: how, is directory is huge?

2010-05-19 Thread John A. Sullivan III
On Wed, 2010-05-19 at 12:51 +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?
> >
> >
> > If you're using ext2/ext3, turning off dir/file access time might help.
> > Edit /etc/fstab and add noatime,nodiratime on the appropriate line,
> > like in the example below:
> >
> > /dev/hdb2   /home   ext3   defaults,noatime,nodiratime   0   2
> >
Apparently noatime implies nodiratime.  Thanks - John


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1274270184.13861.8.ca...@family.pacifera.com



Re: Accelerating directory's content's viewing: how, is directory is huge?

2010-05-19 Thread Merciadri Luca
I wanted to say that it now takes some seconds of less. I think that I'm
going to use CLI, no problem.

Merciadri Luca wrote:
> Thanks, that did the trick!
>
> Manon Metten wrote:
>   
>> On Tue, May 18, 2010 at 8:16 PM, 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?
>>> 
>>>   
>> Hi Luca,
>>
>> If you're using ext2/ext3, turning off dir/file access time might help.
>> Edit /etc/fstab and add noatime,nodiratime on the appropriate line,
>> like in the example below:
>>
>> /dev/hdb2   /home   ext3   defaults,noatime,nodiratime   0   2
>>
>> Manon.
>>
>>
>>   
>> 
>
>
>   


-- 
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.


We are what we repeatedly do. (Aristotle)



signature.asc
Description: OpenPGP digital signature


Re: Accelerating directory's content's viewing: how, is directory is huge?

2010-05-19 Thread Merciadri Luca
Thanks, that did the trick!

Manon Metten wrote:
> On Tue, May 18, 2010 at 8:16 PM, 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?
>> 
>
>
> Hi Luca,
>
> If you're using ext2/ext3, turning off dir/file access time might help.
> Edit /etc/fstab and add noatime,nodiratime on the appropriate line,
> like in the example below:
>
> /dev/hdb2   /home   ext3   defaults,noatime,nodiratime   0   2
>
> Manon.
>
>
>   


-- 
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.






signature.asc
Description: OpenPGP digital signature


Re: Accelerating directory's content's viewing: how, is directory is huge?

2010-05-19 Thread Merciadri Luca
Ron Johnson wrote:
> On 05/18/2010 03:56 PM, Merciadri Luca wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> Ron Johnson  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.
>
> I wouldn't.  (Real Men use the CLI.)
>
> Anyway... there are many lightweight file managers in Debian.  I'd
> install a bunch and see which is the least slow.
>
Okay. As I belong to Real Men, I will use CLI(!)

-- 
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.






signature.asc
Description: OpenPGP digital signature


Re: Accelerating directory's content's viewing: how, is directory is huge?

2010-05-18 Thread Manon Metten
On Tue, May 18, 2010 at 8:16 PM, 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?


Hi Luca,

If you're using ext2/ext3, turning off dir/file access time might help.
Edit /etc/fstab and add noatime,nodiratime on the appropriate line,
like in the example below:

/dev/hdb2   /home   ext3   defaults,noatime,nodiratime   0   2

Manon.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktimxf91-fvry7nmcign3k7oiudcjkdytgagbo...@mail.gmail.com



Re: Accelerating directory's content's viewing: how, is directory is huge?

2010-05-18 Thread Ron Johnson

On 05/18/2010 03:56 PM, Merciadri Luca wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ron Johnson  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.


I wouldn't.  (Real Men use the CLI.)

Anyway... there are many lightweight file managers in Debian.  I'd 
install a bunch and see which is the least slow.


--
Dissent is patriotic, remember?


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4bf305a0.6010...@cox.net



Re: Accelerating directory's content's viewing: how, is directory is huge?

2010-05-18 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ron Johnson  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 

iEYEARECAAYFAkvy/wAACgkQM0LLzLt8Mhxy3gCfayfXnM0E3mcSvanyhEhwYDzy
kygAn1IqwurbrT9bqgtfmVyefaUq6Zdx
=pRyc
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/877hn17wu7@merciadriluca-station.merciadriluca



Re: Accelerating directory's content's viewing: how, is directory is huge?

2010-05-18 Thread Ron Johnson

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-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4bf2fd4a.5030...@cox.net



Re: Accelerating directory's content's viewing: how, is directory is huge?

2010-05-18 Thread Camaleón
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-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.05.18.20.20...@gmail.com



Re: Accelerating directory's content's viewing: how, is directory is huge?

2010-05-18 Thread Merciadri Luca
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.






signature.asc
Description: OpenPGP digital signature


Re: Accelerating directory's content's viewing: how, is directory is huge?

2010-05-18 Thread Boyd Stephen Smith Jr.
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.

How many files?  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.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/


signature.asc
Description: This is a digitally signed message part.


Accelerating directory's content's viewing: how, is directory is huge?

2010-05-18 Thread Merciadri Luca
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?

Thanks.

-- 
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.


Love is like war, Easy to start, Hard to end, Impossible to forget.



signature.asc
Description: OpenPGP digital signature