-
Notifications
You must be signed in to change notification settings - Fork 524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Tempo on IBM s390x #4175
Conversation
the e2e test failed. Can someone restart them? |
Unfortunately, we are unable to merge this due to major performance regressions. Benchmarks from the vparquet3 package here: benchstat
We are seeing major increases in allocs in some changed funcs in the s390x merge. These two lines in particular are allocing slices unnecessarily. We can move them into the big endian check. https://github.com/parquet-go/parquet-go/blob/main/internal/bitpack/unpack_int64_purego.go#L15 We are also concerned about the check itself at such a low level, but hoping that compiler optimizations make it a no-op. |
I'll also note that the performance on s390x will likely be very poor due to these allocs. A better implementation might be to flip the endian-ness in place instead of allocing and writing to a new buffer, but that will not block this change. |
Other concerns: Simple and possibly not meaningful, but this var could go inside the if: We are also concerned with the empty interface here. We think this will alloc to wrap the passed value. Can we just not call this func if BigEndian is false? Also concerned about this dereference, but that will be removed from our code path if we do the above and not call getOffset: |
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
b0e761e
to
8176d2f
Compare
@joe-elliott the PR was merged and updated here |
Signed-off-by: Joe Elliott <number101010@gmail.com>
This PR must be merged before a backport PR will be created. |
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new branch
git switch --create backport-4175-to-release-v2.6 origin/release-v2.6
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x e37f481778c778ccf006b7d0e7a5c56fcef108fd When the conflicts are resolved, stage and commit the changes:
If you have the GitHub CLI installed: # Push the branch to GitHub:
git push --set-upstream origin backport-4175-to-release-v2.6
# Create the PR body template
PR_BODY=$(gh pr view 4175 --json body --template 'Backport e37f481778c778ccf006b7d0e7a5c56fcef108fd from #4175{{ "\n\n---\n\n" }}{{ index . "body" }}')
# Create the PR on GitHub
echo "${PR_BODY}" | gh pr create --title '[release-v2.6] Support Tempo on IBM s390x ' --body-file - --label 'type/bug' --label 'backport' --base release-v2.6 --milestone release-v2.6 --web Or, if you don't have the GitHub CLI installed (we recommend you install it!): # Push the branch to GitHub:
git push --set-upstream origin backport-4175-to-release-v2.6
# Create a pull request where the `base` branch is `release-v2.6` and the `compare`/`head` branch is `backport-4175-to-release-v2.6`.
# Remove the local backport branch
git switch main
git branch -D backport-4175-to-release-v2.6 |
* Support Tempo on IBM s390x Signed-off-by: Pavol Loffay <p.loffay@gmail.com> * Fix Signed-off-by: Pavol Loffay <p.loffay@gmail.com> * Fix Signed-off-by: Pavol Loffay <p.loffay@gmail.com> * Fix Signed-off-by: Pavol Loffay <p.loffay@gmail.com> * update serverless go.sum Signed-off-by: Joe Elliott <number101010@gmail.com> --------- Signed-off-by: Pavol Loffay <p.loffay@gmail.com> Signed-off-by: Joe Elliott <number101010@gmail.com> Co-authored-by: Joe Elliott <number101010@gmail.com> (cherry picked from commit e37f481)
* Support Tempo on IBM s390x (#4175) * Support Tempo on IBM s390x Signed-off-by: Pavol Loffay <p.loffay@gmail.com> * Fix Signed-off-by: Pavol Loffay <p.loffay@gmail.com> * Fix Signed-off-by: Pavol Loffay <p.loffay@gmail.com> * Fix Signed-off-by: Pavol Loffay <p.loffay@gmail.com> * update serverless go.sum Signed-off-by: Joe Elliott <number101010@gmail.com> --------- Signed-off-by: Pavol Loffay <p.loffay@gmail.com> Signed-off-by: Joe Elliott <number101010@gmail.com> Co-authored-by: Joe Elliott <number101010@gmail.com> (cherry picked from commit e37f481) * more Signed-off-by: Joe Elliott <number101010@gmail.com> --------- Signed-off-by: Joe Elliott <number101010@gmail.com> Co-authored-by: Pavol Loffay <p.loffay@gmail.com>
What this PR does:
Which issue(s) this PR fixes:
Fixes #
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]