[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zfs-discuss
Subject:    Re: [zfs-discuss] Interesting question about L2ARC
From:       Richard Elling <richard.elling () gmail ! com>
Date:       2012-09-27 1:24:37
Message-ID: 5F6DFFE2-ECAF-4FD9-A042-8F3EE22F932B () gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Sep 26, 2012, at 4:28 AM, Sašo Kiselkov <skiselkov.ml@gmail.com> wrote:

> On 09/26/2012 01:14 PM, Edward Ned Harvey
> (opensolarisisdeadlongliveopensolaris) wrote:
> > > From: zfs-discuss-bounces@opensolaris.org [mailto:zfs-discuss-
> > > bounces@opensolaris.org] On Behalf Of Jim Klimov
> > > 
> > > Got me wondering: how many reads of a block from spinning rust
> > > suffice for it to ultimately get into L2ARC? Just one so it
> > > gets into a recent-read list of the ARC and then expires into
> > > L2ARC when ARC RAM is more needed for something else, 
> > 
> > Correct, but not always sufficient.  I forget the name of the parameter, but \
> > there's some rate limiting thing that limits how fast you can fill the L2ARC.  \
> > This means sometimes, things will expire from ARC, and simply get discarded.
> 
> The parameters are:
> 
> *) l2arc_write_max (default 8MB): max number of bytes written per
> fill cycle

It should be noted that this level was perhaps appropriate 6 years
ago, when L2ARC was integrated and given the SSDs available at the
time, but is well below reasonable settings for high speed systems or
modern SSDs. It is probably not a bad idea to change the default to 
reflect more modern systems, thus avoiding surprises.
 -- richard

> *) l2arc_headroom (default 2x): multiplies the above parameter and
> determines how far into the ARC lists we will search for buffers
> eligible for writing to L2ARC.
> *) l2arc_feed_secs (default 1s): regular interval between fill cycles
> *) l2arc_feed_min_ms (default 200ms): minimum interval between fill
> cycles
> 
> Cheers,
> --
> Saso
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

--
illumos Day & ZFS Day, Oct 1-2, 2012 San Fransisco 
www.zfsday.com
Richard.Elling@RichardElling.com
+1-760-896-4422


[Attachment #5 (unknown)]

<html><head><meta http-equiv="Content-Type" content="text/html \
charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: \
space; -webkit-line-break: after-white-space; "><br><div><div>On Sep 26, 2012, at \
4:28 AM, Sašo Kiselkov &lt;<a \
href="mailto:skiselkov.ml@gmail.com">skiselkov.ml@gmail.com</a>&gt; wrote:</div><br \
class="Apple-interchange-newline"><blockquote type="cite">On 09/26/2012 01:14 PM, \
Edward Ned Harvey<br>(opensolarisisdeadlongliveopensolaris) wrote:<br><blockquote \
type="cite"><blockquote type="cite">From: <a \
href="mailto:zfs-discuss-bounces@opensolaris.org">zfs-discuss-bounces@opensolaris.org</a> \
[mailto:zfs-discuss-<br><a \
href="mailto:bounces@opensolaris.org">bounces@opensolaris.org</a>] On Behalf Of Jim \
Klimov<br><br>Got me wondering: how many reads of a block from spinning \
rust<br>suffice for it to ultimately get into L2ARC? Just one so it<br>gets into a \
recent-read list of the ARC and then expires into<br>L2ARC when ARC RAM is more \
needed for something else, <br></blockquote><br>Correct, but not always sufficient. \
&nbsp;I forget the name of the parameter, but there's some rate limiting thing that \
limits how fast you can fill the L2ARC. &nbsp;This means sometimes, things will \
expire from ARC, and simply get discarded.<br></blockquote><br>The parameters \
are:<br><br> *) l2arc_write_max (default 8MB): max number of bytes written per<br> \
&nbsp;&nbsp;&nbsp;fill cycle<br></blockquote><div><br></div><div>It should be noted \
that this level was perhaps appropriate 6 years</div><div>ago, when L2ARC was \
integrated and given the SSDs available at the</div><div>time, but is well below \
reasonable settings&nbsp;for high speed systems or</div><div>modern SSDs. It is \
probably not a bad idea to change the default to&nbsp;</div><div>reflect more modern \
systems, thus avoiding surprises.</div><div>&nbsp;-- richard</div><br><blockquote \
type="cite"> *) l2arc_headroom (default 2x): multiplies the above parameter and<br> \
&nbsp;&nbsp;&nbsp;determines how far into the ARC lists we will search for \
buffers<br> &nbsp;&nbsp;&nbsp;eligible for writing to L2ARC.<br> *) l2arc_feed_secs \
(default 1s): regular interval between fill cycles<br> *) l2arc_feed_min_ms (default \
200ms): minimum interval between fill<br> \
&nbsp;&nbsp;&nbsp;cycles<br><br>Cheers,<br>--<br>Saso<br>_______________________________________________<br>zfs-discuss \
mailing list<br><a href="mailto:zfs-discuss@opensolaris.org">zfs-discuss@opensolaris.o \
rg</a><br>http://mail.opensolaris.org/mailman/listinfo/zfs-discuss<br></blockquote></div><br><div \
apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: \
separate; border-spacing: 0px; "><div style="word-wrap: break-word; \
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span \
class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); \
font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: \
normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: \
-webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; \
word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; \
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; \
"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: \
after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; \
color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: \
normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; \
text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: \
normal; widows: 2; word-spacing: 0px; border-spacing: 0px; \
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; \
-webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: \
break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span \
class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); \
font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: \
normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: \
-webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; \
word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; \
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; \
"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: \
after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; \
color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: \
normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; \
text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: \
normal; widows: 2; word-spacing: 0px; border-spacing: 0px; \
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; \
-webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: \
break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; \
"><div><div>--</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; \
-webkit-line-break: after-white-space; ">illumos Day &amp; ZFS Day, Oct 1-2, 2012 San \
Fransisco&nbsp;</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; \
-webkit-line-break: after-white-space; "><a \
href="http://www.zfsday.com">www.zfsday.com</a></div><div><a \
href="mailto:Richard.Elling@RichardElling.com">Richard.Elling@RichardElling.com</a></div><div>+1-760-896-4422</div></div><div><br></div></div></span><br \
class="Apple-interchange-newline"></div></span><br \
class="Apple-interchange-newline"></div></span><br \
class="Apple-interchange-newline"></div></span><br \
class="Apple-interchange-newline"></div></span><br \
class="Apple-interchange-newline"><br class="Apple-interchange-newline"> </div>
<br></body></html>



_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic