Regarding program buffer

hi sapgurus,
in st02 ,i checked that the hit ratio of the program buffer is 73%
in st06 my current swap size is 34,830,140 30,414,708 25,600,000
the parameter abap/buffersize has certain values
parmeter value 700000
unsubstited standard value-150000
substituted value -150000
comment
#old_value :550000
i want to increase the hit ratio up 99%
what is change i have to do,and which value i have to change and how much.
please it is bit urgent
the windows 64bit machine and the sap release 700
please do help to get result
regards
rahul

Based on what logic do you raise it to these values?
You have no idea as to the modules used within the system.
You have no idea as to the number of users on the system.
You have no idea as to the number of app servers.
You have no idea as to how load balancing is happening (SMLG).
You have no idea as to the amount of memory in the server.
Before changing anything we need to understand why we have a hit rate of only 73% in the first place, Then and only then do we take the most appropriate action, which may, or may not be changing the value stated.
This is from a app server thats part of a SAP system for 11,000 users on Z-OS
abap/heap_area_dia                          10000000
abap/heaplimit                              10000000
abap/heap_area_nondia                       10000000
<b>abap/buffersize                             900000</b>
rsdb/cua/buffersize                         30000
sap/bufdir_entries                          9000
zcsa/presentation_buffer_area               120000000
zcsa/table_buffer_area                      280000000
zcsa/db_max_buftab                          60000
My point is dont just change it, correct the problem! it doesnt need to be the bigest number you can think of or get away with. it needs to be balanced.
My hit ratio is 99.96 and i wager with 1000s more users.
      Buffer            Hitratio   Allocated         Free space        Dir. size      Free directory         Swaps
                           [%]       [kB]         [kB]         [%]      Entries      Entries       [%]
Program                   99.96       927,192       24,194     2.69       225,000      206,972    91.99        11,796
The hit ratio is of what has been provided by the buffer rather than by direct DB access. However the buffer could well have been paged out to disk millions of times and still indicate a 99.9% rate.
Ask yourself are you doing new things, are you doing them for the first time since a reboot?

Similar Messages

  • Swaps on program buffer

    Hello all,
    I am trying to figure out why we started having many swaps in program buffer on ST02 and I found this on history that is quite strange.
    It appears that Free storage is bigger than available storage!! Few months ago that we had the same issue, we started having again hundreds of swaps on this buffer. Could someone explain what this Free storage shows and probably suggest how to find the root cause of the issue?
    Thanks!

    Hi Mik ASp,
    See this link is usefully
    ST02 - Explaining SAP buffer history statistics (IRDB buffer)
    Regards,
    Deva

  • Program Buffer - High Number of Swaps

    Hi All,
    We experiencing high number of program buffer swaps per day, they usually get into 500,000 - 700,000 range. Our abap/buffersize is 500,000 KB. It seems like the general suggestion of the buffersize is that it should be somewhere between 300-700 MB, which I thought 500 would be enough, at least enough no to have such huge numbers of swaps per day. The PHYS_MEMSIZE = 9057, as we have 16 GB of total server memory and 9 is dedicated to SAP, while the other 7 is to SQL Server. I have followed the note about zero admin memory management so other than PHYS_MEMSIZE parameter I don't think I have any memory restricting parameters in there.
    In ST06 I always seem to have about 3 GB or physical memory free. We have release 640.
    ST02 shows high number of objects swapped, and frames swapped always seem to be at 0. Looking at the buffer history, it seems like we always have only about 1500KB free space out of 500000KB, and the directories free are always around 114000. This makes me think that I should increase the buffer size, however maybe someone can suggest another reason why I have this scenario.
    Thank you in advance,
    Sergiy

    Hi,
    Yes, increase your Abap buffer size. 500 MB is much too small.
    On our old R/3 4.7 systems we need to allocate 1 GB for the Abap buffer.
    We put also 1 GB as a minimum for new Netweaver 7.0 systems...
    Regards,
    Olivier

  • Program buffer

    Dear all,
    We are using R/3 4.6C on HP-UX 11.0 with Oracle 9.2.0.5 and kernel sup. package 2039. On this server we have two production R/3 instances. Server has 8 CPUs, and 8GB RAM, with defined swap of 20GB.
    Can You PLS explain:
    - we have more then 92000 swaps on the program buffer in one week only on one instance which has more users and more transport activities;
    - Should I increase the parametar abap/buffersize (currently 500000kB)? And how much should it be?
    - ipc/shm_psize_06 should it be = -10 and ipc/shm_psize_02 = -10?
    I'm not sure what are the steps to increase the program buffer, and how much should it be increased?
    Thank you in advance.
    Regards,
    Ruzica

    Hi Ruzica,
    Have you seen OSS note 103747 which describes the recommended parameter settings for 40B and above ?
    It looks like you may need to increase it slightly (profile parameter abap/buffersize). The note suggests that the system can tolerate 1,000 swaps per day but you are seeing over 10,000 per day.
    In our busiest SAP system, R/3 Retail, we have a PXA buffer size of 600Mb and we experience between 1000-2000 swaps per day. However, it depends what mix of modules you are using in the system. This greatly influences the programs that are loaded.
    You mentioned that you have two instances on the one server. Is this the CI and one application server for the SAP system or is it two separate SAP systems (i.e. separate SIDs) ?
    If the two servers are part of the same SAP system, it may be worth looking at how the users are being distributed across the two servers.
    Regards,
    Gary

  • Swaps in Program Buffer

    Hi Gurus,
    When should we tune buffer parameters?.
    For example: Swaps for program buffer are 90,000. In which case we have to tune the program buffer?. I know there is no threshold or thumb rule for swaps in SAP system. What will be the base point to tune buffer parameters to reduce swaps?
    Thanks in advance
    A.S.K

    Hi Siva,
    Check this link out:
    http://help.sap.com/saphelp_sm40/helpdata/en/c4/3a6ecc505211d189550000e829fbbd/content.htm
    and
    http://help.sap.com/saphelp_sm40/helpdata/en/c4/3a6f00505211d189550000e829fbbd/content.htm
    Please award points accordingly.
    Regards.
    Ruchit.

  • Short Dump...Bottleneck pushed it out of the local program buffer

    Hello!!
    We have had a dump in production. The message is:
    While the program was running, the program "SAPLV07A" had to be reloaded because a bottleneck pushed it out of the local program buffer. However, the database was found to contain an already changed program.
    The termination occurred in line 87 of the source code of the (Include)  program "FV45PFAP_XVBAP_UPDATE_EINTEILU" of the source code of program "FV45PFAP_XVBAP_UPDATE_EINTEILU" (when calling  the editor 870).
    It has ocurred while the user was executing VA03.
    Im not sure but i think it is only a circumstancial error.
    Do u know that is happened?
    Thx
    Edited by: Alvaro Tejada Galindo on Mar 3, 2008 1:58 PM

    Well - it could be that a transport was imported while the transaction was running.
    What happens when the same user re-executes the same transaction?
    Rob
    Edited by: Rob Burbank on Mar 3, 2008 1:23 PM

  • Program Buffer swap

    Hi Techies
    In our Production servers i found that Program buffer swap are more around 10 thousand swaps
    I have restarted the server twice but still after two days again the swap are increased ( only the program buffer swaps are more) and moreover hitratio is 99% and no performance issue .
    abap/buffersize                  512000
    what shall i do shall increase the program buffer size to reduce the swaps
    Thank You
    Haroon
    Edited by: virtualharoon on Aug 14, 2009 7:15 AM

    Hi techies
    thanks for the reply techies
    I have configured the logon load balancing, i have 10 application servers ,As per suggestions i will increase the paramater to 600MB. will that be oK
    Will this parameter has any dependencies(abap/buffersize)
    Awaiting for the reply
    ENV
    SAP R/3 4.6B
    Oracle
    Memory : 50 GB

  • Help regarding program to display even numbers

    plz send me a program to display even numbers from 1 to 100.

    DATA : VAL TYPE I.
    DO 100 TIMES.
    COMPUTE VAL = SY-INDEX MOD 2.
    IF VAL EQ 0.
    WRITE : / 'Even NOs are' , SY-INDEX.
    *ELSE.
    *WRITE
    ENDIF.
    ENDDO.
    REGARDS
    SHIBA DUTTA

  • Regarding program time out...

    Hi all
    I have a requirement where i need to display an error message when my report is taking more than thirty min to generate.
    Can anyone please help me in this regard.
    I need to capture the execution time and display the message at runtime.
    Thanks in advance.

    Hi Shilpa
    U can use  SAPGUI_PROGRESS_INDICATOR for displayin clock in as display in standard programs
    bu passing ..u can define p_rate at diffrent place of ur program in p_txt Cusomize message will display
    call function 'SAPGUI_PROGRESS_INDICATOR'
          exporting
            percentage = p_rate
            text       = p_text.
    start-of-selection
    p_rate = 0 .
    perform f_get_clock.
    perform f_clock_display.
    again some piece of code
    p_rate = 10 .
    perform f_get_clock.
    perform f_clock_display.
    p_rate = 20 .
    perform f_get_clock.
    perform f_clock_display.
    form f_get_clock .
    if p_rate = 0.
      p_text = 'Checking for Whether File Exsists or Not'.
    elseif p_rate = 10.
      p_text = 'Transforming Data From File to internal Table'.
    elseif p_rate = 20.
      p_text = 'Formatting Data in the Internal Table'.
    elseif p_rate = 30.
      p_text = 'Removing Inactive,Not in SAP,Discharged Cases'.
    elseif p_rate = 40.
      p_text = 'Removing Exsisting Records'.
    elseif p_rate = 50.
      p_text = 'Checking For Public Holiday Condition'.
    elseif p_rate = 60.
      p_text = 'Adjusting Leave According to Leave Quata Avail'.
    elseif p_rate = 70.
      p_text = 'Uploading Records'.
    elseif p_rate = 80.
      p_text = 'Modifying Records created with .88 and .57'.
    elseif p_rate = 90.
      p_text = 'Writting Log Report'.
    endif.
    endform.      
    form f_clock_display .
        call function 'SAPGUI_PROGRESS_INDICATOR'
          exporting
            percentage = p_rate
            text       = p_text.
    endform.

  • Regarding program execution in background

    Hi ALL,
    I have a report with more than 255 columns if i execute in foreground no problem but if i execute in background  it is displaying upto 255 columns only it is not displaying completely. (My report has 340 columns) . So please anyone tell me how could i display more than 255 columns in background .
    Thanks & Regards
    K. Naveen Kumar

    search for the OSS Note.
    In 4.6C you need to create a Z program ( code given in OSS Note ), it will take the spool number as parameter.
    Further you also need to crate a new page format ( Xn SPAD) by copying a standard one ...like Z_65_340
    That also need to be attached with the printer device type ..for local SAPWIN.
    While specifying the job in SM36, in print specification , specify the new wider page format.
    Further , aftre the job is run , check our the spool number created and then see the spool using the OSS - Z program.
    No guarantee though
    Cheers,
    Ram
    cheers,
    Ram
    Message was edited by: Ram Manohar Tiwari

  • Regarding Program Copy

    hai,
    I have created ztable and zprograms in my local object with user "fujikawa"
    now I created new user Chandra. i want to continue coding
    by copying programs from Fujikawa user.
    If at all we copy these PGMS, it seems we cant execute in new user.
    Why is it..? any idea is there?
    Chandra

    Hello Chandra,
    Befor the steps to rename a table safely, I shall give you the steps to reward the points to the replies you get.
    1. For each of the responses that you get for your question, there will be a yellow star icon in the header of the reply.
    2. Just click the icon and you will be taken to a screen where you can reward points to that message based on how useful you have found it to be.
    3. For any question, out of all the replies you get, you can reward
      a. 10 points to the one reply that has answered your question.
      b. 6 points to two replies that were very helpful to you.
      c. 2 points to all the answers that have been somewhat useful to you.
    As I said earlier, this is a special way to thank the people who have taken their time and effort to answer your question and help you solve your problem...All it takes is a few clicks and a few seconds.
    Now coming over to the table renaming...
    1. Go to Se11, enter the name of the table you want to rename.
    2. Click on the where-used list icon on the toolbar.
    3. You will get a pop-up screen. Since you are searching for a custom table (Z-table), it might not have too many references. Select all the objects which you think might have used this table.
    4. You will get a list of results along with the exactl location where the table (rather <i>table name</i>)is used. Change all these to the new name and save all the objects (programs). Don't activate the programs at this point.
    5. After all the programs and other objects referencing the table have been modified to the new table name, then change the actual table's name.
    6. Activate the table with it's new name. Then activate all the objects that you have just modified , to correct the table name.
    Hope this has been clear enough for you to understand and go ahead. Now don't again forget to reward the points :-).
    Regards,
    Anand Mandalika.

  • Regarding Program Run Frequency

    Hi
    I was created 1 report and moved to Production.
    Now my requirement is i want to know how frequently that report is using in the production by the users.( Frequency of the program in Production).
    Can anyone give me idea.
    Points are assured for useful answers.
    Regards,
    Sreeram

    Hi,
    If that report is being used as a batch job, then u can use transaction SM37 to know.
    Goto SM37 --> Put Jobname as *, User name as * Put a date range and the ABAP Program name as ur report name.
    This will give u the list of the jobs which have been executed in the given date range and are using the report.
    Regards,
    Himanshu

  • Regarding  Program-ID

    Dear Friends,
    Thanks a lot for your prompt replies. However the issue is that I have to edit a <b>standard ABAP program</b> for which an access key is required. Now in order to get the access key the BASIS Administrator has to feed in the Program-ID.
    Alok.

    Hi alok,
    1. In that case, the full program id will be
    always in the format
    2. <b>R3TR PROG</b> PROGNAME
    3. R3TR = will remain same
       PROG = will remain same
       PROGNAME = will change as per the program name
    regards,
    amit m.

  • Regarding program view

    Hi All,
    i want to know the users name who are all opened(saw) the program.
       could u help me plz.

    Hi Nareshreddy,
    You cannot know who has viewed a program. However, you can know who has changed the program through SAP version management (Utilities -> Versions -> Version Management).
    Hope this helps!
    Regards,
    Saurabh

  • Regarding program RVINVB00

    Hi,
    Has anyone worked on uploading Document Type - Contracts using the SAP Standard program RVINVB00. Can anyone tell me how to go about it.

    Hi Vijay,
    I have used this program for Sales Order upload. it is a direct input program. it takes data in a fixed format file and updates the SAP tables.
    if you want to use this you will have to format your data in the required format. if your source system is also SAP, you can use program RVINVBT0 to extract data. then you won't need to format it manually. if source system is not SAP, then you can check the format of the file RVINVBT0 is generating and format your legacy data in same format.
    Then, on target system then you will have to run RVINVBT0 and upload file.
    Try this and let me know if you need more detail.
    Regards,
    Komal.

Maybe you are looking for