Re: [zfs-discuss] primarycache and secondarycache properties on Solaris 10 u8

2009-10-16 Thread Robert Milkowski
Richard Elling wrote: On Oct 15, 2009, at 1:19 PM, Javier Conde wrote: Hello, I've seen in the "what's new" of Solaris 10 update 8 just released that ZFS now includes the "primarycache" and "secondarycache" properties. Is this the "equivalent" of the UFS directio? No. UFS directio does 3

Re: [zfs-discuss] primarycache and secondarycache properties on Solaris 10 u8

2009-10-15 Thread Richard Elling
On Oct 15, 2009, at 3:13 PM, Bob Friesenhahn wrote: On Thu, 15 Oct 2009, Richard Elling wrote: No. UFS directio does 3 things: 1. unbuffered I/O 2. allow concurrent writers (no single-writer lock) 3. provide an improved async I/O code path For #1, the ZFS equivalent is

Re: [zfs-discuss] primarycache and secondarycache properties on Solaris 10 u8

2009-10-15 Thread Bob Friesenhahn
On Thu, 15 Oct 2009, Frank Middleton wrote: IIRC the trigger for this thread was the suggestion that primarycache=none be set on datasets used for swap. Presumably swap only gets used when memory is low or exhausted, so it would it be correct to say that it wouldn't make any sense for swap to

Re: [zfs-discuss] primarycache and secondarycache properties on Solaris 10 u8

2009-10-15 Thread Frank Middleton
IIRC the trigger for this thread was the suggestion that primarycache=none be set on datasets used for swap. Presumably swap only gets used when memory is low or exhausted, so it would it be correct to say that it wouldn't make any sense for swap to be in /any/ cache? If this isn't what primar

Re: [zfs-discuss] primarycache and secondarycache properties on Solaris 10 u8

2009-10-15 Thread Bob Friesenhahn
On Thu, 15 Oct 2009, Richard Elling wrote: No. UFS directio does 3 things: 1. unbuffered I/O 2. allow concurrent writers (no single-writer lock) 3. provide an improved async I/O code path For #1, the ZFS equivalent is primarycache=none, but you might find that primarycac

Re: [zfs-discuss] primarycache and secondarycache properties on Solaris 10 u8

2009-10-15 Thread Richard Elling
On Oct 15, 2009, at 1:19 PM, Javier Conde wrote: Hello, I've seen in the "what's new" of Solaris 10 update 8 just released that ZFS now includes the "primarycache" and "secondarycache" properties. Is this the "equivalent" of the UFS directio? No. UFS directio does 3 things: 1. u

Re: [zfs-discuss] primarycache and secondarycache properties on Solaris 10 u8

2009-10-15 Thread Cindy Swearingen
Other than how to turn these features on and off, only so much performance related info can be shoe horned into a man page. You might check out these blogs: http://blogs.sun.com/roch/entry/people_ask_where_are_we See the direct I/O section http://blogs.sun.com/bobn/entry/what_s_new_in_solaris

Re: [zfs-discuss] primarycache and secondarycache properties on Solaris 10 u8

2009-10-15 Thread Torrey McMahon
Suggest you start with the man page http://docs.sun.com/app/docs/doc/819-2240/zfs-1m On 10/15/2009 4:19 PM, Javier Conde wrote: Hello, I've seen in the "what's new" of Solaris 10 update 8 just released that ZFS now includes the "primarycache" and "secondarycache" properties. Is this the "e

[zfs-discuss] primarycache and secondarycache properties on Solaris 10 u8

2009-10-15 Thread Javier Conde
Hello, I've seen in the "what's new" of Solaris 10 update 8 just released that ZFS now includes the "primarycache" and "secondarycache" properties. Is this the "equivalent" of the UFS directio? Does it have a similar behavior? I'm thinking about having a database on ZFS with this option, a