Installed memory ≠ usable size?


 
Thread Tools Search this Thread
Special Forums Hardware Filesystems, Disks and Memory Installed memory ≠ usable size?
# 22  
Old 07-16-2009
BIOS and Video RAM allocation

The blog you linked to noted that PCI-Express controllers can allocate 512 MB of address space. This might be what's happening, and the controller is allocating the upper part of the 32-bit memory address on the bus. Take out your video controller, and put in a generic PCI one (or use the motherboard's generic one??) In fact, take out ALL PCI-E controllers. Maybe the allocated memory will change.

The second thing to try -- not at the same time as above, please -- is specifying mem=4096M on the kernel line in grub. Go to grub.conf and change this, or on boot, append that option to the kernel-load line. Maybe the OS will magically remap whatever is eating the address space and see 4GB. Then, make sure you try to ALLOCATE that memory, to make sure it's actually usable. A simple perl script will do the job.
# 23  
Old 07-16-2009
Curiosity got the better of me. I downloaded and read the user manual for this motherboard.

It is a dual channel memory architecture which supports 4 x DIMM, Max. 16 GB, DDR2 1066/800/667 ECC, Non-ECC, Un-buffered Memory.

It has an integrated ATI Radeon™ HD 3300 GPU with onboard 128MB DDR3 1333 memory and supports a maximum shared memory of 512MB

In the Advanced/Internal Graphics Configuration menu, there is an option to adjust your UMA Frame Buffer Size. Options are auto, 32MB, 64Mb, 128Mb, 256Mb, 512MB.

CRGreathouse, my betting is that yours is set to auto.
# 24  
Old 07-16-2009
Wow, many good suggestions all at once!

Quote:
Originally Posted by otheus
The blog you linked to noted that PCI-Express controllers can allocate 512 MB of address space. This might be what's happening, and the controller is allocating the upper part of the 32-bit memory address on the bus. Take out your video controller, and put in a generic PCI one (or use the motherboard's generic one??) In fact, take out ALL PCI-E controllers. Maybe the allocated memory will change.
I'm using the motherboard's generic one, and that didn't fix it. Good thought, though.

Quote:
Originally Posted by otheus
The second thing to try -- not at the same time as above, please -- is specifying mem=4096M on the kernel line in grub. Go to grub.conf and change this, or on boot, append that option to the kernel-load line. Maybe the OS will magically remap whatever is eating the address space and see 4GB. Then, make sure you try to ALLOCATE that memory, to make sure it's actually usable. A simple perl script will do the job.
I will try this in a bit. That sounds like it could be the problem!

---------- Post updated at 07:12 PM ---------- Previous update was at 07:10 PM ----------

Quote:
Originally Posted by fpmurphy
In the Advanced/Internal Graphics Configuration menu, there is an option to adjust your UMA Frame Buffer Size. Options are auto, 32MB, 64Mb, 128Mb, 256Mb, 512MB.

CRGreathouse, my betting is that yours is set to auto.
Ooh... let me check that. I remember seeing that setting, but not how I left it.

I'm going to have to look that one up to better understand it. I don't properly understand why that would affect me at 4 GB but not at 2 GB. Any thoughts?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Installed Memory 32GB but shows only 16GB

Hello facing this problem in VIOS installed memory shows 32GB Installed system memory: 32 GB (32768 MB) Configurable system memory: 16 GB (16384 MB) Current memory available: 2.23 GB (2288 MB) Pending memory available: 2.23 GB (2288 MB) Reserved firmware memory: 560 MB ... (8 Replies)
Discussion started by: filosophizer
8 Replies

2. Programming

Size of memory used by a program

Hello, Here is a portion of my code: a=(int *) malloc(dim*dim*sizeof(int)); b=(int *) malloc(dim*dim*sizeof(int)); c=(int *) malloc(dim*dim*sizeof(int)); for(i=0;i<dim;i++) for(j=0;j<dim;j++) c= rand(); for(i=0;i<dim;i++) for(j=0;j<dim;j++) b=rand(); ... (6 Replies)
Discussion started by: chercheur111
6 Replies

3. Solaris

T5220 How to determine physical memory installed?

Hi, looking to upgrade memory on a pair of T5220's from 32GB to 64GB. Cannot determine current DIMM size and slots used. i.e. not sure if Qty 16 x 2GB or Qty 8 x 4GB. If there are no empty slots, i need to go with higher density DIMMs and retire exsisting the 2GB prtdiag follows. #... (3 Replies)
Discussion started by: edrew
3 Replies

4. UNIX for Dummies Questions & Answers

Getting file size from memory

i want to avoid writing to a file on the disk. i'd like to do this in memory. i have a situation where i'm running cat file.txt | head -l 2024 > /tmp/data.txt now, i check the size of the data.txt by doing a "du -sh /tmp/data.txt how can i get the size of "head -l 2024" WITHOUT having to... (2 Replies)
Discussion started by: SkySmart
2 Replies

5. Solaris

Memory or CPU size

Is there a command or file I can look at that tells me how much real memory a machine has? A little background. In my shop we run a bunch of java programs, sometimes some of these jobs have config definitions that call for 2G. I would like to know how many I can run before I exhaust rescources. Any... (12 Replies)
Discussion started by: Harleyrci
12 Replies

6. UNIX for Advanced & Expert Users

Out of Memory error when free memory size is large

I was running a program and it stopped and showed "Out of Memory!". at that time, the RAM used by this process is around 4G and the free memory size of the machine is around 30G. Does anybody know what maybe the reason? this program is written with Perl. the OS of the machine is Solaris U8. And I... (1 Reply)
Discussion started by: lilili07
1 Replies

7. Shell Programming and Scripting

User perl to get memory installed in a machine

I currently have a statistics gathering script i run on my Linux servers. One of the stat i gather is total memory in the machine. The script is all perl with the exception of gathering the memory for that i use the following command: $ram = (`cat /proc/meminfo | grep "MemTotal" | awk... (1 Reply)
Discussion started by: insania
1 Replies

8. UNIX for Advanced & Expert Users

memory size under AIX

Hi, how to know size of physical memory under AIX ? Many thanks. PS : man -k memory man : 0703-310 Fichier man introuvable. uname -a AIX server1 1 5 005202DF4C00 (3 Replies)
Discussion started by: big123456
3 Replies

9. UNIX for Dummies Questions & Answers

Size of Installed RAM ?

Is it possible from the command line, or by looking at one of the log files to find out the amount of RAM installed on my SCO Unix 5.05 Server? I also need to find out H/Disk size and Processor speed but I think i'll do a search of the forums for those ones. Thanks RamblasPro (2 Replies)
Discussion started by: RamblasPro
2 Replies

10. UNIX for Dummies Questions & Answers

How to get amount of memory installed.

Hi! I'm not a UNIX fanatic but I like using it for the Oracle database since it's not stable in the Windows NT environment (what is?). Problem: Is there any command to show me the amount of installed physical-memory in the machine? Is there some other way to show the processes which uses... (4 Replies)
Discussion started by: elgholm
4 Replies
Login or Register to Ask a Question