Solaris Mem Consumption


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris Mem Consumption
# 15  
Old 08-10-2008
If you want to debate the accuracy of anything in this thread, do so in this thread.

If posts are not related to the original topic they will be deleted.
# 16  
Old 08-10-2008
Are you using ZFS on this machine?
# 17  
Old 08-10-2008
Glad you asked about ZFS, I was about to do the same.

The OP has 8 GB of RAM, 1.5 GB is used by processes while 6.5 GB is used by the kernel. This per se isn't a problem. Unused RAM is wasted RAM anyway.

One major change ZFS introduced compared to UFS is the page cache is not used to cache file content. Kernel memory is used instead . This dramatically increases the kernel RAM usage metric but has no real consequence as this cache memory is still free memory from a system's viewpoint.

On the other hand, if the OP isn't using ZFS, then there is a problem to investigate further. It is particularly a problem because the kernel seems to be already larger than the swap space and might grow even bigger before a potential panic. Assuming the dumpadm intricacies are unknown to the system administrator, a crash dump might be truncated and then be partially or, worst case scenario, wholly unusable.

The reason why I was picky about that point in previous postings.
# 18  
Old 08-10-2008
Yes, indeed that was the reason for asking. The behavior you describe is was is expected from the ARC cache, however it is worth noting there have been a number of bugs related to the cache memory not being freed quickly enough, so it doesn't always work the way it should resulting in unnecessary paging. I have actually run into this issue, but I believe I have only seen it on x86 machines. It is possible, and advisable, to limit the ZFS cache for this reason if there is a possibility that it will interfere with other operations.
# 19  
Old 08-12-2008
BTW,

I was reviewing the docs on the ZFS filesystem and dumping and found this example:

Using a ZFS Volume as a Swap or Dump Device (Solaris ZFS Administration Guide) - Sun Microsystems

Code:
# dumpadm
      
Dump content: kernel pages
Dump device: /dev/zvol/dsk/rpool/dump (dedicated)
Savecore directory: /var/crash/t2000-bdr-02
Savecore enabled: yes

# 20  
Old 08-12-2008
Beware that this is beta documentation showing a feature AFAIK not yet released in Solaris 10.

8.ZFS Advanced Topics (Solaris ZFS Administration Guide) - Sun Microsystems states:

Quote:
Using a ZFS volume as a dump device is not supported. Use the dumpadm command to set up a dump device.
While Zvol can be used, a plain file on ZFS as a dump device is not supported even with Solaris Express, and there is no plan to implement it.
# 21  
Old 08-24-2008
1. mdb -k shows this to me :

Kernel --- 851120 ---- 6649 ----82%
Anon --- 99544 ---- 777 ----- 10%
Exec and libs ----- 8788 ----- 68 ----- 1%
Page cache ----- 24448 ----- 191 ----- 2%
Free (cachelist) ----- 32542 ----- 254 ----- 3%
Free (freelist) ----- 25260 ----- 197 ----- 2%

Total 1041702 8138
Physical 1024847 8006

2. We are using Vxfs.

3. I dont have memtools installed.

Q1. Output of "mdb -k" which shows 82 % Kernel , Does that mean that my kernel code is taking that much memory ( I dont think so ) OR does that mean that Kernel asked for this much memory for File , directory cache + buffers ( i think so )

Q2 . If kernel has asked for this much memory for file caching then why on running some other applicaiton it starts doing page outs which is like shortage of RAM? Ideally RAM used for file caching should be given to any program which want to get executed in RAM.

Is there any tool for checking file cache in solaris 10 except from memtools ?

For ex in linux we i can chk using "free" about file cache , directory cached and buffers .. and i havent seen free in solaris although i think the memroy management for solaris and linux are almost similar ?


Thanks in advance
Raj
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Mem Details

<A href="mailto:root@sssdpmds01$"> root@sssdpmds01$ prstat -a PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP 13831 ogw 2613M 2108M cpu12 0 0 277:43:27 3.9% java/1201 4312 ogw 2641M 2092M sleep 59 0 562:45:51 2.1% java/1235 4469 ogw ... (2 Replies)
Discussion started by: jojo123
2 Replies

2. Emergency UNIX and Linux Support

Can top show more than 100% in %MEM?

Can the %MEM value for a process show more than 100% in top output?Is this ever possible? (5 Replies)
Discussion started by: proactiveaditya
5 Replies

3. UNIX Desktop Questions & Answers

Regarding Memory Consumption

Hi All I am new to UNIX ,can any one please help in finding MEMORY CONSUMPTION of VLC when i use it as Streaming Server. I need to log the memory consumption for atleast 10 hours. Can any one help me in finding this Please (1 Reply)
Discussion started by: ravikanth17
1 Replies

4. Solaris

How to check power consumption of Solaris servers ?

hi friends, we are relocating our DC and need to plan out electrical power for the new DC. are there ways i could find the actual power consumption from my current servers ? instead of the product specs. (2 Replies)
Discussion started by: Exposure
2 Replies

5. Shell Programming and Scripting

Determining User Consumption in solaris

Inorder to find the user memory consumption I used the command: prstat -s cpu -a -n 10 But now I want to automate it and want to write the output to a file. How can I write the out put of user name and percentage of consumption alone to an output file.? (2 Replies)
Discussion started by: engineer
2 Replies

6. AIX

consumption memory

Hi, I have a problem with memory on AIX 5.3. On this server, we have JDE Edwards (ERP) and Oracle Database (9.2.0.7.0). We have 4 Gb for physical memory and 3 Gb for paging space. When I stop all services (JDE, Oracle and all other services), the physical memory is not free (4 Gb) svmon... (9 Replies)
Discussion started by: tagger
9 Replies

7. Solaris

Coredumps and swap - was part of Solaris Mem Consumption

We have Sun OS running on spark : SunOS ciniwnpr67 5.10 Generic_118833-24 sun4u sparc SUNW,Sun-Fire-V440 Having Physical RAM : Sol10box # prtconf | grep Mem Memory size: 8192 Megabytes My Top Output is : 130 processes: 129 sleeping, 1 on cpu CPU states: 98.8% idle, 0.2% user, 1.0%... (39 Replies)
Discussion started by: rajwinder
39 Replies

8. Linux

Linux Mem Usage

What is amount of free RAM i have now? total used free shared buffers cached Mem: 1010 963 46 0 215 256 -/+ buffers/cache: 491 518 Swap: 1983 0 1983 Above is the output of... (1 Reply)
Discussion started by: new2ss
1 Replies

9. UNIX for Advanced & Expert Users

CPU consumption

Hello experts, I am writing an application in Solaris, which is supposed to work on PrimePower 650 and SunFire 440 machines. The application listens to the events raised by the Hardware and OS in /dev/log. The application listens to the messages logged into /dev/log and do some processing on... (3 Replies)
Discussion started by: pleaseteachmeun
3 Replies

10. UNIX for Dummies Questions & Answers

Difference in Mem usage ?

Hi All, I have a pair of sun ultra 5_10 with SunOS 5.5.1. Both are almost equally patched and set up with simillar applications. host# uname -a SunOS host 5.5.1 Generic_103640-24 sun4u sparc SUNW,Ultra-5_10 Even though both have same amount of RAM ( 512 Mb ) , ... (1 Reply)
Discussion started by: shibz
1 Replies
Login or Register to Ask a Question