Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 2023 13:51:40 +0100
From:      void <void@f-m.fm>
To:        freebsd-stable@freebsd.org
Subject:   Re: periodic daily takes a very long time to run (14-stable)
Message-ID:  <ZTuyXPjddEPqh-bi@int21h>
In-Reply-To: <1122335317.4913.1698407124469@localhost>
References:  <ZTuNvVMW_XG3mZKU@int21h> <1122335317.4913.1698407124469@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 27, 2023 at 01:45:24PM +0200, Ronald Klop wrote:

>Can you run "gstat" or "iostat -x -d 1" to see how busy your disk is? 
>And how much bandwidth is uses.

when periodic is *not* running, gstat numbers fluctuate between whats 
indicated below and all zeros:

dT: 1.011s  w: 1.000s
  L(q)  ops/s    r/s   kBps   ms/r    w/s   kBps   ms/w   %busy Name
     0     69      0      0    0.0     67    732    0.6   24.3| da0
     0      0      0      0    0.0      0      0    0.0    0.0| da0p1
     0      0      0      0    0.0      0      0    0.0    0.0| da0p2
     0     69      0      0    0.0     67    732    0.6   24.3| da0p3
     0      0      0      0    0.0      0      0    0.0    0.0| da0p2.eli
     0     69      0      0    0.0     67    732    0.8   24.4| da0p3.eli

# iostat -x -d 1
        extended device statistics  
device       r/s     w/s     kr/s     kw/s  ms/r  ms/w  ms/o  ms/t qlen  %b  
da0           15      18    189.4    565.1    47     7   144    27    0  23 
pass0          0       0      0.0      0.0    54     0   154    79    0   0 
        extended device statistics  
device       r/s     w/s     kr/s     kw/s  ms/r  ms/w  ms/o  ms/t qlen  %b  
da0            3      70    172.6    698.0    26     1   129     5    0  33 
pass0          0       0      0.0      0.0     0     0     0     0    0   0 
        extended device statistics  
device       r/s     w/s     kr/s     kw/s  ms/r  ms/w  ms/o  ms/t qlen  %b  
da0            0       0      0.0      0.0     0     0     0     0    0   0 
pass0          0       0      0.0      0.0     0     0     0     0    0   0 

(then all 0s repeatedly)

When periodic *is* running:

dT: 1.047s  w: 1.000s
  L(q)  ops/s    r/s   kBps   ms/r    w/s   kBps   ms/w   %busy Name
     2     89     34    138   88.1     54    783   33.9   95.0| da0
     0      0      0      0    0.0      0      0    0.0    0.0| da0p1
     0      0      0      0    0.0      0      0    0.0    0.0| da0p2
     2     89     34    138   88.1     54    783   34.0   95.0| da0p3
     0      0      0      0    0.0      0      0    0.0    0.0| da0p2.eli
     2     90     35    141   86.3     54    783   34.2   96.9| da0p3.eli

the kBps number varies wildly between 100 and 1200. %busy is 92-102%

# iostat -x -d 1
                         extended device statistics  
device       r/s     w/s     kr/s     kw/s  ms/r  ms/w  ms/o  ms/t qlen  %b  
da0           15      18    189.6    564.1    47     7   144    27   10  23 
pass0          0       0      0.0      0.0    54     0   154    79    0   0 

Numbers vary wildly here, too. I wonder if theres a switch for iostat that lets it
run for say 1000 seconds then produces an average of the values gathered.

I'll look for one
-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZTuyXPjddEPqh-bi>