Gentoo Archives: gentoo-user

From: Hal Martin <hal.martin@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] RAM upgrade, kernel and swap
Date: Thu, 24 Jan 2008 03:36:07
Message-Id: 47980859.2050801@gmail.com
In Reply to: Re: [gentoo-user] RAM upgrade, kernel and swap by Michael Higgins
1 Ahh, but it won't last...
2
3 $ free
4 total used free shared
5 buffers cached
6 Mem: 2059824 2044512 15312 0 37636 50868
7 -/+ buffers/cache: 1956008 103816
8 Swap: 4289308 1229024 3060284
9
10 Now this I can live with...
11
12 $ free
13 total used free shared
14 buffers cached
15 Mem: 3629832 3499156 130676 0 56644 3070796
16 -/+ buffers/cache: 371716 3258116
17 Swap: 0 0 0
18
19 Unfortunately that machine is 32bit and thus only supports ~3.6GB of the
20 4GB of RAM. :-(
21
22 -Hal
23
24 Michael Higgins wrote:
25 > On Tue, 22 Jan 2008 00:44:53 +0100
26 > "Hemmann, Volker Armin" <volker.armin.hemmann@××××××××××××.de> wrote:
27 >
28 >
29 >> On Montag, 21. Januar 2008, Michael Higgins wrote:
30 >>
31 >>> So, I just got 2 GB of RAM in the mail. Whoo hoo.
32 >>>
33 >>> Before I pop these in, soliciting any thoughts about the following:
34 >>>
35 >>> zcat /proc/config.gz |grep MEM
36 >>> CONFIG_SHMEM=y
37 >>> # CONFIG_TINY_SHMEM is not set
38 >>> # CONFIG_NOHIGHMEM is not set
39 >>> CONFIG_HIGHMEM4G=y
40 >>> # CONFIG_HIGHMEM64G is not set
41 >>> CONFIG_HIGHMEM=y
42 >>> CONFIG_SELECT_MEMORY_MODEL=y
43 >>> CONFIG_FLATMEM_MANUAL=y
44 >>> # CONFIG_DISCONTIGMEM_MANUAL is not set
45 >>> # CONFIG_SPARSEMEM_MANUAL is not set
46 >>> CONFIG_FLATMEM=y
47 >>> CONFIG_FLAT_NODE_MEM_MAP=y
48 >>> # CONFIG_SPARSEMEM_STATIC is not set
49 >>> CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
50 >>> # CONFIG_BLK_DEV_UMEM is not set
51 >>> # CONFIG_INPUT_FF_MEMLESS is not set
52 >>> # CONFIG_DEBUG_HIGHMEM is not set
53 >>> CONFIG_HAS_IOMEM=y
54 >>>
55 >>>
56 >>> Name Flags Part Type FS Type [Label]
57 >>> Size (MB)
58 >>> ---------------------------------------------------------------------------
59 >>> --- hda1 Boot Primary Linux ext2
60 >>> 256.50 hda2 Primary Linux swap /
61 >>> Solaris 1024.46 hda3 Primary Linux
62 >>> ext3 21480.44 hda5 Logical
63 >>> Linux ReiserFS 28771.84 hda6
64 >>> Logical Linux ReiserFS 28493.15
65 >>>
66 >>> IOW, do I need to/should I recompile my kernel or change partition
67 >>> sizes?
68 >>>
69 >> if you don't plan to try suspend-to-disk.
70 >> No
71 >>
72 >> even if you plan to try suspend-to-disk it might work with a
73 >> swapfile. So still no.
74 >>
75 >
76 > Thanks for the feedback. I figured I'd be covered with the setup as it
77 > is, but you never know... unless you know. This thing never sleeps...
78 > so no worries there.
79 >
80 > Anyway, I just popped 'em in:
81 >
82 > $ free
83 > total used free shared buffers cached
84 > Mem: 2074548 166048 1908500 0 6812 77284
85 > -/+ buffers/cache: 81952 1992596
86 > Swap: 1000432 0 1000432
87 >
88 > [ Nice. I like that last line a lot. ]
89 >
90 > Cheers,
91 >
92 >
93
94 --
95 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] RAM upgrade, kernel and swap Ricardo Saffi Marques <saffi@××××××××××××××.br>