Re: [zfs-discuss] hard drive write cache

2006-05-29 Thread Roch Bourbonnais - Performance Engineering
Chris Csanady writes: > On 5/26/06, Bart Smaalders <[EMAIL PROTECTED]> wrote: > > > > There are two failure modes associated with disk write caches: > > Failure modes aside, is there any benefit to a write cache when command > queueing is available? It seems that the primary advantage is i

Re: [zfs-discuss] hard drive write cache

2006-05-27 Thread Daniel Rock
[EMAIL PROTECTED] schrieb: What about IDE drives (PATA, SATA). Currently only the sd driver implements enabling/disabling the write cache? They typically have write caches enabled by default; and some don't take ckindly to disabling the write cache or do not allow it at all. But you could at

Re: [zfs-discuss] hard drive write cache

2006-05-27 Thread Casper . Dik
>What about IDE drives (PATA, SATA). Currently only the sd driver implements >enabling/disabling the write cache? They typically have write caches enabled by default; and some don't take ckindly to disabling the write cache or do not allow it at all. >Also the WCE bit isn't reset if a zpool is

Re: [zfs-discuss] hard drive write cache

2006-05-27 Thread Daniel Rock
Bart Smaalders schrieb: ZFS enables the write cache and flushes it when committing transaction groups; this insures that all of a transaction group appears or does not appear on disk. What about IDE drives (PATA, SATA). Currently only the sd driver implements enabling/disabling the write cache

Re: [zfs-discuss] hard drive write cache

2006-05-26 Thread Gregory Shaw
On Fri, 2006-05-26 at 17:40, Bart Smaalders wrote: > Gregory Shaw wrote: > > I had a question to the group: > > In the different ZFS discussions in zfs-discuss, I've seen a > > recurring theme of disabling write cache on disks. I would think that > > the performance increase of using write ca

Re: [zfs-discuss] hard drive write cache

2006-05-26 Thread Neil Perrin
ZFS enables the write cache and flushes it when committing transaction groups; this insures that all of a transaction group appears or does not appear on disk. It also flushes the disk write cache before returning from every synchronous request (eg fsync, O_DSYNC). This is done after writing o

Re: [zfs-discuss] hard drive write cache

2006-05-26 Thread Chris Csanady
On 5/26/06, Bart Smaalders <[EMAIL PROTECTED]> wrote: There are two failure modes associated with disk write caches: Failure modes aside, is there any benefit to a write cache when command queueing is available? It seems that the primary advantage is in allowing old ATA hardware to issue writ

Re: [zfs-discuss] hard drive write cache

2006-05-26 Thread Bart Smaalders
Gregory Shaw wrote: I had a question to the group: In the different ZFS discussions in zfs-discuss, I've seen a recurring theme of disabling write cache on disks. I would think that the performance increase of using write cache would be an advantage, and that write cache should be enabled.

Re: [zfs-discuss] hard drive write cache

2006-05-26 Thread Ed Nadolski
Gregory Shaw wrote: In recent Linux distributions, when the kernel shuts down, the kernel will force the scsi drives to flush their write cache. I don't know if solaris does the same but I think not, due to the ongoing focus of solaris and disabling write cache. The Solaris sd(7D) S

[zfs-discuss] hard drive write cache

2006-05-26 Thread Gregory Shaw
I had a question to the group: In the different ZFS discussions in zfs-discuss, I've seen a recurring theme of disabling write cache on disks. I would think that the performance increase of using write cache would be an advantage, and that write cache should be enabled. Realistically, I ca