WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline xor

  • Hero Member
  • *****
  • Posts: 891
critical logic error for low systems: Initial ramdisk
« on: January 09, 2021, 09:01:14 AM »
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: January 09, 2021, 09:08:41 AM by xor »

Offline xor

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

Offline xor

  • Hero Member
  • *****
  • Posts: 891
Re: critical logic error for low systems: Initial ramdisk
« Reply #2 on: January 09, 2021, 11:05:21 PM »
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 09, 2021, 11:33:55 PM by xor »

Offline xor

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

Offline xor

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