From owner-freebsd-stable@freebsd.org Fri Oct 21 09:04:26 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CBDB6C1B7A1 for ; Fri, 21 Oct 2016 09:04:26 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from elf.hq.norma.perm.ru (mail.norma.perm.ru [IPv6:2a00:7540:1::5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.norma.perm.ru", Issuer "Vivat-Trade UNIX Root CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 28CDFAE4 for ; Fri, 21 Oct 2016 09:04:25 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from [IPv6:2a02:2698:27:b4d9:28e5:c182:e05b:6a1e] ([IPv6:2a02:2698:27:b4d9:28e5:c182:e05b:6a1e]) (authenticated bits=0) by elf.hq.norma.perm.ru (8.15.2/8.15.2) with ESMTPSA id u9L94Lkq087314 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 21 Oct 2016 14:04:22 +0500 (YEKT) (envelope-from emz@norma.perm.ru) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=norma.perm.ru; s=key; t=1477040662; bh=qj0Xq6yt4qCryY18cnwrQuhqhoN7Rd3wvB2RHURkvdg=; h=Subject:To:References:From:Date:In-Reply-To; b=vg6XtfL5pj7dklY42w73krvkpikSjMneQG2m1SjBWyCuvmOfpfOZ0rJiuEYx+2Tdv GLEAztQdzVnyBPBaSGWu8aZ286b0JVCAjniWLqCmabm6AKvX/HTf9TBd1HOiz0Cjgo XoTNKfFnzvWjee56Fqc8eBvAHWeFahMSO+2Rgy2Q= Subject: Re: zfs, a directory that used to hold lot of files and listing pause To: freebsd-stable@freebsd.org References: <4d9269af-ed64-bb73-eb7f-98a3f5ffd5a2@norma.perm.ru> <40fa9fd6-15aa-d8f7-b958-8783e763e6bc@multiplay.co.uk> <577ab7b2-46c1-5cf0-b6ad-50895978d957@norma.perm.ru> <38a84fce-fd97-a6a1-5820-89e578d76f0b@multiplay.co.uk> From: "Eugene M. Zheganin" Message-ID: <91f34889-7f4f-661d-c88f-8034402c39cd@norma.perm.ru> Date: Fri, 21 Oct 2016 14:04:27 +0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <38a84fce-fd97-a6a1-5820-89e578d76f0b@multiplay.co.uk> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Oct 2016 09:04:26 -0000 Hi. On 21.10.2016 9:22, Steven Hartland wrote: > On 21/10/2016 04:52, Eugene M. Zheganin wrote: >> Hi. >> >> On 20.10.2016 21:17, Steven Hartland wrote: >>> Do you have atime enabled for the relevant volume? >> I do. >>> >>> If so disable it and see if that helps: >>> zfs set atime=off >>> >> Nah, it doesn't help at all. > As per with Jonathon what does gstat -pd and top -SHz show? gstat (while ls'ing): dT: 1.005s w: 1.000s L(q) ops/s r/s kBps ms/r w/s kBps ms/w d/s kBps ms/d %busy Name 1 49 49 2948 13.5 0 0 0.0 0 0 0.0 65.0| ada0 0 32 32 1798 11.1 0 0 0.0 0 0 0.0 35.3| ada1 gstat (while idling): dT: 1.003s w: 1.000s L(q) ops/s r/s kBps ms/r w/s kBps ms/w d/s kBps ms/d %busy Name 0 0 0 0 0.0 0 0 0.0 0 0 0.0 0.0| ada0 0 2 2 255 0.8 0 0 0.0 0 0 0.0 0.1| ada1 top -SHz output doesn't really differ while ls'ing or idling: last pid: 12351; load averages: 0.46, 0.49, 0.46 up 39+14:41:02 14:03:05 376 processes: 3 running, 354 sleeping, 19 waiting CPU: 5.8% user, 0.0% nice, 16.3% system, 0.0% interrupt, 77.9% idle Mem: 21M Active, 646M Inact, 931M Wired, 2311M Free ARC: 73M Total, 3396K MFU, 21M MRU, 545K Anon, 1292K Header, 47M Other Swap: 4096M Total, 4096M Free PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND 600 root 39 0 27564K 5072K nanslp 1 295.0H 24.56% monit 0 root -17 0 0K 2608K - 1 75:24 0.00% kernel{zio_write_issue} 767 freeswitch 20 0 139M 31668K uwait 0 48:29 0.00% freeswitch{freeswitch} 683 asterisk 20 0 806M 483M uwait 0 41:09 0.00% asterisk{asterisk} 0 root -8 0 0K 2608K - 0 37:43 0.00% kernel{metaslab_group_t} [... others lines are just 0% ...] Thanks. Eugene.