-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 26.03.2010 16:55, Bottone, Frank wrote: > Does zfs handle 4kb sectors properly or does it always assume 512b sectors? > > > > If it does, we could manually create a slice properly aligned and set > zfs to use it?
A real simple patch would be to attempt alignment with 4096 every time (since 4096 is a multiple of 512 there really wouldn't be a performance penalty here). This would mean that things are optimal on _ALL_ disks. (and allow those of us using more advanced diskcontrollers to set the strip-size (strip size, not stripe size) to 4K as well) //Svein - -- - --------+-------------------+------------------------------- /"\ |Svein Skogen | sv...@d80.iso100.no \ / |Solberg Østli 9 | PGP Key: 0xE5E76831 X |2020 Skedsmokorset | sv...@jernhuset.no / \ |Norway | PGP Key: 0xCE96CE13 | | sv...@stillbilde.net ascii | | PGP Key: 0x58CD33B6 ribbon |System Admin | svein-listm...@stillbilde.net Campaign|stillbilde.net | PGP Key: 0x22D494A4 +-------------------+------------------------------- |msn messenger: | Mobile Phone: +47 907 03 575 |sv...@jernhuset.no | RIPE handle: SS16503-RIPE - --------+-------------------+------------------------------- If you really are in a hurry, mail me at svein-mob...@stillbilde.net This mailbox goes directly to my cellphone and is checked even when I'm not in front of my computer. - ------------------------------------------------------------ Picture Gallery: https://gallery.stillbilde.net/v/svein/ - ------------------------------------------------------------ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkus2cMACgkQSBMQn1jNM7YHeACgoxq5z6Eylrfn9IeIer+epJPs ylwAoKgxYWRaT7IQ+JTjeTQk8goCBcFT =TB1W -----END PGP SIGNATURE----- _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss