Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0E141200CE7 for ; Sat, 2 Sep 2017 01:12:28 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0C74C16DE44; Fri, 1 Sep 2017 23:12:28 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 531C516DE42 for ; Sat, 2 Sep 2017 01:12:27 +0200 (CEST) Received: (qmail 49394 invoked by uid 500); 1 Sep 2017 23:12:20 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 49384 invoked by uid 99); 1 Sep 2017 23:12:20 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Sep 2017 23:12:20 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 527B51A17F2 for ; Fri, 1 Sep 2017 23:12:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.629 X-Spam-Level: ** X-Spam-Status: No, score=2.629 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-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 (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id SjySUS8AeCmQ for ; Fri, 1 Sep 2017 23:12:18 +0000 (UTC) Received: from mail-oi0-f45.google.com (mail-oi0-f45.google.com [209.85.218.45]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 1D10B5F568 for ; Fri, 1 Sep 2017 23:12:18 +0000 (UTC) Received: by mail-oi0-f45.google.com with SMTP id n18so12869670oig.2 for ; Fri, 01 Sep 2017 16:12:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=wYRusTDKhQQwd+6xICioB+JRSY2KvKbLfWITnIrqZ3g=; b=GzNjMOyKcvi3KOkyrzJ62ay44mUApBoUb+CnXA/ZPUbX6F7bTfqx2ODinHWULRT2bs AF90wKO1pf6rhrrcQ1kd5BalpsWG1pqzHmJCMuPC791HnreDkZD+I5Ybgg8DQ+7xdCMp 2ek2B4c+sPUTdP+syVDu3eiRFOgRxxBRlznWsiMsWYQk5x0//JQ+yOUIVvoyFloO+i4R y6l6QTxll0Zj3hkaG5B3hpDMKwtyCnIiiJHDd0A7/iEt9mKcIPWUz+Dg/P3ob0kunlHQ p+Caojzp5/kED2k/8x8C+z60H/V0EWlNsSzzX1j/kNTMyhjD4/Ux+TxEt7r4qO6eKd7b qVOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=wYRusTDKhQQwd+6xICioB+JRSY2KvKbLfWITnIrqZ3g=; b=XRQUFX2tV/QjUTQcBrY3PXJS8atgoyGzlrshF3dAwlMoA0rgAx0suF+Gcpu2hf0qYQ rVeGKvNcwm8o3uDgOQj2w0jbVZWG4RgXsFhnQBeyOTy96C/A+os0BgfxnzSKw7WxMlR6 I9ccOg7u/QsyJVgXGFuoQ25OcjTtmkmfIiYXETywfyoTTSe6ma3k/tdAZuwgaDThSzfT AI+JL0wtfm59aZVpDi4Bd2eFpAfyttdzBokf8nGy04smVIMIC4YJzkBGET7pkzxt++Jq EwIwIhLnuAlJOO/HRVxHU8L+O3bAczqoM1VlwIvzIsFvipbRYm6hrpxRPSSG2Gu5C1n5 3OZQ== X-Gm-Message-State: AHPjjUjRIWNG55NfbnWPlBMKe5DsmFF/vnYYLJocjr9qcBK8B+tAAPQ1 Xqn9ZhKW47FstJADNJkklMBNCOqWS7c5 X-Google-Smtp-Source: ADKCNb6XfV0Ms/3DiQFHVpmysDQW8i/Vp0GnV56VUMT4++1hW5Kb8NeDQU37bGsr0vC5OpD1qKpm0BosJtsRBGH6Hzk= X-Received: by 10.202.85.135 with SMTP id j129mr3116114oib.61.1504307537319; Fri, 01 Sep 2017 16:12:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.4.10 with HTTP; Fri, 1 Sep 2017 16:12:16 -0700 (PDT) From: John Wilson Date: Fri, 1 Sep 2017 16:12:16 -0700 Message-ID: Subject: Quick questions on Evictions To: user@ignite.apache.org Content-Type: multipart/alternative; boundary="001a113de10c651b1a055828e471" archived-at: Fri, 01 Sep 2017 23:12:28 -0000 --001a113de10c651b1a055828e471 Content-Type: text/plain; charset="UTF-8" Hi, I have been reading through Ignite doc and I still have these questions. I appreciate your answer. Assume my Ignite native persistence is *not *enabled: 1. if on-heap cache is also not enabled, then there are no entry-based evictions, right? 2. if on-heap cache is now enabled, does a write to on-heap cache also results in a write-through or write-behind behavior to the off-heap entry? 3. If on-heap cache is not enabled but data page eviction mode is enabled, then where do evicted pages from off-heap go/written to? and, need confirmation on how data page eviction is implemented: 4. when a data page eviction is initiated, Ignite works by iterating through each entry in the page and evicting entries one by one. It may happen that certain entries may be involved in active transactions and hence certain entries may not be evicted at all. Thanks, --001a113de10c651b1a055828e471 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I have been reading thro= ugh Ignite doc and I still have these questions. I appreciate your answer.<= /div>

Assume my Ignite native persistence is not = enabled:

  1. if on-heap cache is also not enab= led, then there are no entry-based evictions, right?
  2. if on-heap cac= he is now enabled, does a write to on-heap cache also results in a write-th= rough or write-behind behavior to the off-heap entry?
  3. If on-heap ca= che is not enabled but data page eviction mode is enabled, then where do ev= icted pages from off-heap go/written to?
and, need confirmati= on on how data page eviction is implemented:

4. when a data page eviction is initiated, Ignite works by iterating throu= gh each entry in the page and evicting entries one by one. It may happen th= at certain entries may be involved in active transactions and hence certain= entries may not be evicted at all.


Thanks,
--001a113de10c651b1a055828e471--