mathstodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance for maths people. We have LaTeX rendering in the web interface!

Server stats:

2.8K
active users

#swap

4 posts4 participants1 post today
Continued thread

digging a bit deeper to further improve this #async / #await implementation:

Keeping all the #stacks mapped certainly makes sense to avoid excessive #mmap overhead ... but on *some* (most?) systems (I checked #FreeBSD and #Linux docs for now), we can let the kernel know when the mapping just contains worthless scratch (which will be the case after a thread job finishes until another thread job claims the same stack). Then, if there's a need to free pages, the kernel can avoid pointlessly writing that garbage to #swap. 😎

github.com/Zirias/poser/commit

If supported, mark stacks returned to the stack manager as free for
eviction without backing store (aka swap).
GitHubStackMgr: Use MADV_FREE on returned stacks · Zirias/poser@9867c5fIf supported, mark stacks returned to the stack manager as free for eviction without backing store (aka swap).

Hast du auch schon mal die Erfahrung gemacht, dass deine virtuelle Festplatte in VirtualBox voll ist? In meinem neuen Video zeige ich dir, wie du sie vergrößerst! Wir nutzen die Festplattenverwaltung und passen die Partition in der VM an. Danach richten wir eine neue SWAP-Partition ein und vergrößern das ext4-Dateisystem. ✨

youtu.be/BjciF_3qb3I

spacefun.ch/linux-videos#tuxwi

youtu.be- YouTubeEnjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.
Continued thread

(my two cents) Falling #swap spreads, especially when abrupt, often indicate significant repositioning by major market participants and could reflect changing views about future interest rates, economic conditions, or financial system stress.

My ISP gave me an interesting scare a couple of minutes ago. As you know if you do not want to pay them for a permanent IPv4 address, which I consider obsolete networking, they remotely reboot your gateway device and assign it a random IP out of one of their IPv4 pools.

This time it didn't take the usual long 30 to 90 Seconds to reboot the device and transfer credentials to obtain the new IP.
The Gateway got in an infinite loop somewhere and I had to Power it off, then had to wait 90 seconds to power cycle it before it took 180 seconds for the device to finally get the new IP.

Someone screwed up the login sequences for the xDSL devices of which the hashtag is in the toot and now we as the paying customer again have to pay for it in wasted time.

Luckily this power cycling off xDSL devices occurs only once in 6 weeks and usually I do not use the internet at that point in time.

In case you are wondering my Gateway uses obsolete technology, is forcibly assigned by the ISP and it's also cursed with a extremely low transfer speed.

I just included a speedtest after first draft of this toot

As you can see the speeds here are so low the connection is virtually unusable for anything where you have to move a big bites of data. They still manage to extort more than USD 30 a month for this connection

#xDSL#ISP#Services

@Jeff swap is really useful because most programs are requesting RAM they don't really need and when you're using "all" your RAM, its nice to have the unnecessary bits in swap and leave RAM free for active use.
Swap is also used for hibernation.
There's a point at which you may have enough RAM to not care, but even with 48GiB, my system often has quite a bit swapped out because Chrome.
#Linux #RAM #Swap #overcommit