cancel
Showing results for 
Search instead for 
Did you mean: 

Two reason for swap

Former Member
0 Kudos

Please refer to following contents first:

*************************************

Swap occur for two reason:

1.no enough free space left in the buffer for buffering the new object

2.the buffer has run out of free directory entries.

Directory entires determine how many different objects can be contained in one buffer area.

*************************************

Here is my thought:

1. One work process has own buffer area in local memory.

2. In work process's buffer area, there are some directory entires to store different objects.

3. I think the directory entires is object group, each object has own directory entries, and can not be placed into another directory entries.

4. There are some directory entires in one work process's own buffer area in local memory

5. If we define too many directory entires in work process's own buffer, the actual size for each directory entries is cut down.

I am not sure my thought is right. For the first reason of swap, does it mean there is no free space in one directory entires?

Please advise. Thanks so much.

James

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Check below link. It gives how to tune buffer.

http://help.sap.com/erp2005_ehp_03/helpdata/EN/c4/3a6f0d505211d189550000e829fbbd/frameset.htm

Thanks,

Suraj

Former Member
0 Kudos

What's directory entires in buffer area?

Could you please advise me what's the structure in buffer area, such as directory entires and so on.

Thanks so much.

James

Former Member
0 Kudos

Hi James,

Buffer consist of 1) the data part and 2)administrative data.

Lets consider short nametab buffer for example,

Profile parameter rsdb/ntab/sntabsize ajusts the size of the data part of the short nametab buffer.

There is an other part of the buffer holding administrative data. The size of this administrative part depends on the platform (for instance for 64bit systems more space is needed than for 32bit systems) and on profile parameter rsdb/ntab/entrycount(i.e Dir. size Entries). Each Directory entries consumes about 300Bytes of data. You can do the calculation now!

For differend sizes of parameter rsdb/ntab/sntabsize the size of the administrative part should be the same, unless you incease rsdb/ntab/entrycount.

To check the current sizes, you can use transaction AL12, menu path

Statistics->Buffers->STAB buffer->Overview

Answers (1)

Answers (1)

Former Member
0 Kudos

Is there anyone who can answer my question? Actually I don't understand what is directory entires in buffer.