Delivery-date: Thu, 30 May 2024 15:00:05 -0700 Received: from mail-oa1-f60.google.com ([209.85.160.60]) by mail.fairlystable.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sCnob-0000op-Fl for bitcoindev@gnusha.org; Thu, 30 May 2024 15:00:05 -0700 Received: by mail-oa1-f60.google.com with SMTP id 586e51a60fabf-250719d64afsf521197fac.3 for ; Thu, 30 May 2024 15:00:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717106399; cv=pass; d=google.com; s=arc-20160816; b=xImEGKteBvkEAWGKQ8OKDsIqGn8x1nEWa3TmAFtsofrORBTSW7d1wNEuGJS7Ze1IAR pdNw6RGF4294HikqRZJvHOd7NAjedbKgDIJCE486oj0l0M8XBbaciRHBqJPkxryNyWXe X53VC+561So/GrrDy0XI7GPRmiVgVuyGbxy51ffaj82l64BrhdQRPf+MzyW9eW0jkNEq 1xzw1yxZCk7v1PakNZAYymnnsEZOvyGNxQSS/gBq2ODrhMr2NiQP40RtKHMaIF7aS515 NqePFk5qF+dCu/vfXM+E5kkNL7WtQWaR6iCzcicvPi6L0wAgRxhQpsXD/pifutQuVeFK 2ryw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :feedback-id:sender:dkim-signature; bh=DHMm6mzBgjADStmVndLrhx5vdrQoHS05yjnVRCJJNWY=; fh=tl4NYCjC3StDE/LGMZoEt1zIUvMnXF9E7MI5KzaAL2o=; b=eQRCcRJCc4lE3ey8caHxLyDKIH7htW9IzAiftVnqQNzSd+/lNrhi31NWbm2Dc1RoS2 oYg3f31o6G0wLlAZUSIZ9YefEKW6ugIus3v2FPycYKp6EmoG51OmKtkV2B0534ANiP1e y2KeteJJf9geZoycgI7iByl4srcQ0jeTNBB9yW84evuYtJCaEtbCwozhSgkr+cELZfvz uTz+XIX1uQnqUN5CJs/doGZLvbtU0RqnZEJjunvOArakiQnVVfOIR5Apl8o/NTyzcXDr uWg+mxd9FkFLH5f8+RhIkH1G/VcYsc/0Z0N8nrhX+CUTWE9qRIFCGsvdqlqZ1f24NgLQ CmjQ==; darn=gnusha.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=QBDRoOdN; spf=pass (google.com: domain of pete@petertodd.org designates 64.147.123.149 as permitted sender) smtp.mailfrom=pete@petertodd.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1717106399; x=1717711199; darn=gnusha.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:feedback-id:sender :from:to:cc:subject:date:message-id:reply-to; bh=DHMm6mzBgjADStmVndLrhx5vdrQoHS05yjnVRCJJNWY=; b=onVWbOIgjCuR7y+j1ECmbGcDT9Boub4V+uDgYHxMhw8GVXgkv90C04S3L/LMyTJklR tt81co9tIHLiB6eTjob5n9qtVEEum8XVhRoSE71mK38lXkbeOjaxMzJEZtWM0gqvvzOK EyA07By6zGJV9nXuU7V3V3fAgy5+QEMLTLBDfx5huu3lulSdSIU0mmhrxswP+Mw7aZQs PgiC4OAOdkhXx2eCuUCT5MkSd2acxkTNkLTKdighE0TiRgd+ZOaKu3ZFxPZDKgRsezX8 /qKzU8b4BBsT1C3t1AX3wNgZbWOcnoRh88CmuF6aOzxSheJtIRSe7NKfjR0dfgWcTYac b1TQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717106399; x=1717711199; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:feedback-id :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=DHMm6mzBgjADStmVndLrhx5vdrQoHS05yjnVRCJJNWY=; b=hxXS4iSARg3ZA+5p0dTor4mCfwo4H8PIPG7nlK6aACewhuD4p1Hz2ri/cKm0D1Jn98 7giKb0lPVDedEA+daBkO76Ao4FpxQgkh9wcZ3V17OXGUlrJcjz2CDDvha/T6aRc+qDvL ufjgTS6O1ZjI8x//zKTkFBx9WdwKESnedeRyrwoeO15tLBUaieBDx6/pCdZYUM5pbV1n YGSEUZ8Wq7jK7dolQwAGbH3Gr9zEQJIZZUGeXWiBECH5D3jblNDC30h7kRrA5oM5/xH0 AZ69pMugSIbiMY6Y4pwweKRvClMO8VCI+GxyQ76Mlq3J+b9cExvPWUSopUY3hDxwA/BA fAVg== Sender: bitcoindev@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCUKWc3yXTm9F+QMpUypGuHcujKDlncOJZa+QZqUlEg75EH1Y6VlTzeVj5Gg5Sh/FkL72f/SjDAN6tubAxOEhOxs6APOd70= X-Gm-Message-State: AOJu0YxHOW3hRdMjqBll5VUKBt8d8LBIPKE0O5A/PJ63S76X7CxTGCYy IlsgPuMTZWr/qIKBYZoZaKaLorUNq9MDPHUWy+lmY2W1gGF1fAjc X-Google-Smtp-Source: AGHT+IF8gI3JQr6o2wy3GuazVIk3OfnHqAIR1YxoFbG4bMqXDVfbIQI5K9gYaGp7h8Z8+svnGhBn6g== X-Received: by 2002:a05:6870:1702:b0:250:5c1:5d3f with SMTP id 586e51a60fabf-2508bc5036bmr208861fac.56.1717106398977; Thu, 30 May 2024 14:59:58 -0700 (PDT) X-BeenThere: bitcoindev@googlegroups.com Received: by 2002:a05:6870:224d:b0:24f:c2cf:445a with SMTP id 586e51a60fabf-250602d8974ls538792fac.1.-pod-prod-00-us; Thu, 30 May 2024 14:59:57 -0700 (PDT) X-Received: by 2002:a05:6808:14ca:b0:3d1:e162:1045 with SMTP id 5614622812f47-3d1e2d9f538mr22381b6e.3.1717106397386; Thu, 30 May 2024 14:59:57 -0700 (PDT) Received: by 2002:a05:6808:8c8:b0:3d1:b94e:b547 with SMTP id 5614622812f47-3d1dcc9452cmsb6e; Thu, 30 May 2024 11:21:04 -0700 (PDT) X-Received: by 2002:a54:478c:0:b0:3c9:6b2a:7988 with SMTP id 5614622812f47-3d1dcca5ee2mr2776096b6e.23.1717093263496; Thu, 30 May 2024 11:21:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1717093263; cv=none; d=google.com; s=arc-20160816; b=cRVEZC4+Lqx0Y8qPfyLfM0Ui0VYSOam+8QYapMTEBjaCEsqWOP/BlWcM3e2OWK2DEb 4zraZt9JNqpISLtb/wnZ27w3fcFworotNPLR7/LB1fx+JE0teK93Kd/kHkCxrOaOKIr4 lm5V+9lA4UNRMoYJ4t0e+bVkPWFNoaXKJ7RBK26nnv8yx9lIKv6MOnP/3Y29/2JdLea/ zvrtrdVIHSnEFz2k5fsljfzKDximQfLagOWEdaD5WNuxeNJRwN0PXRkwtfEHSfjNlO81 Rj5EfUPVOFglOnUuN2FlUiKtqaftwJdsiQ0Weqsbn3UlrmWApGxPe6k7Y1zy8Kw3MuPb 3CqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:feedback-id:dkim-signature; bh=+KXiTGLACyGBpNpst/vJ7G27n8ag2YRGGky8fAwQt5g=; fh=/wkcIisPNPZVlphgWN+bN3eJjrriehRYi/FJkYnKdig=; b=XMDPudJtm+kde0Z02LjooTjSlH8+bzy57Tj/Wk8VMDRE8xoeOWm1c29wZxU0FJ9Qhj Z6ho/wh+QarlmHTYO7sNJ5dy2xzH7wmWJpAqAWaj4rXX/Ev/NN/OwHU+/bTcmPcXQYH+ i1SyVyNPLkCPOP3P66of7CBWRH/3/epFWTUAM9YpEe2cVpaKI2JJemlBeTVfnonECY0F 8OSXfd4H8erfTxZ3iSdDLnIzhvcEg9UY/APnpQHJ/w1TuFWIljSnVf75WYb3uLBmG4pE C3eIUKNy8h5FmHYcpZx2mVTBKMMQPMQUbLUXZL4na9/f2XCOpK+BI2VJ+JZNkuxJeSCi LzsA==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=QBDRoOdN; spf=pass (google.com: domain of pete@petertodd.org designates 64.147.123.149 as permitted sender) smtp.mailfrom=pete@petertodd.org Received: from wfout6-smtp.messagingengine.com (wfout6-smtp.messagingengine.com. [64.147.123.149]) by gmr-mx.google.com with ESMTPS id 5614622812f47-3d1e1a0350csi11418b6e.1.2024.05.30.11.21.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 11:21:03 -0700 (PDT) Received-SPF: pass (google.com: domain of pete@petertodd.org designates 64.147.123.149 as permitted sender) client-ip=64.147.123.149; Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailfout.west.internal (Postfix) with ESMTP id 08D1F1C00176; Thu, 30 May 2024 14:21:01 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Thu, 30 May 2024 14:21:02 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdekgedguddvudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttddunecuhfhrohhmpefrvght vghrucfvohguugcuoehpvghtvgesphgvthgvrhhtohguugdrohhrgheqnecuggftrfgrth htvghrnheptdegheelhfeugedtgedukedvtdekgfduheevhfehkeevieeigeffjeejjedv feeinecuffhomhgrihhnpehpvghtvghrthhouggurdhorhhgnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvsehpvghtvghrthhouggu rdhorhhg X-ME-Proxy: Feedback-ID: i525146e8:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 30 May 2024 14:21:01 -0400 (EDT) Received: by localhost (Postfix, from userid 1000) id 472FF5F834; Thu, 30 May 2024 18:20:57 +0000 (UTC) Date: Thu, 30 May 2024 18:20:57 +0000 From: Peter Todd To: Juan David =?iso-8859-1?Q?Pe=F1a?= Melo Cc: Bitcoin Development Mailing List Subject: Re: [bitcoindev] How was the average size of blk*.data chosen? Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="sZUACPFPsAtOgCEJ" Content-Disposition: inline In-Reply-To: X-Original-Sender: pete@petertodd.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=QBDRoOdN; spf=pass (google.com: domain of pete@petertodd.org designates 64.147.123.149 as permitted sender) smtp.mailfrom=pete@petertodd.org Precedence: list Mailing-list: list bitcoindev@googlegroups.com; contact bitcoindev+owners@googlegroups.com List-ID: X-Google-Group-Id: 786775582512 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Score: -0.8 (/) --sZUACPFPsAtOgCEJ Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 06, 2024 at 06:23:47PM -0700, Juan David Pe=C3=B1a Melo wrote: > I notice that the Bitcoin database is stored sequentially in blk*.dat=20 > files, with an average size between 128 to 134MB. I would like to know ho= w=20 > this average size is determined and if there are any tests that demonstra= te=20 > this size is the most efficient. Most likely someone just picked a number at random. For things like this, t= here is a very wide range of values that are probably fine. The main limiting fa= ctor at the high end, is some older file systems still don't support files >4GB,= so you'd want to pick a value below that; Monero all block data in a single fi= le, and that occasionally leads to issues when, eg, copying that file from one place to another. At the low end, having tens of thousands of files in one directory tends to cause problems. --=20 https://petertodd.org 'peter'[:-1]@petertodd.org --=20 You received this message because you are subscribed to the Google Groups "= Bitcoin Development Mailing List" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to bitcoindev+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/= bitcoindev/ZljDiesLp29yqipn%40petertodd.org. --sZUACPFPsAtOgCEJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE0RcYcKRzsEwFZ3N5Lly11TVRLzcFAmZYw4cACgkQLly11TVR LzfsHhAAjptU+/e2lnjevcQBOQIVQTF8TM/uxD/W3uzBTmVM+MllfWiXbjufURUf Lo6NQfz6aGX3gx04BbzoKDXsrWSo+bGOtlLFtpqB9BehOopQRyosFPfpB0C1sxBO yOXPCBOyoJt1WoN5WEx0UM7hBMc+owMbqm1iFGkcDY1TyZOZXsLSJqZOf9l6loIP HqBrmMwTmn+XFcu10R1c4QvbA+utVxAlL3gI8CAlO7Nojx5bmtYraC6ThCxgNXNU mCubShBXI6X+xPb7FD3/Y9UWmPs5rfsJgFdrK+QjlL3cJpv1EWOKkuXC9VTc4Ozu IP+uuZjyPDx+AfhwuSRFbr5sEBoAzMoF222J9E104ZFJJvvgehbf+rFHNZ/+kMsq l6n5NQ2EX8/cElT4740sm4+Jgh173Mrf+sjW1e1TJIaVZ8m8CWY0KeG1PMSlhEiZ sPTnwpd4zVW/wfXPZM4bxk3Lkp9bV1JaS+afYKLxw0PTXbNgENvc6otgky+3Zo97 iqqs4120T84667VGcvTxCoJjyyFwgHyXGaZt9ONFuC+4parFHecgs/AVk8wmGmVh gJcpB7zPcYu4C9ZB85xyVbHm+I3uvRGQOYWGzUoSOWSM9Yu6bOktKDD8hmk4zoTi +yQ6DvUpbzEv+/wdw0cTnnAPFU0JWaFlrHt0iK0yVKsKur/fdRI= =lvL7 -----END PGP SIGNATURE----- --sZUACPFPsAtOgCEJ--