AIX Memory and Performance Doubt


 
Thread Tools Search this Thread
Operating Systems AIX AIX Memory and Performance Doubt
# 1  
Old 10-03-2013
AIX Memory and Performance Doubt

Hi All,
I have 5 Servers ( 3 DataStages Server and 2 Database Servers running HACMP and DPF).
My question is 1 of the Main Core DataStage Server has few unsolved issues that I will post the question as following

1. Why most of time the File Cache in the memory seems constantly 100%? But why this is not happen in Datastage 2 and 3 ? btw, Is File Cache is part of the memory or it is separated from memory ?
2. We experiencing one long performance issues which is the some ETL jobs getting longer to run compare to server initial restart. That's reason why we need to restart servers twice a month. This seems not practical to an Enterprise machine. Anyone has this experience appreciate if you can share and what are the resolution ?
3. Btw, what is the memory allocation rule of thumb for bare minimal server which running 8 core CPU and also for OLTP and DW ? 1core cpu: 4G RAM ? 1:6 or 1:8 ?

Thanks in advance.



Hopes someone can share some insight on this.
# 2  
Old 10-03-2013
Quote:
Originally Posted by ckwan
1. Why most of time the File Cache in the memory seems constantly 100%?
It is memory which the system has borrowed to store file contents temporarily -- if you ask for the same file twice, reading it the second time is as fast as retrieving it from memory. It's just as good as Free, the system will give it up whenever needed.

There's at least two reasons why cache would be so high -- either this server is very idle, letting all memory gradually trickle into cache, or there's high levels of disk activity which push free memory into cache much faster.
Quote:
But why this is not happen in Datastage 2 and 3?
They are experiencing different loads. Maybe they have less disk activity, or maybe they're hosting RAM-hungry programs that leave very little room for cache (which is a bad thing, by the way -- cache is good for you).
Quote:
btw, Is File Cache is part of the memory or it is separated from memory ?
Cache is part of memory. The system has borrowed it to store file contents, but gives it back just as easily.
# 3  
Old 10-03-2013
AIX file cache is in memory and it stores portions of the file system for faster access. When you state a performance issue it's best to have specific data to support what you are saying. In this case you say that, file system in memory seems constantly at 100%. What commands are you running to get this value?

File system caches can be tuned; however, you should look for simple explanations and the underlying root cause before tuning.

In addition, you mention a number of machine types (data stages, database servers). You also mention HACMP and DPF technologies. Database servers may also have tunning parameters are well. HACMP has tuning considerations as well. While your environmment may be complex, the logic to solve performance problems should be kept simple and specific.

Take for example "ETL jobs getting loger to run compare to server initial restart". This seems to be where you should start to understand your issue. You need to take statistics from these runs.

What resources are consumed (cpu, memory) for these runs when they are done after a server restart. How does this compare when you think you need to boot the system? You should take a look at the system as a whole prior to rebooting it to see why it takes so long for these runs.

Don't worry about "general rules of thumb"...keep this simple and gather the necessary data.
# 4  
Old 10-04-2013
In terms of comparison I would also want to see the output of vmstat -s of the systems you are comparing.

It is too simple to assume that your memory is full because of file caching, unless you have statistics to show that memory is being used for caching. (vmstat -s also can say something here).

Let's assume that you have had some paging to/from paging space over the course of time. You responses may be taking longer because data that should be in (computational) memory is in paging space (where computational memory goes when AIX runs out of space).

Frequently databases do not benefit from file caching, some do, but not all. Rather than have needless page stealing activity there are different mount options you could choose (e.g., cio, rbr, rbw, rbrw - just to mention "two" (rb* are all releases behind options - one behavior type).

Hope this helps!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Performance stats from AIX 6

Hi, I'm supposed to capture many performance stats on AIX 6 and stuck up with below: Priority queue Disk cache hit% Page out rate Swap out rate Memory queue I see vmstatis helpful for "page out" but not sure how to get the "rate". Could anyone please let me know how to get these... (4 Replies)
Discussion started by: reddyr
4 Replies

2. AIX

AIX 6.1 Memory Performance issues

Good Day Everyone, Just wonder anyone has encounter AIX 6.1 Memory Performance issues ? What I have in my current scenario is we have 3 datastage servers (Segregate server and EE jobs - for those who know Datastage achitect) and 2 db servers(running HA to load balance 4 nodes partitions for... (3 Replies)
Discussion started by: ckwan
3 Replies

3. Solaris

[DOUBT] Memory high in idle process on Solaris 10 (Memory Utilization > 90%)

Hi Experts, Our servers running Solaris 10 with SAP Application. The memory utilization always >90%, but the process on SAP is too less even nothing. Why memory utilization on solaris always looks high? I have statement about memory on solaris, is this true: Memory in solaris is used for... (4 Replies)
Discussion started by: edydsuranta
4 Replies

4. AIX

Oracle performance optimum vs. SGA memory allocation

Dear all experts, I have a p750 Power 7 3.3GHz server with 4 processors and 48GB Memory. This is a DB server which is using Oracle 9i. I have been told that Oracle 9i can only allocate 10GB as SGA Max to get the oracle optimum performance. Anything more will result in overflow of memory and will... (1 Reply)
Discussion started by: kwliew999
1 Replies

5. AIX

AIX performance issue

Hi Guys, This is the situation I am in. Provide your views and input where should I start? I have one P7 test server and a p520 production server. the job is taking pretty long on the P7 test server when compared to the P5 production server. below is the full detail. Informix... (5 Replies)
Discussion started by: ithinksgreen
5 Replies

6. Linux

Doubt about programs for testing Linux performance

Hello friends, I'm working on a Thesis and right now I'm in a phase of comparing a Linux vs Windows performance in similar situations on the same machine. I'm asking here because I would like help on this, since I've always worked in Linux as an Administrator and a user, never as a... (6 Replies)
Discussion started by: lzcool
6 Replies

7. UNIX for Advanced & Expert Users

Doubt in AIX and HP-UX disk devices addressing

Hi people, Does anyone know how the AIX form the hdisk addresses ? I mean, if the AIX use the SAN fields like switch id, domain id, port id and etc... After I understand that my next question is: Why the AIX do not change the hdisks addressing if I change the AIX HBAs of the SAN switch and/or... (1 Reply)
Discussion started by: rapina
1 Replies

8. AIX

AIX 5.2 performance question

I am trying to analyze the performance of an AIX system. I think I may have a disk I/O issue, but I am asking for help to validate or invalidate this assumption. I ran the commands below during a period of peak load. Please help me to find any performance bottlenecks. Thanks in advance for your... (15 Replies)
Discussion started by: jhall
15 Replies

9. AIX

Performance testing on AIX

I'm doing performance testing for one application which works on AIX. But I don't know which performance parameters of memory need to be collected. Now, I just know very few: 1. page in 2. page out 3. fre They are all collected by "vmstat" command. I want to know, except for above... (2 Replies)
Discussion started by: adasong
2 Replies

10. UNIX for Dummies Questions & Answers

AIX performance

Hiya all, I am a newbie sysadmin to AIX, i have worked on HPUX for 3 years. I have started a new role with in an IBM house and because there is me and one other there are a couple of issues I cannot work out: We havehad a production server slowing down processing batch jbs over the past... (6 Replies)
Discussion started by: chlawren
6 Replies
Login or Register to Ask a Question