From owner-freebsd-fs@FreeBSD.ORG Wed Jul 3 19:05:40 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C66B57C9 for ; Wed, 3 Jul 2013 19:05:40 +0000 (UTC) (envelope-from zoltan.arnold.nagy@gmail.com) Received: from mail-oa0-x22d.google.com (mail-oa0-x22d.google.com [IPv6:2607:f8b0:4003:c02::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 9A2A01FE8 for ; Wed, 3 Jul 2013 19:05:40 +0000 (UTC) Received: by mail-oa0-f45.google.com with SMTP id j1so699459oag.4 for ; Wed, 03 Jul 2013 12:05:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=nOdmYPy8hGFfoL/BXAFXzzCOwQ4vuwqol3wLM1vwlQg=; b=QRWBKfcPA7JbuV8kY1CkWFrX9DVcPp876DeVrB+iJ4ebQDLLLPSDiM2rXPbP3/poWe 17JMfv2YZCN9Bp39IM5vhckjBOrUJrLWDKWHvZ/9ZtCtkclSn9cDIwrJNUsB1Ox6DIe3 FO/rWZRW6uiZGMkx89y0SxNOnjqXAqcBqsG4ZQt0Ols6M/Wlste04rOOv8cqNYwPA7Kj eqndZX3QLVHQFJZK9ur9rtL/Sml9ifCow1NohpdEUFHq1pffgzntCNXw4D7yokCThOIG Xf4L+Jfcq5qfb6fSvcsgZYlWbHRqiEoEZgBsRX/RTKpEl3iopuirwfZdQJ9FZwR6KnyB HkJA== MIME-Version: 1.0 X-Received: by 10.182.81.233 with SMTP id d9mr2227342oby.43.1372878340203; Wed, 03 Jul 2013 12:05:40 -0700 (PDT) Received: by 10.76.126.195 with HTTP; Wed, 3 Jul 2013 12:05:40 -0700 (PDT) Date: Wed, 3 Jul 2013 21:05:40 +0200 Message-ID: Subject: O_DIRECT|O_SYNC semantics? From: Zoltan Arnold NAGY To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jul 2013 19:05:40 -0000 Hi, Could someone have a look here: http://serverfault.com/questions/520141/please-explain-my-fio-results-is-o-synco-direct-misbehaving-on-linux Basically, I'm seeing wastly different results on Linux and on FreeBSD 9.1. Either FreeBSD's not honoring O_SYNC properly, or Linux does something wicked. I've been at it for a few days, without any real progress. I do realize that since I'm operating at a block device level not with any filesystem it's strange to ask on -fs, but I came to this results while experimenting with the SSD as a ZIL device, and was surprised at the low numbers. Thanks, Zoltan