I would greatly appreciate it if you could open the bug, I don't have an
opensolaris bugzilla account yet and you'd probably put better technical
details in it anyway :). If you do, could you please let me know the bug#
so I can refer to it once S10U6 is out and I confirm it has the same
On 10/23/08 08:19, Paul B. Henson wrote:
On Tue, 21 Oct 2008, Pramod Batni wrote:
Why does creating a new ZFS filesystem require enumerating all existing
ones?
This is to determine if any of the filesystems in the dataset are mounted.
Ok, that leads to another question,
On Thu, 23 Oct 2008, Pramod Batni wrote:
On 10/23/08 08:19, Paul B. Henson wrote:
Ok, that leads to another question, why does creating a new ZFS filesystem
require determining if any of the existing filesystems in the dataset are
mounted :)?
I am not sure. All the checking is done as
On Tue, 21 Oct 2008, Pramod Batni wrote:
Why does creating a new ZFS filesystem require enumerating all existing
ones?
This is to determine if any of the filesystems in the dataset are mounted.
Ok, that leads to another question, why does creating a new ZFS filesystem
require determining
On 10/21/08 04:52, Paul B. Henson wrote:
On Mon, 20 Oct 2008, Pramod Batni wrote:
Yes, the implementation of the above ioctl walks the list of mounted
filesystems 'vfslist' [in this case it walks 5000 nodes of a linked list
before the ioctl returns] This in-kernel traversal of the
Paul B. Henson wrote:
snip
At about 5000 filesystems, it starts taking over 30 seconds to
create/delete additional filesystems.
At 7848, over a minute:
# time zfs create export/user/test
real1m22.950s
user1m12.268s
sys 0m10.184s
I did a little experiment with truss:
#
On Mon, 20 Oct 2008, Pramod Batni wrote:
Yes, the implementation of the above ioctl walks the list of mounted
filesystems 'vfslist' [in this case it walks 5000 nodes of a linked list
before the ioctl returns] This in-kernel traversal of the filesystems is
taking time.
Hmm, O(n) :(... I guess
On Sun, Oct 19, 2008 at 4:08 PM, Paul B. Henson [EMAIL PROTECTED] wrote:
At about 5000 filesystems, it starts taking over 30 seconds to
create/delete additional filesystems.
The biggest problem I ran into was the boot time, specifically when
zfs volinit is executing. With ~3500 filesystems on