General TC > General TC Talk

[Solved] not seeing all my Memory on 14.x x86

<< < (6/7) > >>

aus9:
Hi Rich

I am not seeing 4 Kilos in total?


--- Code: ---free -m
              total        used        free      shared  buff/cache   available
Mem:           2467         809        1097          72         561        1371
Swap:          8000           0        8000
--- End code ---

Rich:
Hi aus9
That's because your peripherals also use address space. Every address
that a peripheral uses is one less address that can be used to access RAM.

Total is installed RAM or the amount of address space space available for
RAM, whichever is less.

aus9:
Hi Rich

Ahhh   well that is good to know and me thinks that explains why I was confused....other than losing brain cells to aussie beer

OK I reverse my reluctance to go 64 bit kernel and modules. Thanks for caring

aus9:
Hi Rich

Ok I am on TC32 with K=64bit and now we have

--- Code: ---tc@box:~$ free -m
              total        used        free      shared  buff/cache   available
Mem:           7400         657        6405          53         337        6459
Swap:          8000           0        8000
--- End code ---

Rich....Not sure if its intentional but I can not spot a difference in the files for /etc/os-release or /etc/issue
I can prove I am on TC32 using a readelf command....not that anyone cares but thought I would mention it here ;D

To anyone interested

trivia my 40_custom grub entries
TC64 is a chainload to grub in PBR for partition 3
next is TC32 running 64 bit kernel and modules
bottom is "normal for me" TC32 with 32 bit kernel
I decided to keep the virtual memory allocation vaule as I now have plenty of RAM
I now blacklist my sound module so I have a one liner in my bootlocal.sh to disable hdmi



--- Quote ---menuentry "sda3" {
set root=(hd0,msdos3)
chainloader +1
}

menuentry "sda4K64" {
set root=(hd0,msdos4)
linux /grub/vmlinuz64 tce=sda4 home=sda4 waitusb=5 nozswap blacklist=snd_hda_intel vmalloc=512M
initrd /grub/amd-ucode.img /grub/rootfs.gz /grub/modules64.gz
}

menuentry "sda4onboot" {
set root=(hd0,msdos4)
linux /grub/vmlinuz tce=sda4 home=sda4 waitusb=5 nozswap blacklist=snd_hda_intel vmalloc=512M
initrd /grub/amd-ucode.img /grub/core.gz
}

--- End quote ---

thanks for reading

Just compiled a package and it works over reboot on TC32 kernel so I am good to go.

Rich:
Hi aus9

--- Quote from: aus9 on August 28, 2023, 11:58:22 PM --- ... Rich....Not sure if its intentional but I can not spot a difference in the files for /etc/os-release or /etc/issue ...
--- End quote ---
You are running Kernel64 which loads Modules64+rootfs.
Aside from the base 32 bit libraries (/lib/), rootfs also contains  /etc/  and
all of the other root directories you see if you run:

--- Code: ---ls /
--- End code ---

rootfs  is the 32 bit component in this mix that allows you to run 32 bit programs.
It is the same  rootfs  used in 32 bit Tinycore.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version