ZFS threads?

Ivan Voras ivoras at freebsd.org
Fri Oct 16 09:19:25 UTC 2009


Miroslav Lachman wrote:
> grarpamp wrote:
> 
>> I don't know about reducing them directly,
>> maybe vfs.zfs.zfetch.max_streams. On mine
>> it's 8 which might be that 0 through 7 you see.
>>
>> This system has 9 zfs mountpoints and
>> 104 spa_zio* threads. So you might try
>> cutting mountpoints if possible.
> 
> I don't know how it is related, but I have system with 17 ZFS 
> mountpoints and just 25 spa_zio threads (named as spa_zio_issue_2, 
> spa_zio_intr_2 etc).
> This is on 7.2-RELEASE-p2 amd64

Hmm, this is interesting. On a quad-core 7.2-R box amd64 with 11 mount 
points I have 6 sets of 4 zio threads (spa_zio_intr_[0-5] and 
spa_zio_issue_[0-5] in each).

The original machine I wrote about is 8.0-RC1 i386 with a single CPU.

Maybe CPU count detection is turned off in 8?



More information about the freebsd-fs mailing list