Article View: linux.kernel.git
Article #3283Re: [PATCH 4/4] object-file: create ODB transaction temporary directory eagerly
From: Justin Tobler
Date: Tue, 17 Nov 2026 23:57
Date: Tue, 17 Nov 2026 23:57
19 lines
11428 bytes
11428 bytes
On 26/11/11 08:48AM, Karthik Nayak wrote: > Justin Tobler <jltobler@gmail.com> writes: > > > Typically large numbers of loose objects are not expected to be written > > into an ODB transaction so the overhead here should be marginal. > > Question: why is that? Loose objects are only written to a transaction if the number of objects in the incoming packfile are below the unpack limit (default 100 objects) or by objects being added. Of course it is possible that a user could add a new tree with a large number of objects for the first time though. There real point here though is that the overhead here is per object and small in comparison to the cost of writting the object in the first place. In most cases, I wouldn't expect it to be noticed. I'll try to update the message here to be a bit more clear. -Justin
Technical Details
Message-ID:
<avzn-Zz5-h1haIEq@denethor>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!git+bounces-75657-linux-kernel-git=dewy.ruReferences:
<20261110002251.2007617-1-jltobler@gmail.com> <20261110002251.2007617-5-jltobler@gmail.com> <CAOLa=ZShhVC=7uYs4_CP6pUSuiYziQrbN8EbJhpqYToixPV-VA@mail.gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!git+bounces-75657-linux-kernel-git=dewy.ru
From: jltobler@gmail.com (Justin Tobler)
Newsgroups: linux.kernel.git
Subject: Re: [PATCH 4/4] object-file: create ODB transaction temporary
directory eagerly
Date: Tue, 17 Nov 2026 17:57:48 -0600
Organization: Usenet Network
Message-ID: <avzn-Zz5-h1haIEq@denethor>
References: <20261110002251.2007617-1-jltobler@gmail.com>
<20261110002251.2007617-5-jltobler@gmail.com>
<CAOLa=ZShhVC=7uYs4_CP6pUSuiYziQrbN8EbJhpqYToixPV-VA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
logging-data="2458833"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:VNCabpxU0bv91EweoXXfdq+8MSY= sha256:Q1udgtkcR3Jf9/dZT9umNeRDBxerw0yqX5PTJZWD/GI=
sha1:CUjJayxJexKCrp6DxheHkYPX1gM= sha256:F4lwPITdMx6418vrseVGwjrISOkQrgT5B8hqk0IEl/E=
Content-Disposition: inline
List-ID: <git.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id DD7CF11510D; Wed, 18 Nov 2026 02:58:07 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 tagged_above=-9999 required=6.31
tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=gmail.com
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id kbe4r-G3TCr4;
Wed, 18 Nov 2026 02:58:04 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=git+bounces-75657-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
by mail.dewy.ru (Postfix) with ESMTPS id 846101150F8; Wed, 18 Nov 2026 02:57:56 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by tor.lore.kernel.org (Postfix) with ESMTP id 1474829CD1; Tue, 17 Nov 2026 23:57:54 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1794959871;
b=NaC2p5UyYPNRCo/KcYftQw5gZ5mZYW2pYpVNPsN3rG1FDcg0/0BEzNNoxJHgwIhVk+T4
S48o3DsF3dfjiiurEDKPNFdJ9PTjopQjYQCiq+HYNcbfEy5p/1xv/4f05zaPMIruOSka8
yx5s8Cb2K6unXqBHZm+V35sJd0H6pXunfKjMnwhHnxV/YYFA14jWYroGP9+QpsmpgveOh
J6UvIdoCeVAK23adnIvhZrPctrTk82uJQtQZySOyto20RxAR3w/Cfeu0dOYPUti5gjGXj
XQCitDVhtP/sTy2wjgHfwsunH10uK4MX8dtXpCmO1i0F+ExO/wvrMXYACwrAbCl0EzQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1794959871;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received:
Received:Date:From:To:Cc:Subject:Message-ID:References:X-Mailing-List:
List-Id:List-Post:List-Help:List-Subscribe:List-Unsubscribe:
List-Owner:Precedence:MIME-Version:Content-Type:Content-Disposition:
In-Reply-To;
bh=DhoD21Bt8EroOJp9OW1jtND1BLZQr0H3poPqTJtDoNs=;
b=0GXA//PeRADEUyZyYF57q9UbNwzO8UQd8skxDUh5zq2FlAOFOS8oz4v2IR8Gpm7KLrgT
vCauYckT8kOgigIDpHUmkAyGhmD8Xme0SBgLlnwRZ2CVXgglsXcXvrRyjuDHOJYjeJT24
lvwcNnwyNZUbFg6JiQeEvuVY5rwUuaLyP9tFUGVMEo+gIOnEfeV29q5OvcRpgUDj4zFSe
26LNO0gSLlaxHJziwEdAQmnZTUgGFiHs0pqaO3fliRdeLhUPdrIVh7XrbBdjvfRaA5Kg/
/5dSTC1amNfLM1B2f23aIwTLUmGZpZgxtMQq8xsINU3vuf3voYSRCeiAPksQrXaEZPg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=yM3mZQDm;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id C0D9B606A331;
Tue, 17 Nov 2026 23:57:51 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=yM3mZQDm
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.210.49
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1794959871;
b=rFvPiCK0vsdaI+LMXcENVM3liAbXTh9W7DHbJ2Pw/8XgmoW08saFL6nj/Eh26MxLKeyl
a87pTmGE2LlGj+RUVwuFdwgWk7msEmYYXSwvwQZQ0wvDHWeyQABEV7nI61Jz3c+vToenS
quUUbvwmjxE43VH/O1bBOO3VrsD+w2wem/v8RkSmi+4Y2nVxQEnJ9QebZzir2HmqoIkoI
/XM1u3bEc7RS7eKbQiCc6kL360n5oAxj3EXwfD4Q9RaKlyjNRvQO5eBmI30r5lPpQjpDn
tZVPSX4L50foiL7GBce36Exedb1+rd3YayB34F6nkIlnPlf+RtQT4eKQ+6SUvnP7tWg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1794959871;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Gm-Message-State:X-Gm-Gg:X-Received:Received:Date:From:To:Cc:
Subject:Message-ID:References:MIME-Version:Content-Type:
Content-Disposition:In-Reply-To;
bh=DhoD21Bt8EroOJp9OW1jtND1BLZQr0H3poPqTJtDoNs=;
b=0W3JGGqefcIVbGNytSGOq/f73s9GbSVEzLGNwgUwElnslKKJWbfBTThcj8dOWQNnnAO1
nkQUSFRneif4mCRgKj9VGp7JEjIAS3iOROWyEpdWgKE4xVuewTUziBSlN1XYZzX8ADSqs
ecU/UFeGZwiHC/V1VGlctCpNMc3+Wka9I1FLNAWpLdiA4Ysl+vCim1E4+WdlnzCF8x453
Ac/BAi4D4y5cLbQdJXsL/94G2W8qnX6YkmrXGkyyAV8Nn+QlU3YuSbxoCl7IP1dlNmznB
vkG+OacrWd+R8AXhC62qA3NYVcIMcHKCZeA1Uz4E1iLBaqn6TBSiUNDHOyTxqKYI5Sw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=yM3mZQDm;
arc=none smtp.remote-ip=209.85.210.49
X-Received: from mail-ot1-f49.google.com (mail-ot1-f49.google.com [209.85.210.49])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8A083606A32C
for <git@vger.kernel.org>; Tue, 17 Nov 2026 23:57:50 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 8A083606A32C
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-ot1-f49.google.com with SMTP id 46e09a7af769-862a5b64755so219072a34.2
for <git@vger.kernel.org>; Tue, 17 Nov 2026 15:57:50 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20260707; t=1794959869; x=1795564669; darn=vger.kernel.org;
h=in-reply-to:content-disposition:content-type:mime-version
:references:message-id:subject:cc:to:from:date:from:to:cc:subject
:date:message-id:reply-to:content-type;
bh=DhoD21Bt8EroOJp9OW1jtND1BLZQr0H3poPqTJtDoNs=;
b=yM3mZQDm2XCLnDy26HZa8cMywdKsDHrO6HX9H8Yjx2YiKBSzVG/OupqTxTqJzIHqRR
biAqkfizc4AeMkLFgg176H2QrknXztfhzZo0bAo3t2Ly/cjU6SOk7qSPbXsolve8pSEq
mLzOaFMLWnN+JGlQkvLLAN1ihs190rltVfzEFhxCrv34Xy2giQHEZrRL1StcrBlu4BVt
4BP9YNTgqUlrPZoaGLTEHn8KN8eueewkdAKkNjq1T7HAwF7h39TYBT+92B7Thk6u42fj
PGVK449AQ8ljia4fFxyYuG6fgpsVU8wTf3OQ0CIgZH7LYShH0OB2xxFF433eOBYYU3BI
lqqQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1794959869; x=1795564669;
h=in-reply-to:content-disposition:content-type:mime-version
:references:message-id:subject:cc:to:from:date:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=DhoD21Bt8EroOJp9OW1jtND1BLZQr0H3poPqTJtDoNs=;
b=E6TgwZlgoriQsYO8l7kLBjRd3p6XnlypE1xAvZ2/MhfM8pD7Wj6xE81/lbB3muboBD
qZPumw9lQLUlSL2BpFlpWH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:85d:4ed7:1caa with SMTP id 46e09a7af769-862f08cd866mr1289524a34.29.1794959869465;
Tue, 17 Nov 2026 15:57:49 -0800 (PST)
X-Received: from localhost ([136.51.44.64])
by smtp.gmail.com with ESMTPSA id 46e09a7af769-862f01381e9sm768415a34.1.2026.11.17.15.57.48
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Tue, 17 Nov 2026 15:57:49 -0800 (PST)
X-Cc: git@vger.kernel.org
X-Mailing-List: git@vger.kernel.org
X-List-Post: <mailto:git@vger.kernel.org>
X-List-Help: <mailto:git+help@vger.kernel.org>
X-List-Subscribe: <mailto:git+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:git+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:git+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <CAOLa=ZShhVC=7uYs4_CP6pUSuiYziQrbN8EbJhpqYToixPV-VA@mail.gmail.com>