Physical memory allocation?

Physical memory allocation?

Post by Wayne M » Thu, 07 Feb 2002 08:59:06



I found the VM easily (vmstat) and quite frankly I think something is very
screwy; out of a 500MB swap slice, I only have 11MB free, thus making me
think KDE may have a memory leak.

I remember with sar from OSR saradm or the likes (Hm, seems my memory is
failing me) could be used to an extent to get an idea on the memory
utilisation.

Is it the same story under S8?
--

Wayne M Jackson
http://www.users.bigpond.net.au/warp_kez

Inter Arma Enim Silent Leges - Marcus Tullius Cicero
In time of War, the law falls silent

 
 
 

Physical memory allocation?

Post by -wisegu » Thu, 07 Feb 2002 10:43:59



server.bigpond.net.au:

Quote:> I remember with sar from OSR saradm or the likes (Hm, seems my memory is
> failing me) could be used to an extent to get an idea on the memory
> utilisation.

> Is it the same story under S8?

sar is available under solaris.

--
-wiseguy
slummin it in Colorado ski country, while watching the IT industry move
to India, and thinking about retraining as a Sanitation Engineer

 
 
 

Physical memory allocation?

Post by Wayne M » Thu, 07 Feb 2002 10:49:53


Someone calling themselves -wiseguy decided to bash out:


> server.bigpond.net.au:

>> I remember with sar from OSR saradm or the likes (Hm, seems my memory is
>> failing me) could be used to an extent to get an idea on the memory
>> utilisation.

>> Is it the same story under S8?

> sar is available under solaris.

<Mr Burns> Excellent </Mr Burns>

I just have to remember how to use it :-D
--

Wayne M Jackson
http://www.users.bigpond.net.au/warp_kez

Inter Arma Enim Silent Leges - Marcus Tullius Cicero
In time of War, the law falls silent

 
 
 

Physical memory allocation?

Post by Justin Stringfello » Thu, 07 Feb 2002 11:12:03


Quote:> I found the VM easily (vmstat) and quite frankly I think something is very
> screwy; out of a 500MB swap slice, I only have 11MB free, thus making me
> think KDE may have a memory leak.

The 'free' column in vmstat is telling you the size of the free list..
not how much free memory you have.
 
 
 

Physical memory allocation?

Post by Wayne M » Thu, 07 Feb 2002 11:57:53


Someone calling themselves Justin Stringfellow decided to bash out:

Quote:

>> I found the VM easily (vmstat) and quite frankly I think something is
>> very screwy; out of a 500MB swap slice, I only have 11MB free, thus
>> making me think KDE may have a memory leak.

> The 'free' column in vmstat is telling you the size of the free list..
> not how much free memory you have.

Yeah.  On that "free list" there is only ~11MB available.
--

Wayne M Jackson
http://www.users.bigpond.net.au/warp_kez

Inter Arma Enim Silent Leges - Marcus Tullius Cicero
In time of War, the law falls silent

 
 
 

Physical memory allocation?

Post by Peter Baue » Thu, 07 Feb 2002 13:41:31


... which _might_ be correct. If you have Solaris <8, then it looks like a
memory leak, but is'nt. The "missing memory" is used for the page buffer,
thus it's not "free".

If you want know exactly the memory usage, use "ps -efo 'vsz pid comm'" and
sum up the collumn "vsz". This is the "virtual process size". If you do not
have shared memory segments (like oracle and other apps use), you have
roughly the used memory ("The sum of the virtual memory every process
uses").

However, "ps -efo 'vsz pid comm' | sort -n" helps you to find the process
which uses the most memory, and you might use "/usr/proc/bin/pmap -x [PID]"
to look at the process and decide where the memory goes to.

--
Gru?

  Peter Bauer
--
             ITServ: kompetent, zuverl?ssig und fair
Telefon: 0700-4-SOLARIS (0700-4-7652747)  http://www.itserv.de
--



Quote:> Someone calling themselves Justin Stringfellow decided to bash out:

> >> I found the VM easily (vmstat) and quite frankly I think something is
> >> very screwy; out of a 500MB swap slice, I only have 11MB free, thus
> >> making me think KDE may have a memory leak.

> > The 'free' column in vmstat is telling you the size of the free list..
> > not how much free memory you have.

> Yeah.  On that "free list" there is only ~11MB available.
> --

> Wayne M Jackson
> http://www.users.bigpond.net.au/warp_kez

> Inter Arma Enim Silent Leges - Marcus Tullius Cicero
> In time of War, the law falls silent

 
 
 

Physical memory allocation?

Post by Justin Stringfell » Fri, 08 Feb 2002 05:19:09


Quote:> Yeah.  On that "free list" there is only ~11MB available.

Uh-huh. And it doesn't tell you anything particularly useful about
whether you've run out of memory or not.
 
 
 

1. Physical memory allocation

Is there a way to let a user space process allocate required physical
memory? Should I write a device driver and mmap it?

I need this to write a memory tester that will operate from linux.
(I have seen memtest86, and I am not impressed. It would be nice to
have something that comes close to "make zImage").

2. binfmt_out module in pre2.0.6

3. Optimizing physical memory allocation

4. Sony CDU-920S support

5. Physical Memory Allocation?

6. vpn: pre_shared_key alternative

7. allocation contiguos physical memory

8. i845G driver for MDK 10.0

9. Physical vs. virtual memory allocation.

10. Memory allocation and de-allocation

11. Physical memory versus detected memory 2.4.7-10

12. mmap, virtual memory, physical memory

13. Real Memmory /Virtual Memory /Physical Memory Accountancy.