[Bug 219049] ftruncate() slow on UFS+journaled softupdates

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Feb 27 22:01:00 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219049

--- Comment #8 from info at murrawhip.net ---
I just tried to recreate the issue using the script in OP, but my times don't
look as bad as Walter's.

FreeBSD site.com 11.1-RELEASE-p4 FreeBSD 11.1-RELEASE-p4 #0: Tue Nov 14
06:12:40 UTC 2017    
root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
/dev/da0p2 on / (ufs, NFS exported, local, journaled soft-updates)
0.066318722 ftruncate(3,0x186a0)                 = 0 (0x0)
0.025288527 ftruncate(3,0x186a0)                 = 0 (0x0)
0.274295490 ftruncate(3,0x186a0)                 = 0 (0x0)
0.044457881 ftruncate(3,0x186a0)                 = 0 (0x0)
0.108361900 ftruncate(3,0x186a0)                 = 0 (0x0)
0.124630942 ftruncate(3,0x186a0)                 = 0 (0x0)
0.126537198 ftruncate(3,0x186a0)                 = 0 (0x0)
0.042581028 ftruncate(3,0x186a0)                 = 0 (0x0)
0.054237172 ftruncate(3,0x186a0)                 = 0 (0x0)
0.068103733 ftruncate(3,0x186a0)                 = 0 (0x0)
0.126835073 ftruncate(3,0x186a0)                 = 0 (0x0)


gstat:
 L(q)  ops/s    r/s   kBps   ms/r    w/s   kBps   ms/w    d/s   kBps   ms/d   
o/s   ms/o   %busy Name
    0      7      0      0    0.0      7    115   15.4      0      0    0.0    
 0    0.0    9.9  da0
    0      5      0      0    0.0      5     69   15.5      0      0    0.0    
 0    0.0    6.9  da0
    0      1      0      0    0.0      1      0    8.7      0      0    0.0    
 0    0.0    0.9  da0
    0      4      0      0    0.0      4     67   23.4      0      0    0.0    
 0    0.0    7.7  da0
    0      5      0      0    0.0      5     68   16.0      0      0    0.0    
 0    0.0    7.1  da0

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-fs mailing list