git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] multi item packed files

From
KHKrzysztof Halasa <khc@pm.waw.pl>
Date
Apr 22, 2005, 09:48 UTC
Message-ID
<m3r7h3rvjz.fsf@defiant.localdomain>
In-Reply-To
<200504211622.48065.mason@suse.com>
Chris Mason <mason@suse.com> writes:
> Shrug, we shouldn't need help from the kernel for something like this.
>  git as 
> a database hits worst case scenarios for almost every FS.
Not sure.
> 1) subdirectories with lots of files
Correct. But git doesn't search dirs so it's not that bad.
> 2) wasted space for tiny files
... depends on block size. With 2 KB:

defiant:~$ du -s /pub/mirror/linux-2.6.git 88366 /pub/mirror/linux-2.6.git defiant:~$ du -s --apparent-size /pub/mirror/linux-2.6.git 63400 /pub/mirror/linux-2.6.git

Not bad, is it?
> 3) files that are likely to be accessed together spread across the whole disk
... across the whole filesystem.

Well, probably it isn't best to have git and .iso archives on the same filesystem.

-- 
Krzysztof Halasa
Previous: Chris Mason
Message 17 of 17 in “multi item packed files”
  1. multi item packed filesChris Mason, Apr 21, 2005
  2. Linus TorvaldsApr 21, 2005
  3. Chris MasonApr 21, 2005
  4. Krzysztof HalasaApr 21, 2005
  5. Linus TorvaldsApr 21, 2005
  6. Krzysztof HalasaApr 22, 2005
  7. Martin UeckerApr 22, 2005
  8. Chris MasonApr 21, 2005
  9. Linus TorvaldsApr 21, 2005
  10. Chris MasonApr 22, 2005
  11. Linus TorvaldsApr 22, 2005
  12. Chris MasonApr 22, 2005
  13. Linus TorvaldsApr 22, 2005
  14. Chris MasonApr 22, 2005
  15. Chris MasonApr 22, 2005
  16. Chris MasonApr 25, 2005
  17. Krzysztof HalasaApr 22, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.