It is currently Fri Nov 28, 2014 10:13 am



Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!


Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: AntiX recognises less ram than PCLinuxOS
PostPosted: Fri Dec 02, 2011 6:53 pm 
Offline
User avatar

Joined: Mon Nov 28, 2011 2:42 pm
Posts: 20
Interesting Problem.

I saw that with the live cd as well but didn't give it too much thought. On PCLinuxOS 1263mb ram are recognised, in AntiX however only 883mb seem to be seen and used.

How did that happen and how could I convince AntiX to use the rest as well. Any ideas welcome.
Code:
System:    Host longtom Kernel 2.6.36-1-mepis i686 (32 bit) Distro antiX-M11-486 Jayaben Desai 01 May 2011
CPU:        Single core Intel Celeron (-UP-) cache 128 KB flags (sse sse2) bmips 4000.44 clocked at 2000.224 MHz
Graphics:  Card: nVidia NV34 [GeForce FX 5200 Ultra] bus-ID: 01:00.0 X.Org 1.9.5 Res: 1280x1024@50.0hz
              GLX Renderer GeForce FX 5200 Ultra/AGP/SSE2 GLX Version 2.1.2 NVIDIA 173.14.31 Direct Rendering Yes
Audio:     Card Silicon Integrated Systems [SiS] AC'97 Sound Controller driver Intel ICH ports a400 a000 bus-ID: 00:02.7
              Sound: Advanced Linux Sound Architecture Version 1.0.23
Network:  Card Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet driver sis900 port 9800 bus-ID: 00:04.0
Disks:      HDD Total Size: 240.1GB (33.2% used) 1: /dev/sda ST380011A 80.0GB
              2: /dev/sdb ST380011A 80.0GB 3: /dev/sdc WDC_WD800BB 80.0GB
Partition:  ID:/ size: 20G used: 4.3G (24%) fs: ext4 ID:/home size: 20G used: 444M (3%) fs: ext4
              ID:swap-1 size: 1.26GB used: 0.00GB (0%) fs: swap
Info:        Processes 109 Uptime 9 min Memory 278.5/882.6MB Runlevel 5 Client Shell inxi 1.4.95

_________________
Regards

longtom


Top
 Profile  
 
 
 Post subject: Re: AntiX recognises less ram than PCLinuxOS
PostPosted: Sat Dec 03, 2011 1:03 am 
Offline
User avatar

Joined: Fri Feb 20, 2009 3:44 am
Posts: 2784
Location: Pecos, Texas
Quote:
I saw that with the live cd as well but didn't give it too much thought. On PCLinuxOS 1263mb ram are recognised, in AntiX however only 883mb seem to be seen and used.


Seen where? Conky? Post the output of

Code:
free


in AntiX so we can see.

_________________
Linux Registered User # 475019
Takes a Lot of MONEY to create poverty.
Linux atHome courses
I Have a Masters in Raising Hell


Top
 Profile  
 
 Post subject: Re: AntiX recognises less ram than PCLinuxOS
PostPosted: Sat Dec 03, 2011 9:30 am 
Offline
User avatar

Joined: Mon Nov 28, 2011 2:42 pm
Posts: 20
rokytnji wrote:
Quote:
I saw that with the live cd as well but didn't give it too much thought. On PCLinuxOS 1263mb ram are recognised, in AntiX however only 883mb seem to be seen and used.


Seen where? Conky? Post the output of

Code:
free


in AntiX so we can see.


Sorry - am at work right now, but have a look at the output above:

Quote:
Info: Processes 109 Uptime 9 min Memory 278.5/882.6MB Runlevel 5 Client Shell inxi 1.4.95


I picked it up with conky and gkrellm initially and used inxi to make sure.

_________________
Regards

longtom


Top
 Profile  
 
 Post subject: Re: AntiX recognises less ram than PCLinuxOS
PostPosted: Sat Dec 03, 2011 12:18 pm 
Offline
User avatar

Joined: Fri Feb 20, 2009 3:44 am
Posts: 2784
Location: Pecos, Texas
Just to show the differences. My conky shows my cheapo chinese 1gig ram stick as 880MB. So does inxi.

But free shows it better (since cheapo chinese stick. They might sell it as 1gig but who is to know for sure).


Code:
harry@biker:~$ free
             total       used       free     shared    buffers     cached
Mem:        901112     440732     460380          0      87528     141288
-/+ buffers/cache:     211916     689196
Swap:      2120576          0    2120576
harry@biker:~$ inxi -F
System:    Host: biker Kernel: 2.6.38-7.dmz.2-liquorix-686 i686 (32 bit)
           Desktop Fluxbox 1.3.1 Distro: antiX-M11-base-686 Jayaben Desai 25 April 2011
Machine:   System: GATEWAY product: W3507 version: 500
           Mobo: Intel model: D102GGC2 version: AAD70214-201
           Bios: Intel version: GC11020M.15A.2010.2006.0817.0956 date: 08/17/2006
CPU:       Single core Intel Celeron D CPU (-UP-) cache: 512 KB flags: (lm nx sse sse2 sse3) clocked at 3200.002 MHz
Graphics:  Card: ATI RC410 [Radeon Xpress 200] X.Org: 1.11.1.902 driver: radeon Resolution: 1024x768@85.0hz
           GLX Renderer: Gallium 0.4 on ATI RC410 GLX Version: 2.1 Mesa 7.11
Audio:     Card: ATI IXP SB4x0 High Definition Audio Controller driver: HDA Intel Sound: ALSA ver: 1.0.23
Network:   Card-1: Realtek RTL-8139/8139C/8139C+ driver: 8139too
           IF: eth0 state: down mac: <filtered>
           Card-2: Realtek RTL8187B Wireless 802.11g 54Mbps Network Adapter driver: rtl8187
           IF: wlan0 state: up mac: <filtered>
Drives:    HDD Total Size: 120.0GB (7.6% used) 1: /dev/sda ST3120213A 120.0GB
Partition: ID: / size: 109G used: 8.5G (9%) fs: ext3 ID: swap-1 size: 2.17GB used: 0.00GB (0%) fs: swap
Sensors:   System Temperatures: cpu: 28.3C mobo: 29.2C
           Fan Speeds (in rpm): cpu: 2251 fan-2: 942 fan-4: 0
Info:      Processes: 90 Uptime: 2 min Memory: 211.1/880.0MB Client: Shell inxi: 1.7.27


I trust the free command more than a conky script or a inxi script to report on ram.

_________________
Linux Registered User # 475019
Takes a Lot of MONEY to create poverty.
Linux atHome courses
I Have a Masters in Raising Hell


Top
 Profile  
 
 Post subject: Re: AntiX recognises less ram than PCLinuxOS
PostPosted: Sat Dec 03, 2011 12:30 pm 
Offline
User avatar

Joined: Mon Nov 28, 2011 2:42 pm
Posts: 20
I'll check it out to night. Thanks for your reply.

Just strange that gkrellm shows all the ram in PCLinuxOS but not in AntiX - hence the reason I believe the reading is true, if only relative to the other install.

_________________
Regards

longtom


Top
 Profile  
 
 Post subject: Re: AntiX recognises less ram than PCLinuxOS
PostPosted: Wed Dec 07, 2011 2:47 am 
Online
User avatar

Joined: Tue Sep 01, 2009 12:48 am
Posts: 834
This paper (11 page pdf) by Andi Kleen discusses where memory is used in Linux.

TL;DR:
Do a:
Code:
$ dmesg | grep -m1 Memory
[    0.000000] Memory: 640332k/655296k available (4317k kernel code, 14512k reserved, 1905k data, 392k init, 0k highmem)
(The output above is from running a custom 3.0.8 kernel in Virtual Box)

The amount of memory called "reserved" is reserved for the kernel and not available for user space. This should roughly account for the difference between your total physical memory and the total memory reported by the "free" program or by "cat /proc/meminfo".

In this same example, free reported:
Code:
$ free
             total       used       free     shared    buffers     cached
Mem:        642256      30004     612252          0        824      11464
-/+ buffers/cache:      17716     624540
Swap:            0          0          0

The difference (in k) is:
Code:
  655296
- 642256
--------
   13040

which does correspond to the 14512k that was reserved. Notice that the actual difference is smaller which means the kernel was able to give some memory back to user space after it started. It used to be that this amount would be reported as "init" in the dmesg line, but it appears that the kernel is now able to give even more back.

I don't know why your reserved size is so much larger (assuming it is). I tested a 2.6.36-1-mepis-smp kernel in Virtual Box and it too reserved about 15 Meg. OTOH I've seen some system with a reserved size similar to yours. I've also seen some references to 128M being reserved to implement noncontiguous memory allocation and fix-mapped linear addresses. Perhaps this would explain the large discrepancy. It is certainly is the right size.

_________________
Science is the belief in the ignorance of experts.
-- Richard Feynman


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
suspicion-preferred