Tiny Core Linux
Off-Topic => Off-Topic - Tiny Core Lounge => Topic started by: xor on January 09, 2021, 12:01:14 PM
-
critical logic error for low systems: Initial ramdisk
Initial ramdisk; does not mean real ram usage
Creates a virtual disk drive on ram.
In this case, it means more ram wastage in low ram systems.
suggested solution; instead of system full install
installation according to need (software instantaneous installation according to need)
this way it can work in low systems
query "free" command on debian; 10x kernel consumes 64MB of ram.
(http://forum.tinycorelinux.net/index.php?action=dlattach;topic=24693.0;attach=5598)
-
Is there no way to turn off the initram to avoid unnecessary boot and ram consumption for low systems !?
-
https://www.kernel.org/doc/html/latest/admin-guide/initrd.html
Boot command-line options
initrd adds the following new options:
noinitrd
initrd data is preserved but it is not converted to a RAM disk and
the "normal" root file system is mounted. initrd data can be read
from /dev/initrd. Note that the data in initrd can have any structure
in this case and doesn't necessarily have to be a file system image.
This option is used mainly for debugging.
With "nointram", even the latest kernel can run on a 64MB system :)
Linus Torvalds forgot this and talks about how big the new kernel is.
unfortunately all linux distributions follow the mainstream.
It creates a ram disk space in the mainstream system and loads all known kernel modules into it.
As a logic, there is no difference between installing from HDD and loading from ram disk in one-time installations.
Because, in the roughest terms, if the system is an HDD or SSD when the system is booted,
Whether the upload reads for 1 second or 10 seconds, this file content is already uploaded to the system once.
ie 1st install copy to RAM disk 2nd process is nothing but unnecessary ram waste!
this old architecture; it doesn't give old hardware a chance to live.
and one day tomorrow linux will start consuming more RAM resources than windows.
-
It seriously reduces the waste of RAM! :)
https://www.linuxhelp.com/to-clear-ram-memory-cache-buffer-swapspace-on-linux
https://www.youtube.com/watch?v=eqahEvCb8NM
correction; I associated swelling with initrd in my previous articles
-
"the right questions store the answer in it"