home.social

#avx512 — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #avx512, aggregated by home.social.

fetched live
  1. Бенчмаркая Sum: ускорил циклом — замедлил в ×4,7

    Уважаемые читатели, в этой статье я хочу рассказать о том, что происходит внутри values.Sum() в современном .NET — там нашлись векторные инструкции, контроль переполнения и список процессоров, которым рантайм намеренно ограничивает ширину вектора, — и представить свои выводы. В прошлых статьях серии самописные циклы уже проигрывали BCL в поиске по строке , JIT сам выкидывал проверки границ , а foreach прятал аллокации . Тут случай интереснее: values.Sum() — это LINQ, который при оптимизации первым делом меняют на цикл.

    habr.com/ru/articles/1060470/

    #benchmarkdotnet #linq #sum #simd #avx512 #векторизация #производительность #jit #ryujit #overflowexception

  2. Бенчмаркая поиск по строке: самописные циклы проигрывают от ×14 до ×154

    Уважаемые читатели, в этой статье я хочу рассказать про поиск по строке и представить свои выводы. Началось с оптимизации: сравнил поиск символа циклом со string.IndexOf — и получил разницу в разы. Заодно выяснилось, что серверный Xeon с AVX-512 в этой задаче медленнее игрового десктопа с AVX2. Ниже разбор обоих фактов с дизасмом и замерами. Будет четыре истории, и в каждой — вопрос, на который я искал ответ:

    habr.com/ru/articles/1059624/

    #simd #avx2 #avx512 #benchmarkdotnet #indexof #searchvalues #ryujit #дизасм #производительность #бенчмарк

  3. Manticore’s high-speed #KNN quest is hilariously thwarted by the cunning duo of #JavaScript and #cookies. 🤖🍪 AVX-512 and batched distances might sound fancy, but apparently, they’re no match for a simple browser setting. 🚀🔒
    medium.com/@s_nikolaev/faster- #Manticore #AVX512 #TechHumor #HackerNews #ngated

  4. Manticore’s high-speed #KNN quest is hilariously thwarted by the cunning duo of #JavaScript and #cookies. 🤖🍪 AVX-512 and batched distances might sound fancy, but apparently, they’re no match for a simple browser setting. 🚀🔒
    medium.com/@s_nikolaev/faster- #Manticore #AVX512 #TechHumor #HackerNews #ngated

  5. Ускорение вычислений в алгоритме DRS-виртуализации через векторизацию

    Переписать решение с Python на Go и получить ускорение в 35 раз — звучит приятно. Но можно ведь пойти дальше, вспомнить о возможностях современных процессоров и увеличить отрыв Go до 200 раз! Статья написана по мотивам доклада для

    habr.com/ru/companies/oleg-bun

    #avx #avx2 #avx512 #бэкенд #разработка #go #golang #phyton #ускорение #ускорение_кода

  6. AVX-512: a #magical #unicorn that only arrives with the right incantation and a sprinkle of fairy dust! 🦄✨ Who knew that making CPUs sweat like a marathon runner was the secret to true programmability? 😂💻
    shihab-shahriar.github.io//blo #AVX512 #CPU #programmability #tech #humor #HackerNews #ngated

  7. AVX-512: a #magical #unicorn that only arrives with the right incantation and a sprinkle of fairy dust! 🦄✨ Who knew that making CPUs sweat like a marathon runner was the secret to true programmability? 😂💻
    shihab-shahriar.github.io//blo #AVX512 #CPU #programmability #tech #humor #HackerNews #ngated

  8. FWIW, the code uses #AVX512 at other places in the code. That could be related (i.e. some alignment issue?). But I'm lost as how to find the right spot as the code the debuggers point to has no AVX512.

  9. FWIW, the code uses #AVX512 at other places in the code. That could be related (i.e. some alignment issue?). But I'm lost as how to find the right spot as the code the debuggers point to has no AVX512.

  10. 🎉 30 minutes of your life you'll never get back! 🚀 Why settle for regular #Unicode searches when you can dive into a 6,244-word #saga on AVX-512? 🤦‍♂️ #ICU, you're so #slow, but hey, at least you're thorough! 😏
    ashvardanian.com/posts/search- #AVX512 #Thorough #HackerNews #ngated

  11. 🎉 30 minutes of your life you'll never get back! 🚀 Why settle for regular #Unicode searches when you can dive into a 6,244-word #saga on AVX-512? 🤦‍♂️ #ICU, you're so #slow, but hey, at least you're thorough! 😏
    ashvardanian.com/posts/search- #AVX512 #Thorough #HackerNews #ngated

  12. Эпоха универсальных CPU закончилась: как выбрать между P- и E-ядрами Xeon 6

    Привет! На связи Максим Башмаков. Мы в Selectel производим, собираем и внедряем в продакшен

    habr.com/ru/companies/selectel

    #selectel #xeon #xeon_6 #intel #AVX512 #AMX #HPC #ML

  13. Hard to believe, but 2 years ago to the day I gave my @easybuild TechTalk on #AVX10 and the history of #SIMD on x86!

    Very fun looking back on the slides (available here: github.com/FCLC/Talks/blob/mai)

    And thinking back on the context that talk was written in.

    Namely at the then existing AVX10.N/M proposed spec, where M could be {128,256,512}

    #asm #AVX512 #AVX10

  14. Hard to believe, but 2 years ago to the day I gave my @easybuild TechTalk on #AVX10 and the history of #SIMD on x86!

    Very fun looking back on the slides (available here: github.com/FCLC/Talks/blob/mai)

    And thinking back on the context that talk was written in.

    Namely at the then existing AVX10.N/M proposed spec, where M could be {128,256,512}

    #asm #AVX512 #AVX10

  15. 🔧 Custom #Cachy kernel with BORE scheduler for superior system responsiveness 💻 CPU-specific optimizations: Auto-detects #AVX512 capable processors for 5-20% performance boost 🎮 Gaming excellence: One-click #Steam, #Lutris, #Heroic installation with #AMD advantage over #Nvidia

  16. 🔧 Custom #Cachy kernel with BORE scheduler for superior system responsiveness 💻 CPU-specific optimizations: Auto-detects #AVX512 capable processors for 5-20% performance boost 🎮 Gaming excellence: One-click #Steam, #Lutris, #Heroic installation with #AMD advantage over #Nvidia

  17. О векторном вычислении экспоненциальной функции

    Как вычислить экспоненциальную функцию быстро и с минимальной погрешностью? Пишем векторизованный код.

    habr.com/ru/articles/923234/

    #Simd #avx512 #параллельное_программирование #векторизация

  18. So here's an idea i had that i'm almost certainly not going to do anything with (so you should). With AVX-512 we have 16 x 32-bit registers. Let's pretend that's a 16-deep stack. The permute instruction let us do a DROP and DUP (except, you'd probably want to ROLL them, but whatever). I'm imaging that top-of-stack would always be register 0; PUSHing something permutes all the registers 1-higher and replaces register 0. Now implement a FORTH.
    #AVX512 #FORTH

  19. So here's an idea i had that i'm almost certainly not going to do anything with (so you should). With AVX-512 we have 16 x 32-bit registers. Let's pretend that's a 16-deep stack. The permute instruction let us do a DROP and DUP (except, you'd probably want to ROLL them, but whatever). I'm imaging that top-of-stack would always be register 0; PUSHing something permutes all the registers 1-higher and replaces register 0. Now implement a FORTH.
    #AVX512 #FORTH

  20. Детальный обзор полей Галуа

    "Попросите Якоби или Гаусса публично высказать своё мнение — не о истинности, а о важности этих теорем. Позже, я надеюсь, найдутся люди, которым будет выгодно разобраться во всём этом хаосе." Этими словами заканчивалось письмо Эвариста Галуа, написанное для своего друга Огюста Шевалье за два дня до его смерти от полученных на дуэли ран на 21 году жизни. Ни Якоби, ни Гаусс в его теоремах не разобрались, зато спустя 15 лет разобрался Жозеф Лиувилль и опубликовал работы Галуа, ставшие впоследствии фундаментом современной алгебры, известные сейчас как теория Галуа. В статье расскажу про одну из частей этой теории - поля Галуа, получившая настолько повсеместное применение в криптографии и избыточном кодировании, что Intel и AMD выпустили набор процессорных расширений для эффективной реализации операций над этими полями. Заметка! Если вам довелось использовать/реализовывать поля Галуа, то большая часть статьи для вас скорее всего будет не интересна, но возможно в последних разделах будет что-то для вас новое.

    habr.com/ru/articles/916740/

    #галуа #конечные_поля #avx512 #ридсоломон #aes

  21. #AMD #EPYC #4565P & #4585PX #Benchmarks Against #Xeon #6369P
    For "conventional" #server workloads like web serving and databases, the EPYC 4005 series dominates.
    With up to 16C/32TH, #AVX512, DDR5-5600 memory and other advantages, the EPYC 4005 series is the very easy answer for those that may be looking for affordable #HPC
    The AMD #EPYC4005 series #CPU deliver excellent generational uplift over the EPYC 4004 series and outright obliterating the #Xeon6300 series
    phoronix.com/review/amd-epyc-4

  22. #AMD #EPYC #4565P & #4585PX #Benchmarks Against #Xeon #6369P
    For "conventional" #server workloads like web serving and databases, the EPYC 4005 series dominates.
    With up to 16C/32TH, #AVX512, DDR5-5600 memory and other advantages, the EPYC 4005 series is the very easy answer for those that may be looking for affordable #HPC
    The AMD #EPYC4005 series #CPU deliver excellent generational uplift over the EPYC 4004 series and outright obliterating the #Xeon6300 series
    phoronix.com/review/amd-epyc-4

  23. #AMD #Ryzen9000 vs. #Intel #CoreUltra #ArrowLake On #Linux For Q1-2025 In ~400 Benchmarks
    In cases where #AVX512 can be utilized, the Ryzen 9000 series is the definitive winner over the Intel Core Ultra Series 2 desktop processors. In some HPC applications the Core Ultra 9 285K with 24 physical cores does well in scenarios where SMP isn't leveraged.
    Overall the #Zen5 based #Ryzen9 #9950X straight-up won 50% of the time with a first place finish.
    phoronix.com/review/ryzen9000-

  24. #AMD #Ryzen9000 vs. #Intel #CoreUltra #ArrowLake On #Linux For Q1-2025 In ~400 Benchmarks
    In cases where #AVX512 can be utilized, the Ryzen 9000 series is the definitive winner over the Intel Core Ultra Series 2 desktop processors. In some HPC applications the Core Ultra 9 285K with 24 physical cores does well in scenarios where SMP isn't leveraged.
    Overall the #Zen5 based #Ryzen9 #9950X straight-up won 50% of the time with a first place finish.
    phoronix.com/review/ryzen9000-

  25. The Compelling #AVX512 Performance Advantage On #AMD #EPYC 9005 "Turin"
    Workloads tested on this #EPYC9655 Supermicro server, with AVX-512 yielded 1.57x the performance of the same hardware/software but with AVX-512 forced off.
    phoronix.com/review/amd-epyc-t

  26. The Compelling #AVX512 Performance Advantage On #AMD #EPYC 9005 "Turin"
    Workloads tested on this #EPYC9655 Supermicro server, with AVX-512 yielded 1.57x the performance of the same hardware/software but with AVX-512 forced off.
    phoronix.com/review/amd-epyc-t

  27. Scaling an RGB image: godbolt.org/z/vMojsrhcG

    GCC can only vectorize it on RVV and generates nice code with three indexed loads and a three segment segmented store. It fails for AVX512 /NEON.

    clang manages something with AVX512, but you can barely call it vectorization.
    The RVV codegen looks better, but it uses fixed length vectorization and seems to have miscalculated the best LMUL choice, which causes it to spill. You get better codegen if you set -mllvm --riscv-v-fixed-length-vector-lmul-max=4.

    #RVV #AVX512 #NEON #gcc #llvm

  28. #FFmpeg devs boast of up to 94x performance boost after implementing handwritten #AVX512 assembly code
    The developers have created an optimized code path using the AVX-512 instruction set to accelerate specific functions within the FFmpeg multimedia processing library. By leveraging AVX-512, they were able to achieve significant performance improvements -- from three to 94 times faster -- compared to standard implementations.
    tomshardware.com/pc-components

  29. #Intel #CoreUltra 9 285K "#ArrowLake" Delivers Strong #Linux Performance Review
    Power efficiency improvements with Arrow Lake are real. Core Ultra 9 285K on average was at 136W, right inline with 137W Ryzen 9 9950X and much lower than 156W average with the Core i9 14900K. Core Ultra 9 285K was very competitive but if running a lot of #AVX512 workloads and areas where Zen 5 was delivering striking wins, Ryzen 9 9950X and the ~$429 Ryzen 9 9900X can deliver great value.
    phoronix.com/review/intel-core