From owner-freebsd-questions@freebsd.org Tue Jan 16 16:19:09 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 E91E1E78CDC for ; Tue, 16 Jan 2018 16:19:09 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: from mail-qt0-x235.google.com (mail-qt0-x235.google.com [IPv6:2607:f8b0:400d:c0d::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A13B7811B0 for ; Tue, 16 Jan 2018 16:19:09 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: by mail-qt0-x235.google.com with SMTP id e2so18878065qti.0 for ; Tue, 16 Jan 2018 08:19:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=8XxrFF0wLbCLvUm0UI1RV5b2Ei581wZnSdSsYlHhAbE=; b=nRlfoIzX2dcn/DJj8QwKEkOiCKbW3/P9mo2EMfyUk2YqrH5JOWqvxPq3kMIJZBgDDA 4nwRG3bcv6OlQgSQj3jS8MopmfNMdSFmh44FXYSNvI/ICFp3fldTcAtARRJz8q8jzPiZ 4VKysU4CJ7VqGV1UzfJnXRbyBx9I+nOLKHlqyha1AT4yaV8zTz0A+2Y320z6ddss8eKf 9Ha0lxSHsnjO7xbvJyE2eF30rHB88D19mgg3YRtdjKZRlgmx14oaXojxgmnBkF3JMklA rusFWy578A7Fpee0pfRxS+mJ0THtSUc//oSC2oMPoWPW+I5EDCuYxsDQkFGYvwnhiNV7 No2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=8XxrFF0wLbCLvUm0UI1RV5b2Ei581wZnSdSsYlHhAbE=; b=R5JuvorYXt5/ijbeit21S8ufABijj+nEf55Ox/u+AyUL8fL76PTXDe4TdFXmYzvvrK vK2aHqGJM8qjx/D0l8PZ6tG70cml7RGG5MOBlgG91UAO9jeDwryNdP4+BopBki40zyPT ZnY0rGtCG7YHO7GO49XllYIGpXrcBA6cjweCM+G1l0bCVr4ahvqGbUrqfgwyIWUc/9AH ZT6TH2b0P/VIEvtFQEzj4R6St1Qq9bQauUXNN9dfuQEOMpP05NvXxb+53KyYI7ZlvyYQ xAksdi9iYkNa8+oP/p5uI8AYSJ6NZ2GUSwJ9xCa43ruSVAVzt8y5E1+8g4knL1t940FL J9yA== X-Gm-Message-State: AKwxytfhYFYTqPQDls2hZ5dRojy97yFGuxddwU1aPnKOFf6i02YSie3a Qyx5Q4D6p8O9X/AM+a1n3my3KzA0dkNiABpAfMg= X-Google-Smtp-Source: ACJfBouB6kVpVDyLxM6FYXv7g+t6boPEZHhsTYMCZ2ok9x0AzuQcKyf3mAHNN1M1O07erUcuRAti1PP5dXKtQanO58c= X-Received: by 10.200.15.141 with SMTP id b13mr16013965qtk.301.1516119548719; Tue, 16 Jan 2018 08:19:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.157.9 with HTTP; Tue, 16 Jan 2018 08:18:48 -0800 (PST) In-Reply-To: <3zLZwN5C0Bz3jYr2@baobab.bilink.it> References: <3zLS8V1nCxz3jYqr@baobab.bilink.it> <3zLZwN5C0Bz3jYr2@baobab.bilink.it> From: Michael Schuster Date: Tue, 16 Jan 2018 17:18:48 +0100 Message-ID: Subject: Re: Directory listing speed To: Luciano Mannucci Cc: freeBSD Mailing List Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 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:19:10 -0000 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 wrote: > On Tue, 16 Jan 2018 07:57:04 -0600 > Weldon Godfrey 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'