NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/54818: 9.0_RC1 pagedaemon spins



The following reply was made to PR kern/54818; it has been noted by GNATS.

From: Havard Eidnes <he%uninett.no@localhost>
To: lars%paradoxon.info@localhost
Cc: gnats-bugs%netbsd.org@localhost, ad%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
 netbsd-bugs%netbsd.org@localhost, tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: kern/54818: 9.0_RC1 pagedaemon spins
Date: Thu, 05 Mar 2020 23:45:39 +0100 (CET)

 Oh, BTW, I also appear to have this problem on my old Lenovo T60
 laptop, which runs 8.1/i386 and has 3070MB usable physical memory, and
 it's apparently easier to get this one to trigger.
 
 I'm assuming it's the same issue.  I've not dragged over the diffs to
 this host (yet).
 
 Anything more relevant to collect?
 
 
 NetBSD 8.1 (GENERIC) #4: Fri May 31 19:20:18 CEST 2019
         he%jonsvatnet.uninett.no@localhost:/usr/obj/sys/arch/i386/compile/GENERIC
 total memory = 3070 MB
 avail memory = 3000 MB
 ...
 cpu0 at mainbus0 apid 0
 cpu0: Intel(R) Core(TM)2 CPU         T7400  @ 2.16GHz, id 0x6f6
 cpu0: package 0, core 0, smt 0
 cpu1 at mainbus0 apid 1
 cpu1: Intel(R) Core(TM)2 CPU         T7400  @ 2.16GHz, id 0x6f6
 cpu1: package 0, core 1, smt 0
 
 
 load averages:  1.37,  1.39,  1.85;               up 12+06:27:51       22:12:34
 189 threads: 10 idle, 3 runnable, 171 sleeping, 3 zombie, 2 on CPU
 CPU states:  0.3% user,  0.0% nice, 50.7% system,  0.2% interrupt, 48.8% idle
 Memory: 1603M Act, 822M Inact, 2232K Wired, 330M Exec, 1274M File, 46M Free
 Swap: 2048M Total, 168M Used, 1881M Free
 
   PID   LID USERNAME PRI STATE      TIME   WCPU    CPU NAME      COMMAND
     0    69 root     126 CPU/0     32.0H 99.02% 99.02% pgdaemon  [system]
     0    70 root     124 syncer/1  68:45  0.00%  0.00% ioflush   [system]
  6010     1 he        85 select/1  63:10  0.00%  0.00% -         firefox
   935     1 he        85 select/1  27:15  0.00%  0.00% -         Xorg
 
 "pmap 0" shows (first few lines):
 
 C0000000  72416K read/write/exec     [ anon ]
 C46B8000 368640K read/write/exec     [ anon ]
 DAEB8000  16384K read/write/exec     [ pager_map ]
 DBEB8000    136K read/write          [ anon ]
 DBEDA000   1200K read/write/exec     [ phys_map ]
 
 
 # vmstat -s
      4096 bytes per page
        64 page colors
    768257 pages managed
     11263 pages free
    410923 pages active
    210357 pages inactive
         0 pages paging
       564 pages wired
      7893 zero pages
         1 reserve pagedaemon pages
        10 reserve kernel pages
    211102 anonymous pages
    326183 cached file pages
     84559 cached executable pages
       512 minimum free pages
       682 target free pages
    256085 maximum wired pages
         1 swap devices
 ...
      5255 times daemon wokeup
     14374 revolutions of the clock hand
  12168425 pages freed by daemon
  21614865 pages scanned by daemon
    373482 anonymous pages scanned by daemon
  11794943 object pages scanned by daemon
   2944803 pages reactivated
         0 pages found busy by daemon
    349016 total pending pageouts
  21923470 pages deactivated
 ...
 
 # vmstat -s
      4096 bytes per page
        64 page colors
    768257 pages managed
     11049 pages free
    411160 pages active
    210352 pages inactive
         0 pages paging
       558 pages wired
      7893 zero pages
         1 reserve pagedaemon pages
        10 reserve kernel pages
    211328 anonymous pages
    326219 cached file pages
     84523 cached executable pages
       512 minimum free pages
       682 target free pages
    256085 maximum wired pages
         1 swap devices
 ...
      5255 times daemon wokeup
     14374 revolutions of the clock hand
  12168425 pages freed by daemon
  21614865 pages scanned by daemon
    373482 anonymous pages scanned by daemon
  11794943 object pages scanned by daemon
   2944803 pages reactivated
         0 pages found busy by daemon
    349016 total pending pageouts
  21923470 pages deactivated
 ...
 
 # vmstat -m
 Memory resource pool statistics
 Name        Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
 amappl        48    85115    0    80705   157    28   129   157     0   inf    0
 anonpl        16  1615944    0  1371415  2401   981  1420  2358     0   inf    0
 ataspl        56 11316431    0 11316431  2437  2436     1     1     0   inf    1
 biopl        180    12405    0    12405   816   816     0    27     0   inf    0
 buf16k      16384  539666    0   532479 38906 37109  1797  2924     1     1    0
 buf1k       1024    21200    0    20325   312   298    14    14     1     1    0
 buf2k       2048  1228730    0  1184215 21613 20140  1473  1582     1     1    0
 buf4k       4096    22608    0    22290   439   416    23    25     1     1    0
 buf64k      65536       8    0        0     9     0     9     9     1     1    1
 buf8k       8192    14451    0    14182   756   720    36    41     1     1    0
 bufpl        180   164745    0   111573  2558    14  2544  2558     0   inf    0
 cwdi          64     2330    0     2265     2     0     2     2     0   inf    0
 ehcixfer     204        5    0        4     1     0     1     1     0   inf    0
 execargs    262144 254658    0   254658   492   491     1     3     0    16    1
 extent        20      126    0      120     1     0     1     1     0   inf    0
 fcrpl        104       12    0       11     2     0     2     2     2   inf    1
 fdfile        64    14765    0    13783    25     3    22    23     0   inf    0
 ffsdino1     128  1480577    0  1378332  3717   104  3613  3716     0   inf    0
 ffsino       180  1515152    0  1412907  5242   169  5073  5235     0   inf    0
 file          64    15963    0    15471    13     0    13    13     0   inf    0
 filedesc     704     2310    0     2245    35    17    18    21     0   inf    0
 icmp          16   149635    0   149635  1859  1859     0     1     0   inf    0
 icmp6         16    47634    0    47634  2385  2385     0     1     0   inf    0
 in6pcbpl     176    42267    0    42257    12    11     1     3     0   inf    0
 inmltpl       32        4    0        2     1     0     1     1     0   inf    0
 inpcbpl      140   154708    0   154690    12    11     1     6     0   inf    0
 ipfrenpl      64       71    0       71    30    30     0     1     0   inf    0
 kcpuset       64     4316    0     4154     4     0     4     4     0   inf    0
 kcredpl      192     7592    0     7325    23     6    17    20     0   inf    0
 kmem-1024   1024    32123    0    28877  2691  1864   827  1864     0   inf    0
 kmem-112     112    15593    0    15435     8     2     6     7     0   inf    0
 kmem-128     128    13084    0    12476    38    18    20    37     0   inf    0
 kmem-16       16    79743    0    78083    13     0    13    13     0   inf    0
 kmem-160     160    11499    0    11059    27     8    19    21     0   inf    0
 kmem-192     192     6444    0     6288    15     6     9    12     0   inf    0
 kmem-2048   2048    11150    0    11051   711   660    51    70     0   inf    0
 kmem-224     224     3935    0     3860    14     7     7     7     0   inf    0
 kmem-24       24   265875    0   263425   148   111    37    56     0   inf    0
 kmem-256     256    14346    0    13887    47    14    33    45     0   inf    0
 kmem-32       32   101314    0    98408   107    70    37    42     0   inf    0
 kmem-320     320    14197    0    14080    19     6    13    18     0   inf    0
 kmem-384     384     4007    0     3835    38    19    19    27     0   inf    0
 kmem-40       40   405967    0   401765   190   112    78    89     0   inf    0
 kmem-4096   4096    81574    0    81432 11262 11120   142   330     0   inf    0
 kmem-448     448     2992    0     2914    21    10    11    15     0   inf    0
 kmem-48       48     8778    0     6050    36     3    33    34     0   inf    0
 kmem-512     512    12862    0    12786    23    10    13    18     0   inf    0
 kmem-56       56    49170    0    48684    29    20     9    19     0   inf    0
 kmem-64       64    24694    0    22986    81    39    42    81     0   inf    0
 kmem-768     768    56667    0    56196   412   295   117   278     0   inf    0
 kmem-8         8   330457    0   323799    69    11    58    68     0   inf    0
 kmem-80       80    95736    0    94743    64    30    34    56     0   inf    0
 kmem-96       96    43696    0    41730    81    31    50    69     0   inf    0
 ksiginfo      48     1913    0     1911     1     0     1     1     0   inf    0
 kva-12288   12288   10333    0    10322    16    15     1     2     0   inf    0
 kva-16384   16384    9358    0     9355    13    12     1     3     0   inf    0
 kva-20480   20480       4    0        3     1     0     1     1     0   inf    0
 kva-24576   24576       4    0        0     1     0     1     1     0   inf    0
 kva-32768   32768      18    0       14     1     0     1     1     0   inf    0
 kva-4096    4096    60886    0    33977   467    14   453   465     0   inf    0
 kva-49152   49152       1    0        0     1     0     1     1     0   inf    0
 kva-65536   65536    3265    0       77   804     6   798   798     0   inf    0
 kva-8192    8192     5967    0     5956    12    11     1     2     0   inf    0
 llentrypl    168      214    0      192     1     0     1     1     0   inf    0
 lockf         64     2783    0     2765     1     0     1     1     0   inf    0
 lwppl        672     3098    0     2907    54    19    35    43     0   inf    0
 mbpl         256   203243    0   202857    73    43    30    34     1   inf    0
 mclpl       2048    98622    0    98621 10173 10168     5    65     4 16384    4
 mutex         64  1668843    0  1561445  1928    29  1899  1928     0   inf    0
 ncache       128  1561202    0  1456515  3585    17  3568  3569     0   inf    0
 pcache       576       91    0        4    13     0    13    13     0   inf    0
 pcachecpu     64       95    0        0     2     0     2     2     0   inf    0
 pcglarge     512    42741    0    42740  5848  5847     1  1133     0   inf    0
 pcgnormal    128  1486090    0  1486046  8524  8522     2   516     0   inf    0
 pdict16       44      264    0      206     1     0     1     1     0   inf    0
 pdict32       60       18    0        5     1     0     1     1     0   inf    0
 pdppl       4096     2517    0     2452  1762  1697    65   105     0   inf    0
 phpool-0      32    96617    0    91747    57     6    51    57     0   inf    0
 phpool-128    44      362    0      205     2     0     2     2     0   inf    0
 phpool-256    60      161    0      111     2     1     1     2     0   inf    0
 phpool-512    92       69    0       11     2     0     2     2     0   inf    0
 phpool-64     36     4189    0     2739    14     0    14    14     0   inf    0
 piperd       192     1325    0     1297     8     5     3     3     0   inf    0
 pipewr       192     1299    0     1273     3     0     3     3     0   inf    0
 plimitpl     216      210    0      196     4     3     1     2     0   inf    0
 pmappl       120     2281    0     2216    11     8     3     4     0   inf    0
 pnbufpl     1024    39603    0    39597  1151  1149     2    10     0   inf    0
 procpl       484     2184    0     2119    17     6    11    13     0   inf    0
 proparay      32      111    0        0     1     0     1     1     0   inf    0
 propdict      32      435    0      102     3     0     3     3     0   inf    0
 propnmbr      32   665139    0   665095     1     0     1     1     0   inf    0
 propstng      20      831    0      221     4     0     4     4     0   inf    0
 pstatspl     268     2175    0     2110    10     4     6     7     0   inf    0
 ptimerpl     164      299    0      282     1     0     1     1     0   inf    0
 ptimerspl    152      299    0      282     1     0     1     1     0   inf    0
 pvpl          20   518678    0   479543   285     8   277   285     0   inf    0
 ractx         24   546362    0   502084   718   356   362   434     0   inf    0
 rndctx         8       42    0       41     1     0     1     1     0   inf    0
 rndsample    528     1199    0     1178    17    12     5     8     0   586    0
 rndtemp      512       40    0       40    21    21     0     1     0   inf    0
 rtentpl      208      132    0      103     2     0     2     2     0   inf    0
 rwlock        64        4    0        1     1     0     1     1     0   inf    0
 sigacts     2056     2250    0     2185  1769  1704    65   104     0   inf    0
 socket       336     6649    0     6450    40    15    25    32     0   inf    0
 tcpcbpl      528    45020    0    45003    86    83     3    26     0   inf    0
 tcpipqepl     44     8142    0     8142   177   177     0     1     0   inf    0
 tmpfs_dirent  24    92621    0    92621    58    58     0     1     0   inf    0
 tmpfs_node   140    92622    0    92604    45    42     3     6     0   inf    0
 tstilepl      52     2992    0     2801     4     0     4     4     0   inf    0
 uaoeltpl      84       99    0       87     2     0     2     2     0   inf    0
 uarea       8192     3064    0     2873  2381  2190   191   257     0   inf    0
 ufsdir       264      663    0      663   388   388     0     1     0   inf    0
 uhcixfer     208        2    0        1     1     0     1     1     0   inf    0
 uhcixfer     208        3    0        2     1     0     1     1     0   inf    0
 uhcixfer     208        4    0        3     1     0     1     1     0   inf    0
 uhcixfer     208        3    0        2     1     0     1     1     0   inf    0
 vcachepl     196  1532480    0  1430187  5784   225  5559  5761     0   inf    0
 vmembt        28    25565    0    20827    60     0    60    60     0   inf    0
 vmmpepl       88   190987    0   183462   525   136   389   512     0   inf    0
 vmsppl       212     2264    0     2199    11     6     5     6     0   inf    0
 wapbldealloc  20    27902    0    27902   256   256     0     1     0   inf    0
 wapblentrypl  20   114424    0   114424  2384  2384     0     1     0   inf    0
 wapblinopl    20   424009    0   424009   479   479     0     1     0   inf    0
 Totals           30016712    0 28972843150477118632 31845
 
 In use 303551K, total allocated 334304K; utilization 90.8%
 
 # 
 


Home | Main Index | Thread Index | Old Index