Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2018 17:18:48 +0100
From:      Michael Schuster <michaelsprivate@gmail.com>
To:        Luciano Mannucci <luciano@vespaperitivo.it>
Cc:        freeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: Directory listing speed
Message-ID:  <CADqw_gK7fgKwWiRhpq0VWTKta27Awdm=yDWb0nu1OSTaC1uBZg@mail.gmail.com>
In-Reply-To: <3zLZwN5C0Bz3jYr2@baobab.bilink.it>
References:  <3zLS8V1nCxz3jYqr@baobab.bilink.it> <F2826702-2A68-49A8-AFFB-548E1FDD2331@excelsus.com> <3zLZwN5C0Bz3jYr2@baobab.bilink.it>

next in thread | previous in thread | raw e-mail | index | archive | help
Luciano,

a few questions come to mind:
- what are you doing with the output (> /dev/null?)?
- how are you measuring this?
- what else is the machine doing while you're doing your 'ls'?
- [you may have said so in an earlier message:] is the HW (including disk
infrastructure) comparable to the linux box?
- is this time you're reporting, while significant, the only issue you
have, or do you actually see something really show-stopping on that machine
(IOW, what problem are you trying to solve)?
- do you have comparable numbers in comparable directories?
- do you see any error messages or warnings in the logs?

you get the idea ... :-)

HTH
Michael

On Tue, Jan 16, 2018 at 5:11 PM, Luciano Mannucci <luciano@vespaperitivo.it>
wrote:

> On Tue, 16 Jan 2018 07:57:04 -0600
> Weldon Godfrey <weldon@excelsus.com> wrote:
>
> > Does the directory listings get better after awhile?  I am thinking the
> > dovecot cache files for each user will get generated upon their first
> login
> > unless your force it to be generated.
> Well, I'm referring to listing obtained using the command:
>
> root@baobab:~ # ls -l /var/spool/mail
>
> and, yes, first run is about seven seconds, next ones are five seconds.
> Linux takes under one second, same 595 files. Waiting another minute
> leads back to a seven seconds wait.
>
> Thanks for now,
>
> Luciano.
> --
>  /"\                         /Via A. Salaino, 7 - 20144 Milano (Italy)
>  \ /  ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250
>   X   AGAINST HTML MAIL    /  E-MAIL: posthamster@sublink.sublink.ORG
>  / \  AND POSTINGS        /   WWW: http://www.lesassaie.IT/
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
> unsubscribe@freebsd.org"
>



-- 
Michael Schuster
http://recursiveramblings.wordpress.com/
recursion, n: see 'recursion'



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADqw_gK7fgKwWiRhpq0VWTKta27Awdm=yDWb0nu1OSTaC1uBZg>