If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > AIX - VMO - Strict_maxperm

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-06-06, 14:09
Perfman Perfman is offline
Registered User
 
Join Date: Feb 2006
Location: Pa.
Posts: 10
Wink AIX - VMO - Strict_maxperm

Does anyone use this ? It seems that one would only use this if real memory is scarce. I have not read anything good about this. I was thinking about using mount option RBRW or Dio(avoid dbl caching) for DB2 instead of restricting memory using strict-maxperm.

respectfully,
Perfman
Reply With Quote
  #2 (permalink)  
Old 07-06-06, 14:30
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,605
I'm going to kind of "hijack" your thread from Chit-Chat to the DB2 Forum. My guess is that you'll get a lot more useful responses there!

For what my two cents are worth, VMO uses disk as "surrogate RAM" like most virtual memory systems do... This is a two-edged sword in that it gives you more address space, but the performance is normally sorely handicapped (comparing disk performance versus RAM performance).

Judicious use of virtual memory can allow you to run much more than you could without using virtual memory, and at relatively low performance cost... However, there is always some cost, and if you mis-use the virtual memory that cost can be horrific! My advice is to use virtual memory carefully, and test, test, test performance before you go to production!

-PatP
Reply With Quote
  #3 (permalink)  
Old 07-06-06, 14:42
Perfman Perfman is offline
Registered User
 
Join Date: Feb 2006
Location: Pa.
Posts: 10
Hey Pat. The way this whole thing began with Strict_maxperm is that someone had this turned on. I did not agree. The system is scanning for fre pages like a one armed paper hanger and LRUD is using 5-25% cpu because he hit the hard maxpermlimit of 25%(maxperm). The system only has 24 gb to run a huge DB2 warehouse. I am trying to figure out how much more real memory the P570 would need to turn off strict maxperm. Like you said this was done as a cost avoidance that came back and bit him.

respectfully,
Perfman

Last edited by Perfman; 07-06-06 at 14:45.
Reply With Quote
  #4 (permalink)  
Old 07-06-06, 16:06
dbamota dbamota is offline
Registered User
 
Join Date: Sep 2003
Posts: 237
I can see one using strict maxperm if you are sharing the server with other applications; if I remember right, CIO is preferrable to DIO.
__________________
mota
Reply With Quote
  #5 (permalink)  
Old 07-06-06, 19:00
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,605
Quote:
Originally Posted by Perfman
I am trying to figure out how much more real memory the P570 would need to turn off strict maxperm.
DB2 and AIX are not my long suit, but can you give us a better idea of the size of the db versus the size of the machine? Is this a mouse swinging an elephant, or an 800 pound gorilla in a straight jacket trying to eat a banana? If the machine is dreadfully underpowered, you probably can't just RAM your way to performance. If it is dreadfully mis-configured, you may not need more RAM to fix the performance problems.

My guess is that you are somewhere between the extremes, but so far I don't have enough information to even offer a guess.

-PatP
Reply With Quote
  #6 (permalink)  
Old 07-07-06, 07:16
Perfman Perfman is offline
Registered User
 
Join Date: Feb 2006
Location: Pa.
Posts: 10
Quote:
Originally Posted by dbamota
I can see one using strict maxperm if you are sharing the server with other applications; if I remember right, CIO is preferrable to DIO.
I believe CIO needs JFS2, I am still using JFS.
Reply With Quote
  #7 (permalink)  
Old 07-07-06, 08:29
Perfman Perfman is offline
Registered User
 
Join Date: Feb 2006
Location: Pa.
Posts: 10
Quote:
Originally Posted by Pat Phelan
DB2 and AIX are not my long suit, but can you give us a better idea of the size of the db versus the size of the machine? Is this a mouse swinging an elephant, or an 800 pound gorilla in a straight jacket trying to eat a banana? If the machine is dreadfully underpowered, you probably can't just RAM your way to performance. If it is dreadfully mis-configured, you may not need more RAM to fix the performance problems.

My guess is that you are somewhere between the extremes, but so far I don't have enough information to even offer a guess.

-PatP
900gb EIM warehouse db on a p570 - 6 CPUs - 24 gb real. I am looking at adding an additional 24-32gb of real and turning off strict-maxperm. I believe performance is suffering because of strict max_perm being turned on.
respectfully,
George
Reply With Quote
  #8 (permalink)  
Old 07-07-06, 13:49
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,605
Keep in mind that my guesstimates are just that, educated guesses... Your circumstances may dictate your options, or may "encourage" you to make other decisions.

With a 900 Gb database, I'd be comfortable running 48 Gb of RAM in a four CPU configuration. Since you are running six CPUs, I'd be inclined to push for more RAM... Because the P570 uses orthagonal memory addressing, I'd stay with multiples of 16 Gb, so I'd push for 64 Gb RAM based on the information that you've provided so far.

I don't configure these boxes regularly, so I'd be quite willing to defer to folks that do if they have an opinion.

-PatP
Reply With Quote
  #9 (permalink)  
Old 07-07-06, 13:58
Perfman Perfman is offline
Registered User
 
Join Date: Feb 2006
Location: Pa.
Posts: 10
Quote:
Originally Posted by Pat Phelan
Keep in mind that my guesstimates are just that, educated guesses... Your circumstances may dictate your options, or may "encourage" you to make other decisions.

With a 900 Gb database, I'd be comfortable running 48 Gb of RAM in a four CPU configuration. Since you are running six CPUs, I'd be inclined to push for more RAM... Because the P570 uses orthagonal memory addressing, I'd stay with multiples of 16 Gb, so I'd push for 64 Gb RAM based on the information that you've provided so far.

I don't configure these boxes regularly, so I'd be quite willing to defer to folks that do if they have an opinion.

-PatP
Thanks for getting back to me.
The cpu isn't the bottleneck. The CPUs are not over worked by any means. It is the real memory that is constrained. I agree that 64gb would be the way to go. Thanks for your help.
George
Reply With Quote
  #10 (permalink)  
Old 07-07-06, 14:04
cchattoraj cchattoraj is offline
Registered User
 
Join Date: Mar 2003
Posts: 343
What is Orthogonal memory addressing? TIA
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On