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

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 16 Jan 2018 17:55:39 +0100
Luciano Mannucci <luciano@vespaperitivo.it> wrote:

> > - do you have comparable numbers in comparable directories?  
> Well, not really. It is the only directory where all the
> files have a different owner.
I'm replying to myself :) - I've found an even better one, with 1970
directories bleonging to 1970 users. I've measured the ls command with
"time", here the results:

Freebsd:

time ls -l /home/
...listing omitted...
drwxr-xr-x    2 zanoletti                 poppers    3 Oct 16  2014 zanoletti
1.433u 12.534s 0:13.97 99.9%	35+172k 0+0io 0pf+0w

Linux:

time ls -l /home/
...-listing omitted...
drwxr-xr-x   2 zanoletti                poppers  4096 Oct 16  2014 zanoletti

real	0m0.291s
user	0m0.060s
sys	0m0.092s

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/



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