From dev-return-22274-apmail-ignite-dev-archive=ignite.apache.org@ignite.apache.org Thu Jun 1 08:33:51 2017 Return-Path: X-Original-To: apmail-ignite-dev-archive@minotaur.apache.org Delivered-To: apmail-ignite-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 65A1A183B3 for ; Thu, 1 Jun 2017 08:33:51 +0000 (UTC) Received: (qmail 56954 invoked by uid 500); 1 Jun 2017 08:33:48 -0000 Delivered-To: apmail-ignite-dev-archive@ignite.apache.org Received: (qmail 56892 invoked by uid 500); 1 Jun 2017 08:33:48 -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 56168 invoked by uid 99); 1 Jun 2017 08:33:47 -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; Thu, 01 Jun 2017 08:33:47 +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 4880F1AFB0F for ; Thu, 1 Jun 2017 08:33:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.38 X-Spam-Level: ** X-Spam-Status: No, score=2.38 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, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLOCKED=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 2GaAOFxOGpKS for ; Thu, 1 Jun 2017 08:33:46 +0000 (UTC) Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id C834F5F299 for ; Thu, 1 Jun 2017 08:33:45 +0000 (UTC) Received: by mail-wm0-f50.google.com with SMTP id d127so50263697wmf.0 for ; Thu, 01 Jun 2017 01:33:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=rzGYLZ+eCyVRm9exgN7141z6495u7SqNVqrWFuuHOic=; b=Oy+NtXLmFe4tnq+OgRW7/A6gi8ZwWzUWmCItq0UhzujdsHv4r4/bUWiU9NDkaMObfX h1RiL91j0wqvs0HJReFsG3QuOBCqytohdOSl7AZiUSm/gx+fdHmBHjBgsjKVu0XSR+XP WGUesdMeYJBHu/b33fQ1o93E0CyByNXY/8o2ivW6sSPFvIkSoRJzEzhDpCAHO7dx47q9 qbPtbTfHwRDWsF1wcpmPobp/7CM8Ld2b/hv3f2l/oX4oqhpwQO+dPx3Ku4MsWYDTIh0z Hk0kWrGgedTwci9L+GA7wnVhw7FHnmz59ioxwxpSRWiVu31JtBLsD4pgwC3f5qmrCbwY wdZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=rzGYLZ+eCyVRm9exgN7141z6495u7SqNVqrWFuuHOic=; b=Wu0fHJQIlLCEaKqYX9p8qWNjUQabI80bHiuenBut94iRPxJ9/FF9TJmJNs9ozHydQc 8WR0RYO2r4Op1pgIB3uQnUXXfLnnN5DbUQsZh52Ys7uEOU5b+Cr2ygZEZmalTKKXPnwF ym6bX4hnpXErDyMaQ+CprRXieV48nXFa51P7cpxFI/CCN2UeALbdKNMCp99kJS8kAO0x irJPDxBU7WzYaE8VAb/Q0bD9jcmWBbVAnWnB6HiRjbYK5VNmyzAbfurV/wz3CWtZGuop CseQP4t9hzF86scQYdo331Vpl6086r2joeabPkX7dMUHvoiwl85htpl4b6mkUFjanguE reMQ== X-Gm-Message-State: AODbwcA8PFtLHYPk0Di52skfGzCM5ry2Zl5jOhfQTuJanONXy9d02CUR WnaBLefFh5YsMPOJeWL0vCtNh0lFFw== X-Received: by 10.80.179.209 with SMTP id t17mr857294edd.62.1496306019117; Thu, 01 Jun 2017 01:33:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.136.20 with HTTP; Thu, 1 Jun 2017 01:33:38 -0700 (PDT) In-Reply-To: References: From: Alexey Goncharuk Date: Thu, 1 Jun 2017 11:33:38 +0300 Message-ID: Subject: Re: [DISCUSS] Ignite memory -> virtual memory To: dev@ignite.apache.org Content-Type: multipart/alternative; boundary="94eb2c0c3c80beb1a30550e1e45e" --94eb2c0c3c80beb1a30550e1e45e Content-Type: text/plain; charset="UTF-8" I am fine with this javadoc change as long as there is no confusion between Ignite page memory buffers and the OS Virtual Memory concept. 2017-06-01 2:07 GMT+03:00 Dmitriy Setrakyan : > Igniters, > > With the newly donated persistence functionality in Ignite, I have been > struggling a bit on how to fit the notion of persistence into the current > Ignite interfaces, that are almost completely memory oriented. For example, > abstractions like MemoryConfiguration or MemoryMetrics will now have to > include the persistence context, given that pages will be seamlessly mapped > to disk, whenever the memory fills up (e.g. providing the number of pages > on disk on MemoryMetrics interface). > > After looking around, I have noticed that our architecture is increasingly > beginning to look like the Virtual Memory concept in operating systems [1], > if you consider Ignite off-heap memory to be the physical memory, and disk > to be the secondary memory space. Just like virtual memory, our > architecture is based on memory pages and memory segments. The total set of > all pages constitutes the total virtual memory space. > > If we document our memory interfaces as virtual memory, then we won't have > to do any renaming and can comfortably add disk-based methods to these > interfaces, as it becomes consistent with the virtual memory concept. > > Thoughts? > > [1] - https://en.wikipedia.org/wiki/Virtual_memory > --94eb2c0c3c80beb1a30550e1e45e--