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
Solved

AIX (DSCR) and oracle prefetching

Posted on 2014-01-22
6
1,256 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
  • 3
  • 3
6 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…

860 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