If anyone can answer this I'd greatly appreciate it.For a long time I was running ubuntu from a live disc, 32-bit version. I have 4GB RAM installed, and it would say I had 1.3GB RAM available. Now I switched to the 64-bit version, and it says I have only 1.8GB RAM available. Shouldn't it be ~2.3GB? Since I know 32-bit can only address 3 to ~3.2 GB.
Not really important just curious.![]()
-
-
The /usr, /root, etc are all virtual on your RAM doesn't exist, so the overall RAM size is cut down. -
Linux will take your spare ram and use it as a file system cache in the kernel. This will make your machine say it has 100M or so free when in fact it's got 100M free and 1.8G of cache, and the cache can be dumped on demand for more programs to run in. What does the output of "free" say on your machine?
My machine has this:
Code:total used free shared buffers cached Mem: 7858964 7719040 139924 0 69944 5347752 -/+ buffers/cache: 2301344 5557620 Swap: 4385788 2720 4383068
-
ALLurGroceries Vegan Vermin Super Moderator
Yeah what Sxooter said, post the output of free -m
However, 64 bit linux will use more memory than 32 bit, for one thing because pointers are twice as big. Also 32 bit isn't limited to ~3.5GB if you have PAE support in the kernel, offhand I don't know if ubuntu does or does not. -
Great tip, ok here's mine.
Code:total used free shared buffers cached Mem: 3761 1042 2719 0 109 508 -/+ buffers/cache: 424 3336 Swap: 0 0 0
So I'm not sure what to think. -
If you download a file it will be stored in a RAM disc which is mounted from /dev/shm. The default kernel config is that this RAM disc can not be bigger than half of your total RAM. Therefore with 3.6GB of RAM /dev/shm will provide up to 1.8GB.
-
I see. That makes a lot of sense. So realistically, if I had 8GB RAM, only 4GB would really be available. Thanks debguy.
Question about RAM usage and linux live cd
Discussion in 'Linux Compatibility and Software' started by talin, Mar 3, 2011.