[prev in list] [next in list] [prev in thread] [next in thread]
List: aix-l
Subject: Re: minfree default
From: Holger van Koll <Holger.vanKoll () SWISSCOM ! COM>
Date: 2010-02-04 8:55:30
Message-ID: C10F29AB06447B4881FC0DE1E302E2F204641349EF () sg000036 ! corproot ! net
[Download RAW message or body]
I found it out myself.
strict_maxclient was set to 1 and maxclient was reached
so, vmm freed pages within the filecache. Works as designed
_____________________________________________
From: van Koll Holger, ITS-SDL-SO-DXS-UAH
Sent: Thursday, February 04, 2010 8:53 AM
To: 'IBM AIX Discussion List'
Subject: minfree default
Hello,
I have problems in determining the minfree default.
As far as I know its 960 * number of processors * number of mempools.
Page stealing starts when minfree is reached. I tried to confirm this on a =
test node and that run fine (I did a dd </dev/zero >some_file in another se=
ssion to fill up the filesystem-cache):
r b p avm fre fi fo pi po fr sr i=
n sy cs us sy id wa pc ec hr mi se
1 0 0 135672 23655 0 0 0 0 0 0 =
7 60 173 0 0 99 0 0.00 1.1 08:37:46
1 0 0 135674 23653 0 0 0 0 0 0 =
7 306 250 0 1 99 0 0.01 1.8 08:37:47
1 1 0 135726 22372 0 1216 0 0 0 0 16=
0 58694 6743 13 27 54 7 0.18 45.4 08:37:48
1 1 0 135723 20595 0 1760 0 0 0 0 23=
0 86263 9812 18 39 35 8 0.26 66.0 08:37:49
1 1 0 135723 18739 0 1856 0 0 0 0 23=
5 89148 10145 19 41 34 7 0.27 68.0 08:37:50
1 1 0 135723 16947 0 1792 0 0 0 0 22=
7 86080 9810 18 39 35 7 0.26 65.7 08:37:51
1 1 0 135723 15091 0 1824 0 0 0 0 23=
5 89150 10144 19 40 34 7 0.27 67.8 08:37:52
1 1 0 135723 13253 0 1857 0 0 0 0 24=
6 87568 10006 19 41 33 7 0.27 68.5 08:37:53
1 1 0 135737 11609 10 1604 2 0 0 0 26=
8 84080 8642 32 41 23 4 0.33 82.9 08:37:54
3 1 0 135739 10388 3 1242 0 0 0 0 29=
0 61401 6971 15 30 44 11 0.21 52.7 08:37:55
1 1 0 135738 8597 0 1792 0 0 0 0 23=
0 86088 9800 18 39 35 7 0.26 65.6 08:37:56
1 1 0 135738 6757 0 1856 0 0 0 0 22=
9 87556 9987 19 41 34 7 0.27 67.8 08:37:57
1 1 0 135738 4949 0 1824 0 0 0 0 23=
5 87854 9997 18 40 35 7 0.27 66.6 08:37:58
3 0 0 135737 3094 0 1824 0 0 0 0 23=
3 89186 10141 19 41 34 7 0.27 68.1 08:37:59
1 1 0 135737 2592 0 1792 0 0 1290 2194 23=
1 86081 9810 18 41 34 7 0.27 67.6 08:38:00
3 0 0 135737 2671 0 1888 0 0 1935 4349 23=
9 89160 10169 19 43 32 6 0.28 70.8 08:38:01
1 0 0 135685 2663 0 608 0 0 516 1405 8=
3 27856 3325 6 14 75 5 0.09 23.6 08:38:02
That looks reasonable. Page-stealing (fr/sr activity) starts at about 2700.=
There is one mempools and 4 processors (bindprocessor -q).
However, on all "big" systems minfree seems to be much higher than it shoul=
d be:
r b p avm fre fi fo pi po fr sr i=
n sy cs us sy id wa pc ec hr mi se
1 0 0 892385 181280 0 0 0 0 0 0 =
6 946 329 0 2 98 0 0.03 2.7 08:40:09
1 0 0 892432 180810 0 544 0 0 129 505 3=
6 28251 3304 4 7 89 0 0.15 12.1 08:40:10
1 0 0 892430 180738 0 9347 0 0 9289 48073 30=
7 450082 44239 28 50 22 0 1.00 83.2 08:40:11
2 0 0 892431 180750 0 10561 0 0 10578 60495 33=
8 501498 42368 30 60 9 0 1.32 110.3 08:40:12
1 0 0 892428 180750 1 11232 0 0 11223 100469 36=
8 543149 40298 28 61 11 0 1.59 132.8 08:40:13
2 0 0 892428 180702 2 11136 0 0 11094 67810 36=
7 535510 39953 28 60 12 0 1.65 137.3 08:40:14
0 0 0 892378 180812 9 4320 1 0 4386 22485 15=
0 215864 15470 17 35 47 1 0.72 60.0 08:40:15
1 0 0 892375 180815 0 125 0 0 0 0 27=
4 1242 749 1 11 88 1 0.19 15.6 08:40:16
Here I have 4 processors and 5 mempools. 4*960*5 gives 19200. However, minf=
ree seems to be at about 180000.
Other system:
r b p avm fre fi fo pi po fr sr i=
n sy cs us sy id wa pc ec hr mi se
1 1 0 942735 210494 821 34 0 0 845 5656 10=
5 1039 663 5 4 74 17 0.10 11.0 08:47:55
3 1 0 942747 210412 1479 104 0 0 1518 10223 48=
6 4729 1939 37 25 28 11 0.60 67.1 08:48:00
2 1 0 942586 210639 2895 157 0 0 2981 13979 29=
6 2843 1110 23 10 31 36 0.33 36.8 08:48:05
1 1 0 942581 210714 2491 0 0 0 2501 13197 20=
9 1587 857 14 8 52 25 0.23 25.7 08:48:10
1 0 0 942580 210831 0 20 0 0 0 0 9=
1 1234 618 4 3 92 0 0.08 9.1 08:48:15
1 0 0 942614 210539 61 301 0 0 155 608 21=
4 48881 1004 49 10 39 1 0.57 63.5 08:48:20
Here I have 2 processors and 4 mempools. So, minfree should be 7680 but see=
ms to be about 210000.
vmo -o mempools gives 960 on all systems.
Can anybody explain?
Regs, Holger
[Attachment #3 (text/html)]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 \
2px solid; } --></style> </head>
<body>
<font face="Trebuchet MS, sans-serif" size="2">
<div><font color="#0000FF">I found it out myself.</font></div>
<div><font color="#0000FF">strict_maxclient was set to 1 and maxclient was \
reached</font></div> <div><font color="#0000FF">so, vmm freed pages within the \
filecache. Works as designed</font></div> <div><font face="Calibri, sans-serif" \
size="2" color="#0000FF"> </font></div> <div><font face="Calibri, sans-serif" \
size="2" color="#0000FF"> </font></div> <div><font face="Tahoma, \
sans-serif">_____________________________________________<br>
<b>From:</b> van Koll Holger, ITS-SDL-SO-DXS-UAH <br>
<b>Sent:</b> Thursday, February 04, 2010 8:53 AM<br>
<b>To:</b> 'IBM AIX Discussion List'<br>
<b>Subject:</b> minfree default</font></div>
<div><font face="Calibri, sans-serif" size="2"> </font></div>
<div><font face="Calibri, sans-serif" size="2"> </font></div>
<div><font face="Courier New, monospace">Hello,</font></div>
<div><font face="Courier New, monospace"> </font></div>
<div><font face="Courier New, monospace">I have problems in determining the minfree \
default.</font></div> <div><font face="Courier New, monospace"> </font></div>
<div><font face="Courier New, monospace">As far as I know its 960 * number of \
processors * number of mempools.</font></div> <div><font face="Courier New, \
monospace"> </font></div> <div><font face="Courier New, monospace">Page stealing \
starts when minfree is reached. I tried to confirm this on a test node and that run \
fine (I did a dd </dev/zero >some_file in another session to fill up the \
filesystem-cache):</font></div> <div><font face="Courier New, monospace"> \
r b p \
avm fre \
fi fo pi po \
fr sr in \
sy cs us sy id wa pc ec hr mi \
se</font></div> <div><font face="Courier New, monospace"> 1 \
0 0 135672 \
23655 0 0 \
0 0 0 \
0 7 60 173 0 \
0 99 0 0.00 1.1 08:37:46</font></div> <div><font \
face="Courier New, monospace"> 1 0 \
0 135674 \
23653 0 0 \
0 0 0 \
0 7 306 250 0 1 \
99 0 0.01 1.8 08:37:47</font></div> <div><font face="Courier \
New, monospace"> 1 1 0 \
135726 22372 0 \
1216 0 0 \
0 0 160 58694 6743 13 27 \
54 7 0.18 45.4 08:37:48</font></div> <div><font face="Courier New, \
monospace"> 1 1 0 \
135723 20595 0 \
1760 0 0 \
0 0 230 86263 9812 18 39 \
35 8 0.26 66.0 08:37:49</font></div> <div><font face="Courier New, \
monospace"> 1 1 0 \
135723 18739 0 \
1856 0 0 \
0 0 235 89148 10145 19 41 34 \
7 0.27 68.0 08:37:50</font></div> <div><font face="Courier New, \
monospace"> 1 1 0 \
135723 16947 0 \
1792 0 0 \
0 0 227 86080 9810 18 39 \
35 7 0.26 65.7 08:37:51</font></div> <div><font face="Courier New, \
monospace"> 1 1 0 \
135723 15091 0 \
1824 0 0 \
0 0 235 89150 10144 19 40 34 \
7 0.27 67.8 08:37:52</font></div> <div><font face="Courier New, \
monospace"> 1 1 0 \
135723 13253 0 \
1857 0 0 \
0 0 246 87568 10006 19 41 33 \
7 0.27 68.5 08:37:53</font></div> <div><font face="Courier New, \
monospace"> 1 1 0 \
135737 11609 10 \
1604 2 0 \
0 0 268 84080 8642 32 41 \
23 4 0.33 82.9 08:37:54</font></div> <div><font face="Courier New, \
monospace"> 3 1 0 \
135739 10388 3 \
1242 0 0 \
0 0 290 61401 6971 15 30 44 \
11 0.21 52.7 08:37:55</font></div> <div><font face="Courier New, \
monospace"> 1 1 0 \
135738 8597 0 \
1792 0 0 \
0 0 230 86088 9800 18 39 \
35 7 0.26 65.6 08:37:56</font></div> <div><font face="Courier New, \
monospace"> 1 1 0 \
135738 6757 0 \
1856 0 0 \
0 0 229 87556 9987 19 41 \
34 7 0.27 67.8 08:37:57</font></div> <div><font face="Courier New, \
monospace"> 1 1 0 \
135738 4949 0 \
1824 0 0 \
0 0 235 87854 9997 18 40 \
35 7 0.27 66.6 08:37:58</font></div> <div><font face="Courier New, \
monospace"> 3 0 0 \
135737 3094 0 \
1824 0 0 \
0 0 233 89186 10141 19 41 34 \
7 0.27 68.1 08:37:59</font></div> <div><font face="Courier New, \
monospace"> 1 1 0 \
135737 2592 0 \
1792 0 0 1290 \
2194 231 86081 9810 18 41 34 7 0.27 67.6 \
08:38:00</font></div> <div><font face="Courier New, monospace"> 3 \
0 0 135737 \
2671 0 1888 \
0 0 1935 4349 239 89160 \
10169 19 43 32 6 0.28 70.8 08:38:01</font></div> <div><font \
face="Courier New, monospace"> 1 0 \
0 135685 \
2663 0 608 \
0 0 516 1405 \
83 27856 3325 6 14 75 5 0.09 23.6 \
08:38:02</font></div> <div><font face="Courier New, monospace"> </font></div>
<div><font face="Courier New, monospace">That looks reasonable. Page-stealing (fr/sr \
activity) starts at about 2700. There is one mempools and 4 processors (bindprocessor \
–q). </font></div> <div><font face="Courier New, monospace"> </font></div>
<div><font face="Courier New, monospace">However, on all “big” systems \
minfree seems to be much higher than it should be:</font></div> <div><font \
face="Courier New, monospace"> </font></div> <div><font face="Courier New, \
monospace"> r b \
p \
avm fre \
fi fo pi po \
fr sr in \
sy cs us sy id wa pc ec hr mi \
se</font></div> <div><font face="Courier New, monospace"> 1 \
0 0 892385 \
181280 0 0 \
0 0 0 \
0 6 946 329 0 2 \
98 0 0.03 2.7 08:40:09</font></div> <div><font face="Courier \
New, monospace"> 1 0 0 \
892432 180810 0 \
544 0 0 \
129 505 36 28251 3304 4 7 \
89 0 0.15 12.1 08:40:10</font></div> <div><font face="Courier New, \
monospace"> 1 0 0 \
892430 180738 0 \
9347 0 0 9289 \
48073 307 450082 44239 28 50 22 0 1.00 83.2 \
08:40:11</font></div> <div><font face="Courier New, monospace"> 2 \
0 0 892431 \
180750 0 10561 \
0 0 10578 60495 338 501498 42368 30 \
60 9 0 1.32 110.3 08:40:12</font></div> <div><font face="Courier \
New, monospace"> 1 0 0 \
892428 180750 1 \
11232 0 0 11223 100469 \
368 543149 40298 28 61 11 0 1.59 132.8 08:40:13</font></div> <div><font \
face="Courier New, monospace"> 2 0 \
0 892428 \
180702 2 11136 \
0 0 11094 67810 367 535510 39953 28 60 \
12 0 1.65 137.3 08:40:14</font></div> <div><font face="Courier New, \
monospace"> 0 0 0 \
892378 180812 9 \
4320 1 0 4386 \
22485 150 215864 15470 17 35 47 1 0.72 60.0 \
08:40:15</font></div> <div><font face="Courier New, monospace"> 1 \
0 0 892375 \
180815 0 125 \
0 0 0 \
0 274 1242 749 1 11 88 1 \
0.19 15.6 08:40:16</font></div> <div><font face="Courier New, \
monospace"> </font></div> <div><font face="Courier New, monospace">Here I have 4 \
processors and 5 mempools. 4*960*5 gives 19200. However, minfree seems to be at about \
180000.</font></div> <div><font face="Courier New, monospace"> </font></div>
<div><font face="Courier New, monospace">Other system:</font></div>
<div><font face="Courier New, monospace"> </font></div>
<div><font face="Courier New, monospace"> r b \
p \
avm fre \
fi fo pi po \
fr sr in \
sy cs us sy id wa pc ec hr mi \
se</font></div> <div><font face="Courier New, monospace"> 1 \
1 0 942735 \
210494 821 34 \
0 0 845 5656 \
105 1039 663 5 4 74 17 0.10 11.0 \
08:47:55</font></div> <div><font face="Courier New, monospace"> 3 \
1 0 942747 210412 \
1479 104 0 0 \
1518 10223 486 4729 1939 37 25 28 11 \
0.60 67.1 08:48:00</font></div> <div><font face="Courier New, monospace"> \
2 1 0 942586 \
210639 2895 157 0 \
0 2981 13979 296 2843 1110 23 10 31 \
36 0.33 36.8 08:48:05</font></div> <div><font face="Courier New, \
monospace"> 1 1 0 \
942581 210714 2491 \
0 0 0 2501 \
13197 209 1587 857 14 8 52 25 \
0.23 25.7 08:48:10</font></div> <div><font face="Courier New, monospace"> \
1 0 0 942580 \
210831 0 20 \
0 0 0 \
0 91 1234 618 4 3 92 \
0 0.08 9.1 08:48:15</font></div> <div><font face="Courier New, \
monospace"> 1 0 0 \
942614 210539 61 \
301 0 0 \
155 608 214 48881 1004 49 10 39 \
1 0.57 63.5 08:48:20</font></div> <div><font face="Courier New, \
monospace"> </font></div> <div><font face="Courier New, monospace">Here I have 2 \
processors and 4 mempools. So, minfree should be 7680 but seems to be about \
210000.</font></div> <div><font face="Courier New, monospace"> </font></div>
<div><font face="Courier New, monospace"> </font></div>
<div><font face="Courier New, monospace">vmo –o mempools gives 960 on all \
systems.</font></div> <div><font face="Courier New, monospace"> </font></div>
<div><font face="Courier New, monospace">Can anybody explain?</font></div>
<div><font face="Courier New, monospace"> </font></div>
<div><font face="Courier New, monospace">Regs, Holger</font></div>
<div><font face="Courier New, monospace"> </font></div>
<div><font face="Calibri, sans-serif" size="2"> </font></div>
<div><font face="Calibri, sans-serif" size="2"> </font></div>
</font>
</body>
</html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic