Re: [zfs-discuss] Transaction consistency of ZFS

2009-12-08 Thread Zhu Han
Neil, Thank you. You closed my question. :-) best regards, hanzhu On Mon, Dec 7, 2009 at 3:00 AM, Neil Perrin neil.per...@sun.com wrote: I'll try to find out whether ZFS binding the same file always to the same opening transaction group. Not sure what you mean by this. Transactions (eg

[zfs-discuss] Fwd: [zfs-code] Transaction consistency of ZFS

2009-12-08 Thread Zhu Han
Answer from another guru... nxyyt wrote: This question is forwarded from ZFS-discussion. Hope any developer can throw some light on it. I'm a newbie to ZFS. I have a special question against the COW transaction of ZFS. Does ZFS keeps the sequential consistency of the same file when it

Re: [zfs-discuss] application writes are blocked near the end of spa_sync

2010-02-26 Thread Zhu Han
Hi, This page may indicate the root cause. http://blogs.sun.com/roch/entry/the_new_zfs_write_throttle ZFS will throttle the write speed to match the write speed to the txg to the speed of DISK IO. If it detects the modest measure(1 tick pause) cannot prevent the tx group from being too large, it

Re: [zfs-discuss] application writes are blocked near the end of spa_sync

2010-02-27 Thread Zhu Han
theory. On Fri, Feb 26, 2010 at 11:30 PM, Zhu Han schumi@gmail.com wrote: Hi, This page may indicate the root cause. http://blogs.sun.com/roch/entry/the_new_zfs_write_throttle ZFS will throttle the write speed to match the write speed to the txg to the speed of DISK IO. If it detects

Re: [zfs-discuss] suggested ssd for zil

2010-03-01 Thread Zhu Han
On Mon, Mar 1, 2010 at 1:05 PM, Daniel Carosone d...@geek.com.au wrote: Is there anything that is safe to use as a ZIL, faster than the Mtron but more appropriate for home than a Stec? ACARD ANS-9010, as mentioned several times here recently (also sold as hyperdrive5) +1 for this device.

Re: [zfs-discuss] suggested ssd for zil

2010-03-01 Thread Zhu Han
Erik, That's very useful. Thank you! best regards, hanzhu On Mon, Mar 1, 2010 at 4:48 PM, Erik Trimble erik.trim...@sun.com wrote: Zhu Han wrote: On Mon, Mar 1, 2010 at 1:05 PM, Daniel Carosone d...@geek.com.au mailto: d...@geek.com.au wrote: Is there anything that is safe to use

Re: [zfs-discuss] suggested ssd for zil

2010-03-01 Thread Zhu Han
best regards, hanzhu On Mon, Mar 1, 2010 at 8:47 PM, Eugen Leitl eu...@leitl.org wrote: On Mon, Mar 01, 2010 at 12:18:45AM -0500, rwali...@washdcmail.com wrote: ACARD ANS-9010, as mentioned several times here recently (also sold as hyperdrive5) You are right. I saw that in a recent

Re: [zfs-discuss] [osol-discuss] WriteBack versus SSD-ZIL

2010-03-05 Thread Zhu Han
Hi, Erik, I've always wondered what the benefit (and difficulty to add to ZFS) would be to having an async write cache for ZFS - that is, ZFS currently buffers async writes in RAM, until it decides to aggregate enough of them to flush to disk. I think it would be interesting to see what would

Re: [zfs-discuss] Intel SASUC8I - worth every penny

2010-03-11 Thread Zhu Han
Hi, Thank you for sharing it. Seems like it's more cheaper than the HBA from LSI, isn't it? Can you tell us the build version of the opensolaris? best regards, hanzhu On Fri, Mar 12, 2010 at 8:52 AM, Russ Price rjp_...@fubegra.net wrote: I had recently started setting up a homegrown

Re: [zfs-discuss] bit-flipping in RAM...

2010-03-31 Thread Zhu Han
The ECC enabled RAM should be very cheap quickly if the industry embraces it in every computer. :-) best regards, hanzhu On Wed, Mar 31, 2010 at 5:46 PM, Erik Trimble erik.trim...@oracle.comwrote: casper@sun.com wrote: I'm not saying that ZFS should consider doing this - doing a

[zfs-discuss] Algorithm of block size estimation

2010-09-02 Thread Zhu Han
Hi, Can anybody help me give the link on the code snippet of block size estimation? I want to know when ZFS makes a decision on the block size used for a file. Does ZFS estimate it based on the length of file when the create event of file is committed to disk during txg commit? If so, is the

Re: [zfs-discuss] Algorithm of block size estimation

2010-09-02 Thread Zhu Han
is not power 2, it's new block size can be greater than the file system recordsize property. Does anybody know why there is such a short circuit? best regards, hanzhu On Thu, Sep 2, 2010 at 6:30 PM, Darren J Moffat darr...@opensolaris.orgwrote: On 02/09/2010 11:18, Zhu Han wrote: Can anybody help me