From owner-freebsd-fs@freebsd.org Fri Aug 10 14:28:22 2018 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E8932106C3E7 for ; Fri, 10 Aug 2018 14:28:21 +0000 (UTC) (envelope-from devgs@ukr.net) Received: from frv196.fwdcdn.com (frv196.fwdcdn.com [212.42.77.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.ukr.net", Issuer "Thawte RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8A1378CF26 for ; Fri, 10 Aug 2018 14:28:21 +0000 (UTC) (envelope-from devgs@ukr.net) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=ffe; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id:To: Subject:From:Date:Sender:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=a6hqf1hLPL3h9CE+o83d/D7Bpc63DOAfLps9cKgKLD0=; b=WHFed+HuDTjIgpQk/ialjcBTJw 0DGsaRI54pZiYXOWPUMMcioT8o5DUuoMG9K979FKdXyrU/T0LreGE7Bjuh7qgUVjBgmw7bt27U26E xeP20JxGGAwZxulB71qP42xW5Co2Yeu5jS52tJ3rHkBRWzcWdcY6oTT8cc3pW9kzbCiA=; Received: from [10.10.10.33] (helo=frv33.fwdcdn.com) by frv196.fwdcdn.com with smtp ID 1fo8Oh-000E2N-Hv for freebsd-fs@freebsd.org; Fri, 10 Aug 2018 17:28:11 +0300 Date: Fri, 10 Aug 2018 17:28:11 +0300 From: Paul Subject: Question regarding relevance of syncer(4) in the context of ZFS To: freebsd-fs@freebsd.org X-Mailer: mail.ukr.net 5.0 Message-Id: <1533910747.525373107.k9z2n7hj@frv33.fwdcdn.com> Received: from devgs@ukr.net by frv33.fwdcdn.com; Fri, 10 Aug 2018 17:28:11 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: binary X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Aug 2018 14:28:22 -0000 Hello team, If my understanding is correct then ZFS does not need to be pushed around and being told when to sync data to devices. It is perfectly capable of keeping data consistent and synchronized according to configured options. We even disable 'sync' option of file system that we use. But unfortunately we see a constant and periodical spikes of load on our servers that are directly related to wake-ups of 'syncer' kernel daemon. Is it safe to assume that 'syncer' is not necessary on configurations that only use ZFS, and no other file systems? And hence, is it safe to assume that setting all of 'kern.filedelay', 'kern.dirdelay' and 'kern.metadelay' to some large values will not compromise system's durability? Best regards, Paul