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

Similar Messages

  • 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.

  • 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

  • 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

  • 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?

  • 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

  • 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

  • Swapping and Database Buffer Cache size

    I've read that setting the database buffer cache size too large can cause swapping and paging. Why is this the case? More memory for sql data would seem to not be a problem. Unless it is the proportion of the database buffer to the rest of the SGA that matters.

    Well I am always a defender of the large DB buffer cache. Setting the bigger db buffer cache alone will not in any way hurt Oracle performance.
    However ... as the buffer cache grows, the time to determine 'which blocks
    need to be cleaned' increases. Therefore, at a certain point the benefit of a
    larger cache is offset by the time to keep it sync'd to the disk. After that point,
    increasing buffer cache size can actually hurt performance. That's the reason why Oracle has checkpoint.
    A checkpoint performs the following three operations:
    1. Every dirty block in the buffer cache is written to the data files. That is, it synchronizes the datablocks in the buffer cache with the datafiles on disk.
    It's the DBWR that writes all modified databaseblocks back to the datafiles.
    2. The latest SCN is written (updated) into the datafile header.
    3. The latest SCN is also written to the controlfiles.
    The following events trigger a checkpoint.
    1. Redo log switch
    2. LOG_CHECKPOINT_TIMEOUT has expired
    3. LOG_CHECKPOINT_INTERVAL has been reached
    4. DBA requires so (alter system checkpoint)

  • Swaps in PXA Buffer (abap buffersizw)

    Hi Experts
    In my production server lot of swaps in PXA buffers, yesterday only I increased PXA buffer size 240000 to 270000, but still I am getting swaps in that PXA Buffer (ABAP/BufferSize), any body give the how much memory I have to increase to that respective buffers, what is the solution to over come  this swap problems in PXA buffer
    Best Regards
    Mohammed. Khan

    Hello,
    Increasing the size of buffer swap space depend on hardware configuration of your system.
    First check how much total paging space is allocated in your system.
    Depending on your hardware configuration you can increase size of  buffers.
    you can check current value & SAP default value in your system...
    check system load in your system. Sometimes due to more load swapping occurs...
    If this continuously happens you need to check for all buffers.
    You can check in ST02, which buffers are causing more swaps...
    take action acc to that...
    Regards
    Anju

  • Program Buffer Size

    Dears,
    We have one demo system of netweaver 2004s on SQL server with Windows 2003 server.
    My RAM is 4 GB and paging memory is 16 GB.
    My extended memory and PHY_MEMSIZE is set to 3 GB.
    Initially my programme buffer size was 150 MB.As performance was not proper and swaps were there so changed my programme buffer size to 700 MB and then when I restarted my server,it was not coming up.Tried also with 600 MB but same issue then i tried 500 MB and then server started.
    Can I know its reason as i have sufficient memory availabe then what is the root cause of it and programme buffer memory depands on which memory.
    Please suggest.
    Shivam

    Dear Sunil,
    Output of 'sappfpar check pf=<instance profile>' is:
    Shared memory resource requirements estimated
    ================================================================
    Total Nr of shared segments required.....:         41
    Shared memory segment size required min..:  319488000 ( 304.7 MB)
    Swap space requirements estimated
    ================================================
    Shared memory....................: 1004.2 MB
    Processes........................:   88.5 MB
    Extended Memory .................:  512.0 MB
    Total, minimum requirement.......: 1604.7 MB
    Process local heaps, worst case..: 1907.3 MB
    Total, worst case requirement....: 3512.0 MB
    Errors detected..................:    0
    Warnings detected................:    4
    While on SAP level parameter ipc/shm* is not set.
    Please suggest me what should i do.
    Deepak

  • Size Program screen and components

    If I choose I would like to be able to size the program screen rather than have it take up my whole monitor space. I would also like to be able to close the prompter, since I don't use it. Most other programs allow the sizing of all components. Abobe seems to have inherited this program and just likes to sell it "as is" seems to me

    Hi,
    we are usingwe are using SAP ERP 6.0, oracle 10.2.0.2.0 on IBM AIX 64-Bit.RAM 12GB.
    These are the buffers using swaps.
    Table definition buffer TTAB  Swaps  26,608  
    Field description buffer FTAB Swaps  24,486
    Initial record buffer IRBD    Swaps  47,467
    Generic key table buffer TABL Swaps   90
    Program buffer PXA            Swaps  124,459
    CUA buffer CUA                Swaps   32,956
    Screen buffer PRES            Swaps   704
    Export/import buffer EIBUF    Swaps  100,229
    Program buffres,InitialRecords and Export/import buffers Everday swaps are increasing.
    what could be the issue.

  • Swaps values showing in RED -TCODE ST02

    Hi All,
    When I checked the ST02 transaction  value of "SWAPS" for program buffer,CUA buffer,screen buffer, Tables generic key buffer and export/import buffer are showing in "RED" colour.
                              (%)           (kb)             %                
    Buffer               Hitratio      Allocated     Free Space    swaps
    Program           99.88         900000        0.36             19541
    CUA                99.9           10,000         1.27             37960
    export/import    94.33         40,000         29.10          750,676
    Swaps value are showing in RED mark....Is there somthing fishy? What can be done to overcome this issue?
    Thanks in advance
    Regards,
    Prashant.

    Dear Prashant,
    SWAP is the amount of page space available at OS level. In case of windows it should not be more than 4 times the ram and in case of UNIX 3 times the ram. If swap or paging is configured high is the paging rate and low is the performance. If there is no more free directory entries are available in the buffer for new objects, old objects are removed and the space is occupied by new objects thus a swapping takes place i.e some buffer content is removed from the buffer and replaced by new buffer contents. High swap is normally a symptom of memory bottleneck.
    Red indicates swaps are to be avoided and indicate that there might be a bottleneck.
    What can be done to overcome this issue?
    You need to increase the parameter then.
    Double-click on the red value, click on "current parameters" and increase that parameter in the instance profile using RZ10. If the parameters are not yet in the profile, add them.
    After changing the instance profile you need to restart the instance.
    Regards,
    Ashutosh

  • Buffer Paramater Settings

    Hi Experts,
    In our Development and Production systems , we have been Observed that ,
    Lot of Swaps at Program Buffer (PXA) Especially Development systems ..
    Some times we were experianced Lot of swaps  Export and Import Buffers also
    When we saw at ST02 There was less Space at program buffer and export and Import Buffers .. , and also extended meory use is bit high ..
    Could you please let me know that . If system is running with more swaps ( in St02) , How can we avoid this Swaps ?
    Is there any formula to fine tune buffer parameters  like program buffer, table buffer , Export/Import ,Roll area,HeapMemory to make the system up and running  with good peformance ?
    and also Paging area .........?
    Thanks & Regards,
    Praveen.

    Hi,
    Do you take any ofline backups of your developement system ??? if yes then is it weekly or monthly ????if it is weekly need not to worry as the buffer gets reset as system gets recycled.and if theres no offline backups then u need to monitor it atleast a month...then plan to tune the buffer.
    Swaps is the number (counter) by which old  objects in the buffer is over written by the new objects from database .
    i would suggest to monitor the swaps for a certain period
    Edited by: rajubhattacharjee on Jan 25, 2011 7:04 AM
    Edited by: rajubhattacharjee on Jan 25, 2011 7:13 AM
    Edited by: rajubhattacharjee on Jan 25, 2011 7:23 AM

  • Frame Swap in Netweaver

    Hi All,
    I have question related to swpping monitored using ST02.
    I read about "Frame Swaps" and found note 121808 (Swaps in program buffer although space is free) pertaining to the same.
    The note speaks of parameter "abap/buffersize_part1" which leads to the term "Frames swapped".
    It also says that the parameter does not have any effect as of Release 4.5A.
    I would like to know the relevance of the "Frames Swapped" in performance tunning of Netweaver 700 systems.
    As also how is the loading of large programs taken care or implemented in 700 systems?
    Regards,
    Navin Shettigar

    Thanks manoj for the answer.
    I do agree with your analysis of note but my query is not specific to the note.
    The "Framed Swaps" entry still comes in 700 system while doing inidividual buffer analysis in ST02 along with "Object Swaps".
    I am presuming that there has to be some use in 700 system else SAP wouldnt have kept the record for "Framed Swaps".
    Regards,
    Navin Shettigar

  • Performance issues post SAN & server Migration

    Hello everyone,
    We have recently migrated our SAN  from Emc san ( FC with 4gbe) to dell san (Iscsi with 1gbe) ..2 ports on the the dell san have been teamed up as one ...Also we migrated our Sap app & ibm db2 9.1 db from ibm p5 to p7 server ...Since then Many short dumps have  appeared with the msg "time_out" & the no. of swaps for program buffer went upto 60,000 /day . Although the hit ratio was still 99%...then I increased the buffer size after which the swaps were reduced to 10,000/day but the time_out still occurs specailly for some Z transactions & the overall performance has degraded as well......Any suggestions or help would be aappreciated.
    Thanks & regards,
    Kartik Singh Sodhi

    This is not related to TDMS .

Maybe you are looking for