by abricot · 3y ago · 0 comments
It's usually browsers and web pages that brings these older PCs down.
what wildly multithreaded memory hogs are you running? I love my x230s, and I have dozens and dozens of windows open all the time. probably I benefit a good bit from running ublock Origin and uMatrix, but I have gigabytes of RAM free. I don't think running a newer machine would give me any benefits at all.
(oh and yeah I have no intention of using a newer system, I bought four X230's and an X220 for dirt cheap lol)
if I don't do this when i restart, HN tells me it can't serve pages that fast :)
What changes when the program closes and restarts other than memory refresh would be the obvious starting point. I like hunting these things down, may take a look!
Also, if you dare,
sysctl hw.smt=1
Add hw.smt=1 to /etc/sysctl.conf if you waqnt that setting persistent.Also, install and enable obsdfreqd and read the docs at /usr/local/share/doc/pkg-readmes/.
As for login.conf, yeah, I already raised those limits (especially to debug firefox with gdb lol), haven't enabled SMT though. Not sure it will help much with pages bogging down the CPU though, considering, waves broadly at the state of the web today >_>
When a chat and video/audio call client take 4GB all by itself...
If people even used a framework like Qt (a really mature and well-maintained desktop framework the favored framework of KDE Plasma, etc.), their memory usage would be so much lower. (I'm not counting the memory used by Qt's shared .so / dynamic library files.)
I find it far easier to believe that Qt and GTK have fallen behind rather than the whole world is under a grand delusion and didn't know Qt exists.
I use an old 2008 iMac running Linux frequently and it runs remarkably well. Firefox and MS Edge are certainly the apps that bring it down from a memory perspective ( it only has 6 Gigs ). Electron apps like MS Teams are right up there though and make it chug even more than the browsers do.
To be fair, I have dozens of tabs open including beasts like GMail but I certainly have to restart the browsers from time to time.
Compiling huge C++ code bases is a memory nightmare as well.
Virtually every company and developer opts for simpler development and worse runtimes. Is that "wrong"? I'm not sure how to answer that. You could probably make a case either way.
Whether this is "right" or "wrong" is a difficult question to answer.
Would it be surprising to find that they were? It's not like developers have a lot of credibility.
While the "web everything" trend is definitely responsible for a lot of the bloat, it is upon closer inspection not the whole story. For example, I remember various "AJAX chat" clients were quite popular around the turn of the century, worked in a browser like IE5 on a system with probably 64-128MB of RAM and a single core Pentium II/III, and you could also do other things like listen to music, play flash games, or read other sites at the same time. Those clients loaded relatively quickly over connections with bandwidth measured in KBps, and I don't recall much in the way of complaints about their resource usage.
I still use it though, and the graphical client running on my system (which is also an RSS reader) uses 23 MB of RAM at the moment, displaying 1375 messages.
The Web stack probably isn’t what you’d come up with if you were starting from scratch. But are C, x86, or a lot of other standards we are living with? It seems like the ultimate demonstration of “worse is better:” people had the option of sitting around waiting for some nicely-designed, clean option that was cross-platform across all desktop devices and mobile devices, or they could piggyback on the Web. And with all the investment that’s gone into it as a result of that popularity, it is now fairly good anyway.
It's not about hating new things. It's about things making tradeoffs that don't make sense to some.
Context: I was on a 3kbps connection and basically everything was unusable, so I ran a textmode browser on a VPS over Mosh.
Also, gopher sites thru gopher://hngopher.com and gopher://magical.fish.
I could even play some streaming radio with OPUS @16KBPS from http://dir.xiph.org once I set mplayer to cache the 90% of the stream.
Some way to tell the server to render text-only, gopher, or gemtext (from gemini protocol)?
The web has gotten exponentially more useful. The fact that my computer needs to be trivially more modern to use it seems like a completely reasonable trade-off.
You couldn't buy a fully functioning computer for $35 in 2023 dollars back before the web "went astray." That wouldn't even buy you a modem!