TUNING: fre, minfree, and maxfree relationship


 
Thread Tools Search this Thread
Operating Systems AIX TUNING: fre, minfree, and maxfree relationship
# 1  
Old 07-03-2007
TUNING: fre, minfree, and maxfree relationship

Here's a good question about tuning. Why does my system continuously scan (sr) to free up pages when the amount of "fre" pages is well ABOVE my minfree and maxfree settings:

Code:
$ vmo -a | grep free
               maxfree = 2560
               minfree = 2048
$


Here is sample output from a "vmstat -Itw 1" command:

Code:
   kthr            memory                         page                       faults                 cpu             time  
----------- --------------------- ------------------------------------ ------------------ ----------------------- --------
  r   b   p        avm        fre    fi    fo    pi    po    fr     sr    in     sy    cs us sy id wa    pc    ec hr mi se
  5   0   0    1989487       5587  4443  1774     0     5  1492   3684  5980  78869 21788 73 12 13  2  2.80  93.4 10:16:23
  5   1   0    1989487       5670  4217  1037     0     4   873   2002  5745  75376 19430 75 11 11  2  2.84  94.7 10:16:24
  2   2   0    1989487       5640  4493   913     4     2   806   1132  5680  73061 18718 69 11 17  3  2.66  88.6 10:16:25
  4   1   0    1989487       5665  4177  1428     1     7  1075   3309  6062  75888 20405 80 12  7  1  3.00 100.1 10:16:26
  4   1   0    1989487       5658  4130   924     4    15   678   4199  5802  78884 19338 70 12 16  2  2.70  90.0 10:16:27
  3   0   0    1989487       5639  4487  1002     0     5   777   3375  5877  79213 20233 78 12  9  1  2.93  97.8 10:16:28
  2   2   0    1989487       5585  4493  1852     1     6  1419   3979  6225  77220 21150 76 13  9  2  2.90  96.8 10:16:29
  4   1   0    1989487       5361  4444  1049     0     8   914   1291  6304  88256 21985 71 13 15  2  2.76  91.9 10:16:30
  3   1   0    1989487       5633  4335  1038     1     8   782   1023  6040  80653 20273 80 12  7  1  2.98  99.5 10:16:31

I have been working with IBM and they suggested creating another paging space. That is just poopy talk because I don't want more paging space. I want it to quit scanning and work like it is suppose to! From what I understand it is NOT suppose to start scanning until the "fre" is less than the "minfree" and then it is suppose to scan and steal pages till the "fre" is equal to or greater than the "maxfree". Anyone have any ideas?
# 2  
Old 07-17-2007
We finally upgraded to AIX 5.3 TL6 SP1 and now the system no longer pages like crazy. It hasn't grown from 1% for two days. Usually by now, it is up around 15%.

However, the system still constantly scans (sr in vmstat) even though our max_free is set at 2500 and there are usually around 6,000 free. Strange. I guess I'm just glad the thing quit paging. I'd still like to know how the numbers relate between minfree, maxfree, and fre. I don't think they have a 1-to-1 relationship.
# 3  
Old 08-14-2007
I finally figured out we have 4 shared pools of memory and the "minfree" refers to the number of free frames in each pool. Since I have four pools, I have to take the "minfre" times 4 and that is what the "sr" is trying to keep free. Shesh... IBM had a hard time figuring this out.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Programming

Relationship between exceptions and signals

Hi everyone, I am using AIX 6.1. There are exception codes defined in header file sys/m_except.hAlso, in the documentation (in "Understanding exception handling") it says: If no exception handler is currently defined when an exception occurs, typically one of two things happens. If... (0 Replies)
Discussion started by: manolo123
0 Replies

2. UNIX for Advanced & Expert Users

release fre swap memory on AIX

Hello, How is it possible to free swap memory on AIX. when i do vmstat on machine i can see less than 1 Gb "fre" when usually I have around 5 GB. I dont wont to reboot the server. any idea? Thanks. (3 Replies)
Discussion started by: LiorAmitai
3 Replies

3. Solaris

minfree contents of the disk

Hi Can anyone tell me the details (or) purpose of the minfree(10%) space in disk. Thanks in advance MaroV (7 Replies)
Discussion started by: vr_mari
7 Replies

4. Solaris

doubt reg Minfree.

Hi When setting minfree to a certain percentage using the tunefs command, does this actually prevent users from accesing the partition when the limit is reached or not?.. It is a separate file system or not More clarification regarding minfree will be useful for me . (6 Replies)
Discussion started by: rogerben
6 Replies

5. Web Development

MySQL Tuning Tools with mysqltuner.pl and tuning-primer.sh

We have been tuning MySQL lately and I ran accoss two useful tools that you might be interested in: mysqltuner.pl tuning-primer.sh Both of these scripts are quite useful for MySQL tuning. Here is some sample output of mysqltuner.pl >> MySQLTuner 0.9.8 - Major Hayden... (3 Replies)
Discussion started by: Neo
3 Replies

6. AIX

vpath fbvol relationship

Hi, I have a question about AIX vpaths and the fbvols you create via dscli on a DS8100 storage. Is there any command or any way to look which fbvol corresponds which vpath on operating system like the command fget_config -Av on a FastT storage system? I tried the datapath query device, datapath... (1 Reply)
Discussion started by: samaks
1 Replies

7. AIX

fre in vmstat

The field (fre) in the vmstat output reporst the size of the free list in which unit, pages, bytes or kbytes ? (1 Reply)
Discussion started by: Negm
1 Replies
Login or Register to Ask a Question