WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: critical logic error for low systems: Initial ramdisk  (Read 2065 times)

Offline xor

  • Hero Member
  • *****
  • Posts: 1265
critical logic error for low systems: Initial ramdisk
« 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.


« Last Edit: March 27, 2023, 11:03:28 PM by Rich »

Offline xor

  • Hero Member
  • *****
  • Posts: 1265
Re: critical logic error for low systems: Initial ramdisk
« Reply #1 on: January 10, 2021, 12:43:38 AM »
Is there no way to turn off the initram to avoid unnecessary boot and ram consumption for low systems !?

Offline xor

  • Hero Member
  • *****
  • Posts: 1265
Re: critical logic error for low systems: Initial ramdisk
« Reply #2 on: January 10, 2021, 02:05:21 AM »
https://www.kernel.org/doc/html/latest/admin-guide/initrd.html

Boot command-line options

initrd adds the following new options
:

Quote
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.
« Last Edit: January 10, 2021, 02:33:55 AM by xor »

Offline xor

  • Hero Member
  • *****
  • Posts: 1265
Re: critical logic error for low systems: RAM (cache-buffer-swapspace)
« Reply #3 on: January 12, 2021, 09:10:25 AM »
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
« Last Edit: January 12, 2021, 09:14:41 AM by xor »

Offline xor

  • Hero Member
  • *****
  • Posts: 1265
"the right questions store the answer in it"
« Reply #4 on: January 21, 2021, 04:41:55 AM »
"the right questions store the answer in it"