Sponsored Content
Special Forums Hardware Filesystems, Disks and Memory Installed memory ≠ usable size? Post 302334640 by otheus on Thursday 16th of July 2009 06:16:01 AM
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.
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
PCITWEAK(1)						      General Commands Manual						       PCITWEAK(1)

NAME
pcitweak - read/write PCI config space SYNOPSIS
pcitweak -l pcitweak -r PCI-ID [-b|-h] offset pcitweak -w PCI-ID [-b|-h] offset value DESCRIPTION
Pcitweak is a utility that can be used to examine or change registers in the PCI configuration space. On most platfoms pcitweak can only be run by the root user. OPTIONS
-l Probe the PCI buses and print a line for each detected device. Each line contains the bus location (bus:device:function), chip vendor/device, card (subsystem) vendor/card, revision, class and header type. All values printed are in hexadecimal. -r PCI-ID Read the PCI configuration space register at offset for the PCI device at bus location PCI-ID. PCI-ID should be given in the form bus:device:function, with each value in hexadecimal. By default, a 32-bit register is read. -w PCI-ID Write value to the PCI configuration space register at offset for the PCI device at bus location PCI-ID. PCI-ID should be given in the form bus:device:function, with each value in hexadecimal. By default, a 32-bit register is written. -b Read or write an 8-bit value (byte). -h Read or write a 16-bit value (halfword). SEE ALSO
scanpci(1) AUTHORS
David Dawes (dawes@xfree86.org). XFree86 Version Version 4.3.0 PCITWEAK(1)
All times are GMT -4. The time now is 10:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy