284
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 05 Nov 2024
284 points (96.1% liked)
Open Source
31712 readers
237 users here now
All about open source! Feel free to ask questions, and share news, and interesting stuff!
Useful Links
- Open Source Initiative
- Free Software Foundation
- Electronic Frontier Foundation
- Software Freedom Conservancy
- It's FOSS
- Android FOSS Apps Megathread
Rules
- Posts must be relevant to the open source ideology
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
- !libre_culture@lemmy.ml
- !libre_software@lemmy.ml
- !libre_hardware@lemmy.ml
- !linux@lemmy.ml
- !technology@lemmy.ml
Community icon from opensource.org, but we are not affiliated with them.
founded 5 years ago
MODERATORS
nice.
can usually get a pretty good performance increase with hand writing asm where appropriate.
don't know if its a coincidence, but i've never seen someone who's good at writing assembly say that its never useful.
To be fair, people who don't find assembly useful probably wouldn't get good at writing assembly
for sure, its perfectly reasonable to say "this tool isn't useful for me"
its another thing to say "this tool isn't useful for anyone"
Though you'd get the same speedup if you used SIMD intrinsics. This is just comparing non-SIMD to SIMD.
from the article it's not clear what the performance boost is relative to intrinsics (its extremely unlikely to be anything close to 94x lol), its not even clear from the article if the avx2 implementation they benchmarked against was instrinsics or handwritten either. in some cases avx2 seems to slightly outperform avx-512 in their implementation
there's also so many different ways to break a problem down that i'm not sure this is an ideal showcase, at least without more information.
to be fair to the presenters they may not be the ones making the specific flavour of hype that the article writers are.
yes, as i said
(they don't make that comparison in the article)
so its not clear exactly how handwritten asm compares to intrinsics in this specific comparison. we can't assume their handwritten AVX-512 asm and instrinics AVX-512 will perform identically here, it may be better, or worse.
also worth noting they're discussing benchmarking of a specific function, so overall performance on executing a given set of commands may be quite different depending what can and can't be unrolled and in which order for different dependencies.