From owner-freebsd-fs@FreeBSD.ORG Thu Oct 15 13:19:54 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 672CA1065676 for ; Thu, 15 Oct 2009 13:19:54 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id E8F958FC18 for ; Thu, 15 Oct 2009 13:19:53 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1MyQEz-0002Mg-5O for freebsd-fs@freebsd.org; Thu, 15 Oct 2009 15:19:37 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Oct 2009 15:19:37 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Oct 2009 15:19:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-fs@freebsd.org From: Ivan Voras Date: Thu, 15 Oct 2009 15:19:17 +0200 Lines: 46 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.23 (X11/20090928) Sender: news Subject: ZFS threads? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Oct 2009 13:19:54 -0000 A VM running 8.0-RC1 with ZFS has load average of 18 while doing rsync to it. I notice there are two sets of 8 ZFS kernel threads present on the system, which look like might be the cause of the high load. Is there a way to reduce the number of these worker threads? 0 root -16 0 0K 280K - 11:47 3.96% {spa_zio_6} 0 root -16 0 0K 280K - 12:34 0.00% {spa_zio_5} 0 root -16 0 0K 280K - 12:11 0.00% {spa_zio_3} 0 root -16 0 0K 280K - 11:43 0.00% {spa_zio_1} 0 root -16 0 0K 280K - 11:24 0.00% {spa_zio_0} 0 root -16 0 0K 280K - 11:20 0.00% {spa_zio_7} 0 root -16 0 0K 280K - 11:19 0.00% {spa_zio_2} 0 root -16 0 0K 280K - 10:54 0.00% {spa_zio_4} 4 root -8 - 0K 8K - 3:10 0.00% [g_down] 0 root -16 0 0K 280K - 2:49 0.00% {spa_zio} 12 root -40 - 0K 128K WAIT 1:31 0.00% {swi2: cambio} 12 root -64 - 0K 128K WAIT 0:42 0.00% {irq17: mpt0} 0 root -16 0 0K 280K - 0:38 0.00% {spa_zio_7} 0 root -16 0 0K 280K - 0:38 0.00% {spa_zio_3} 0 root -16 0 0K 280K - 0:38 0.00% {spa_zio_6} 0 root -16 0 0K 280K - 0:38 0.00% {spa_zio_1} 0 root -16 0 0K 280K - 0:38 0.00% {spa_zio_5} 0 root -16 0 0K 280K - 0:38 0.00% {spa_zio_0} 0 root -16 0 0K 280K - 0:38 0.00% {spa_zio_2} 0 root -16 0 0K 280K - 0:38 0.00% {spa_zio_4}