From owner-freebsd-questions@freebsd.org Tue Jan 16 17:19:59 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7A59AE7BF22 for ; Tue, 16 Jan 2018 17:19:59 +0000 (UTC) (envelope-from luciano@vespaperitivo.it) Received: from baobab.bilink.net (baobab.bilink.net [212.45.144.44]) by mx1.freebsd.org (Postfix) with ESMTP id 3DDAB839A7 for ; Tue, 16 Jan 2018 17:19:59 +0000 (UTC) (envelope-from luciano@vespaperitivo.it) Received: from baobab.bilink.net (localhost [127.0.0.1]) by baobab.bilink.it (Postfix) with ESMTP id 3zLcRK6dgPz3jYr2 for ; Tue, 16 Jan 2018 18:19:57 +0100 (CET) Received: from hermes.mcs.it (unknown [192.168.132.21]) by baobab.bilink.it (Postfix) with ESMTP id 3zLcRK5tcYz3jYr1 for ; Tue, 16 Jan 2018 18:19:57 +0100 (CET) Received: from mordeus (unknown [192.168.45.6]) by hermes.mcs.it (Postfix) with ESMTP id B3B9D1B7303 for ; Tue, 16 Jan 2018 18:19:57 +0100 (CET) Date: Tue, 16 Jan 2018 18:19:57 +0100 From: Luciano Mannucci To: freebsd-questions@freebsd.org Subject: Re: Directory listing speed In-Reply-To: <3zLbvJ0vtWz3jYmC@baobab.bilink.it> References: <3zLS8V1nCxz3jYqr@baobab.bilink.it> <3zLZwN5C0Bz3jYr2@baobab.bilink.it> <3zLbvJ0vtWz3jYmC@baobab.bilink.it> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; amd64-portbld-freebsd10.3) X-Face: 4qPv4GNcD; h<7Q/sK>+GqF4=CR@KmnPkSmwd+#%\F`4yjKO3"C]p'z=(oWRnsYBQGM\5g:4skqQY0NnV'dM:Mm:^/_+I@a"; [-s=ogufdF"9ggQ'=y MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <3zLcRK5tcYz3jYr1@baobab.bilink.it> X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jan 2018 17:19:59 -0000 On Tue, 16 Jan 2018 17:55:39 +0100 Luciano Mannucci 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/