Simon Toedt
2013-08-04 23:27:43 UTC
I have four questions about zfs's ashift parameter:
1. How can I get the ashift value for a zfs filesystem?
2. How do I set it for an existing pool?
3. How can I set this parameter at installation time?
4. Is there a way to automate the ashift setting for vmware virtual disks?
Background: We've talked to vmware this week about performance issues
on Solaris and they suggested that zfs in Illumos (unlike Solaris)
still uses 512k blocks on virtual disks, which is very inefficient
since all I/O on vmware is done using 4k (the x86 default page size)
blocks. Likewise they said that swapping and paging is slowed down by
a factor of at least two because of the difference between zfs's
ashift value and the system's default page size.
Simon
1. How can I get the ashift value for a zfs filesystem?
2. How do I set it for an existing pool?
3. How can I set this parameter at installation time?
4. Is there a way to automate the ashift setting for vmware virtual disks?
Background: We've talked to vmware this week about performance issues
on Solaris and they suggested that zfs in Illumos (unlike Solaris)
still uses 512k blocks on virtual disks, which is very inefficient
since all I/O on vmware is done using 4k (the x86 default page size)
blocks. Likewise they said that swapping and paging is slowed down by
a factor of at least two because of the difference between zfs's
ashift value and the system's default page size.
Simon