shakedown.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A community for live music fans with roots in the jam scene. Shakedown Social is run by a team of volunteers (led by @clifff and @sethadam1) and funded by donations.

Administered by:

Server stats:

264
active users

#multithreading

0 posts0 participants0 posts today
Royce Williams<p>Multithreaded CLI developers: let your users configure the number of threads.</p><p>Entire classes of use cases are hiding inside that will make <em>your</em> life easier as a dev -- and <code>threads=1</code> is usually not hard to add.</p><p>One example: if your multithreaded tool works significantly faster on a single file when I force your tool to just use a single thread and parallelize it with <code>parallel --pipepart --block</code> instead, then either:</p><ol><li><p>you might decide to develop sharding the I/O of the physical file yourself, or</p></li><li><p>you might consciously decide to <em>not</em> develop it, and leave that complexity to <code>parallel</code> (which is fine!)</p></li></ol><p>But if your tool has no <code>threads=N</code> option, I have no workaround.</p><p>Configurable thread count lets me optimize in the meantime (or instead).</p><p><a href="https://infosec.exchange/tags/CLI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CLI</span></a> <a href="https://infosec.exchange/tags/multithreading" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>multithreading</span></a></p>
IT News<p>Make Your Code Slower With Multithreading - With the performance of modern CPU cores plateauing recently, the main performance... - <a href="https://hackaday.com/2024/06/07/make-your-code-slower-with-multithreading/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">hackaday.com/2024/06/07/make-y</span><span class="invisible">our-code-slower-with-multithreading/</span></a> <a href="https://schleuss.online/tags/multithreading" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>multithreading</span></a> <a href="https://schleuss.online/tags/softwarehacks" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>softwarehacks</span></a> <a href="https://schleuss.online/tags/performance" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>performance</span></a> <a href="https://schleuss.online/tags/profiling" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>profiling</span></a> <a href="https://schleuss.online/tags/spinlocks" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>spinlocks</span></a> <a href="https://schleuss.online/tags/syscall" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>syscall</span></a> <a href="https://schleuss.online/tags/futex" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>futex</span></a> <a href="https://schleuss.online/tags/mutex" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mutex</span></a> <a href="https://schleuss.online/tags/perf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>perf</span></a></p>
Albert Cardona<p>Leslie Lamport, of LaTeX fame, is a very accomplished mathematician and computer scientist with a Turing award for his work on “fundamental contributions to the theory and<br>practice of distributed and concurrent systems”. He just published a draft of his new book:</p><p>"A science of concurrent programs"</p><p><a href="https://lamport.azurewebsites.net/tla/science.pdf" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">lamport.azurewebsites.net/tla/</span><span class="invisible">science.pdf</span></a></p><p>True to his pedagogic approach to everything he does, "The book assumes only that you know the math one learns before entering a university." Even the appendices are fantastic. Can only wish I'll remain this lucid at his 82 years old.</p><p><a href="https://mathstodon.xyz/tags/multithreading" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>multithreading</span></a> <a href="https://mathstodon.xyz/tags/maths" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>maths</span></a> <a href="https://mathstodon.xyz/tags/LesleyLamport" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LesleyLamport</span></a></p>
Dr. Robert M Flight<p>At what point does setting more threads for OpenBLAS actually help?</p><p>For example, I have an SVD operation in <a href="https://mastodon.social/tags/RStats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RStats</span></a> on largish matrices (6000 rows and 6000 columns; doing an inverse), where default BLAS on Ubuntu is ~ 20 min. </p><p>OpenBLAS with 1 or 4 threads takes ~ 2 min (10X speedup!). With 4 threads, I can see the additional usage of cores, but overall time is the same as 1 thread. </p><p>Is there some magic size where using more threads for SVD will actually help?</p><p><a href="https://mastodon.social/tags/MultiThreading" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MultiThreading</span></a> <a href="https://mastodon.social/tags/OpenBLAS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenBLAS</span></a></p>
Sos Sosowski<p>Hmmm... I'm trying to implement multithreaded software rendering but no matter how many threads I throw at it, the result is always the same... why?</p><p>Concurency Profiler shows there is no redundancy or blocking, and they're all render their proper share of sprites.</p><p>Help!</p><p><a href="https://mastodon.gamedev.place/tags/gamedev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gamedev</span></a> <a href="https://mastodon.gamedev.place/tags/multithreading" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>multithreading</span></a> <a href="https://mastodon.gamedev.place/tags/c" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>c</span></a> <a href="https://mastodon.gamedev.place/tags/visualstudio" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>visualstudio</span></a> <a href="https://mastodon.gamedev.place/tags/retrodev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrodev</span></a> <a href="https://mastodon.gamedev.place/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://mastodon.gamedev.place/tags/cprogramming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cprogramming</span></a> <a href="https://mastodon.gamedev.place/tags/development" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>development</span></a></p>
IT News<p>Processes, Threads, and… Fibers? - You’ve probably heard of multithreaded programs where a single process can have mu... - <a href="https://hackaday.com/2023/09/25/processes-threads-and-fibers/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">hackaday.com/2023/09/25/proces</span><span class="invisible">ses-threads-and-fibers/</span></a> <a href="https://schleuss.online/tags/softwaredevelopment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>softwaredevelopment</span></a> <a href="https://schleuss.online/tags/multithreading" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>multithreading</span></a> <a href="https://schleuss.online/tags/windows" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>windows</span></a> <a href="https://schleuss.online/tags/fibers" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fibers</span></a> <a href="https://schleuss.online/tags/c" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>c</span></a></p>