From dev-return-32357-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Wed Mar 21 17:27:48 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 39FE3180651 for ; Wed, 21 Mar 2018 17:27:48 +0100 (CET) Received: (qmail 86658 invoked by uid 500); 21 Mar 2018 16:27:47 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 86637 invoked by uid 99); 21 Mar 2018 16:27:46 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2018 16:27:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 01787C0144 for ; Wed, 21 Mar 2018 16:27:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id FFLfwqRiB08x for ; Wed, 21 Mar 2018 16:27:44 +0000 (UTC) Received: from mail-it0-f52.google.com (mail-it0-f52.google.com [209.85.214.52]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 66C135F1B3 for ; Wed, 21 Mar 2018 16:27:44 +0000 (UTC) Received: by mail-it0-f52.google.com with SMTP id c1-v6so6551911itj.1 for ; Wed, 21 Mar 2018 09:27:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=2n/0N6WT1NwTYDRY1W+A97rUuW/GZ+lTqv4kKnZ3lZQ=; b=u83sMU+SqMQ8+vOG7+OhSXsltzI0OC76Uh7AVtTY6cNQhLj2/dad9oy11N9YA/2l7+ KuL8QVqNNDvOGnh8pzyENUo/Nnp3OnoI8elxpeBtLXWwvzZ/3GB0iqbhVmtevk/CHna7 NAYlQvXxeVBZDCHSgq5w0+ORNJO+K/2UjqUDu6i2HC+fSV/fqMqrevogK0bkX1gNwuxd q1XZVskfCon/ExO05f3Z7xhAQThO6FxVXTEAKOagY6wwt6bBiyvz1JINlH5OAvpcGHCM nMM2EmgWX1biRaH/bUTUv/4kYnPz0pz3kmIjQ5glgdfou30z5jUf8rZ9jCJie8mjh9xt pNiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=2n/0N6WT1NwTYDRY1W+A97rUuW/GZ+lTqv4kKnZ3lZQ=; b=kkL5sgrPO+7pO3uMTtwMWz850DNFfeNqYiwXNl6uHAX2Q3UIjxsAWxepd8NjNoaD4Q +of5fuLsDUxzR0IOiNxGcqZmqOpl+n4brVy5Wctm23XXsbFwbQsjv90PnELnnsBtbCnW yOW1stWOsBWElCa+jY39nAcq6Kpe9cbKn+D0u6xd0e7DBTIc8QUSKNBe9Pp4F73HYnPP lkJBn+I8xzYH3RqHQqIk5FmRxXxBxuAUvfxfI6f2LUYL4qeQRW3REy277uCxWEhLqGx8 Xy8r2Xh8y9UC6cVdyy9y0BSzuHuff6Vk59IVyXkthzNZJWiSQcwtiRSznvDPdMmaOsrp FCXw== X-Gm-Message-State: AElRT7EqBL3EATXwURNGjLC5TNyCUmn2pf4mEHPBccL6pzu4DkPIcxt+ U20tTOO+IinFF1PGla/ect4W07uAo46vVOi1yN4= X-Google-Smtp-Source: AG47ELtEJw6lxU76luuk5GXYQkD3v7pJEmhjTU7GJegFrK9J17hsBv6KR1XNOaLE8PirL7zzs1GPuJ/E8d+6otnedAI= X-Received: by 2002:a24:2954:: with SMTP id p81-v6mr5247212itp.105.1521649663738; Wed, 21 Mar 2018 09:27:43 -0700 (PDT) MIME-Version: 1.0 References: <44857f780437831523c7ab8515802df3@mail.gmail.com> In-Reply-To: From: Dmitry Pavlov Date: Wed, 21 Mar 2018 16:27:33 +0000 Message-ID: Subject: Re: Ignite Direct I/O plugin description added to wiki To: dev , Denis Magda Content-Type: multipart/alternative; boundary="000000000000ae094d0567eeabc7" --000000000000ae094d0567eeabc7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Denis, one more thing, can/should we mention Ignite Direct IO plugin in list of project using JNA here: https://github.com/java-native-access/jna Sincerely, Dmitriy Pavlov =D1=81=D1=80, 21 =D0=BC=D0=B0=D1=80. 2018 =D0=B3. =D0=B2 1:59, Denis Magda = : > *Dmitriy*, thanks. Astonishing job! We'll add a section to the durable > memory tuning page and refer to the wiki for more details: > https://issues.apache.org/jira/browse/IGNITE-7466 > > Please clarify the following: > > > Direct I/O mode can't be enabled for Write Ahead Log files. However, wh= en > > working with plugin, WAL manager applies advising Linux systems do not > > store the data of the file in page cache as they are not required. > > > For me, it means that WAL always goes through the operating system I/O > calls. Nothing changes for the WAL. However, I'm not sure what you meant = to > explain by saying "when working with the plugin (Direct I/O) WAL manager > applies...". Could you rephrase it to bring more clarity? > > *Raymond,* > > If Direct I/O is enabled by default it will bring down the performance of > read-intensive application because, as Dmitry says, the reads bypass page > cache. So, I would recommend using it for write-intensive workloads and, > probably, for mixed-workloads depending on the reads and writes rate. > > -- > Denis > > > On Tue, Mar 20, 2018 at 2:29 PM, Raymond Wilson < > raymond_wilson@trimble.com> > wrote: > > > Looks good! > > > > Is there any reason why this should not be a default setting if it > > gracefully downgrades to non-Direct IO if not supported by the OS? > > > > Thanks, > > Raymond. > > > > -----Original Message----- > > From: Dmitriy Setrakyan [mailto:dsetrakyan@apache.org] > > Sent: Wednesday, March 21, 2018 10:23 AM > > To: dev > > Subject: Re: Ignite Direct I/O plugin description added to wiki > > > > Thanks Dmitry, awesome work! > > > > On Wed, Mar 21, 2018 at 12:21 AM, Dmitry Pavlov > > wrote: > > > > > Hi Igniters, > > > > > > I've added description of new plugin for Direct I/O for native > > > persistence ( > > > https://issues.apache.org/jira/browse/IGNITE-6341) to wiki > > > https://cwiki.apache.org/confluence/display/IGNITE/ > > > Ignite+Persistent+Store+-+under+the+hood#IgnitePersistentStore- > > > underthehood-DirectI/O > > > > > > > > > SIncerely, > > > Dmitriy Pavlov > > > > > > --000000000000ae094d0567eeabc7--