Skip to content

Support larger runs (thread IDs uint16 => uint32)#428

Merged
harshavardhana merged 2 commits intominio:masterfrom
dbishop:thread-id-to-uint32
Nov 20, 2025
Merged

Support larger runs (thread IDs uint16 => uint32)#428
harshavardhana merged 2 commits intominio:masterfrom
dbishop:thread-id-to-uint32

Conversation

@dbishop
Copy link
Contributor

@dbishop dbishop commented Nov 18, 2025

Community Contribution License

All community contributions in this pull request are licensed to the project maintainers
under the terms of the Apache 2 license.
By creating this pull request I represent that I have the right to license the
contributions to the project maintainers under the Apache 2 license.

Description

Fix inability to perform larger runs (thread IDs uint16 => uint32)

Also added an "Assistant workflow for linting" section to CLAUDE.md to induce efficient auto-formatting and linting. This, combined with the added .cursorrules file, helped me with using Cursor with Warp. The .cursorrules contents mostly delegate to CLAUDE.md to not repeat tool guidance/context-compression.

Tweaked the Core Components section of CLAUDE.md to help guide import understanding. I had Cursor unnecessarily stumble into circular dependencies, so this should help with that.

Clarified the CSV format in CLAUDE.md.

Motivation and Context

We hit the limit for thread cardinality in a large object storage benchmark run (500 hosts, 192 concurrency). This patch bumps the thread ID data type from uint16 to uint32 to support larger runs.

image

For the CLAUDE.md/.cursorrules changes, I found those to be useful in my Cursor workflow. I haven't tested their effect on Claude Code, but I would expect them to also be beneficial there as well.

How to test this PR?

This will be difficult, but our patched and built Warp binary did work. Technically, this was a different patch against an older version of Warp, but it was the same semantic change.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Optimization (provides speedup with no functional changes)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • Fixes a regression (If yes, please add commit-id or PR # here)
  • (N/A) Unit tests added/updated
  • (N/A) Internal documentation updated
  • (N/A) Create a documentation update request here

@dbishop dbishop force-pushed the thread-id-to-uint32 branch from 3e27895 to 748cd9d Compare November 19, 2025 18:31
We hit the limit for thread cardinality in a large object storage
benchmark run (500 hosts, 192 concurrency).  This patch bumps the thread
ID data type from uint16 to uint32 to support larger runs.

Also added an "Assistant workflow for linting" section to CLAUDE.md to
induce efficient auto-formatting and linting.  This, combined with the
added .cursorrules file, helped me with using Cursor with Warp.  The
.cursorrules contents mostly delegate to CLAUDE.md to not repeat tool
guidance/context-compression.

Tweaked the Core Components section of CLAUDE.md to help guide import
understanding.  I had Cursor unnecessarily stumble into circular
dependencies, so this should help with that.

Clarified the CSV format in CLAUDE.md.
@dbishop dbishop force-pushed the thread-id-to-uint32 branch from 748cd9d to 11f897f Compare November 19, 2025 18:33
Copy link
Collaborator

@klauspost klauspost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@harshavardhana harshavardhana merged commit 68d767f into minio:master Nov 20, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants