PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 26, 2012, 01:03:00 PM


Login with username, password and session length


Pages: [1] 2   Go Down
  Print  
Author Topic: Memory Puzzle  (Read 1014 times)
Was_Just19
Hero Member
*****
Offline Offline

Posts: 6885


MLU


« on: May 05, 2010, 11:21:14 AM »

I finally moved my main PC to 2010, having tested various things on another PC for the past while.

This PC has a 3.2Ghz P4 with Hyperthreading and 4GB memory.

I am using
Code:
uname -r
2.6.32.11-pclos2.pae

and Top reports

Code:
Mem:   3575656k total,  1511456k used,  2064200k free,    44908k buffers

Hardinfo reports

Code:
Total Memory    3575656 kB

I don't think the total memory shown is appreciably larger than what was available when using a standard kernel.
Should I have even expected it would?

.

Logged
Was_Just19
Hero Member
*****
Offline Offline

Posts: 6885


MLU


« Reply #1 on: May 05, 2010, 11:41:41 AM »

I rebooted the machine into the original kernel and here are the results ........

Code:
uname -r
2.6.32.11-pclos2

Code:
top
Mem:   3633084k total,   929528k used,  2703556k free,    38004k buffers

Code:
Hwinfo
Total Memory  3633084 kB


So I am either misreading the whole idea of Total Memory or I have less Total Memory showing when using the pae kernel than the non-pae kernel.

I do understand that there will be some extra overhead when using the pae kernel, but I am addressing total memory in this case, not available memory.

Any comments?
Logged
old_guy
Hero Member
*****
Offline Offline

Posts: 686



« Reply #2 on: May 06, 2010, 10:57:52 PM »

What I get:
2.6.32.11-pclos2
[earl@localhost ~]$ free
             total       used       free     shared    buffers     cached
Mem:       2854000     442772    2411228          0      20036     196432

Top
Mem:   2854000k total

* * * * * *

2.6.33.2-pclos1.pae
[earl@localhost ~]$ free
             total       used       free     shared    buffers     cached
Mem:       3839152     512860    3326292          0      21064     269380

Top
Mem:   3839152k total
Logged

Never too old to learn.
critter
Full Member
***
Offline Offline

Posts: 217



« Reply #3 on: May 07, 2010, 01:45:23 AM »

Here's mine
Code:
uname -r
2.6.33.2-pclos1.pae

Code:
top
Mem:   4104496k total,   845184k used,  3259312k free,    31836k buffers

Code:
free
             total       used       free     shared    buffers     cached                                     
Mem:       4104496     845580    3258916          0      31928     501884                                     
-/+ buffers/cache:     311768    3792728                                   

hardinfo gives the same total

an earlier pae kernel gave the same results

bfs reports 3373272kb from all commands

have you run a memory test?
Logged

Motherboard   Gigabyte Z68X-UD3H-B3
Hard Drives      2 x Maxtor STM350032 500GB SATA
Memory      16GB RAM
Processor      Intel core i5 3.30GHz
Video         nVidia GeForce GT430
Sound      HDA Intel PCH
PCLinuxOS          KDE
Was_Just19
Hero Member
*****
Offline Offline

Posts: 6885


MLU


« Reply #4 on: May 07, 2010, 03:05:32 AM »

Quote
have you run a memory test?

No, but it sure looks like I should ........ could it be a BIOS limitation I wonder?

Thanks for the replies guys ......  it seems 'something' is not quite right here ......
Logged
Was_Just19
Hero Member
*****
Offline Offline

Posts: 6885


MLU


« Reply #5 on: May 07, 2010, 04:14:35 AM »

I am getting closer to the problem I think ........ 

PCC - Hardware under Memory just lists
Code:
Cache (not specified)

That is the CPU cache and not the RAM!
It appears the RAM is not listed at all!

I ran the PartMagick live CD and checked the memory it recognised ---  4GB RAM

Back to PCLOS and ran lshw to find that the CPU info has this info --

Code:
4GB+ memory addressing (Physical Address Extension),

and the memory shows

Quote
slot: System board or motherboard
size: 4GiB

with each memory slot showing

Code:
slot: DIMM_1
size: 1GiB
width: 64 bits
clock: 667MHz (1ns)

Code:
uname -r
2.6.32.11-pclos2.pae


hwinfo ........ System Information ........  only shows

Code:
Total Memory as  3,575,656 kB

htop shows

Code:
412/3491MB

Just to be sure I will need to run a memtest I guess .....  when I figure out how best to do it on this install   Cheesy .....  a reboot and test it seems.

Will add anything of interest I find   ......

Logged
menotu
PCLinuxOS Tester
Super Villain
*******
Offline Offline

Posts: 11984

┌∩┐(◕_◕)┌∩┐


« Reply #6 on: May 07, 2010, 04:35:02 AM »

If memory serves me right, some P4 chipsets reserve some memory for hardware devices, thus when you check how much you have in your system it doesn't show the "true" amount.

I think the last Prescott F Core chip (and chipset) was the only one that allowed memory remapping above 4GB for use in 64bit OS's. (Upto 8GB?)

But as I say, this is from "my" memory, which probably needs a good defrag!   Grin

Edit: I use the .pae kernel and my system see's 3969504, whereas the other kernels only see a little over 3GB
Logged

If you can keep you head while all around you are losing theirs, then you have misunderstood the situation.

PCLinuxOS 32bit & 64bit; 3.2.17bfs kernel, KDE 4.8.3; nvidia 295.53, Athlon 64 X2 4200+; 4GB Ram; NVidia GeForce 8400GS 1GB; x.org 1.10.4 ; 500GB/320GB
Was_Just19
Hero Member
*****
Offline Offline

Posts: 6885


MLU


« Reply #7 on: May 07, 2010, 05:12:29 AM »

menotu, I expected similar results to what you report, which is why I am somewhat puzzled.

I did a memtest and all is well.

I checked the BIOS and it has a setting to limit the OS memory available to 256MB or all of system memory to the OS.

I limited it to 256MB to see what effect it would have on this 2010 KDE install   Grin   yeah I know, but I could not reject the opportunity to see  Cheesy

I am posting this from KDE running in 256MBs

Code:
Mem:    248300k total,   233004k used,    15296k free,     4772k buffers
Swap:  7622792k total,   212488k used,  7410304k free,    55120k cached

well maybe 'running' is a bit optimistic, but it is functioning and for such as launching the browser it is not too bad at all.

The CPU in this is a P4 3.2 Ghz with Hyperhtreading and 64bit extensions and would appear to indicate it is capable of managing 4GB and more of memory.

There is no mention of reserving memory, in the BIOS, other than limiting the OS to 256MBs.
With that option off all the memory is supposed to be available to the OS ...  according to what I read in the BIOS.

I will have another run-through the BIOS when I reboot ans reset the memory settings.

thanks.   Wink
Logged
critter
Full Member
***
Offline Offline

Posts: 217



« Reply #8 on: May 07, 2010, 06:07:09 AM »

Does the motherboard have an on-board graphics card that is stealing some of the ram?

Just a stab in the dark!
Logged

Motherboard   Gigabyte Z68X-UD3H-B3
Hard Drives      2 x Maxtor STM350032 500GB SATA
Memory      16GB RAM
Processor      Intel core i5 3.30GHz
Video         nVidia GeForce GT430
Sound      HDA Intel PCH
PCLinuxOS          KDE
Was_Just19
Hero Member
*****
Offline Offline

Posts: 6885


MLU


« Reply #9 on: May 07, 2010, 06:22:59 AM »

Does the motherboard have an on-board graphics card that is stealing some of the ram?

Just a stab in the dark!

Nope   

Thanks for thinking of it.  Wink
Logged
Was_Just19
Hero Member
*****
Offline Offline

Posts: 6885


MLU


« Reply #10 on: May 08, 2010, 08:53:19 AM »

I am still trying to find out what is wrong here .......

I should mention a similar thread
http://www.pclinuxos.com/forum/index.php/topic,71234.0.html
which unfortunately is locked so I have no idea what the outcome there was.

A couple of things are the same though

both machines are Dell PCs
the only memory reported is the CPU cache
in my case the pae kernel makes no difference to the situation.

I just installed the kio-sysinfo package to see what it might make of things .......

Code:
Memory Information
Total memory (RAM):  3.4 GB
  Free memory:  2.0 GB (+ 850.4 MB Caches)
  Free swap:  7.3 GB

Code:
OS:  Linux 2.6.32.11-pclos2.pae i686


[BTW .... it seems to have a problem with my network connection too]
Code:
Network Status
Unknown network status



So PCLOS consistently tells me I have less than 4GB of RAM, although the BIOS confirms it is 4GB, as do other utilities such as the PartMagick liveCD.

*******

The only thing I can guess from the info above is that the particular memory controller on the motherboard is not being recognised at all, which would explain why the RAM is not being reported by the OS.

If the OS is not correctly aware of the RAM then I guess what kernel I use is not going to make much difference .....  pae or not.

All suggestions welcome ......


regards.
Logged
critter
Full Member
***
Offline Offline

Posts: 217



« Reply #11 on: May 08, 2010, 11:19:24 AM »

Still a puzzle but have you tried
Code:
cat /proc/meminfo
  Huh

That will report anything that the OS can see. If you are still short of 4GB then I would suspect that the BIOS/ Motherboard is cheating on you.

Logged

Motherboard   Gigabyte Z68X-UD3H-B3
Hard Drives      2 x Maxtor STM350032 500GB SATA
Memory      16GB RAM
Processor      Intel core i5 3.30GHz
Video         nVidia GeForce GT430
Sound      HDA Intel PCH
PCLinuxOS          KDE
Was_Just19
Hero Member
*****
Offline Offline

Posts: 6885


MLU


« Reply #12 on: May 08, 2010, 11:35:12 AM »

Still a puzzle but have you tried
Code:
cat /proc/meminfo
  Huh

That will report anything that the OS can see. If you are still short of 4GB then I would suspect that the BIOS/ Motherboard is cheating on you.



As mentioned above I am told I have 3.4GB RAM, whereas in reality I have 4GB installed, which is recognised by the BIOS and is noted by other means.

PCC - Hardware does not display any RAM at all.
Logged
critter
Full Member
***
Offline Offline

Posts: 217



« Reply #13 on: May 08, 2010, 12:05:18 PM »

PCC hardware aka harddrake takes its info from the /proc system
If PCC reports no ram then perhaps the MB is lying and the OS will never see the correct hardware.
On the bright side
PCLOs needs far less than 4GB - No consolation I know but  Roll Eyes
Logged

Motherboard   Gigabyte Z68X-UD3H-B3
Hard Drives      2 x Maxtor STM350032 500GB SATA
Memory      16GB RAM
Processor      Intel core i5 3.30GHz
Video         nVidia GeForce GT430
Sound      HDA Intel PCH
PCLinuxOS          KDE
Was_Just19
Hero Member
*****
Offline Offline

Posts: 6885


MLU


« Reply #14 on: May 08, 2010, 12:32:47 PM »

PCC hardware aka harddrake takes its info from the /proc system
If PCC reports no ram then perhaps the MB is lying and the OS will never see the correct hardware.
On the bright side
PCLOs needs far less than 4GB - No consolation I know but  Roll Eyes

If the motherboard was lying then how could  lshw  report 4GB, with 1GB in each of four slots?
PartedMagick (or whatever its called) also reports 4GB fitted.

This is more of an annoyance than any great hindrence to getting work completed.

I had intended to use the pae kernel but it seems I am better off using the bfs one.   Sad
Logged
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM