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

[GSOC] Blog about weeks 4, 5

From
Abhishek Kumar <abhishekkumar8222@gmail.com>
Date
Jul 7, 2020, 02:24 UTC
Message-ID
<20200707022425.GA1649@Abhishek-Arch>
In-Reply-To
<20200706182213.GA51227@Abhishek-Arch>
Hello everyone!

Over the last two weeks, I have worked on refining the performance report on generation numbers. Here are our conclusions:

- Corrected Commit Dates With Monotonically Offset (i.e.  generation
  number v5) performs better than topological levels but is still walks
  too many commits when compared with Corrected Commit Dates.
Number of commits walked (git merge-base v4.8 v4.9, on linux repository):

Topological Level : 635579 Corrected Commit Date : 167468 Corrected Commit Date With Monotonic Offset: 506577

As such, I am expecting that we will store Corrected Commit Date in an additional chunk (called "generation data chunk") and store topological levels into CDAT. Thus, old Git clients can operate as expected, with new Git clients using the better generation number.

- Using a new chunk does affect the locality of reference but did not
  impact the performance appreciably.
- This does increase the size of commit graph file by nearly 5%.

You can read more in my report [1] and the pull request with instructions to replicate the results [2].

[1]: https://lore.kernel.org/git/20200703082842.GA28027@Abhishek-Arch/T/#mda33f6e13873df55901768e8fd6d774282002146 [2]: https://github.com/abhishekkumar2718/git/pull/1

I talk a bit more about a patch I worked on, trying to improve performance of commit graph write using buffers which ultimately did not work and is dropped. Up next is actually implementing the generation number and take care of all little details.

https://abhishekkumar2718.github.io/programming/2020/07/05/gsoc-weeks-4-5.html
Feedback and suggestions welcome!
Thanks
- Abhishek
--------
Re-sending this email as I forgot to cc git@vger.kernel.org
Next: Jakub Narębski
Message 1 of 3 in “[GSOC] Blog about weeks 4, 5”
  1. Abhishek KumarJul 7, 2020
  2. Jakub NarębskiJul 13, 2020
  3. Abhishek KumarJul 14, 2020

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.