출처 : http://www.2udream.com/bbs/board.php?bo_table=B16&wr_id=226
### 커널 메모리 4G로 인식 안될 경우 처리 방법 ####
[ mirror 100dedi.net ~ > free -m
total used free shared buffers cached
Mem: 3479 3443 36 0 374 2971
-/+ buffers/cache: 97 3381
Swap: 2000 0 2000
[ mirror 100dedi.net ~ >
vi /var/log/dmesg
Linux version 2.4.21-47.0.1.ELsmp (centos@sillage.bis.pasteur.fr) (gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-56)) #1 SMP Thu Oct 19 11:52:44 EDT 2006
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 00000000ddff0000 (usable)
BIOS-e820: 00000000ddff0000 - 00000000ddff3000 (ACPI NVS)
BIOS-e820: 00000000ddff3000 - 00000000de000000 (ACPI data)
BIOS-e820: 00000000f0000000 - 00000000f2000000 (reserved)
BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
BIOS-e820: 0000000100000000 - 0000000120000000 (usable)
BIOS-e820: 00000001de000000 - 00000001e0000000 (reserved)
Warning only 4GB will be used.
Use a PAE enabled kernel.
3200MB HIGHMEM available.
896MB LOWMEM available.
found SMP MP-table at 000f4bb0
hm, page 000f4000 reserved twice.
hm, page 000f5000 reserved twice.
hm, page 000f0000 reserved twice.
hm, page 000f1000 reserved twice.
NX protection not present; using segment protection
On node 0 totalpages: 1048576
[ mirror 100dedi.net ~ > cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 3648331776 3610685440 37646336 0 392167424 3116179456
Swap: 2097434624 0 2097434624
MemTotal: 3562824 kB
MemFree: 36764 kB
MemShared: 0 kB
Buffers: 382976 kB
Cached: 3043144 kB
SwapCached: 0 kB
Active: 2101032 kB
ActiveAnon: 18656 kB
ActiveCache: 2082376 kB
Inact_dirty: 1029228 kB
Inact_laundry: 244468 kB
Inact_clean: 69864 kB
Inact_target: 688916 kB
HighTotal: 2719680 kB
HighFree: 16068 kB
LowTotal: 843144 kB
LowFree: 20696 kB
SwapTotal: 2048276 kB
SwapFree: 2048276 kB
CommitLimit: 3829688 kB
Committed_AS: 162388 kB
HugePages_Total: 0
HugePages_Free: 0
Hugepagesize: 4096 kB
[ mirror 100dedi.net ~ >
==> 위처럼 4G로 인식이 안될 경우 아래와 같이 메모리를 올려주면 된다..
==> 이렇케 rpm으로 올려주면 된다.
==> yum install *hugemem*
==> yum install *bigmem*
===> 둘중 1개로 install 해서 올리면 되며...
/etc/grub.conf에 올린 값으로 default=0 으로 해서 해당 값을 넣는다.
그리고 나서 리부팅하면 되고... 4G로 인식되는지 확인한다.
http://kldp.org/node/87277
배포판 버전에 따라 다르겠지만, RHEL4의 경우에 커널 옵션중에 4G/4G 옵션이 있습니다.
아니면 그냥 hugemem kernel을 설치하시면 됩니다. 2g/2g 옵션은 본 기억이 있던거 같은데, 제가 쓰고 있는 RHEL4 에서는 찾을 수가 없네요 ^^;
hugemem 설치하시면 low mem 이 늘어난 것을 확인하실수 있을 겁니다.
아래 사이트를 참조하세요~
http://linux.derkeiler.com/Mailing-Lists/RedHat/2007-08/msg00061.html
반응형
'Linux' 카테고리의 다른 글
mysql 케릭터셋 (0) | 2010.11.02 |
---|---|
IPTABLE (0) | 2010.07.01 |
mysql 저장프로시저 (0) | 2010.04.19 |
mysql characterset (0) | 2010.04.19 |
vi 편집기 사용법 (0) | 2010.03.31 |