[email protected]
[Top] [All Lists]

Re: kern/42455: tstile hang with nfs

Subject: Re: kern/42455: tstile hang with nfs
From: "Christoph Egger"
Date: Tue, 4 May 2010 12:25:02 +0000 UTC
The following reply was made to PR kern/42455; it has been noted by GNATS.

From: "Christoph Egger" <[email protected]>
To: [email protected], [email protected], [email protected],
 [email protected]
Cc: 
Subject: Re: kern/42455: tstile hang with nfs
Date: Tue, 04 May 2010 14:24:53 +0200

 >  What do netstat -m and vmstat -m show ?
 
 # netstat -m 
 341 mbufs in use:
         329 mbufs allocated to data
         6 mbufs allocated to packet headers
         6 mbufs allocated to socket names and addresses
 0 calls to protocol drain routines
 
 # netstat -m 
 354 mbufs in use:
         342 mbufs allocated to data
         6 mbufs allocated to packet headers
         6 mbufs allocated to socket names and addresses
 0 calls to protocol drain routines
 
 # netstat -m 
 359 mbufs in use:
         347 mbufs allocated to data
         6 mbufs allocated to packet headers
         6 mbufs allocated to socket names and addresses
 0 calls to protocol drain routines
 
 # netstat -m 
 365 mbufs in use:
         353 mbufs allocated to data
         6 mbufs allocated to packet headers
         6 mbufs allocated to socket names and addresses
 0 calls to protocol drain routines
 
 So more and more mbufs are allocated by then.
 
 # vmstat -m
 Memory statistics by bucket size
     Size   In Use   Free   Requests  HighWater  Couldfree
       32     1344     64       6965     640          0
       64      263     57       4763     320          0
      128     2838     10       3340     160          0
      256      175      1        299      80          0
      512       32      0         39      40          0
     1024      641      3        991      20          0
     2048      278      0        288      10          0
     4096       21      1         39       5          0
     8192        5      0          6       5          0
    16384        3      0         21       5          0
    32768        1      0          1       5          0
    65536        4      0          4       5          0
   131072        1      0          1       5          0
 
 Memory usage type by bucket size
     Size  Type(s)
       32  ptyfs mount, kernfs mount, USB, USB device, soname, sockaddr, vmem,
           NETSMBDEV, sysctldata, devbuf, pcb, temp, routetbl, in_multi, 
ifmedia,
           ifaddr, ether_multi, acpi
       64  USB, packet tags, tcpcongctl, RAIDframe, NDP, sysctldata, devbuf, 
pcb,
           temp, routetbl, fragtbl, ifaddr, acpi
      128  USB, USB device, soname, vmem, NDP, sysctlnode, sysctldata, devbuf,
           DMA map, pcb, temp, acpi
      256  prop dictionary, VM page, USB, USB device, sysctldata, devbuf, temp,
           routetbl, ip_moptions, in_multi, ifaddr, acpi
      512  USB, sysctldata, devbuf, DMA map, temp, ifaddr, acpi
     1024  VM map, USB, vmem, sysctlnode, sysctldata, devbuf, DMA map, temp,
           crypto, acpi
     2048  USB device, RAIDframe, sysctlnode, sysctldata, devbuf, DMA map, temp
     4096  vmem, RAIDframe, sysctlnode, devbuf, temp
     8192  USB, vmem, sysctlnode, devbuf
    16384  sysctlnode, devbuf
    32768  devbuf
    65536  devbuf
   131072  devbuf
 
 Memory statistics by type                                Type  Kern
            Type InUse  MemUse HighUse   Limit   Requests Limit Limit Size(s)
     ptyfs mount     1      1K      1K 314573K          1     0     0 32
    kernfs mount     1      1K      1K 314573K          1     0     0 32
 prop dictionary    95     24K     24K 314573K         97     0     0 256
         VM page     1      1K      1K 314573K          1     0     0 256
          VM map     2      2K      2K 314573K          2     0     0 1024
             USB    45     16K     16K 314573K         51     0     0 
32,64,128,256,512,1024,8192
      USB device    18     19K     19K 314573K         18     0     0 
32,128,256,2048
          soname    32      4K      5K 314573K        101     0     0 32,128
     packet tags     0      0K      1K 314573K         28     0     0 64
        sockaddr    78      3K      3K 314573K        185     0     0 32
      tcpcongctl     2      1K      1K 314573K          2     0     0 64
            vmem     8     25K     26K 314573K         12     0     0 
32,128,1024,4096,8192
       NETSMBDEV     1      1K      1K 314573K          1     0     0 32
       RAIDframe    10     35K     35K 314573K         10     0     0 
64,2048,4096
             NDP    10      1K      1K 314573K         12     0     0 64,128
      sysctlnode   139    191K    191K 314573K        170     0     0 
128,1024,2048,4096,8192,16384
      sysctldata    85      9K      9K 314573K        119     0     0 
32,64,128,256,512,1024,2048
          devbuf   417    304K    307K 314573K       2224     0     0 
32,64,128,256,512,1024,2048,4096,8192,16384,32768,65536,131072
         DMA map  1072   1064K   1064K 314573K       1072     0     0 
128,512,1024,2048
             pcb    95     12K     13K 314573K        172     0     0 32,64,128
            temp    20      7K      8K 314573K        321     0     0 
32,64,128,256,512,1024,2048,4096
        routetbl    40      7K      7K 314573K         76     0     0 32,64,256
         fragtbl     0      0K      1K 314573K        131     0     0 64
     ip_moptions     0      0K      1K 314573K          1     0     0 256
        in_multi    38      5K      5K 314573K         38     0     0 32,256
         ifmedia    23      1K      1K 314573K         23     0     0 32
          ifaddr    39     10K     10K 314573K         40     0     0 
32,64,256,512
     ether_multi     9      1K      1K 314573K         10     0     0 32
          crypto     1      1K      1K 314573K          1     0     0 1024
            acpi  3324    330K    332K 314573K      11837     0     0 
32,64,128,256,512,1024
 
 Memory totals:  In Use    Free    Requests
                  2062K     15K       16757
 
 Memory resource pool statistics
 Name        Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg 
Idle
 amappl        80      591    0        0    12     0    12    12     0   inf    0
 anonpl        24    11407    0        0    68     0    68    68     0   inf    0
 aobj         128       10    0        0     1     0     1     1     0   inf    0
 ataspl        96       21    0       21     1     0     1     1     0   inf    
1
 biopl        280        6    0        0     1     0     1     1     0   inf    0
 brtpl         56       91    0        5     2     0     2     2     0   inf    0
 buf1k       1024       53    0        0     1     0     1     1     1     1    0
 buf2k       2048        3    0        0     1     0     1     1     1     1    0
 buf8k       8192       62    0        0     8     0     8     8     1     1    0
 bufpl        280      118    0        0     9     0     9     9     0   inf    0
 cwdi          40       25    0        0     1     0     1     1     0   inf    0
 dirent_tmpfs_0xffffa000265f6008 40 1 0 0    1     0     1     1     0   inf    0
 execargs    262144    267    0      267     1     0     1     1     0    16    
1
 fdfile        48      371    0        0     5     0     5     5     0   inf    0
 file          96      192    0        0     5     0     5     5     0   inf    0
 filedesc     776       25    0        0     5     0     5     5     0   inf    0
 in6pcbpl     232       16    0       15     1     0     1     1     0   inf    0
 inmltpl       48        3    0        1     1     0     1     1     0   inf    0
 inpcbpl      192       58    0       53     1     0     1     1     0   inf    0
 ipqepl        80     1404    0     1404     1     0     1     1     0   inf    
1
 kcredpl      176      173    0        0     8     0     8     8     0   inf    0
 kmem-1024   1024      331    0        0   331     0   331   331     0   inf    0
 kmem-112     112      137    0        0    16     0    16    16     0   inf    0
 kmem-128     128       23    0        0     3     0     3     3     0   inf    0
 kmem-144     144      186    0        0    27     0    27    27     0   inf    0
 kmem-1536   1536       34    0        0    34     0    34    34     0   inf    0
 kmem-16       16        1    0        0     1     0     1     1     0   inf    0
 kmem-168     168       81    0        0    14     0    14    14     0   inf    0
 kmem-200     200       29    0        0     6     0     6     6     0   inf    0
 kmem-2048   2048       78    0        0    78     0    78    78     0   inf    0
 kmem-24       24      607    0        0    15     0    15    15     0   inf    0
 kmem-256     256       49    0        0    13     0    13    13     0   inf    0
 kmem-2560   2560       22    0        0    22     0    22    22     0   inf    0
 kmem-3072   3072        2    0        0     2     0     2     2     0   inf    0
 kmem-32       32      384    0        0    12     0    12    12     0   inf    0
 kmem-3584   3584        3    0        0     3     0     3     3     0   inf    0
 kmem-40       40       65    0        0     3     0     3     3     0   inf    0
 kmem-4096   4096        2    0        0     2     0     2     2     0   inf    0
 kmem-48       48      169    0        0     9     0     9     9     0   inf    0
 kmem-56       56     4146    0        0   231     0   231   231     0   inf    0
 kmem-64       64       81    0        0     6     0     6     6     0   inf    0
 kmem-72       72       39    0        0     3     0     3     3     0   inf    0
 kmem-80       80      310    0        0    26     0    26    26     0   inf    0
 kmem-88       88       57    0        0     6     0     6     6     0   inf    0
 kmem-96       96       26    0        0     3     0     3     3     0   inf    0
 ksiginfo      72        1    0        0     1     0     1     1     0   inf    0
 kvakernel   4096     1276    0        0    40     0    40    40     0   inf    0
 kvakmem     4096      462    0        0    15     0    15    15     0   inf    0
 lockf        112        9    0        0     1     0     1     1     0   inf    0
 lwppl       1024       80    0        0    20     0    20    20     0   inf    0
 mbpl         512      783    0        0   100     0   100   100     2   inf    
2
 mclpl       2048      518    0        0   263     0   263   263     4  8192    
4
 mutex         24      427    0        0     3     0     3     3     0   inf    0
 ncache       160     6837    0        0   274     0   274   274     0   inf    0
 nfsnodepl    304     3624    0       67   274     0   274   274     0   inf    0
 nfsvapl      176     3624    0       67   162     0   162   162     0   inf    0
 node_tmpfs_0xffffa000265f6008 208 2 0 0     1     0     1     1     0   inf    0
 pcache       896       79    0       14    17     0    17    17     0   inf    0
 pcglarge    1024      118    0        0    30     0    30    30     0   inf    0
 pcgnormal    256      172    0        0    11     0    11    11     0   inf    0
 pdict16       72        8    0        0     1     0     1     1     0   inf    0
 pdict32       88        3    0        0     1     0     1     1     0   inf    0
 pdppl       4096       25    0        0    25     0    25    25     0   inf    0
 phpool-0      56      472    0        0     7     0     7     7     0   inf    0
 phpool-64     56     1002    0        0    14     0    14    14     0   inf    0
 piperd       312       11    0        0     1     0     1     1     0   inf    0
 pipewr       312       12    0        0     1     0     1     1     0   inf    0
 plimitpl     208        7    0        0     1     0     1     1     0   inf    0
 pmappl       328       25    0        0     3     0     3     3     0   inf    0
 pnbufpl     1024        7    0        0     2     0     2     2     0   inf    0
 procpl       736       25    0        0     5     0     5     5     0   inf    0
 propdict      48       98    0        2     2     0     2     2     0   inf    0
 propnmbr      56       24    0        1     1     0     1     1     0   inf    0
 propstng      40       91    0        1     1     0     1     1     0   inf    0
 pstatspl     448       25    0        0     3     0     3     3     0   inf    0
 ptimerpl     264        7    0        2     1     0     1     1     0   inf    0
 ptimerspl    280        7    0        2     1     0     1     1     0   inf    0
 pvpl          40    13624    0        0   135     0   135   135     0   inf    0
 ractx         32      731    0        0     6     0     6     6     0   inf    0
 rndsample    536        6    0        0     1     0     1     1     0   inf    0
 rtentpl      264       39    0        1     3     0     3     3     0   inf    0
 scxspl       256       63    0       63     1     0     1     1     1   inf    
1
 sigacts     3088       25    0        0    25     0    25    25     0   inf    0
 socket       568      106    0        0    16     0    16    16     0   inf    0
 str_tmpfs_0xffffa000265f6008 24 1 0   0     1     0     1     1     0   inf    0
 synpl        280        1    0        1     1     0     1     1     0   inf    
1
 tcpcbpl      792       23    0       17     3     0     3     3     0   inf    
1
 tcpipqepl     80        4    0        4     1     0     1     1     0   inf    
1
 tstilepl      96       80    0        0     2     0     2     2     0   inf    0
 uarea       16384      80    0        0    80     0    80    80     0   inf    0
 vmembt        56     1536    0        0    22     0    22    22     0   inf    0
 vmmpepl      136     1613    0        0    56     0    56    56     0   inf    0
 vmsppl       368       25    0        0     3     0     3     3     0   inf    0
 vndxpl       288        4    0        4     1     0     1     1     0   inf    
1
 vndxpl       288        3    0        3     1     0     1     1     0   inf    
1
 vnodepl      304     3584    0        0   276     0   276   276     0   inf    0
 
 In use 10073K, total allocated 10891K; utilization 92.5%
 
 
 n# vmstat -m 
 Memory statistics by bucket size
     Size   In Use   Free   Requests  HighWater  Couldfree
       32     1344     64       6965     640          0
       64      263     57       4766     320          0
      128     2838     10       3340     160          0
      256      175      1        299      80          0
      512       32      0         39      40          0
     1024      641      3        991      20          0
     2048      278      0        288      10          0
     4096       21      1         39       5          0
     8192        5      0          6       5          0
    16384        3      0         21       5          0
    32768        1      0          1       5          0
    65536        4      0          4       5          0
   131072        1      0          1       5          0
 
 Memory usage type by bucket size
     Size  Type(s)
       32  ptyfs mount, kernfs mount, USB, USB device, soname, sockaddr, vmem,
           NETSMBDEV, sysctldata, devbuf, pcb, temp, routetbl, in_multi, 
ifmedia,
           ifaddr, ether_multi, acpi
       64  USB, packet tags, tcpcongctl, RAIDframe, NDP, sysctldata, devbuf, 
pcb,
           temp, routetbl, fragtbl, ifaddr, acpi
      128  USB, USB device, soname, vmem, NDP, sysctlnode, sysctldata, devbuf,
           DMA map, pcb, temp, acpi
      256  prop dictionary, VM page, USB, USB device, sysctldata, devbuf, temp,
           routetbl, ip_moptions, in_multi, ifaddr, acpi
      512  USB, sysctldata, devbuf, DMA map, temp, ifaddr, acpi
     1024  VM map, USB, vmem, sysctlnode, sysctldata, devbuf, DMA map, temp,
           crypto, acpi
     2048  USB device, RAIDframe, sysctlnode, sysctldata, devbuf, DMA map, temp
     4096  vmem, RAIDframe, sysctlnode, devbuf, temp
     8192  USB, vmem, sysctlnode, devbuf
    16384  sysctlnode, devbuf
    32768  devbuf
    65536  devbuf
   131072  devbuf
 
 Memory statistics by type                                Type  Kern
            Type InUse  MemUse HighUse   Limit   Requests Limit Limit Size(s)
     ptyfs mount     1      1K      1K 314573K          1     0     0 32
    kernfs mount     1      1K      1K 314573K          1     0     0 32
 prop dictionary    95     24K     24K 314573K         97     0     0 256
         VM page     1      1K      1K 314573K          1     0     0 256
          VM map     2      2K      2K 314573K          2     0     0 1024
             USB    45     16K     16K 314573K         51     0     0 
32,64,128,256,512,1024,8192
      USB device    18     19K     19K 314573K         18     0     0 
32,128,256,2048
          soname    32      4K      5K 314573K        101     0     0 32,128
     packet tags     0      0K      1K 314573K         30     0     0 64
        sockaddr    78      3K      3K 314573K        185     0     0 32
      tcpcongctl     2      1K      1K 314573K          2     0     0 64
            vmem     8     25K     26K 314573K         12     0     0 
32,128,1024,4096,8192
       NETSMBDEV     1      1K      1K 314573K          1     0     0 32
       RAIDframe    10     35K     35K 314573K         10     0     0 
64,2048,4096
             NDP    10      1K      1K 314573K         12     0     0 64,128
      sysctlnode   139    191K    191K 314573K        170     0     0 
128,1024,2048,4096,8192,16384
      sysctldata    85      9K      9K 314573K        119     0     0 
32,64,128,256,512,1024,2048
          devbuf   417    304K    307K 314573K       2224     0     0 
32,64,128,256,512,1024,2048,4096,8192,16384,32768,65536,131072
         DMA map  1072   1064K   1064K 314573K       1072     0     0 
128,512,1024,2048
             pcb    95     12K     13K 314573K        172     0     0 32,64,128
            temp    20      7K      8K 314573K        322     0     0 
32,64,128,256,512,1024,2048,4096
        routetbl    40      7K      7K 314573K         76     0     0 32,64,256
         fragtbl     0      0K      1K 314573K        131     0     0 64
     ip_moptions     0      0K      1K 314573K          1     0     0 256
        in_multi    38      5K      5K 314573K         38     0     0 32,256
         ifmedia    23      1K      1K 314573K         23     0     0 32
          ifaddr    39     10K     10K 314573K         40     0     0 
32,64,256,512
     ether_multi     9      1K      1K 314573K         10     0     0 32
          crypto     1      1K      1K 314573K          1     0     0 1024
            acpi  3324    330K    332K 314573K      11837     0     0 
32,64,128,256,512,1024
 
 Memory totals:  In Use    Free    Requests
                  2062K     15K       16760
 
 Memory resource pool statistics
 Name        Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg 
Idle
 amappl        80      591    0        0    12     0    12    12     0   inf    0
 anonpl        24    11407    0        0    68     0    68    68     0   inf    0
 aobj         128       10    0        0     1     0     1     1     0   inf    0
 ataspl        96       21    0       21     1     0     1     1     0   inf    
1
 biopl        280        6    0        0     1     0     1     1     0   inf    0
 brtpl         56       92    0        5     2     0     2     2     0   inf    0
 buf1k       1024       53    0        0     1     0     1     1     1     1    0
 buf2k       2048        3    0        0     1     0     1     1     1     1    0
 buf8k       8192       62    0        0     8     0     8     8     1     1    0
 bufpl        280      118    0        0     9     0     9     9     0   inf    0
 cwdi          40       25    0        0     1     0     1     1     0   inf    0
 dirent_tmpfs_0xffffa000265f6008 40 1 0 0    1     0     1     1     0   inf    0
 execargs    262144    268    0      268     1     0     1     1     0    16    
1
 fdfile        48      371    0        0     5     0     5     5     0   inf    0
 file          96      192    0        0     5     0     5     5     0   inf    0
 filedesc     776       25    0        0     5     0     5     5     0   inf    0
 in6pcbpl     232       16    0       15     1     0     1     1     0   inf    0
 inmltpl       48        3    0        1     1     0     1     1     0   inf    0
 inpcbpl      192       58    0       53     1     0     1     1     0   inf    0
 ipqepl        80     1404    0     1404     1     0     1     1     0   inf    
1
 kcredpl      176      173    0        0     8     0     8     8     0   inf    0
 kmem-1024   1024      331    0        0   331     0   331   331     0   inf    0
 kmem-112     112      137    0        0    16     0    16    16     0   inf    0
 kmem-128     128       23    0        0     3     0     3     3     0   inf    0
 kmem-144     144      186    0        0    27     0    27    27     0   inf    0
 kmem-1536   1536       34    0        0    34     0    34    34     0   inf    0
 kmem-16       16        1    0        0     1     0     1     1     0   inf    0
 kmem-168     168       81    0        0    14     0    14    14     0   inf    0
 kmem-200     200       29    0        0     6     0     6     6     0   inf    0
 kmem-2048   2048       78    0        0    78     0    78    78     0   inf    0
 kmem-24       24      607    0        0    15     0    15    15     0   inf    0
 kmem-256     256       49    0        0    13     0    13    13     0   inf    0
 kmem-2560   2560       22    0        0    22     0    22    22     0   inf    0
 kmem-3072   3072        2    0        0     2     0     2     2     0   inf    0
 kmem-32       32      384    0        0    12     0    12    12     0   inf    0
 kmem-3584   3584        3    0        0     3     0     3     3     0   inf    0
 kmem-40       40       65    0        0     3     0     3     3     0   inf    0
 kmem-4096   4096        2    0        0     2     0     2     2     0   inf    0
 kmem-48       48      169    0        0     9     0     9     9     0   inf    0
 kmem-56       56     4146    0        0   231     0   231   231     0   inf    0
 kmem-64       64       81    0        0     6     0     6     6     0   inf    0
 kmem-72       72       39    0        0     3     0     3     3     0   inf    0
 kmem-80       80      310    0        0    26     0    26    26     0   inf    0
 kmem-88       88       57    0        0     6     0     6     6     0   inf    0
 kmem-96       96       26    0        0     3     0     3     3     0   inf    0
 ksiginfo      72        1    0        0     1     0     1     1     0   inf    0
 kvakernel   4096     1276    0        0    40     0    40    40     0   inf    0
 kvakmem     4096      462    0        0    15     0    15    15     0   inf    0
 lockf        112        9    0        0     1     0     1     1     0   inf    0
 lwppl       1024       80    0        0    20     0    20    20     0   inf    0
 mbpl         512      783    0        0   100     0   100   100     2   inf    
2
 mclpl       2048      518    0        0   263     0   263   263     4  8192    
4
 mutex         24      427    0        0     3     0     3     3     0   inf    0
 ncache       160     6837    0        0   274     0   274   274     0   inf    0
 nfsnodepl    304     3624    0       67   274     0   274   274     0   inf    0
 nfsvapl      176     3624    0       67   162     0   162   162     0   inf    0
 node_tmpfs_0xffffa000265f6008 208 2 0 0     1     0     1     1     0   inf    0
 pcache       896       79    0       14    17     0    17    17     0   inf    0
 pcglarge    1024      118    0        0    30     0    30    30     0   inf    0
 pcgnormal    256      172    0        0    11     0    11    11     0   inf    0
 pdict16       72        8    0        0     1     0     1     1     0   inf    0
 pdict32       88        3    0        0     1     0     1     1     0   inf    0
 pdppl       4096       25    0        0    25     0    25    25     0   inf    0
 phpool-0      56      472    0        0     7     0     7     7     0   inf    0
 phpool-64     56     1002    0        0    14     0    14    14     0   inf    0
 piperd       312       11    0        0     1     0     1     1     0   inf    0
 pipewr       312       12    0        0     1     0     1     1     0   inf    0
 plimitpl     208        7    0        0     1     0     1     1     0   inf    0
 pmappl       328       25    0        0     3     0     3     3     0   inf    0
 pnbufpl     1024        7    0        0     2     0     2     2     0   inf    0
 procpl       736       25    0        0     5     0     5     5     0   inf    0
 propdict      48       98    0        2     2     0     2     2     0   inf    0
 propnmbr      56       24    0        1     1     0     1     1     0   inf    0
 propstng      40       91    0        1     1     0     1     1     0   inf    0
 pstatspl     448       25    0        0     3     0     3     3     0   inf    0
 ptimerpl     264        7    0        2     1     0     1     1     0   inf    0
 ptimerspl    280        7    0        2     1     0     1     1     0   inf    0
 pvpl          40    13624    0        0   135     0   135   135     0   inf    0
 ractx         32      731    0        0     6     0     6     6     0   inf    0
 rndsample    536        6    0        0     1     0     1     1     0   inf    0
 rtentpl      264       39    0        1     3     0     3     3     0   inf    0
 scxspl       256       63    0       63     1     0     1     1     1   inf    
1
 sigacts     3088       25    0        0    25     0    25    25     0   inf    0
 socket       568      106    0        0    16     0    16    16     0   inf    0
 str_tmpfs_0xffffa000265f6008 24 1 0   0     1     0     1     1     0   inf    0
 synpl        280        1    0        1     1     0     1     1     0   inf    
1
 tcpcbpl      792       23    0       17     3     0     3     3     0   inf    
1
 tcpipqepl     80        4    0        4     1     0     1     1     0   inf    
1
 tstilepl      96       80    0        0     2     0     2     2     0   inf    0
 uarea       16384      80    0        0    80     0    80    80     0   inf    0
 vmembt        56     1536    0        0    22     0    22    22     0   inf    0
 vmmpepl      136     1613    0        0    56     0    56    56     0   inf    0
 vmsppl       368       25    0        0     3     0     3     3     0   inf    0
 vndxpl       288        4    0        4     1     0     1     1     0   inf    
1
 vndxpl       288        3    0        3     1     0     1     1     0   inf    
1
 vnodepl      304     3584    0        0   276     0   276   276     0   inf    0
 
 In use 10074K, total allocated 10891K; utilization 92.5%
 
 
 Output of vmstat -m (three times for number comparison):
 
 # vmstat -m 
 Memory statistics by bucket size
     Size   In Use   Free   Requests  HighWater  Couldfree
       32     1344     64       6965     640          0
       64      263     57       4767     320          0
      128     2838     10       3344     160          0
      256      175      1        299      80          0
      512       32      0         39      40          0
     1024      641      3        991      20          0
     2048      278      0        288      10          0
     4096       21      1         39       5          0
     8192        5      0          6       5          0
    16384        3      0         21       5          0
    32768        1      0          1       5          0
    65536        4      0          4       5          0
   131072        1      0          1       5          0
 
 Memory usage type by bucket size
     Size  Type(s)
       32  ptyfs mount, kernfs mount, USB, USB device, soname, sockaddr, vmem,
           NETSMBDEV, sysctldata, devbuf, pcb, temp, routetbl, in_multi, 
ifmedia,
           ifaddr, ether_multi, acpi
       64  USB, packet tags, tcpcongctl, RAIDframe, NDP, sysctldata, devbuf, 
pcb,
           temp, routetbl, fragtbl, ifaddr, acpi
      128  USB, USB device, soname, vmem, NDP, sysctlnode, sysctldata, devbuf,
           DMA map, pcb, temp, acpi
      256  prop dictionary, VM page, USB, USB device, sysctldata, devbuf, temp,
           routetbl, ip_moptions, in_multi, ifaddr, acpi
      512  USB, sysctldata, devbuf, DMA map, temp, ifaddr, acpi
     1024  VM map, USB, vmem, sysctlnode, sysctldata, devbuf, DMA map, temp,
           crypto, acpi
     2048  USB device, RAIDframe, sysctlnode, sysctldata, devbuf, DMA map, temp
     4096  vmem, RAIDframe, sysctlnode, devbuf, temp
     8192  USB, vmem, sysctlnode, devbuf
    16384  sysctlnode, devbuf
    32768  devbuf
    65536  devbuf
   131072  devbuf
 
 Memory statistics by type                                Type  Kern
            Type InUse  MemUse HighUse   Limit   Requests Limit Limit Size(s)
     ptyfs mount     1      1K      1K 314573K          1     0     0 32
    kernfs mount     1      1K      1K 314573K          1     0     0 32
 prop dictionary    95     24K     24K 314573K         97     0     0 256
         VM page     1      1K      1K 314573K          1     0     0 256
          VM map     2      2K      2K 314573K          2     0     0 1024
             USB    45     16K     16K 314573K         51     0     0 
32,64,128,256,512,1024,8192
      USB device    18     19K     19K 314573K         18     0     0 
32,128,256,2048
          soname    32      4K      5K 314573K        103     0     0 32,128
     packet tags     0      0K      1K 314573K         30     0     0 64
        sockaddr    78      3K      3K 314573K        185     0     0 32
      tcpcongctl     2      1K      1K 314573K          2     0     0 64
            vmem     8     25K     26K 314573K         12     0     0 
32,128,1024,4096,8192
       NETSMBDEV     1      1K      1K 314573K          1     0     0 32
       RAIDframe    10     35K     35K 314573K         10     0     0 
64,2048,4096
             NDP    10      1K      1K 314573K         12     0     0 64,128
      sysctlnode   139    191K    191K 314573K        170     0     0 
128,1024,2048,4096,8192,16384
      sysctldata    85      9K      9K 314573K        119     0     0 
32,64,128,256,512,1024,2048
          devbuf   417    304K    307K 314573K       2224     0     0 
32,64,128,256,512,1024,2048,4096,8192,16384,32768,65536,131072
         DMA map  1072   1064K   1064K 314573K       1072     0     0 
128,512,1024,2048
             pcb    95     12K     13K 314573K        174     0     0 32,64,128
            temp    20      7K      8K 314573K        323     0     0 
32,64,128,256,512,1024,2048,4096
        routetbl    40      7K      7K 314573K         76     0     0 32,64,256
         fragtbl     0      0K      1K 314573K        131     0     0 64
     ip_moptions     0      0K      1K 314573K          1     0     0 256
        in_multi    38      5K      5K 314573K         38     0     0 32,256
         ifmedia    23      1K      1K 314573K         23     0     0 32
          ifaddr    39     10K     10K 314573K         40     0     0 
32,64,256,512
     ether_multi     9      1K      1K 314573K         10     0     0 32
          crypto     1      1K      1K 314573K          1     0     0 1024
            acpi  3324    330K    332K 314573K      11837     0     0 
32,64,128,256,512,1024
 
 Memory totals:  In Use    Free    Requests
                  2062K     15K       16765
 
 Memory resource pool statistics
 Name        Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg 
Idle
 amappl        80      591    0        0    12     0    12    12     0   inf    0
 anonpl        24    11407    0        0    68     0    68    68     0   inf    0
 aobj         128       10    0        0     1     0     1     1     0   inf    0
 ataspl        96       21    0       21     1     0     1     1     0   inf    
1
 biopl        280        6    0        0     1     0     1     1     0   inf    0
 brtpl         56       94    0        5     2     0     2     2     0   inf    0
 buf1k       1024       53    0        0     1     0     1     1     1     1    0
 buf2k       2048        3    0        0     1     0     1     1     1     1    0
 buf8k       8192       62    0        0     8     0     8     8     1     1    0
 bufpl        280      118    0        0     9     0     9     9     0   inf    0
 cwdi          40       25    0        0     1     0     1     1     0   inf    0
 dirent_tmpfs_0xffffa000265f6008 40 1 0 0    1     0     1     1     0   inf    0
 execargs    262144    269    0      269     1     0     1     1     0    16    
1
 fdfile        48      371    0        0     5     0     5     5     0   inf    0
 file          96      192    0        0     5     0     5     5     0   inf    0
 filedesc     776       25    0        0     5     0     5     5     0   inf    0
 in6pcbpl     232       16    0       15     1     0     1     1     0   inf    0
 inmltpl       48        3    0        1     1     0     1     1     0   inf    0
 inpcbpl      192       58    0       53     1     0     1     1     0   inf    0
 ipqepl        80     1404    0     1404     1     0     1     1     0   inf    
1
 kcredpl      176      173    0        0     8     0     8     8     0   inf    0
 kmem-1024   1024      331    0        0   331     0   331   331     0   inf    0
 kmem-112     112      137    0        0    16     0    16    16     0   inf    0
 kmem-128     128       23    0        0     3     0     3     3     0   inf    0
 kmem-144     144      186    0        0    27     0    27    27     0   inf    0
 kmem-1536   1536       34    0        0    34     0    34    34     0   inf    0
 kmem-16       16        1    0        0     1     0     1     1     0   inf    0
 kmem-168     168       81    0        0    14     0    14    14     0   inf    0
 kmem-200     200       29    0        0     6     0     6     6     0   inf    0
 kmem-2048   2048       78    0        0    78     0    78    78     0   inf    0
 kmem-24       24      607    0        0    15     0    15    15     0   inf    0
 kmem-256     256       49    0        0    13     0    13    13     0   inf    0
 kmem-2560   2560       22    0        0    22     0    22    22     0   inf    0
 kmem-3072   3072        2    0        0     2     0     2     2     0   inf    0
 kmem-32       32      384    0        0    12     0    12    12     0   inf    0
 kmem-3584   3584        3    0        0     3     0     3     3     0   inf    0
 kmem-40       40       65    0        0     3     0     3     3     0   inf    0
 kmem-4096   4096        2    0        0     2     0     2     2     0   inf    0
 kmem-48       48      169    0        0     9     0     9     9     0   inf    0
 kmem-56       56     4146    0        0   231     0   231   231     0   inf    0
 kmem-64       64       81    0        0     6     0     6     6     0   inf    0
 kmem-72       72       39    0        0     3     0     3     3     0   inf    0
 kmem-80       80      310    0        0    26     0    26    26     0   inf    0
 kmem-88       88       57    0        0     6     0     6     6     0   inf    0
 kmem-96       96       26    0        0     3     0     3     3     0   inf    0
 ksiginfo      72        1    0        0     1     0     1     1     0   inf    0
 kvakernel   4096     1276    0        0    40     0    40    40     0   inf    0
 kvakmem     4096      462    0        0    15     0    15    15     0   inf    0
 lockf        112        9    0        0     1     0     1     1     0   inf    0
 lwppl       1024       80    0        0    20     0    20    20     0   inf    0
 mbpl         512      783    0        0   100     0   100   100     2   inf    
2
 mclpl       2048      518    0        0   263     0   263   263     4  8192    
4
 mutex         24      427    0        0     3     0     3     3     0   inf    0
 ncache       160     6837    0        0   274     0   274   274     0   inf    0
 nfsnodepl    304     3624    0       67   274     0   274   274     0   inf    0
 nfsvapl      176     3624    0       67   162     0   162   162     0   inf    0
 node_tmpfs_0xffffa000265f6008 208 2 0 0     1     0     1     1     0   inf    0
 pcache       896       79    0       14    17     0    17    17     0   inf    0
 pcglarge    1024      118    0        0    30     0    30    30     0   inf    0
 pcgnormal    256      172    0        0    11     0    11    11     0   inf    0
 pdict16       72        8    0        0     1     0     1     1     0   inf    0
 pdict32       88        3    0        0     1     0     1     1     0   inf    0
 pdppl       4096       25    0        0    25     0    25    25     0   inf    0
 phpool-0      56      472    0        0     7     0     7     7     0   inf    0
 phpool-64     56     1002    0        0    14     0    14    14     0   inf    0
 piperd       312       11    0        0     1     0     1     1     0   inf    0
 pipewr       312       12    0        0     1     0     1     1     0   inf    0
 plimitpl     208        7    0        0     1     0     1     1     0   inf    0
 pmappl       328       25    0        0     3     0     3     3     0   inf    0
 pnbufpl     1024        7    0        0     2     0     2     2     0   inf    0
 procpl       736       25    0        0     5     0     5     5     0   inf    0
 propdict      48       98    0        2     2     0     2     2     0   inf    0
 propnmbr      56       24    0        1     1     0     1     1     0   inf    0
 propstng      40       91    0        1     1     0     1     1     0   inf    0
 pstatspl     448       25    0        0     3     0     3     3     0   inf    0
 ptimerpl     264        7    0        2     1     0     1     1     0   inf    0
 ptimerspl    280        7    0        2     1     0     1     1     0   inf    0
 pvpl          40    13624    0        0   135     0   135   135     0   inf    0
 ractx         32      731    0        0     6     0     6     6     0   inf    0
 rndsample    536        6    0        0     1     0     1     1     0   inf    0
 rtentpl      264       39    0        1     3     0     3     3     0   inf    0
 scxspl       256       63    0       63     1     0     1     1     1   inf    
1
 sigacts     3088       25    0        0    25     0    25    25     0   inf    0
 socket       568      106    0        0    16     0    16    16     0   inf    0
 str_tmpfs_0xffffa000265f6008 24 1 0   0     1     0     1     1     0   inf    0
 synpl        280        1    0        1     1     0     1     1     0   inf    
1
 tcpcbpl      792       23    0       17     3     0     3     3     0   inf    
1
 tcpipqepl     80        4    0        4     1     0     1     1     0   inf    
1
 tstilepl      96       80    0        0     2     0     2     2     0   inf    0
 uarea       16384      80    0        0    80     0    80    80     0   inf    0
 vmembt        56     1536    0        0    22     0    22    22     0   inf    0
 vmmpepl      136     1613    0        0    56     0    56    56     0   inf    0
 vmsppl       368       25    0        0     3     0     3     3     0   inf    0
 vndxpl       288        4    0        4     1     0     1     1     0   inf    
1
 vndxpl       288        3    0        3     1     0     1     1     0   inf    
1
 vnodepl      304     3584    0        0   276     0   276   276     0   inf    0
 
 In use 10074K, total allocated 10891K; utilization 92.5%
 
 
 
 
 # netstat -m 
 526 mbufs in use:
         514 mbufs allocated to data
         6 mbufs allocated to packet headers
         6 mbufs allocated to socket names and addresses
 0 calls to protocol drain routines
 
 # netstat -m 
 525 mbufs in use:
         513 mbufs allocated to data
         6 mbufs allocated to packet headers
         6 mbufs allocated to socket names and addresses
 0 calls to protocol drain routines
 
 # netstat -m 
 525 mbufs in use:
         513 mbufs allocated to data
         6 mbufs allocated to packet headers
         6 mbufs allocated to socket names and addresses
 0 calls to protocol drain routines
 
 So 514 seems to be a maximum of allocated mbufs.
 

<Prev in Thread] Current Thread [Next in Thread>