Re: [zfs-discuss] size of slog device

2010-06-15 Thread Richard Elling
On Jun 15, 2010, at 8:51 PM, Richard Elling wrote >> I thought, if you didn't explicitly tune these, all sync writes go to ZIL >> before the main store. Can't seem to find any way to verify this. > > Cake. All sync writes go to the ZIL. The ZIL may be in the pool or in > the separate log device

Re: [zfs-discuss] size of slog device

2010-06-15 Thread Richard Elling
On Jun 15, 2010, at 8:13 PM, Edward Ned Harvey wrote: >> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- >> boun...@opensolaris.org] On Behalf Of Bob Friesenhahn >> >> It is good to keep in mind that only small writes go to the dedicated >> slog. Large writes to to main store. A

Re: [zfs-discuss] size of slog device

2010-06-15 Thread Edward Ned Harvey
> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- > boun...@opensolaris.org] On Behalf Of Bob Friesenhahn > > It is good to keep in mind that only small writes go to the dedicated > slog. Large writes to to main store. A succession of that many small > writes (to fill RAM/2) is hi

Re: [zfs-discuss] size of slog device

2010-06-14 Thread Neil Perrin
On 06/14/10 19:35, Erik Trimble wrote: On 6/14/2010 12:10 PM, Neil Perrin wrote: On 06/14/10 12:29, Bob Friesenhahn wrote: On Mon, 14 Jun 2010, Roy Sigurd Karlsbakk wrote: It is good to keep in mind that only small writes go to the dedicated slog. Large writes to to main store. A succession o

Re: [zfs-discuss] size of slog device

2010-06-14 Thread Richard Elling
On Jun 14, 2010, at 6:35 PM, Erik Trimble wrote: > On 6/14/2010 12:10 PM, Neil Perrin wrote: >> On 06/14/10 12:29, Bob Friesenhahn wrote: >>> On Mon, 14 Jun 2010, Roy Sigurd Karlsbakk wrote: >>> > It is good to keep in mind that only small writes go to the dedicated > slog. Large writes to

Re: [zfs-discuss] size of slog device

2010-06-14 Thread Erik Trimble
On 6/14/2010 12:10 PM, Neil Perrin wrote: On 06/14/10 12:29, Bob Friesenhahn wrote: On Mon, 14 Jun 2010, Roy Sigurd Karlsbakk wrote: It is good to keep in mind that only small writes go to the dedicated slog. Large writes to to main store. A succession of that many small writes (to fill RAM/2)

Re: [zfs-discuss] size of slog device

2010-06-14 Thread Neil Perrin
On 06/14/10 12:29, Bob Friesenhahn wrote: On Mon, 14 Jun 2010, Roy Sigurd Karlsbakk wrote: It is good to keep in mind that only small writes go to the dedicated slog. Large writes to to main store. A succession of that many small writes (to fill RAM/2) is highly unlikely. Also, that the zil is

Re: [zfs-discuss] size of slog device

2010-06-14 Thread Bob Friesenhahn
On Mon, 14 Jun 2010, Roy Sigurd Karlsbakk wrote: It is good to keep in mind that only small writes go to the dedicated slog. Large writes to to main store. A succession of that many small writes (to fill RAM/2) is highly unlikely. Also, that the zil is not read back unless the system is improper

Re: [zfs-discuss] size of slog device

2010-06-14 Thread Roy Sigurd Karlsbakk
- Original Message - > On Mon, 14 Jun 2010, Roy Sigurd Karlsbakk wrote: > > >> There is absolutely no sense in having slog devices larger than > >> then main memory, because it will never be used, right? > >> ZFS will rather flush the txg to disk than reading back from > >> zil? So there i

Re: [zfs-discuss] size of slog device

2010-06-14 Thread Bob Friesenhahn
On Mon, 14 Jun 2010, Roy Sigurd Karlsbakk wrote: There is absolutely no sense in having slog devices larger than then main memory, because it will never be used, right? ZFS will rather flush the txg to disk than reading back from zil? So there is a guideline to have enough slog to hold about 10

Re: [zfs-discuss] size of slog device

2010-06-14 Thread Arne Jansen
Roy Sigurd Karlsbakk wrote: >> There is absolutely no sense in having slog devices larger than >> then main memory, because it will never be used, right? >> ZFS will rather flush the txg to disk than reading back from >> zil? So there is a guideline to have enough slog to hold about 10 >> seconds o

Re: [zfs-discuss] size of slog device

2010-06-14 Thread Arne Jansen
Edward Ned Harvey wrote: >> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- >> boun...@opensolaris.org] On Behalf Of Arne Jansen >> >> There is absolutely no sense in having slog devices larger than >> then main memory, because it will never be used, right? > > Also: A TXG is guara

Re: [zfs-discuss] size of slog device

2010-06-14 Thread Edward Ned Harvey
> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- > boun...@opensolaris.org] On Behalf Of Arne Jansen > > There is absolutely no sense in having slog devices larger than > then main memory, because it will never be used, right? Also: A TXG is guaranteed to flush within 30 sec. Le

Re: [zfs-discuss] size of slog device

2010-06-14 Thread Roy Sigurd Karlsbakk
> There is absolutely no sense in having slog devices larger than > then main memory, because it will never be used, right? > ZFS will rather flush the txg to disk than reading back from > zil? So there is a guideline to have enough slog to hold about 10 > seconds of zil, but the absolute maximum v

Re: [zfs-discuss] size of slog device

2010-06-14 Thread Thomas Burgess
On Mon, Jun 14, 2010 at 4:41 AM, Arne Jansen wrote: > Hi, > > I known it's been discussed here more than once, and I read the > Evil tuning guide, but I didn't find a definitive statement: > > There is absolutely no sense in having slog devices larger than > then main memory, because it will neve

[zfs-discuss] size of slog device

2010-06-14 Thread Arne Jansen
Hi, I known it's been discussed here more than once, and I read the Evil tuning guide, but I didn't find a definitive statement: There is absolutely no sense in having slog devices larger than then main memory, because it will never be used, right? ZFS will rather flush the txg to disk than readi