Thinking more about this I'm confused about what you are seeing.
The function dsl_pool_zil_clean() will serialise separate calls to
zil_clean() within a pool. I don't expect you have >1037 pools on your laptop!
So I don't know what's going on. What is the typical call stack for those
zil_clean() threads?

Neil.

On 09/21/09 08:53, Neil Perrin wrote:
Nils,

A zil_clean() is started for each dataset after every txg.
this includes snapshots (which is perhaps a bit inefficient).
Still, zil_clean() is fairly lightweight if there's nothing
to do (grab a non contended lock; find nothing on a list;
drop the lock & exit).

Neil.

On 09/21/09 08:08, Nils Goroll wrote:
Hi All,

out of curiosity: Can anyone come up with a good idea about why my snv_111 laptop computer should run more than 1000 zil_clean threads?

ffffff0009a9dc60 fffffffffbc2c030                0 tq:zil_clean
ffffff0009aa3c60 fffffffffbc2c030                0 tq:zil_clean
ffffff0009aa9c60 fffffffffbc2c030                0 tq:zil_clean
ffffff0009aafc60 fffffffffbc2c030                0 tq:zil_clean
ffffff0009ab5c60 fffffffffbc2c030                0 tq:zil_clean
ffffff0009abbc60 fffffffffbc2c030                0 tq:zil_clean
ffffff0009ac1c60 fffffffffbc2c030                0 tq:zil_clean
 > ::threadlist!grep zil_clean| wc -l
    1037

Thanks, Nils

P.S.: Please don't spend too much time on this, for me, this question is really academic - but I'd be grateful for any good answers.
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to