linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RAM installed vs reported
@ 2009-12-30 10:49 Thanasis
       [not found] ` <200912301208.54359.dirk.heinrichs@online.de>
  0 siblings, 1 reply; 13+ messages in thread
From: Thanasis @ 2009-12-30 10:49 UTC (permalink / raw)
  To: gentoo-user, LKML

I have a netbook (Acer Aspire One A110L) and installed a 1GB DDR2 in the
available slot, for a total of 1.5GB or RAM.
The BIOS reports it as 1.5GB and so does grml linux (booting from usb),
but the installed gentoo linux reports only 904600 kB:

# free
             total       used       free     shared    buffers     cached
Mem:        904600      82316     822284          0       9752      37712
-/+ buffers/cache:      34852     869748
Swap:      1638588          0    1638588

# cat /proc/meminfo
MemTotal:         904600 kB
MemFree:          822284 kB
Buffers:            9752 kB
Cached:            37712 kB
SwapCached:            0 kB
Active:            32232 kB
Inactive:          28780 kB
Active(anon):      13848 kB
Inactive(anon):        0 kB
Active(file):      18384 kB
Inactive(file):    28780 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:       1638588 kB
SwapFree:        1638588 kB
Dirty:                 4 kB
Writeback:             0 kB
AnonPages:         13548 kB
Mapped:            11256 kB
Shmem:               300 kB
Slab:              10356 kB
SReclaimable:       6132 kB
SUnreclaim:         4224 kB
KernelStack:        1424 kB
PageTables:          892 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     2090888 kB
Committed_AS:      73552 kB
VmallocTotal:     122880 kB
VmallocUsed:        9688 kB
VmallocChunk:     109832 kB
DirectMap4k:       11832 kB
DirectMap4M:      905216 kB

I suspect it has to do with my kernel (2.6.32-gentoo-r1) configuration,
but do not know where to look.
Any suggestions ?



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] RAM installed vs reported
       [not found] ` <200912301208.54359.dirk.heinrichs@online.de>
@ 2009-12-30 11:26   ` Thanasis
  2009-12-31 14:59     ` Krzysztof Halasa
  2009-12-30 13:00   ` [SOLVED] " Thanasis
  1 sibling, 1 reply; 13+ messages in thread
From: Thanasis @ 2009-12-30 11:26 UTC (permalink / raw)
  To: gentoo-user; +Cc: Dirk Heinrichs, LKML

on 12/30/2009 01:08 PM Dirk Heinrichs wrote the following:
> Am Mittwoch 30 Dezember 2009 11:49:39 schrieb Thanasis:
>> I have a netbook (Acer Aspire One A110L) and installed a 1GB DDR2 in the
>> available slot, for a total of 1.5GB or RAM.
>> The BIOS reports it as 1.5GB and so does grml linux (booting from usb),
>> but the installed gentoo linux reports only 904600 kB:
>
> With more than 1G of memory, you should set CONFIG_HIGHMEM4G=y.
> HTH...
> 	Dirk
I thought CONFIG_HIGHMEM4G had to do with more than 4GB of RAM.
Now I can see that the associated help says it is for an amount between
1 and 4GB.
That should be it. The option name confused me.
I will try it and report back.
Thanks :-)

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [SOLVED] RAM installed vs reported
       [not found] ` <200912301208.54359.dirk.heinrichs@online.de>
  2009-12-30 11:26   ` [gentoo-user] " Thanasis
@ 2009-12-30 13:00   ` Thanasis
  2009-12-31  2:56     ` Bill Davidsen
  1 sibling, 1 reply; 13+ messages in thread
From: Thanasis @ 2009-12-30 13:00 UTC (permalink / raw)
  To: gentoo-user; +Cc: LKML

on 12/30/2009 01:08 PM Dirk Heinrichs wrote the following:
> Am Mittwoch 30 Dezember 2009 11:49:39 schrieb Thanasis:
>
>> I have a netbook (Acer Aspire One A110L) and installed a 1GB DDR2 in the
>> available slot, for a total of 1.5GB or RAM.
>> The BIOS reports it as 1.5GB and so does grml linux (booting from usb),
>> but the installed gentoo linux reports only 904600 kB:
>
> With more than 1G of memory, you should set CONFIG_HIGHMEM4G=y.
>
> HTH...
>
> 	Dirk
That did it !
Thanks again.
:-)

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [SOLVED] RAM installed vs reported
  2009-12-30 13:00   ` [SOLVED] " Thanasis
@ 2009-12-31  2:56     ` Bill Davidsen
  0 siblings, 0 replies; 13+ messages in thread
From: Bill Davidsen @ 2009-12-31  2:56 UTC (permalink / raw)
  To: Thanasis; +Cc: gentoo-user, LKML

Thanasis wrote:
> on 12/30/2009 01:08 PM Dirk Heinrichs wrote the following:
>> Am Mittwoch 30 Dezember 2009 11:49:39 schrieb Thanasis:
>>
>>> I have a netbook (Acer Aspire One A110L) and installed a 1GB DDR2 in the
>>> available slot, for a total of 1.5GB or RAM.
>>> The BIOS reports it as 1.5GB and so does grml linux (booting from usb),
>>> but the installed gentoo linux reports only 904600 kB:
>> With more than 1G of memory, you should set CONFIG_HIGHMEM4G=y.
>>
Another benefit with PAE is that you get the benefit of the nx bit being 
available to eliminate several classes to deliberate and unintentional misbehavior.

-- 
Bill Davidsen <davidsen@tmr.com>
   "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] RAM installed vs reported
  2009-12-30 11:26   ` [gentoo-user] " Thanasis
@ 2009-12-31 14:59     ` Krzysztof Halasa
  2009-12-31 18:41       ` Thanasis
  0 siblings, 1 reply; 13+ messages in thread
From: Krzysztof Halasa @ 2009-12-31 14:59 UTC (permalink / raw)
  To: Thanasis; +Cc: gentoo-user, Dirk Heinrichs, LKML

Thanasis <thanasis@asyr.hopto.org> writes:

> I thought CONFIG_HIGHMEM4G had to do with more than 4GB of RAM.
> Now I can see that the associated help says it is for an amount between
> 1 and 4GB.

Depends on the "split" used. With 2 GB : 2 GB you can have all-lowmem
1.5 GB RAM, without CONFIG_HIGHMEM*. 2 GB of per-process address space
is usually not a problem.

x86-64 removes such limits.
-- 
Krzysztof Halasa

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] RAM installed vs reported
  2009-12-31 14:59     ` Krzysztof Halasa
@ 2009-12-31 18:41       ` Thanasis
  2010-01-01 13:38         ` Krzysztof Halasa
  0 siblings, 1 reply; 13+ messages in thread
From: Thanasis @ 2009-12-31 18:41 UTC (permalink / raw)
  To: Krzysztof Halasa; +Cc: gentoo-user, Dirk Heinrichs, LKML

on 12/31/2009 04:59 PM Krzysztof Halasa wrote the following:
> Thanasis <thanasis@asyr.hopto.org> writes:
>
>> I thought CONFIG_HIGHMEM4G had to do with more than 4GB of RAM.
>> Now I can see that the associated help says it is for an amount between
>> 1 and 4GB.
>
> Depends on the "split" used. With 2 GB : 2 GB you can have all-lowmem
> 1.5 GB RAM, without CONFIG_HIGHMEM*. 2 GB of per-process address space
> is usually not a problem.
How do you implement that? What do you mean 2GB:2GB split ?

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] RAM installed vs reported
  2009-12-31 18:41       ` Thanasis
@ 2010-01-01 13:38         ` Krzysztof Halasa
  2010-01-03 10:09           ` Thanasis
  0 siblings, 1 reply; 13+ messages in thread
From: Krzysztof Halasa @ 2010-01-01 13:38 UTC (permalink / raw)
  To: Thanasis; +Cc: gentoo-user, Dirk Heinrichs, LKML

Thanasis <thanasis@asyr.hopto.org> writes:

>> Depends on the "split" used. With 2 GB : 2 GB you can have all-lowmem
>> 1.5 GB RAM, without CONFIG_HIGHMEM*. 2 GB of per-process address space
>> is usually not a problem.
> How do you implement that? What do you mean 2GB:2GB split ?

See "make menuconfig", Processor type and features -> Memory split. You
need to select "EMBEDDED" and "EXPERIMENTAL" first. What you need for
1.5 GB RAM is VMSPLIT_2G.

The idea is that the CPU address space is divided: ca. 2 GB (in this
configuration) for user space (for each process - instead of 3 GB),
2 GB - 128 MB (or something like that, I don't remember exactly) for
physical RAM, and the last 128 MB or so for PCI devices and other
things.
-- 
Krzysztof Halasa

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] RAM installed vs reported
  2010-01-01 13:38         ` Krzysztof Halasa
@ 2010-01-03 10:09           ` Thanasis
  2010-01-03 23:10             ` Krzysztof Halasa
  0 siblings, 1 reply; 13+ messages in thread
From: Thanasis @ 2010-01-03 10:09 UTC (permalink / raw)
  To: Krzysztof Halasa; +Cc: gentoo-user, Dirk Heinrichs, LKML

on 01/01/2010 03:38 PM Krzysztof Halasa wrote the following:
> Thanasis <thanasis@asyr.hopto.org> writes:
>
>   
>>> Depends on the "split" used. With 2 GB : 2 GB you can have all-lowmem
>>> 1.5 GB RAM, without CONFIG_HIGHMEM*. 2 GB of per-process address space
>>> is usually not a problem.
>>>       
>> How do you implement that? What do you mean 2GB:2GB split ?
>>     
> See "make menuconfig", Processor type and features -> Memory split. You
> need to select "EMBEDDED" and "EXPERIMENTAL" first. What you need for
> 1.5 GB RAM is VMSPLIT_2G.
>
> The idea is that the CPU address space is divided: ca. 2 GB (in this
> configuration) for user space (for each process - instead of 3 GB),
> 2 GB - 128 MB (or something like that, I don't remember exactly) for
> physical RAM, and the last 128 MB or so for PCI devices and other
> things.
>   
Hmm..., but are EMBEDDED options suitable for a netbook like the A110L ?

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] RAM installed vs reported
  2010-01-03 10:09           ` Thanasis
@ 2010-01-03 23:10             ` Krzysztof Halasa
  2010-01-04  0:39               ` Thanasis
  0 siblings, 1 reply; 13+ messages in thread
From: Krzysztof Halasa @ 2010-01-03 23:10 UTC (permalink / raw)
  To: Thanasis; +Cc: gentoo-user, Dirk Heinrichs, LKML

Thanasis <thanasis@asyr.hopto.org> writes:

> Hmm..., but are EMBEDDED options suitable for a netbook like the A110L ?

This "EMBEDDED" just means "don't touch these unless you really know
what you're doing".

BTW I remember using VMSPLIT 2 GB : 2 GB on server-class machines,
before they were upgraded to x86-64.
-- 
Krzysztof Halasa

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] RAM installed vs reported
  2010-01-03 23:10             ` Krzysztof Halasa
@ 2010-01-04  0:39               ` Thanasis
  2010-01-04  1:17                 ` Krzysztof Halasa
       [not found]                 ` <c30988c31001040651l8351224l4eb1f1a54610653e@mail.gmail.com>
  0 siblings, 2 replies; 13+ messages in thread
From: Thanasis @ 2010-01-04  0:39 UTC (permalink / raw)
  To: Krzysztof Halasa; +Cc: gentoo-user, Dirk Heinrichs, LKML

on 01/04/2010 01:10 AM Krzysztof Halasa wrote the following:
> Thanasis <thanasis@asyr.hopto.org> writes:
>
>   
>> Hmm..., but are EMBEDDED options suitable for a netbook like the A110L ?
>>     
> This "EMBEDDED" just means "don't touch these unless you really know
> what you're doing".
>
> BTW I remember using VMSPLIT 2 GB : 2 GB on server-class machines,
> before they were upgraded to x86-64.
>   
Do you mean that I should try it? Is there any gain over using
CONFIG_HIGHMEM4G ?

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] RAM installed vs reported
  2010-01-04  0:39               ` Thanasis
@ 2010-01-04  1:17                 ` Krzysztof Halasa
       [not found]                 ` <c30988c31001040651l8351224l4eb1f1a54610653e@mail.gmail.com>
  1 sibling, 0 replies; 13+ messages in thread
From: Krzysztof Halasa @ 2010-01-04  1:17 UTC (permalink / raw)
  To: Thanasis; +Cc: gentoo-user, Dirk Heinrichs, LKML

Thanasis <thanasis@asyr.hopto.org> writes:

> Do you mean that I should try it? Is there any gain over using
> CONFIG_HIGHMEM4G ?

You may want to try, HIGHMEM4G is (may be) slower, depending on load.
Google should find something about that.
-- 
Krzysztof Halasa

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] RAM installed vs reported
       [not found]                   ` <4B422A86.3070805@asyr.hopto.org>
@ 2010-01-04 20:01                     ` Thanasis
  2010-01-04 23:53                       ` Krzysztof Halasa
  0 siblings, 1 reply; 13+ messages in thread
From: Thanasis @ 2010-01-04 20:01 UTC (permalink / raw)
  To: gentoo-user; +Cc: Joshua Murphy, LKML

on 01/04/2010 07:51 PM Thanasis wrote the following:
> on 01/04/2010 04:51 PM Joshua Murphy wrote the following:
>> 2010/1/3 Thanasis <thanasis@asyr.hopto.org>:
>>   
>>> on 01/04/2010 01:10 AM Krzysztof Halasa wrote the following:
>>>     
>>>> Thanasis <thanasis@asyr.hopto.org> writes:
>>>>
>>>>       
>>>>> Hmm..., but are EMBEDDED options suitable for a netbook like the A110L ?
>>>>>
>>>> This "EMBEDDED" just means "don't touch these unless you really know
>>>> what you're doing".
>>>>
>>>> BTW I remember using VMSPLIT 2 GB : 2 GB on server-class machines,
>>>> before they were upgraded to x86-64.
>>>>
>>>>       
>>> Do you mean that I should try it? Is there any gain over using
>>> CONFIG_HIGHMEM4G ?
>>>     
>> Likely nothing noticeable, but here's a bit of a good coverage of the topic:
>>
>> http://kerneltrap.org/node/6067
>>
> Thanks, I think I'll give it a try. :-)
I tried option: 2G/2G user/kernel split (for full 2G low memory), but X
would not start. So i reverted back to CONFIG_HIGHMEM4G.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] RAM installed vs reported
  2010-01-04 20:01                     ` Thanasis
@ 2010-01-04 23:53                       ` Krzysztof Halasa
  0 siblings, 0 replies; 13+ messages in thread
From: Krzysztof Halasa @ 2010-01-04 23:53 UTC (permalink / raw)
  To: Thanasis; +Cc: gentoo-user, Joshua Murphy, LKML

Thanasis <thanasis@asyr.hopto.org> writes:

> I tried option: 2G/2G user/kernel split (for full 2G low memory), but X
> would not start. So i reverted back to CONFIG_HIGHMEM4G.

Binary proprietary module maybe?
-- 
Krzysztof Halasa

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2010-01-04 23:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-30 10:49 RAM installed vs reported Thanasis
     [not found] ` <200912301208.54359.dirk.heinrichs@online.de>
2009-12-30 11:26   ` [gentoo-user] " Thanasis
2009-12-31 14:59     ` Krzysztof Halasa
2009-12-31 18:41       ` Thanasis
2010-01-01 13:38         ` Krzysztof Halasa
2010-01-03 10:09           ` Thanasis
2010-01-03 23:10             ` Krzysztof Halasa
2010-01-04  0:39               ` Thanasis
2010-01-04  1:17                 ` Krzysztof Halasa
     [not found]                 ` <c30988c31001040651l8351224l4eb1f1a54610653e@mail.gmail.com>
     [not found]                   ` <4B422A86.3070805@asyr.hopto.org>
2010-01-04 20:01                     ` Thanasis
2010-01-04 23:53                       ` Krzysztof Halasa
2009-12-30 13:00   ` [SOLVED] " Thanasis
2009-12-31  2:56     ` Bill Davidsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).