#futex — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #futex, aggregated by home.social.
-
mutex vs atomic<bool>
Сравним разные варианты реализации блокировок с точки зрения накладных расходов. mutex, ptr, atomic в нескольких вариантах. Рассматриваем случай без контеншена.
-
""The name sure sounds like “mutex”, and that is where the name comes from: “fast, user space mutex”. But, it isn’t really, it’s a building block for concurrency primitives that ushered in a modern world of concurrent performance […]
t was immediately clear that the futex was a huge improvement in highly concurrent environments. Just in that original paper, their tests with 1000 parallel tasks ran 20-120 times faster than sysv locks..🤯
Needless to say, other common operating systems followed suit, including Windows in 2012 and macOS by 2016.
These days, any good locking primitive is going to be based on a futex. […]""
-
🎉 Surprise! 🎉 Another poorly disguised #advertisement for a book club that's so riveting even its own authors remain a mystery. 🤔 In a shocking twist, the #futex isn't a magical cure for all #programming woes, and the book is as useful as a unicycling octopus in a synchronized swimming competition. 🐙🚴♀️
https://h4x0r.org/futex/ #bookclub #humor #unicyclingoctopus #HackerNews #ngated -
Without the Futex, It's Futile
#HackerNews #Without #the #Futex #Futile #Futex #Performance #Linux #Kernel #SystemProgramming
-
Without the Futex, It's Futile
#HackerNews #Without #the #Futex #Futile #Futex #Performance #Linux #Kernel #SystemProgramming
-
Without the Futex, It's Futile
#HackerNews #Without #the #Futex #Futile #Futex #Performance #Linux #Kernel #SystemProgramming
-
Without the Futex, It's Futile
#HackerNews #Without #the #Futex #Futile #Futex #Performance #Linux #Kernel #SystemProgramming
-
Without the Futex, It's Futile
#HackerNews #Without #the #Futex #Futile #Futex #Performance #Linux #Kernel #SystemProgramming
-
Бинарные семафоры на futex через parking_lot_core
Привет, Харб! Сегодня рассмотрим, как реализовать собственный бинарный семафор на основе futex и библиотеки parking_lot_core .
https://habr.com/ru/companies/otus/articles/929146/
#rust #parking_lot_core #parking_lot #futex #AtomicU32 #SpinWait
-
Бинарные семафоры на futex через parking_lot_core
Привет, Харб! Сегодня рассмотрим, как реализовать собственный бинарный семафор на основе futex и библиотеки parking_lot_core .
https://habr.com/ru/companies/otus/articles/929146/
#rust #parking_lot_core #parking_lot #futex #AtomicU32 #SpinWait
-
Бинарные семафоры на futex через parking_lot_core
Привет, Харб! Сегодня рассмотрим, как реализовать собственный бинарный семафор на основе futex и библиотеки parking_lot_core .
https://habr.com/ru/companies/otus/articles/929146/
#rust #parking_lot_core #parking_lot #futex #AtomicU32 #SpinWait
-
Бинарные семафоры на futex через parking_lot_core
Привет, Харб! Сегодня рассмотрим, как реализовать собственный бинарный семафор на основе futex и библиотеки parking_lot_core .
https://habr.com/ru/companies/otus/articles/929146/
#rust #parking_lot_core #parking_lot #futex #AtomicU32 #SpinWait
-
Some brave soul decided to reinvent the wheel by building their own #mutex in C, because, apparently, mastering pre-existing solutions just wasn't challenging (or fun) enough. 🤦♂️ Instead of taking a nice walk outside, they've chosen to dance with futexes, as if Linux needed more accidental 'optimizations.' 🧐🔧
https://blog.fredrb.com/2025/06/02/futex-fun/ #reinventthewheel #Cprogramming #futex #Linuxoptimization #codinghumor #HackerNews #ngated -
follow me if you like #luigimangione #gaysex #drugs #antartica #lesbians #iceshrimp #iceland #libtoilet #futex
-
[Перевод] Самые быстрые мьютексы
Cosmopolitan Libc хорошо известна своим « полиглотным жирным бинарным » хаком, который позволяем исполняемым файлам запускаться на шести операционных системах для AMD64/ARM64. Вас может удивить, что при этом она может быть лучше С‑библиотекой для вашего продакшена. Чтобы продемонстрировать это, давайте сравним библиотеку мьютексов Cosmo с другими платформами. Мы напишем простой тест, который создает 30 потоков, увеличивающих одно и то же число 100 000 раз. Это поможет проверить, насколько хорошо реализация мьютексов справляется с задачей при интенсивном использовании.
-
Make Your Code Slower With Multithreading https://hackaday.com/2024/06/07/make-your-code-slower-with-multithreading/ #MULTITHREADING #SoftwareHacks #performance #profiling #spinlocks #syscall #futex #mutex #Perf+
-
Make Your Code Slower With Multithreading - With the performance of modern CPU cores plateauing recently, the main performance... - https://hackaday.com/2024/06/07/make-your-code-slower-with-multithreading/ #multithreading #softwarehacks #performance #profiling #spinlocks #syscall #futex #mutex #perf
-
"Programming error in your favor" - we were surprised this morning to find our nightly benchmark runtime went from about 7h to 3h.
It turns out we had introduced a bug in a call to `futex` such that we were always spinning forever waiting for a latch to open instead of ever blocking on the `futex`.
Spinning a bit before blocking is a common optimization for such constructs, but in my experience isn't often such a clear win.
-
ICYMI 👉 Over the past 18 months, we've been on a roller-coaster ride developing #futex2, a new set of kernel system calls. As part of this effort, the futex_waitv() syscall has now landed in #Linux 5.16. But what exactly is #futex? Let's dive in! https://col.la/futex #coding
-
Over the past 18 months, we have been on a roller-coaster ride developing #futex2, a new set of kernel system calls. As part of this effort, the futex_waitv() syscall has now landed in #Linux 5.16. But what exactly is #futex? Let's dive in! https://col.la/futex #coding
-
Released earlier this month, kernel 5.16 is full of great features, including two that had been in development for some time by our kernel team: the new #futex syscall & the new #fanotify event! Here's a look at our contributions: https://col.la/lk516 #futex2 #embedded
-
Video: Presented last month at #lca2021, André Almeida gives an update on futex2, a work in progress system call to replace the current futex implementation in the #Linux kernel https://col.la/lcafx #OpenSource #Linux #Futex #Proton
-
#lca2021: André Almeida provides an update on the current status of futex2 - Wine & Proton now have support for futex2! #OpenSource #Linux #Futex #Proton
-
Video: Presented at #OSSummit, André Almeida discusses futex2(), a new version of the system call that can enable not only more complex use cases, but also key performance improvements inside the #Linux kernel. https://col.la/anfsc #SoftwareDevelopment #Coding #Futex #lfelc
-
One final talk to end #OSSummit & #lfelc EU 2020! Join us at 19:30 GMT today as André Almeida presents "A New Futex2() System Call". https://sched.co/eCBF #Linux #OpenSource #Futex