From: Hillel Lubman <shtetldik@gmail.com>
To: Stan Hoeppner <stan@hardwarefreak.com>
Cc: xfs@oss.sgi.com
Subject: Re: What is a recommended XFS sector size for hybrid (512e) advanced format hard drives?
Date: Mon, 05 Jan 2015 23:01:07 -0500 [thread overview]
Message-ID: <1654319.MieU9cnnSS@shtub-cm> (raw)
In-Reply-To: <54AB54B5.1020902@hardwarefreak.com>
[-- Attachment #1.1: Type: text/plain, Size: 1361 bytes --]
On Monday, January 05, 2015 21:21:25 Stan Hoeppner wrote:
>
> > I didn't test however how it compares to default settings on the
> > same drive which would set it to 512 B.
>
> As long as your underlying partition is 4KB aligned the only advantage
> you'll likely see with 4B sectsz is a little faster log IO. So for non
> metadata heavy workloads you won't see any difference between 512B and
> 4KB sectsz.
>
> Stan
It's actually created by gparted with 1 MB alignment, so it's implicitly 4 KB aligned as well. I guess something else is causing the slowness or it's just subjective. Raw I/O performance test looks normal with hdparm.
Here is what gdisk reports (third partition is the XFS one):
Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 3907029168 sectors, 1.8 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): ...
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 3907029134
Partitions will be aligned on 2048-sector boundaries
Total free space is 4205 sectors (2.1 MiB)
Number Start (sector) End (sector) Size Code Name
1 2048 534527 260.0 MiB EF00
2 534528 1763327 600.0 MiB 0700
3 1763328 3904931839 1.8 TiB 0700
4 3904931840 3907026943 1023.0 MiB 8200
Regards,
Hillel.
[-- Attachment #1.2: Type: text/html, Size: 6593 bytes --]
[-- Attachment #2: Type: text/plain, Size: 121 bytes --]
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2015-01-06 4:01 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-05 0:56 What is a recommended XFS sector size for hybrid (512e) advanced format hard drives? Hillel Lubman
2015-01-05 3:52 ` Stan Hoeppner
2015-01-06 2:23 ` Hillel Lubman
2015-01-06 3:21 ` Stan Hoeppner
2015-01-06 4:01 ` Hillel Lubman [this message]
2015-01-06 8:35 ` Matthias Schniedermeyer
2015-01-06 17:02 ` Eric Sandeen
2015-01-06 19:05 ` Chris Murphy
2015-01-06 19:23 ` Eric Sandeen
2015-01-06 19:42 ` Chris Murphy
2015-01-06 19:55 ` Chris Murphy
2015-01-07 5:31 ` Eric Sandeen
2015-01-07 6:01 ` Chris Murphy
2015-01-07 5:17 ` Hillel Lubman
2015-01-07 5:30 ` Eric Sandeen
2015-01-07 5:36 ` Hillel Lubman
2015-01-07 6:06 ` Chris Murphy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1654319.MieU9cnnSS@shtub-cm \
--to=shtetldik@gmail.com \
--cc=stan@hardwarefreak.com \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox