Directory listing speed

Luciano Mannucci luciano at vespaperitivo.it
Tue Jan 16 17:19:59 UTC 2018


On Tue, 16 Jan 2018 17:55:39 +0100
Luciano Mannucci <luciano at 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 at sublink.sublink.ORG
 / \  AND POSTINGS        /   WWW: http://www.lesassaie.IT/


More information about the freebsd-questions mailing list