From owner-freebsd-arch Mon Feb 10 1:24: 1 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B09637B401 for ; Mon, 10 Feb 2003 01:24:00 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E1A243FE3 for ; Mon, 10 Feb 2003 01:23:17 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id h1A9NFqV037474; Mon, 10 Feb 2003 10:23:16 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: David Schultz Cc: arch@FreeBSD.ORG Subject: Re: Our lemming-syncer caught in the act. From: phk@phk.freebsd.dk In-Reply-To: Your message of "Mon, 10 Feb 2003 01:13:17 PST." <20030210091317.GD5165@HAL9000.homeunix.com> Date: Mon, 10 Feb 2003 10:23:15 +0100 Message-ID: <37473.1044868995@critter.freebsd.dk> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20030210091317.GD5165@HAL9000.homeunix.com>, David Schultz writes: >When a large file times out, a significant amount of I/O can be >generated. This is still far better than the old syncer that >flushed everything every 30 seconds. The reasons for this >behavior are explained in src/sys/ufs/ffs/README. After reading >that, do you still think it makes sense to try to do better? Yes, it makes a lot of sense. There is no point in batching up writes to the point of showing 200 requests off at once then wait 30 seconds, then do it again etc etc. We can and need to do better than that. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message