Re: [zfs-discuss] Interesting question about L2ARC

2012-09-26 Thread Richard Elling
On Sep 26, 2012, at 4:28 AM, Sašo Kiselkov wrote: > On 09/26/2012 01:14 PM, Edward Ned Harvey > (opensolarisisdeadlongliveopensolaris) wrote: >>> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- >>> boun...@opensolaris.org] On Behalf Of Jim Klimov >>> >>> Got me wondering: how man

Re: [zfs-discuss] Interesting question about L2ARC

2012-09-26 Thread Sašo Kiselkov
On 09/26/2012 01:14 PM, Edward Ned Harvey (opensolarisisdeadlongliveopensolaris) wrote: >> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- >> boun...@opensolaris.org] On Behalf Of Jim Klimov >> >> Got me wondering: how many reads of a block from spinning rust >> suffice for it to ult

Re: [zfs-discuss] Interesting question about L2ARC

2012-09-26 Thread Edward Ned Harvey (opensolarisisdeadlongliveopensolaris)
> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- > boun...@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 ex

Re: [zfs-discuss] Interesting question about L2ARC

2012-09-25 Thread Sašo Kiselkov
On 09/25/2012 09:38 PM, Jim Klimov wrote: > 2012-09-11 16:29, Edward Ned Harvey > (opensolarisisdeadlongliveopensolaris) wrote: >>> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- >>> boun...@opensolaris.org] On Behalf Of Dan Swartzendruber >>> >>> My first thought was everything is

Re: [zfs-discuss] Interesting question about L2ARC

2012-09-25 Thread Dan Swartzendruber
On 9/25/2012 3:38 PM, Jim Klimov wrote: 2012-09-11 16:29, Edward Ned Harvey (opensolarisisdeadlongliveopensolaris) wrote: From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- boun...@opensolaris.org] On Behalf Of Dan Swartzendruber My first thought was everything is hitting in ARC, bu

Re: [zfs-discuss] Interesting question about L2ARC

2012-09-25 Thread Jim Klimov
2012-09-11 16:29, Edward Ned Harvey (opensolarisisdeadlongliveopensolaris) wrote: From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- boun...@opensolaris.org] On Behalf Of Dan Swartzendruber My first thought was everything is hitting in ARC, but that is clearly not the case, since it

Re: [zfs-discuss] Interesting question about L2ARC

2012-09-14 Thread Dan Swartzendruber
Subject: Re: [zfs-discuss] Interesting question about L2ARC On 09/11/2012 04:06 PM, Dan Swartzendruber wrote: > Thanks a lot for clarifying how this works. You're very welcome. > Since I'm quite happy > having an SSD in my workstation, I will need to purchase another SSD > :)

Re: [zfs-discuss] Interesting question about L2ARC

2012-09-11 Thread Dan Swartzendruber
-Original Message- From: Sašo Kiselkov [mailto:skiselkov...@gmail.com] Sent: Tuesday, September 11, 2012 10:12 AM To: Dan Swartzendruber Cc: 'James H'; zfs-discuss@opensolaris.org Subject: Re: [zfs-discuss] Interesting question about L2ARC On 09/11/2012 04:06 PM, Dan Swar

Re: [zfs-discuss] Interesting question about L2ARC

2012-09-11 Thread Sašo Kiselkov
On 09/11/2012 04:06 PM, Dan Swartzendruber wrote: > Thanks a lot for clarifying how this works. You're very welcome. > Since I'm quite happy > having an SSD in my workstation, I will need to purchase another SSD :) I'm > wondering if it makes more sense to buy two SSDs of half the size (e.g. >

Re: [zfs-discuss] Interesting question about L2ARC

2012-09-11 Thread Dan Swartzendruber
-Original Message- From: Sašo Kiselkov [mailto:skiselkov...@gmail.com] Sent: Tuesday, September 11, 2012 9:52 AM To: Dan Swartzendruber Cc: 'James H'; zfs-discuss@opensolaris.org Subject: Re: [zfs-discuss] Interesting question about L2ARC On 09/11/2012 03:41 PM, Dan Swar

Re: [zfs-discuss] Interesting question about L2ARC

2012-09-11 Thread Sašo Kiselkov
On 09/11/2012 03:41 PM, Dan Swartzendruber wrote: > LOL, I actually was unclear not you. I understood what you were saying, > sorry for being unclear. I have 4 disks in raid10, so my max random read > throughput is theoretically somewhat faster than the L2ARC device, but I > never really do that

Re: [zfs-discuss] Interesting question about L2ARC

2012-09-11 Thread Dan Swartzendruber
ris.org Subject: Re: [zfs-discuss] Interesting question about L2ARC On 09/11/2012 03:32 PM, Dan Swartzendruber wrote: > I think you may have a point. I'm also inclined to enable prefetch > caching per Saso's comment, since I don't have massive throughput - > latency is mo

Re: [zfs-discuss] Interesting question about L2ARC

2012-09-11 Thread Sašo Kiselkov
On 09/11/2012 03:32 PM, Dan Swartzendruber wrote: > I think you may have a point. I'm also inclined to enable prefetch caching > per Saso's comment, since I don't have massive throughput - latency is more > important to me. I meant to say the exact opposite: enable prefetch caching only if your l

Re: [zfs-discuss] Interesting question about L2ARC

2012-09-11 Thread Dan Swartzendruber
g] On Behalf Of James H Sent: Tuesday, September 11, 2012 5:09 AM To: zfs-discuss@opensolaris.org Subject: Re: [zfs-discuss] Interesting question about L2ARC Dan, If you're not already familiar with it, I find the following command useful. It shows the realtime total read commands, number

Re: [zfs-discuss] Interesting question about L2ARC

2012-09-11 Thread Dan Swartzendruber
ubject: RE: [zfs-discuss] Interesting question about L2ARC > From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- > boun...@opensolaris.org] On Behalf Of Dan Swartzendruber > > My first thought was everything is > hitting in ARC, but that is clearly not the case, since it

Re: [zfs-discuss] Interesting question about L2ARC

2012-09-11 Thread Edward Ned Harvey (opensolarisisdeadlongliveopensolaris)
> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- > boun...@opensolaris.org] On Behalf Of Dan Swartzendruber > > My first thought was everything is > hitting in ARC, but that is clearly not the case, since it WAS gradually > filling up > the cache device.  When things become cold

Re: [zfs-discuss] Interesting question about L2ARC

2012-09-11 Thread James H
Dan, If you're not already familiar with it, I find the following command useful. It shows the realtime total read commands, number hitting/missing ARC, number hitting missing L2ARC, breakdown of MRU/MFU etc. arcstat_v2.pl -f read,hits,mru,mfu,miss,hit%,l2read,l2hits,l2miss,l2hit%,arcsz,l2size,mr