Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #241327 > unrolled thread

why pae kernel has only 3G memory

Started bylou <loushanguan2015@sina.com>
First post2021-10-15 10:30 +0200
Last post2021-10-17 11:00 +0200
Articles 11 — 8 participants

Back to article view | Back to linux.debian.user


Contents

  why pae kernel has only 3G memory lou <loushanguan2015@sina.com> - 2021-10-15 10:30 +0200
    Re: why pae kernel has only 3G memory Andy Smith <andy@strugglers.net> - 2021-10-15 11:00 +0200
      Re: why pae kernel has only 3G memory lou <loushanguan2015@sina.com> - 2021-10-15 11:30 +0200
        Re: why pae kernel has only 3G memory piorunz <piorunz@gmx.com> - 2021-10-15 12:00 +0200
      Re: why pae kernel has only 3G memory Teemu Likonen <tlikonen@iki.fi> - 2021-10-15 11:50 +0200
        Re: why pae kernel has only 3G memory lou <loushanguan2015@sina.com> - 2021-10-15 13:50 +0200
          Re: why pae kernel has only 3G memory David Wright <deblis@lionunicorn.co.uk> - 2021-10-15 17:10 +0200
            Re: why pae kernel has only 3G memory "Andrew M.A. Cater" <amacater@einval.com> - 2021-10-16 15:10 +0200
              Re: why pae kernel has only 3G memory Stefan Monnier <monnier@iro.umontreal.ca> - 2021-10-16 16:40 +0200
                Re: why pae kernel has only 3G memory lou <loushanguan2015@sina.com> - 2021-10-17 01:00 +0200
                  Re: why pae kernel has only 3G memory deloptes <emanoil.kotsev@deloptes.org> - 2021-10-17 11:00 +0200

#241327 — why pae kernel has only 3G memory

Fromlou <loushanguan2015@sina.com>
Date2021-10-15 10:30 +0200
Subjectwhy pae kernel has only 3G memory
Message-ID<D8qLf-7ig-7@gated-at.bofh.it>
i have stretch, it use 3G memory, 1G memory can't be used

top: KiB Mem :  3038696 total,  2221904 free,   400628 used, 416164 
buff/cache
uname: Linux debian 4.9.0-13-686-pae #1 SMP Debian 4.9.228-1 
(2020-07-05) i686 GNU/Linux

i think pae kernel can use 4G memory

do i have to upgrade to buster or bullseye?

[toc] | [next] | [standalone]


#241330

FromAndy Smith <andy@strugglers.net>
Date2021-10-15 11:00 +0200
Message-ID<D8reh-7uC-3@gated-at.bofh.it>
In reply to#241327
Hello,

On Fri, Oct 15, 2021 at 04:27:10AM -0400, lou wrote:
> i have stretch, it use 3G memory, 1G memory can't be used

[…]

> i think pae kernel can use 4G memory

It can be a restriction of your motherboard. Has it ever seen more
than 3G in any operating system?

If your CPU capable of running 64-bit then you could just install an
amd64 kernel. What does

    cat /proc/cpuinfo

say?

> do i have to upgrade to buster or bullseye?

This is unlikely to fix things unless it's a known bug.

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting

[toc] | [prev] | [next] | [standalone]


#241331

Fromlou <loushanguan2015@sina.com>
Date2021-10-15 11:30 +0200
Message-ID<D8rHj-7UB-1@gated-at.bofh.it>
In reply to#241330

[Multipart message — attachments visible in raw view] — view raw

On 10/15/21 4:57 AM, Andy Smith wrote:
> Hello,
>
> This is unlikely to fix things unless it's a known bug.
>
> Cheers,
> Andy
>

Thanks!

you are right, i've just tried bullseye, result is same

in memtest86+, 2x2G memory are detected though 3G are tested

my PC is 32bit, it can use only kernel for i386

  cat /proc/cpuinfo:
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 28
model name	: Intel(R) Atom(TM) CPU N280   @ 1.66GHz
stepping	: 2
microcode	: 0x218
cpu MHz		: 1000.000
cache size	: 512 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 1
apicid		: 0
initial apicid	: 0
fdiv_bug	: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 xtpr pdcm movbe lahf_lm dtherm
bugs		:
bogomips	: 3324.98
clflush size	: 64
cache_alignment	: 64
address sizes	: 32 bits physical, 32 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 28
model name	: Intel(R) Atom(TM) CPU N280   @ 1.66GHz
stepping	: 2
microcode	: 0x218
cpu MHz		: 1000.000
cache size	: 512 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 1
apicid		: 1
initial apicid	: 1
fdiv_bug	: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 xtpr pdcm movbe lahf_lm dtherm
bugs		:
bogomips	: 3324.98
clflush size	: 64
cache_alignment	: 64
address sizes	: 32 bits physical, 32 bits virtual
power management:

[toc] | [prev] | [next] | [standalone]


#241333

Frompiorunz <piorunz@gmx.com>
Date2021-10-15 12:00 +0200
Message-ID<D8sam-83U-9@gated-at.bofh.it>
In reply to#241331
On 15/10/2021 10:21, lou wrote:

> you are right, i've just tried bullseye, result is same
>
> in memtest86+, 2x2G memory are detected though 3G are tested
>
> my PC is 32bit, it can use only kernel for i386

> address sizes	: 32 bits physical, 32 bits virtual
> power management:

Correct me if I am wrong, but how I understand it is this:

Your computer can address 32 bits of memory,
2^32 bits = 4096MB, that's all you can install. PAE will not help.
Doesn't matter if CPU can run 64bit, your memory support is only up to
32bit. Some old computers have 36 or more bits for memory, that allows
them to utilize PAE in 32bit system.

Also, some of your memory is reserved by BIOS for internal use, and as
GPU extra memory. That's why any OS installed or run on this machine
only sees 2.9GB out of 4GB. 1129MB allocated and taken by BIOS.

On my modern PC I write from, I have 64bit CPU, 64bit system and 48bit
memory address space. I have 64GB installed (65536MB).
Only 64292MB visible in Debian. 1244MB taken by UEFI, which is very
similar to your result.

--
With kindest regards, Piotr.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀

[toc] | [prev] | [next] | [standalone]


#241332

FromTeemu Likonen <tlikonen@iki.fi>
Date2021-10-15 11:50 +0200
Message-ID<D8s0G-80J-7@gated-at.bofh.it>
In reply to#241330

[Multipart message — attachments visible in raw view] — view raw

* 2021-10-15 08:57:02+0000, Andy Smith wrote:

> If your CPU capable of running 64-bit then you could just install an
> amd64 kernel. What does
>
>     cat /proc/cpuinfo
>
> say?

I suggest using command "lscpu". It gives clearer answer:

    $ lscpu |head -n2
    Architecture:                    x86_64
    CPU op-mode(s):                  32-bit, 64-bit

-- 
/// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/
// OpenPGP: 4E1055DC84E9DFF613D78557719D69D324539450

[toc] | [prev] | [next] | [standalone]


#241336

Fromlou <loushanguan2015@sina.com>
Date2021-10-15 13:50 +0200
Message-ID<D8tSN-Lh-1@gated-at.bofh.it>
In reply to#241332

[Multipart message — attachments visible in raw view] — view raw

Thank Likonen and piorunz!

https://support.hp.com/us-en/product/hp-t5740e-thin-client/4282707/manuals

from hp's QuickSpecs: Note: Minimum of 1GB and a maximum of 4GB* (2 X 
2GB) can be supported (*Up to 1 GB may not be available with 32-bit 
operating systems due to system resource requirements.)

bios reports 4032M memory, missing 64M might be used by graphics card

it seems to me that hp says that problem of missing memory is with 
32-bit OS, not with hp



[toc] | [prev] | [next] | [standalone]


#241347

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2021-10-15 17:10 +0200
Message-ID<D8x0l-2ML-9@gated-at.bofh.it>
In reply to#241336
On Fri 15 Oct 2021 at 07:48:06 (-0400), lou wrote:

> https://support.hp.com/us-en/product/hp-t5740e-thin-client/4282707/manuals
> 
> from hp's QuickSpecs: Note: Minimum of 1GB and a maximum of 4GB* (2 X
> 2GB) can be supported (*Up to 1 GB may not be available with 32-bit
> operating systems due to system resource requirements.)
> 
> bios reports 4032M memory, missing 64M might be used by graphics card

It's not mi-ght but mi-nimum in my download.

> it seems to me that hp says that problem of missing memory is with
> 32-bit OS, not with hp

This problem is well known, and of fading interest to most. Start at:

https://en.wikipedia.org/wiki/3_GB_barrier

If your OP arises out of curiosity, I think that should deal with it.
If you're inconvenienced over it, then it's probably time to retire
or repurpose the hardware. In any case, it looks overdue for a
software upgrade to at least buster, unless something specific is
holding you back.

Cheers,
David.

[toc] | [prev] | [next] | [standalone]


#241380

From"Andrew M.A. Cater" <amacater@einval.com>
Date2021-10-16 15:10 +0200
Message-ID<D8RBM-86u-13@gated-at.bofh.it>
In reply to#241347
On Fri, Oct 15, 2021 at 10:05:13AM -0500, David Wright wrote:
> On Fri 15 Oct 2021 at 07:48:06 (-0400), lou wrote:
> 
> > https://support.hp.com/us-en/product/hp-t5740e-thin-client/4282707/manuals
> > 
> > from hp's QuickSpecs: Note: Minimum of 1GB and a maximum of 4GB* (2 X
> > 2GB) can be supported (*Up to 1 GB may not be available with 32-bit
> > operating systems due to system resource requirements.)
> > 
> > bios reports 4032M memory, missing 64M might be used by graphics card
> 
> It's not mi-ght but mi-nimum in my download.
> 
> > it seems to me that hp says that problem of missing memory is with
> > 32-bit OS, not with hp
> 
> This problem is well known, and of fading interest to most. Start at:
> 
> https://en.wikipedia.org/wiki/3_GB_barrier
> 
> If your OP arises out of curiosity, I think that should deal with it.
> If you're inconvenienced over it, then it's probably time to retire
> or repurpose the hardware. In any case, it looks overdue for a
> software upgrade to at least buster, unless something specific is
> holding you back.
> 
> Cheers,
> David.
> 

Upgrade to Buster (following the release notes and hints given in this group)
 then to Bullseye. Any particular reason why you must use pae rather than 
the standard 32 bit kernel?

Checking, it looks as if the N280 is 32 bit only.

It's a nice, small thin client drawing low power but don't expect 
superb performance at this class of hardware.

All the very best, as ever,

Andy Cater

[toc] | [prev] | [next] | [standalone]


#241384

FromStefan Monnier <monnier@iro.umontreal.ca>
Date2021-10-16 16:40 +0200
Message-ID<D8T0R-pG-1@gated-at.bofh.it>
In reply to#241380
> Any particular reason why you must use pae rather than 
> the standard 32 bit kernel?

Hmm... isn't "the standard 32 bit kernel" `linux-image-686-pae` ?

At least the `linux-image-686` package seems to describe itself as for use
only on those machines where `linux-image-686-pae` doesn't work.


        Stefan

[toc] | [prev] | [next] | [standalone]


#241394

Fromlou <loushanguan2015@sina.com>
Date2021-10-17 01:00 +0200
Message-ID<D90OJ-5ud-1@gated-at.bofh.it>
In reply to#241384
On 10/16/21 10:32 AM, Stefan Monnier wrote:
>> Any particular reason why you must use pae rather than
>> the standard 32 bit kernel?
> Hmm... isn't "the standard 32 bit kernel" `linux-image-686-pae` ?
>
> At least the `linux-image-686` package seems to describe itself as for use
> only on those machines where `linux-image-686-pae` doesn't work.
>
>
>          Stefan
>
>
Thanks, i've just installed linux-image-686, result is same

[toc] | [prev] | [next] | [standalone]


#241397

Fromdeloptes <emanoil.kotsev@deloptes.org>
Date2021-10-17 11:00 +0200
Message-ID<D9abn-2Va-1@gated-at.bofh.it>
In reply to#241394
lou wrote:

> Thanks, i've just installed linux-image-686, result is same

you understand that in most cases if you use a 32bit OS with 4GB of memory
you may not utilize 1GB, because the overhead of utilizing this memory
consumes much of this memory with the registers to overcome the 3GB
barrier.
So IMO you have two options:
        1. leave it as it is
        2. sell 1GB on ebay

-- 
FCD6 3719 0FFB F1BF 38EA 4727 5348 5F1F DCFE BCB0

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web