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

Re: [PATCH v2] fetch-pack: add tracing for negotiation rounds

From
JHJeff Hostetler <git@jeffhostetler.com>
Date
Aug 15, 2022, 15:08 UTC
Message-ID
<7dae2e8b-1168-3738-8efb-7ecfdfae796a@jeffhostetler.com>
In-Reply-To
<4390677ec75d51487142adf7c2ab821cbd24a53e.1659477669.git.steadmon@google.com>
On 8/2/22 6:04 PM, Josh Steadmon wrote:
Show 16 quoted lines
> Currently, negotiation for V0/V1/V2 fetch have trace2 regions covering
> the entire negotiation process. However, we'd like additional data, such
> as timing for each round of negotiation or the number of "haves" in each
> round. Additionally, "independent negotiation" (AKA push negotiation)
> has no tracing at all. Having this data would allow us to compare the
> performance of the various negotation implementations, and to debug
> unexpectedly slow fetch & push sessions.
> 
> Add per-round trace2 regions for all negotiation implementations (V0+V1,
> V2, and independent negotiation), as well as an overall region for
> independent negotiation. Add trace2 data logging for the number of haves
> and "in vain" objects for each round, and for the total number of rounds
> once negotiation completes.  Finally, add a few checks into various
> tests to verify that the number of rounds is logged as expected.
> 
> Signed-off-by: Josh Steadmon <steadmon@google.com>

Sorry for the delay in responding. Just got back from a much needed vacation.

This version LGTM.

Thanks Jeff

Previous: Josh Steadmon
Message 7 of 7 in “fetch-pack: add tracing for negotiation rounds”
  1. fetch-pack: add tracing for negotiation roundsJosh Steadmon, Jul 25, 2022
  2. Junio C HamanoJul 25, 2022
  3. Josh SteadmonAug 2, 2022
  4. Jeff HostetlerJul 26, 2022
  5. Josh SteadmonAug 2, 2022
  6. fetch-pack: add tracing for negotiation roundsJosh Steadmon, Aug 2, 2022
  7. Jeff HostetlerAug 15, 2022

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.