From owner-freebsd-questions@FreeBSD.ORG Sat Jun 18 22:48:14 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E36ED16A41C for ; Sat, 18 Jun 2005 22:48:14 +0000 (GMT) (envelope-from dmp@bitfreak.org) Received: from mail.bitfreak.org (mail.bitfreak.org [65.75.198.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id B913643D1F for ; Sat, 18 Jun 2005 22:48:14 +0000 (GMT) (envelope-from dmp@bitfreak.org) Received: from SMILEY (mail.bitfreak.org [65.75.198.146]) by mail.bitfreak.org (Postfix) with ESMTP id 01A3A19F3B; Sat, 18 Jun 2005 15:49:47 -0700 (PDT) From: "Darren Pilgrim" To: "'Matthias Buelow'" , Date: Sat, 18 Jun 2005 15:48:13 -0700 Message-ID: <000701c57457$cf7dc4b0$0b2a15ac@SMILEY> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 In-Reply-To: <200506182138.j5ILcpgF002301@drjekyll.mkbuelow.net> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 Cc: freebsd-questions@freebsd.org Subject: RE: Can't mount partitions with soft-updates enabled with asyncoption X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Jun 2005 22:48:15 -0000 From: Matthias Buelow > Lefteris Tsintjelis writes: > >> I am not sure if I do something wrong here or it is suppose >> to work that way but the async option doesn't seem to work >> for partitions that have soft-updates turned on. Can someone >> please clarify the difference and if the speed difference (if >> any) is significant when using the async option instead of >> the soft-updates for cases such as the /usr/obj or as a squid >> data storage? Is async preferred over soft-updates when data >> loss is not a big issue? > > With softupdates, everything is asynchronous so the option > doesn't make sense. For improving squid filesystem > performance, have you mounted the partition with noatime? That > might make some difference. No. With softupdates, file writes are asynchronous, but writes to filesystem structures (metadata) are synchronous to prevent filesystem corruption if the machine crashes. The async mount option writes both asynchronously. You can't use the async mount option on a volume with softupdates turned on because the two options are mutually exclusive. [ Note: -stable trimmed for relevance. ]