Return-Path: X-Original-To: apmail-ignite-user-archive@minotaur.apache.org Delivered-To: apmail-ignite-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 65E0218A81 for ; Wed, 10 Feb 2016 06:07:52 +0000 (UTC) Received: (qmail 16594 invoked by uid 500); 10 Feb 2016 06:07:52 -0000 Delivered-To: apmail-ignite-user-archive@ignite.apache.org Received: (qmail 16548 invoked by uid 500); 10 Feb 2016 06:07:52 -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 16538 invoked by uid 99); 10 Feb 2016 06:07:52 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2016 06:07:52 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id C2FC31804A3 for ; Wed, 10 Feb 2016 06:07:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.279 X-Spam-Level: * X-Spam-Status: No, score=1.279 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gridgain-com.20150623.gappssmtp.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id QvsNn0xVindK for ; Wed, 10 Feb 2016 06:07:50 +0000 (UTC) Received: from mail-lf0-f49.google.com (mail-lf0-f49.google.com [209.85.215.49]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id DFC1C43F58 for ; Wed, 10 Feb 2016 06:07:49 +0000 (UTC) Received: by mail-lf0-f49.google.com with SMTP id m1so5367277lfg.0 for ; Tue, 09 Feb 2016 22:07:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gridgain-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=BQm0tu2QXyTVTDNbyF4FxAdSs3pOeCrhTwxFr0X/w7o=; b=uB9V+0s0ZXfwCKLy2vlwzXawBCQ8jwRGPcaiqEIRee+9VUzPs3hHciObh+VuXC1uui UNrouBSV23Oh00Q+6zJBwRddeKSal+p9vIPDNHIy/ewJiUkZVOZnoiYugPohcC14ZAL4 XOyE9IvbK6x4Di6MYwqCqUqTIyJ1Mzy/Lqa5yuyIWRF/qt6l6oVjX0ivKZsSnOu7WsO+ GBf2QNXYAJiBXOoFr+UGAybVekn58jQegmQxvNlqz3ozdLUkGFipg3XUK35aKzaM3/99 3yzfmPM8QDnUCnFy/yNNWMnGm5g1tF2ojGInNhq3caqq60wr11yvK1FGTZT/Uu8AXQ76 xCAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=BQm0tu2QXyTVTDNbyF4FxAdSs3pOeCrhTwxFr0X/w7o=; b=ACCj1btBjA3vd86qE8T/7PsW6vvQtXBvcN0JkQCnDSHvfhDjEMT3O4IXXMVjRFCLPp RwJgMfzqIMmaAkAR8br12sdUojIdvulo3Hr2LKM2QJap8NdQcY07T9FpAHM0LpalhlIh Sj6I7BY0nqVdrgC4Il4/wD/4Ti12XdSCEYmWxFDAOTsyaDR6C3JJUDML8iR+mlkgRRFQ 8ofYlTIg2CekthiUJH/y4FeGcqeyUdffuT1XGLUD2/TlR+jn4j8htvk683+hVyZLAP3o c49NkcyoCk+EXpnWLh2GKVlr1HZnRfvk03riVyf3etnL2nO/wHxtblrDX7Srj/j+9WdH wuyQ== X-Gm-Message-State: AG10YOTGX9vHoMCR3uW5i6neHyZCJVb9c/ZJQfTFzoSw3JMYTC3JSC2pvPXs5f6/bVSoe19IqVHn3ylR8wn4fVcd MIME-Version: 1.0 X-Received: by 10.25.166.130 with SMTP id p124mr15756848lfe.120.1455084462913; Tue, 09 Feb 2016 22:07:42 -0800 (PST) Received: by 10.114.174.3 with HTTP; Tue, 9 Feb 2016 22:07:42 -0800 (PST) In-Reply-To: <1455051098917-2910.post@n6.nabble.com> References: <1454895295998-2875.post@n6.nabble.com> <1455051098917-2910.post@n6.nabble.com> Date: Wed, 10 Feb 2016 09:07:42 +0300 Message-ID: Subject: Re: IGFS: Data cache size From: Vladimir Ozerov To: user@ignite.apache.org Content-Type: multipart/alternative; boundary=001a113dc13487cfd3052b64408c --001a113dc13487cfd3052b64408c Content-Type: text/plain; charset=UTF-8 Hi Kobe, That is right. Essentially, IGFS is a cache. And any Ignite cache could occupy any amount of memory unless constrained in some way. Vladimir. On Tue, Feb 9, 2016 at 11:51 PM, Kobe wrote: > Vladimir - > > That means that an instance of IGFS can occupy all of the heap of the JVM > unless constrained using > > * > > > * > Is this correct? > > Thanks, > > /Kobe > > > Vladimir Ozerov wrote > > Hi Kobe, > > > > Actually, none of these parameters manage IGFS size. > > > > Please take a look at > > org.apache.ignite.configuration.FileSystemConfiguration.getMaxSpaceSize() > > method. > > This value defines how much space in bytes IGFS can take on that node. > You > > can either set it to some positive value in bytes, or leave default > value. > > in the latter case Ignite will use between 50-80% of available heap as > > maximum IGFS size (see GridCacheAdapter constructor for exact size > > calculation logic). > > > > Please let me know if you have any further questions. > > > > Vladimir. > > > > On Mon, Feb 8, 2016 at 4:34 AM, Kobe < > > > rk_@ > > > > wrote: > > > >> Hello... > >> > >> I am instantiating a single node IGFS cluster to begin with. I am trying > >> to > >> determine the available space of the fiesystem based on the parameter > >> > >> > > > >> > > > >> > > > >> > >> > >> > > > >> > >> > >> and > >> public CacheConfiguration<K,V> setStartSize(int startSize) > >> > >> Please help me understand these parameters, their units and how they > >> determine the space of the in-memory filesystem. > >> > >> thankx, > >> > >> /Kobe > >> > >> > >> > >> -- > >> View this message in context: > >> > http://apache-ignite-users.70518.x6.nabble.com/IGFS-Data-cache-size-tp2875.html > >> Sent from the Apache Ignite Users mailing list archive at Nabble.com. > >> > > > > > > -- > View this message in context: > http://apache-ignite-users.70518.x6.nabble.com/IGFS-Data-cache-size-tp2875p2910.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. > --001a113dc13487cfd3052b64408c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Kobe,

That is right. Essentially, IG= FS is a cache. And any Ignite cache could occupy any amount of memory unles= s constrained in some way.

Vladimir.

On Tue, Feb 9, 2016= at 11:51 PM, Kobe <rk_@mailcity.com> wrote:
Vladimir -

That means that an instance of IGFS can occupy all of the heap of the JVM unless constrained using

=C2=A0 * <bean class=3D"org.apache.ignite.configuration.FileSystemC= onfiguration">
=C2=A0 =C2=A0 =C2=A0 =C2=A0<property name=3D"maxSpaceSize" val= ue=3D"#{4 * 1024 * 1024 * 1024}"/>
=C2=A0 =C2=A0</bean>
*
Is this correct?

Thanks,

/Kobe


Vladimir Ozerov wrote
> Hi Kobe,
>
> Actually, none of these parameters manage IGFS size.
>
> Please take a look at
> org.apache.ignite.configuration.FileSystemConfiguration.getMaxSpaceSiz= e()
> method.
> This value defines how much space in bytes IGFS can take on that node.= You
> can either set it to some positive value in bytes, or leave default va= lue.
> in the latter case Ignite will use between 50-80% of available heap as=
> maximum IGFS size (see GridCacheAdapter constructor for exact size
> calculation logic).
>
> Please let me know if you have any further questions.
>
> Vladimir.
>
> On Mon, Feb 8, 2016 at 4:34 AM, Kobe &lt;

> rk_@

> &gt; wrote:
>
>> Hello...
>>
>> I am instantiating a single node IGFS cluster to begin with. I am = trying
>> to
>> determine the available space of the fiesystem based on the parame= ter
>>
>>
> <property name=3D"blockSize" value=3D"#{128 * 1024}&= quot;/>
>>
> <property name=3D"perNodeBatchSize" value=3D"512&quo= t;/>
>>
> <property name=3D"perNodeParallelBatchCount" value=3D&quo= t;16"/>
>>
>>
>>
> <property name=3D"prefetchBlocks" value=3D"32"/= >
>>
>>
>> and
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 public CacheConfiguration&lt= ;K,V&gt; setStartSize(int startSize)
>>
>> Please help me understand these parameters, their units and how th= ey
>> determine the space of the in-memory filesystem.
>>
>> thankx,
>>
>> /Kobe
>>
>>
>>
>> --
>> View this message in context:
>> http://apach= e-ignite-users.70518.x6.nabble.com/IGFS-Data-cache-size-tp2875.html
>> Sent from the Apache Ignite Users mailing list archive at Nabble.c= om.
>>





--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/IGFS-Da= ta-cache-size-tp2875p2910.html
Sent from the Apache Ignite Users m= ailing list archive at Nabble.com.

--001a113dc13487cfd3052b64408c--