Page MenuHomeSolus

Update xxhash to 0.8.1
AbandonedPublic

Authored by livingsilver94 on May 20 2022, 10:39 PM.
Referenced Files
F11020979: D13228.diff
Mon, Aug 7, 10:49 AM
F11003853: D13228.diff
Mon, Jul 31, 7:23 PM
F10961569: D13228.diff
Tue, Jul 18, 5:00 PM
F10899585: D13228.diff
Jul 3 2023, 7:42 PM
F10871228: D13228.id32348.diff
Jun 18 2023, 2:09 PM
F10871227: D13228.id.diff
Jun 18 2023, 2:09 PM
F10863261: D13228.diff
Jun 17 2023, 1:36 AM
F10829329: D13228.diff
Jun 4 2023, 11:50 AM
Subscribers
None

Details

Reviewers
joebonrichie
Girtablulu
Group Reviewers
Triage Team
Summary

Changelog available here.

Test Plan

Telegram still works. xxhsum works as well.

Packager notes:

  • Removed the dispatch feature. We let the loader do the work.

Diff Detail

Repository
R4345 xxhash
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 3890
Build 3890: arc lint + arc unit

Event Timeline

I think the dispatch is only for the binaries as they don't link to their own libraries. Would we need full phat performance in the xxhsum binaries themselves?

This revision now requires changes to proceed.May 22 2022, 1:46 PM

Not sure I'm following you.

I think the dispatch is only for the binaries as they don't link to their own libraries.

You mean stuff that uses dlopen?

Would we need full phat performance in the xxhsum binaries themselves?

IDK. I'd rather have a more predictable approach by loading the appropriate .so file via the linker.

e.g.

$ ldd /usr/bin/xxhsum 
        linux-vdso.so.1 (0x00007ffea27db000)
        libc.so.6 => /usr/lib/haswell/libc.so.6 (0x00007f3ec9414000)
        /usr/lib64/ld-linux-x86-64.so.2 (0x00007f3ec9672000)

xxhsum doesn't link against libxxhash.so so wouldn't see the benefits from the haswell libs, which is why i enabled the dispatch originally, e.g. if you run xxhsum -b with this patch the performance is a lot lower.

I asking do we need the fastest performance in xxhsum binaries themselves ?