Skip to content

tool_operate: reduce errorbuffer allocs#9394

Closed
bagder wants to merge 2 commits intomasterfrom
bagder/operate-less-errorbuffers
Closed

tool_operate: reduce errorbuffer allocs#9394
bagder wants to merge 2 commits intomasterfrom
bagder/operate-less-errorbuffers

Conversation

@bagder
Copy link
Copy Markdown
Member

@bagder bagder commented Aug 30, 2022

  • parallel transfers: only alloc and keep errorbuffers in memory for actual "live" transfers and not for the ones in the pending queue

  • serial transfers: reuse the same fixed buffer for all transfers, not allocated at all.

@bagder bagder marked this pull request as draft August 31, 2022 07:34
@bagder bagder force-pushed the bagder/operate-less-errorbuffers branch from df92d65 to aa301d9 Compare August 31, 2022 11:42
@bagder bagder marked this pull request as ready for review August 31, 2022 12:18
- parallel transfers: only alloc and keep errorbuffers in memory for
  actual "live" transfers and not for the ones in the pending queue

- serial transfers: reuse the same fixed buffer for all transfers, not
  allocated at all.
@bagder bagder force-pushed the bagder/operate-less-errorbuffers branch from aa301d9 to 01b5369 Compare August 31, 2022 14:02
@bagder bagder closed this in 7be5377 Sep 1, 2022
@bagder bagder deleted the bagder/operate-less-errorbuffers branch September 1, 2022 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant