It's the configuration that is causing the problem, not the OS itself...the mass momentum is to create do-everything desktop systems and resource managment be damned. I am confident that if you were to strip the fluff off of the system it could/would play videos properly. Plenty of folks are running media servers on toy RPIs, which I would call "resource constrained".
Start the system in runlevel-1: nothing nothing but kernel and systemd running, and test your metrics in that state. Then sequentially start only the components you need to reach the desired result...maybe networking and twm with an xterm.
EDIT:
OK...I see that you want more than a minimal video player...you are going to be constrained by the layering of the modern systems. the devs expect folks to be running beefier systems so they don't go to great lengths to optimize stuff.
And FWIW, you can create a swapfile as a binary file under a normal filesystem and add it, but adding swap to a system without enough core memory won't alleviate thrashing.
dd if=/dev/null of=/home/swap/mywap bs=1024k count=50000
mkswap /home/swap/myswap
swapon /home/swap/myswap
Start the system in runlevel-1: nothing nothing but kernel and systemd running, and test your metrics in that state. Then sequentially start only the components you need to reach the desired result...maybe networking and twm with an xterm.
EDIT:
OK...I see that you want more than a minimal video player...you are going to be constrained by the layering of the modern systems. the devs expect folks to be running beefier systems so they don't go to great lengths to optimize stuff.
And FWIW, you can create a swapfile as a binary file under a normal filesystem and add it, but adding swap to a system without enough core memory won't alleviate thrashing.
dd if=/dev/null of=/home/swap/mywap bs=1024k count=50000
mkswap /home/swap/myswap
swapon /home/swap/myswap
Statistics: Posted by kent_dorfman766 — 2025-02-17 02:52