News for hackers. Stuff that matters.
Re:Usability of Old Computers by mrweasel on Sunday September 24, 2023 @09:16AM (#37632838)
> The CPU on a Raspberry Pi 4 is nearly three times faster than a 3.2GHz Pentium 4.

It sure doesn't feel like it. It was never questioned if a Pentium 4 would make an OK desktop, of course it did. The Raspberry Pi 4,... It feels like it should be completely fine for email, Internet browsing, word processing and pretty much any office work, but it's just to slow. People are even maxing out a Raspberry Pi 3 (or 4) running home assistant... Yet an old DOS machine can run an entire factory production line (or multiple).

We really need to do much better on software.

Re:Usability of Old Computers by bayindirh on Sunday September 24, 2023 @09:28AM (#37632940)
The problem is that we don't optimize the software (most desktop apps), or don't understand the processing power required to complete a task (i.e. home assistant).

I have successfully ran DNSMasq, WebFS, qBittorrent, VSFTPD and Syncthing at the same time on a OrangePi Zero with 4 cores and 512MB of RAM. That thing is barely bigger than a postage stamp.

I'll switch to a much more powerful device, because I need more hardware acceleration for video encoding and such, but other than that, the same Pi Zero can still handle the tasks needed.

Re:Usability of Old Computers by mrweasel on Sunday September 24, 2023 @10:22AM (#37633396)
Back in 1999, me and two roommates ran ipchains, Samba and an FTP server on an old PC, it had a 120MHz Pentium and 32MB of RAM. The only reason it didn't run more service was: What services would that even be?

Took up a lot more space than a stamp though.

Re:Usability of Old Computers by bayindirh on Sunday September 24, 2023 @10:50AM (#37633663)
Looks like we did similar things in the similar time frames. I was doing live broadcasting over a simple webcam over Apache, for example.

I think you can still run modern versions of these software on that hardware, albeit with a bit lower performance due to all added features. Kernel would require a bit more resources, too, possibly.

The biggest problem on the OrangePi Zero was to run SSH at full speed, due to required encryption/decryption on the fly. DNSMasq and VSFTPD was essentially invisible, qBittorrent requiring 85MB of RAM to handle all the state data.

While the applications are tied down with cgroups to prevent pushing each other to the reaper of OOMKiller, none of the applications have died because of insufficient memory, which is telling, in a good way.

It shows that my point still stands. Basic functionality on a software is very cheap, but when you add cryptography, or a couple of compute-intensive features, the old hardware breaks down instantly. It's of course possible to optimize these up to a point, but dedicated cryptography accelerators and other instruction sets are really helpful.

Re:Usability of Old Computers by bombcar on Sunday September 24, 2023 @09:50AM (#37633102)
The key is getting software curated and designed for the device.

If you run a P4 with modern distributions of linux, you're likely in for a bad time.

But if you take the time to customize a distribution of Linux for the hardware, you're not going to have much of an issue.

The biggest problem by far is the modern web browser is an absolute bloated pig.

https://www.sevarg.net/tag/raspberrypi/ has some hints and tricks.

Re:Usability of Old Computers by salawat on Monday September 25, 2023 @09:49PM (#37653298)
>If you run a P4 with modern distributions of linux, you're likely in for a bad time.

What universe are you operating in? I can run multiple domains worth of services just fine. Yeah. Compiling at -j4 at the same time can be a PITA. Running the desktop over X with compression over ssh works just fine as well.

The key to outpacing a pentium with a Pi4 is entirely dependent on structuring your workloads correctly. Given a heavily serialized load, a Pentium'll smoke a Pi 4 before it even gets it's britches on. Throw in enough parallelizable workload, however, and the Pi4'll pull ahead promptly.

Re:Usability of Old Computers by prmoustache on Monday September 25, 2023 @05:34AM (#37641337)
Isn't most of this is because people are running their OS from an SDcard, with a heavyish desktop environment? Are people using libreoffice Writer or abiword for word processing? libreoffice Calc or gnumeric for a spreadsheet? Thunderbird or claws-mail for email? What about the DE they are using?

Have you tried running home assistant from an old Pentium 4?