From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1585E1382C5 for ; Sun, 28 Jan 2018 22:14:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2FFCDE0D67; Sun, 28 Jan 2018 22:13:58 +0000 (UTC) Received: from mail-lf0-x22d.google.com (mail-lf0-x22d.google.com [IPv6:2a00:1450:4010:c07::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A0E11E0B47 for ; Sun, 28 Jan 2018 22:13:57 +0000 (UTC) Received: by mail-lf0-x22d.google.com with SMTP id t79so7232710lfe.3 for ; Sun, 28 Jan 2018 14:13:57 -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; bh=+I1LlPeAhe7NiXQrvhDhrSBaxe9bh909G45XvOVInW8=; b=RGFrrQ1EYHBnz0V5EQBcoFKA2gPjjn90yX1hC2D+cfvSAd8pp9c8RHKdG0Is2KvKaT 8zeHo5iYtphCphtg3SbENWJ22s1IFRUDICBysxlGE+8Ahx1FxC+4pgo4H6hgTeSLuQkn WtgfDoXZdWmGptQcqEytL/aAvdCUK+iqEz1KazQF1hnOB7ETyFeKmBaFcFZfNSFttOHD DE+vZSQbHjlNu/+9Di8YXTu++HQjd7KnFhOWBI67fxOqMHvxnm9JBTWrN+NXlfzy+951 W2hDn2HaUSmJ8xNiO1hD94q8OCTNTvQWZiVUHY5qd4K0zF4KBSQw1X1uL7MxW03JWZ8+ s1xw== 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; bh=+I1LlPeAhe7NiXQrvhDhrSBaxe9bh909G45XvOVInW8=; b=qJ5vPVqkA2+R7OqQe4E5fitdlrhDXqzckrPdFKz4ehfEAR2yR2OYrvd2t3v2RoQ5KS hUqEX09P2lzQdTrqb4/uopFhNlO4sCokpcrItqboLyQbCChRJWNRGp+ylAzyJggunFdy /86Tn95GE/VAMQtB8bC6MunrTNUm2ecmnMYk5RStbaBnhzil/TD6k7al6q3t3P4durPt Bb3w/AgwQDOcMiVZQoq0MEaTfVbHTIGVBbaEljj/QmARfSEKpcDsE3roBzVw63V5OF73 o79V5UIXTllxoAvuJk0eweVOh3sZZgtdU8zHKWTyalwAsn1lFfuYX8nUN8SAU1mk68MF R2SQ== X-Gm-Message-State: AKwxytcMdKlKEdtCpZGYXDNK1rCPL7VE9CgHxq5zaI4j9tPB92js7IlD jo1erBIzwcv/Ku+FaPADvv0UefYHYEnmTACQ3t84Ww== X-Google-Smtp-Source: AH8x226ACySfulRsrnlt1mLQvJQlTtlupsFcxLjvq3mQBh8cyLlmsjUk0imBNq815XTDmr1S19l6AQQhMLADja7qV5U= X-Received: by 10.46.82.220 with SMTP id n89mr4693754lje.145.1517177634414; Sun, 28 Jan 2018 14:13:54 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.46.58.8 with HTTP; Sun, 28 Jan 2018 14:13:13 -0800 (PST) In-Reply-To: <1517176842.2145541.1251061336.7BCB6C7D@webmail.messagingengine.com> References: <1517009079.31015.3.camel@gentoo.org> <1517172228.2114973.1251027256.0A9C8F3C@webmail.messagingengine.com> <1517176842.2145541.1251061336.7BCB6C7D@webmail.messagingengine.com> From: Gordon Pettey Date: Sun, 28 Jan 2018 16:13:13 -0600 Message-ID: Subject: Re: [gentoo-dev] [pre-GLEP] Split distfile mirror directory structure To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: 24657546-ced9-4ad9-bde5-080aa82dcf9a X-Archives-Hash: de38c53bf5abb225b51c7a880cdf302f On Sun, Jan 28, 2018 at 4:00 PM, Andrew Barchuk wrote: > I don't see a reason to organize distfiles in a > multi-level hierarchy: e.g. if the goal is to keep no more than 1000 > files in a folder than the limit of single level hierarchy is a million > which is more than enough for foreseeable future. The list of 500 > directories takes 15kB when using full file names and will be couple of > times smaller when using only unique prefixes. Then don't. Using one level of first-4-characters-of-filename-hash is still more efficient.