Re: where's my memory?

2009-07-23 Thread Bill Davidsen

? ?? wrote:
seems to me you used 32-bits OS. THis kind of OS cannot see more then 
3GB. Please try to send request to google like 3G RAM limit.

You will receive detail explanation

Since no one else has brought it to your attention, that's wrong. Intel/AMD 32 
bit system of any remotely recent vintage support 36 bits of physical memory 
addressing. This machine I'm on has 8GB, another 12GB, see it all. Individual 
processes are limited to less, less being 3, 3.5, or 4.0GB dependig on kernel 
settings (and patches). User programs have that limit, but the kernel can use more.


Ex:
 total   used   free sharedbuffers cached
Mem:   83100848074736 235348  0 1218446046808
-/+ buffers/cache:19060846404000
Swap:  3911736  83911728


--
Bill Davidsen 
  "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot


--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: where's my memory?

2009-07-14 Thread fred smith
On Tue, Jul 14, 2009 at 06:01:57PM +0200, Joerg Bergmann wrote:
> Am 14.07.2009 16:39, schrieb Alan Cox:
> >On Tue, 14 Jul 2009 07:43:06 -0400
> >Neal Becker  wrote:
> >
> >>I have a argument with another user about memory.  He claims that on 
> >>running
> >>linux on his 4G Dell machine, top only reports 3.something memory, he says
> >>the missing space is for pci bus.  I think this is only because he's 
> >>running
> >>32 bit and that 64 bit would give all the memory.
> >
> >Plenty of chipsets don't support mapping the RAM covered by the PCI
> >window up to the end of memory, especially older ones.
> >
> 
> Just a remark: On my fedora 11 system (phenom II, 4GB RAM,
> 32 bit, PAE) top reports 3.9GB RAM. On my opinion, this is
> thanks to PAE.
> 
> Joerg

Ah, just the config I'm building from new parts, as we speak. Glad
to hear PAE takes care of th at issue.

I'm planning to stay 32-bit just because of the various issues that I've
heard about with things like lack of 64-bit-compatible browser plugins,
etc., etc. It's just my personal box for reading mail and playing with,
so it's no huge deal to remain 32-bit.

-- 
---
 .Fred Smith   /  
( /__  ,__.   __   __ /  __   : / 
 //  /   /__) /  /  /__) .+'   Home: fre...@fcshome.stoneham.ma.us 
//  (__ (___ (__(_ (___ / :__ 781-438-5471 
 Jude 1:24,25 -


pgpbHU5ycoHcJ.pgp
Description: PGP signature
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: where's my memory?

2009-07-14 Thread Mikkel L. Ellertson
Steven P. Ulrick wrote:
> Hello Everyone
> Since the topic has been started, here is what I am sure is a grade school 
> level memory question:
> My system has an Intel Xeon 2GHZ QuadCore processor with 8 gigabytes of RAM.  
> Right now, "top" says the following:
> Mem:  8108356k total, 7971312k used,  137176k free,   517972k 
> buffers
> Swap: 1507320k total, 2244k used, 1505076k free,  6308168k cached
> 
> To me, that looks like almost all of my memory is being used.  This is on a 
> system which is relatively idle right now.
> 
> "ksysguard" says that about 1.1 GiB of 7.7 GiB is being used.
> "gnome-system-monitor" says the same thing "ksysguard" says.
> Actually, "gnome-system-monitor" says one thing different: that my system is 
> using 2.2 MiB of Swap...
> 
> So I guess I am wondering what does "top" mean when it says that almost all 
> of 
> my memory is BEING used at the same time that the KDE and GNOME system 
> monitoring tools say that only about 1.1 GiB is being used?
> 
> Steven P. Ulrick 
> 
You have to look at what kind of memory usage is being reported. As
has been discussed many times on this list, Linux likes to use all
of your memory. What is not being used by programs, is used for
buffers and cache. It leaves a small reserve for quick  allocation,
and will free buffers and cache as needed. This results in a faster
system. After all, unused memory is wasted memory.

You may want to run the free command, and look at how it displays
memory usage. I find the difference between the first and second
line helpful in understanding how memory is being used.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!



signature.asc
Description: OpenPGP digital signature
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: where's my memory?

2009-07-14 Thread Steven P. Ulrick
> I have a argument with another user about memory.  He claims that on running 
> linux on his 4G Dell machine, top only reports 3.something memory, he says 
> the missing space is for pci bus.  I think this is only because he's running 
> 32 bit and that 64 bit would give all the memory.
> 
> I tried on my 64bit 8G machine, and it reports
> 8114688k total
> 8114688 * 1024 = 8309440512 (assuming top 'k' is 1024)
> 2**33 = 8589934592
> The diff is:
>  280494080
> 
> I know some will be kernel space, but that doesn't account for 280M.

Hello Everyone
Since the topic has been started, here is what I am sure is a grade school 
level memory question:
My system has an Intel Xeon 2GHZ QuadCore processor with 8 gigabytes of RAM.  
Right now, "top" says the following:
Mem:8108356k total, 7971312k used,  137176k free,   517972k 
buffers
Swap:   1507320k total, 2244k used, 1505076k free,  6308168k cached

To me, that looks like almost all of my memory is being used.  This is on a 
system which is relatively idle right now.

"ksysguard" says that about 1.1 GiB of 7.7 GiB is being used.
"gnome-system-monitor" says the same thing "ksysguard" says.
Actually, "gnome-system-monitor" says one thing different: that my system is 
using 2.2 MiB of Swap...

So I guess I am wondering what does "top" mean when it says that almost all of 
my memory is BEING used at the same time that the KDE and GNOME system 
monitoring tools say that only about 1.1 GiB is being used?

Steven P. Ulrick 




-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: where's my memory?

2009-07-14 Thread Shannon McMackin

On 07/14/2009 12:01 PM, Joerg Bergmann wrote:

Am 14.07.2009 16:39, schrieb Alan Cox:

On Tue, 14 Jul 2009 07:43:06 -0400
Neal Becker wrote:


I have a argument with another user about memory. He claims that on
running
linux on his 4G Dell machine, top only reports 3.something memory, he
says
the missing space is for pci bus. I think this is only because he's
running
32 bit and that 64 bit would give all the memory.


Plenty of chipsets don't support mapping the RAM covered by the PCI
window up to the end of memory, especially older ones.



Just a remark: On my fedora 11 system (phenom II, 4GB RAM,
32 bit, PAE) top reports 3.9GB RAM. On my opinion, this is
thanks to PAE.

Joerg

On my F11 install running the PAE kernel, I get 4045988k as the total in 
top.  Some machines have difficulty using all available ram for many 
reasons.  I also noticed that an x86_64 kernel on the same machine gave 
me the 3.9gb as reported.


--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: where's my memory?

2009-07-14 Thread Joerg Bergmann

Am 14.07.2009 16:39, schrieb Alan Cox:

On Tue, 14 Jul 2009 07:43:06 -0400
Neal Becker  wrote:


I have a argument with another user about memory.  He claims that on running
linux on his 4G Dell machine, top only reports 3.something memory, he says
the missing space is for pci bus.  I think this is only because he's running
32 bit and that 64 bit would give all the memory.


Plenty of chipsets don't support mapping the RAM covered by the PCI
window up to the end of memory, especially older ones.



Just a remark: On my fedora 11 system (phenom II, 4GB RAM,
32 bit, PAE) top reports 3.9GB RAM. On my opinion, this is
thanks to PAE.

Joerg

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: where's my memory?

2009-07-14 Thread Alan Cox
On Tue, 14 Jul 2009 07:43:06 -0400
Neal Becker  wrote:

> I have a argument with another user about memory.  He claims that on running 
> linux on his 4G Dell machine, top only reports 3.something memory, he says 
> the missing space is for pci bus.  I think this is only because he's running 
> 32 bit and that 64 bit would give all the memory.

Plenty of chipsets don't support mapping the RAM covered by the PCI
window up to the end of memory, especially older ones.

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: where's my memory?

2009-07-14 Thread Mikkel L. Ellertson
Neal Becker wrote:
> I have a argument with another user about memory.  He claims that on running 
> linux on his 4G Dell machine, top only reports 3.something memory, he says 
> the missing space is for pci bus.  I think this is only because he's running 
> 32 bit and that 64 bit would give all the memory.
> 
> I tried on my 64bit 8G machine, and it reports
> 8114688k total
> 8114688 * 1024 = 8309440512 (assuming top 'k' is 1024)
> 2**33 = 8589934592
> The diff is:
>  280494080
> 
> I know some will be kernel space, but that doesn't account for 280M.
> 
> 
Check your BIOS settings. I can not remember exactly what it says,
and it varries by BIOS, but there is a setting that controls how it
handles the memory overlap with the PCI memory map. It can remap the
memory or just not use it. Some OSs have a problem with remapping it.

Also, I believe your friend with the 32 bit OS can probably recover
the rest of the memory by running the PAE version of the kernel.

One other thing to keep in mind is that the laptop may be using some
of the system memory for video memory.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!



signature.asc
Description: OpenPGP digital signature
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: where's my memory?

2009-07-14 Thread Neal Becker
Александр Горлов wrote:

> seems to me you used 32-bits OS. THis kind of OS cannot see more then 3GB.
> Please try to send request to google like 3G RAM limit.
> You will receive detail explanation
> 
> 2009/7/14 Neal Becker 
> 
>> I have a argument with another user about memory.  He claims that on
>> running
>> linux on his 4G Dell machine, top only reports 3.something memory, he
>> says
>> the missing space is for pci bus.  I think this is only because he's
>> running
>> 32 bit and that 64 bit would give all the memory.
>>
>> I tried on my 64bit 8G machine, and it reports
>> 8114688k total
>> 8114688 * 1024 = 8309440512 (assuming top 'k' is 1024)
>> 2**33 = 8589934592
>> The diff is:
>>  280494080
>>
>> I know some will be kernel space, but that doesn't account for 280M.
>>
>>
>> --
But those numbers are from F11 on x86_64, not 32 bit.


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: where's my memory?

2009-07-14 Thread Александр Горлов
seems to me you used 32-bits OS. THis kind of OS cannot see more then 3GB.
Please try to send request to google like 3G RAM limit.
You will receive detail explanation

2009/7/14 Neal Becker 

> I have a argument with another user about memory.  He claims that on
> running
> linux on his 4G Dell machine, top only reports 3.something memory, he says
> the missing space is for pci bus.  I think this is only because he's
> running
> 32 bit and that 64 bit would give all the memory.
>
> I tried on my 64bit 8G machine, and it reports
> 8114688k total
> 8114688 * 1024 = 8309440512 (assuming top 'k' is 1024)
> 2**33 = 8589934592
> The diff is:
>  280494080
>
> I know some will be kernel space, but that doesn't account for 280M.
>
>
> --
> fedora-list mailing list
> fedora-list@redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> Guidelines:
> http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
>



-- 
Thanks

Alex
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

where's my memory?

2009-07-14 Thread Neal Becker
I have a argument with another user about memory.  He claims that on running 
linux on his 4G Dell machine, top only reports 3.something memory, he says 
the missing space is for pci bus.  I think this is only because he's running 
32 bit and that 64 bit would give all the memory.

I tried on my 64bit 8G machine, and it reports
8114688k total
8114688 * 1024 = 8309440512 (assuming top 'k' is 1024)
2**33 = 8589934592
The diff is:
 280494080

I know some will be kernel space, but that doesn't account for 280M.


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines