Re: [OpenIndiana-discuss] What happens when a ZIL drive dies?

2012-06-07 Thread Matt Clark
That's true, but if you look at slides 24 25 of http://www.ddrdrive.com/zil_accelerator.pdf you'll see seek distributions for a SLOG device with the ZILs for five filesystems - although each ZIL is broadly append only (slides 21 and 22), there is still a lot of seeking going on. Of course if

Re: [OpenIndiana-discuss] What happens when a ZIL drive dies?

2012-06-07 Thread Jesus Cea
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/06/12 17:06, Bob Friesenhahn wrote: On Thu, 7 Jun 2012, Jesus Cea wrote: I always wondered WHY. What is the point of keeping separate ZILs (one per dataset) when having a discrete LOG device. Any idea?. The implementation is obviously

Re: [OpenIndiana-discuss] What happens when a ZIL drive dies?

2012-06-06 Thread Matt Clark
Yes, it's interesting to consider the possible real world performance. ZIL writes, even by DDRDrive's stats, are very closely clustered around the tail of the ZIL, with most seeks being to near locations - it's certainly not going to seek more than 8 gig away. So probably just leaving it at

Re: [OpenIndiana-discuss] What happens when a ZIL drive dies?

2012-06-06 Thread Bob Friesenhahn
On Wed, 6 Jun 2012, Matt Clark wrote: Yes, it's interesting to consider the possible real world performance. ZIL writes, even by DDRDrive's stats, are very closely clustered around the tail of the ZIL, with most seeks being to near locations - it's certainly not going to seek more than 8 gig

Re: [OpenIndiana-discuss] What happens when a ZIL drive dies?

2012-06-05 Thread Jan Owoc
On Tue, Jun 5, 2012 at 11:32 AM, Nick Hall darknovan...@gmail.com wrote: On Mon, Jun 4, 2012 at 10:48 AM, Jan Owoc jso...@gmail.com wrote: The data on the main pool is always consistent in that a certain operation either made it to the disk or it didn't. However, if your application depends

Re: [OpenIndiana-discuss] What happens when a ZIL drive dies?

2012-06-05 Thread Bob Friesenhahn
On Tue, 5 Jun 2012, Jan Owoc wrote: Some applications may depend on the files (or portions thereof) making it out to disk in a specific order. The example you gave is perfect. Let's say file A needs to exist before a change in file B happens. A properly written program would write out file A,

[OpenIndiana-discuss] What happens when a ZIL drive dies?

2012-06-04 Thread Nick Hall
I'm considering buying a separate SSD drive for my ZIL as I do quite a bit over NFS and would like the latency to improve. But first I'm trying to understand exactly how the ZIL works and what happens in case of a problem. I'll list my understanding here, and I'm hoping someone can correct me if

Re: [OpenIndiana-discuss] What happens when a ZIL drive dies?

2012-06-04 Thread Jan Owoc
On Mon, Jun 4, 2012 at 9:24 AM, Nick Hall darknovan...@gmail.com wrote: I'm considering buying a separate SSD drive for my ZIL as I do quite a bit over NFS and would like the latency to improve. But first I'm trying to understand exactly how the ZIL works and what happens in case of a problem.

Re: [OpenIndiana-discuss] What happens when a ZIL drive dies?

2012-06-04 Thread Richard Elling
On Jun 4, 2012, at 8:24 AM, Nick Hall wrote: I'm considering buying a separate SSD drive for my ZIL as I do quite a bit over NFS and would like the latency to improve. But first I'm trying to understand exactly how the ZIL works and what happens in case of a problem. I'll list my

Re: [OpenIndiana-discuss] What happens when a ZIL drive dies?

2012-06-04 Thread Mark Creamer
You might supplement the advice you get here with this post from Constantin Gonzales on his blog. I found it very helpful when I was setting up my Solaris storage server. http://constantin.glez.de/blog/2010/07/solaris-zfs-synchronous-writes-and-zil-explained -Mark On Mon, Jun 4, 2012 at 11:24

Re: [OpenIndiana-discuss] What happens when a ZIL drive dies?

2012-06-04 Thread Dan Swartzendruber
On 6/4/2012 11:56 AM, Richard Elling wrote: On Jun 4, 2012, at 8:24 AM, Nick Hall wrote: For NFS workloads, the ZIL implements the synchronous semantics between the NFS server and client. The best way to get better performance is to have the client run in async mode when possible (Solaris

Re: [OpenIndiana-discuss] What happens when a ZIL drive dies?

2012-06-04 Thread Richard Elling
On Jun 4, 2012, at 10:06 AM, Dan Swartzendruber wrote: On 6/4/2012 11:56 AM, Richard Elling wrote: On Jun 4, 2012, at 8:24 AM, Nick Hall wrote: For NFS workloads, the ZIL implements the synchronous semantics between the NFS server and client. The best way to get better performance is to have

Re: [OpenIndiana-discuss] What happens when a ZIL drive dies?

2012-06-04 Thread Dan Swartzendruber
On 6/4/2012 1:15 PM, Richard Elling wrote: On Jun 4, 2012, at 10:06 AM, Dan Swartzendruber wrote: On 6/4/2012 11:56 AM, Richard Elling wrote: On Jun 4, 2012, at 8:24 AM, Nick Hall wrote: For NFS workloads, the ZIL implements the synchronous semantics between the NFS server and client. The

Re: [OpenIndiana-discuss] What happens when a ZIL drive dies?

2012-06-04 Thread Mike La Spina
: [OpenIndiana-discuss] What happens when a ZIL drive dies? I'm considering buying a separate SSD drive for my ZIL as I do quite a bit over NFS and would like the latency to improve. But first I'm trying to understand exactly how the ZIL works and what happens in case of a problem. I'll list my