From owner-freebsd-questions@freebsd.org Tue Jan 16 16:55:42 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 24510E7A995 for ; Tue, 16 Jan 2018 16:55:42 +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 DE54F829FF for ; Tue, 16 Jan 2018 16:55:41 +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 3zLbvJ1fdfz3jYqw for ; Tue, 16 Jan 2018 17:55:40 +0100 (CET) Received: from hermes.mcs.it (unknown [192.168.132.21]) by baobab.bilink.it (Postfix) with ESMTP id 3zLbvJ0vtWz3jYmC for ; Tue, 16 Jan 2018 17:55:40 +0100 (CET) Received: from mordeus (unknown [192.168.45.6]) by hermes.mcs.it (Postfix) with ESMTP id 0386B1B7303 for ; Tue, 16 Jan 2018 17:55:40 +0100 (CET) Date: Tue, 16 Jan 2018 17:55:39 +0100 From: Luciano Mannucci To: freebsd-questions@freebsd.org Subject: Re: Directory listing speed In-Reply-To: References: <3zLS8V1nCxz3jYqr@baobab.bilink.it> <3zLZwN5C0Bz3jYr2@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: <3zLbvJ0vtWz3jYmC@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 16:55:42 -0000 On Tue, 16 Jan 2018 17:18:48 +0100 Michael Schuster wrote: > a few questions come to mind: > - what are you doing with the output (> /dev/null?)? No, I'm sseing it on my ssh session. I have omitted it for brevity... :) > - how are you measuring this? By looking at the clock on my xfce screen. I know it is not very precise, but the difference is substantial enough to make me think I've made probably something wrong. > - what else is the machine doing while you're doing your 'ls'? It's normal duty: serving emails... :) Though it is not under heavy load... > - [you may have said so in an earlier message:] is the HW (including disk > infrastructure) comparable to the linux box? No it isn't, it is ten years more modern, has twice the ram, 8 CPU cores instead of 2, and is able to deliver more than two tousand mail per minutes while the older linux system has never met a tenth of that speed. > - is this time you're reporting, while significant, the only issue you Yes. > have, or do you actually see something really show-stopping on that machine > (IOW, what problem are you trying to solve)? I'm just worried. It is my first big freebsd server I've put in production. > - do you have comparable numbers in comparable directories? Well, not really. It is the only directory where all the files have a different owner. > - do you see any error messages or warnings in the logs? Nope. Many 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/