[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

AIX (DSCR) and oracle prefetching

Posted on 2014-01-22
6
Medium Priority
?
1,305 Views
Last Modified: 2014-01-22
what is AIX (DSCR) prefetching and how it works with Oracle?
our prod DB is showing:
dscrctl -q
Current DSCR settings:
        Data Streams Version  = V2.06
        number_of_streams     = 12
        platform_default_pd   = 0x4 (DPFD_MEDIUM)
       os_default_pd         = 0x0 (DPFD_DEFAULT)

what does this mean?
0
Comment
Question by:it-rex
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 2000 total points
ID: 39801187
Hi,

DSCR is hardware memory prefetch. It sometimes can improve the performance of applications, if they reference memory sequentially.

Oracle does not often perform sequential memory access, in fact Oracle's memory access is said to be "irregular", so aggressive prefetching can have an adverse effect on performance because the prefetched lines might not be referenced. Your setting is not very aggressive, though.

I must admit that I'm not a true Oracle tuning specialist, so be careful with the following.

If you're currently experiencing bad performance you could run this command

dscrctl -b -n -s 1

which will turn off memory prefetching (-b = persist across reboots, -n = apply changes immediately, -s 1 = set the dscr value to 1, which is DFPD_NONE).
Please watch the DB very thoroughly for the effect of this setting, and should you see a decrease in performance turn prefetching on again with

dscrctl -b -n -s 0

which will go back to your defaults.

wmp
0
 
LVL 11

Author Comment

by:it-rex
ID: 39801230
so what is the difference between
 os_default_pd         = 0x0 (DPFD_DEFAULT)
and the default of
 os_default_pd         = 0x5 (DPFD_DEFAULT)

?
0
 
LVL 11

Author Comment

by:it-rex
ID: 39801242
Sir..
Also i'm posting few AIX specific Q's and I really like to see your input about them..
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 68

Expert Comment

by:woolmilkporc
ID: 39801328
0x0 sets os_default to platform_default, which is 0x4 DPFD_MEDIUM fot the machine shown in your question.

0x5 is not DPFD_DEFAULT, and also not platform_default, at least not on the machine you showed in your Q. There are machines whose platform_default is 0x5, but DFPD_DEFAULT is always 0x0!
0x5 is DFPD_DEEP, which is more aggressive than DPFD_MEDIUM
0
 
LVL 11

Author Comment

by:it-rex
ID: 39801351
so what do you suggest here?
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 39801371
Leave it at 0x0 (the default which is DFPD_MEDIUM in your case) or turn it off according to my first comment - please read it again - in full!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question