<div dir="ltr">It's hard for me to see how aligning the partition on a greater granularity than the physical sector size (aka "ashift", typically 4k for modern large devices) would help anything.  Regardless of partition alignment, ZFS is going to write to whatever sectors it wants.<div>
<br></div><div>--matt</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 31, 2013 at 8:22 PM, Paul B. Henson <span dir="ltr"><<a href="mailto:henson@acm.org" target="_blank">henson@acm.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">While putting together a linux system, I found the current advice in that ecosystem seems to be to align your SSD partitions not just to the page size, but to the erase block size. Any thoughts on that recommendation for an rpool, l2arc, or zil partition?<br>

<br>
I'm using a couple Crucial 256G m4 SSD's for my rpool, which I believe have an 8k page size and 512k erase block size. Given the rpool requirement for an SMI label, I would end up having to start the slice on cylinder 15 (which, when added to the one cylinder used by the fdisk label, results in cylinder 16) in order to get the alignment right, which wastes something like 150Mb :(. Not ridiculous on a 256G device, but annoying. Has any progress been made on booting from EFI labeled disks? I vaguely recall somebody was working on grub2 but I'm not sure where it ended up. That would allow alignment without as much waste.<br>

<br>
Or if erase block alignment doesn't matter that much for ZFS I could just align to the page size…<br>
<br>
Thanks…<br>
<br>
<br>
------------------------------<u></u>-------------<br>
illumos-zfs<br>
Archives: <a href="https://www.listbox.com/member/archive/182191/=now" target="_blank">https://www.listbox.com/<u></u>member/archive/182191/=now</a><br>
RSS Feed: <a href="https://www.listbox.com/member/archive/rss/182191/21635000-ebd1d460" target="_blank">https://www.listbox.com/<u></u>member/archive/rss/182191/<u></u>21635000-ebd1d460</a><br>
Modify Your Subscription: <a href="https://www.listbox.com/member/?member_id=21635000&id_secret=21635000-73dc201a" target="_blank">https://www.listbox.com/<u></u>member/?member_id=21635000&id_<u></u>secret=21635000-73dc201a</a><br>

Powered by Listbox: <a href="http://www.listbox.com" target="_blank">http://www.listbox.com</a><br>
</blockquote></div><br></div>