From owner-freebsd-stable@FreeBSD.ORG Tue Sep 30 05:24:32 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2D38F609 for ; Tue, 30 Sep 2014 05:24:32 +0000 (UTC) Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F06D9BF9 for ; Tue, 30 Sep 2014 05:24:31 +0000 (UTC) Received: by mail-ig0-f170.google.com with SMTP id a13so719207igq.1 for ; Mon, 29 Sep 2014 22:24:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=HL8Up1IkxxSPsset9DWrWQWg8Xm/BHI2Q1WlO0Yn8uY=; b=QR6wH0AZ6b3n3qGEkyELUjf9QHzgLv0b+agFvQKhmpnWbubK43GMLP8PCY7jWQi+T4 vwpr4CWZzvZe03AsQdfsR+JQQ5glheye9MLj1Ew6cLEE88UzhGpjbivlofA8qedSK6nN A4rWtvokH1FEoT9JuZv8jtYDgUXAOGfTyqgTBgRnMlS8/AjCBUb6iLfDVWh+7FT6ry6D aAFKIZeZSSuszYsDBgIeBx7CgVUtDuQjNEEt5pIFYY6W8XSyeFwa0+zEOxOvEr4mrj83 TxlByEK3X+ywjv5PL0Q95h/dgjMxqm0gvve9V56KEnKIrM8R9vWsQ+QVRNWjhp6MapEm KEfA== MIME-Version: 1.0 X-Received: by 10.50.112.67 with SMTP id io3mr3839457igb.37.1412054671231; Mon, 29 Sep 2014 22:24:31 -0700 (PDT) Received: by 10.42.61.197 with HTTP; Mon, 29 Sep 2014 22:24:31 -0700 (PDT) Reply-To: alc@freebsd.org In-Reply-To: <20140930115407.01ce9776@akips.com> References: <20140930115407.01ce9776@akips.com> Date: Tue, 30 Sep 2014 00:24:31 -0500 Message-ID: Subject: Re: 10.1 mmap MAP_NOSYNC regression due to fast path From: Alan Cox To: Paul Koch Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2014 05:24:32 -0000 On Mon, Sep 29, 2014 at 8:54 PM, Paul Koch wrote: > Hi, just wondering if the regression introduced by the changes for > 'fast path' to the mmap MAP_NOSYNC behaviour will be fixed for 10.1 ? > > Yes, it will be. I've just been overloaded with work for the past few weeks, so kib@ and I haven't agreed on the final fix. > > http://lists.freebsd.org/pipermail/freebsd-hackers/2014-September/045981.html > > We have been doing some testing with 10.1-BETA3 and the regression makes > 10.1 completely unusable because we rely very heavily on this long standing > feature of mmap. Our database design mmaps large files (eg. several > gigabytes) > and we manually control when the sync happens by using fsync() at > appropriate > times. > > Paul. > > -- > Paul Koch | Founder, CEO > AKIPS Network Monitor > http://www.akips.com > Brisbane, Australia > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >