From: Artem Bityutskiy <dedekind1-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org>
Cc: "H. Peter Anvin" <hpa-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>,
Karel Zak <kzak-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
util-linux-ng-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [ANNOUNCE] util-linux-ng v2.17 (stable)
Date: Mon, 11 Jan 2010 21:17:28 +0200 [thread overview]
Message-ID: <1263237448.30988.31.camel@localhost.localdomain> (raw)
In-Reply-To: <20100111140255.GA1416-+ZI9xUNit7I@public.gmane.org>
On Mon, 2010-01-11 at 15:05 +0100, Pavel Machek wrote:
> On Fri 2010-01-08 13:43:47, H. Peter Anvin wrote:
> > On 01/08/2010 01:33 AM, Karel Zak wrote:
> > >
> > > fdisk:
> > > - the fdisk command aligns newly created partitions to minimum_io_size
> > > boundary ("minimum_io_size" is physical sector size or stripe chunk
> > > size on RAIDs).
> > >
> > > - the fdisk command supports disks with alignment_offset now.
> > >
> >
> > I think we should align, by default, much more aggressively than that --
> > because frequently we just don't know what the real physical alignment
> > is (think of flash media, which uses large erase blocks underneath.)
>
> Flash has special mapping layer, and does not care (SD/MMC), or is a
> raw nand and can't be used as block device (smartmedia).
MMC does care, and we measured it, non-4KiB aligned writes were
noticeably slower on real eMMC and some MMC cards. I cannot remember the
numbers, but I vaguely recall something like 11%.
So the first statement is incorrect. It really does matter. E.g., we
observed that FAT FS was slower if the partition did not start from 4KiB
boundary.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2010-01-11 19:17 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-08 9:33 [ANNOUNCE] util-linux-ng v2.17 (stable) Karel Zak
2010-01-08 21:43 ` H. Peter Anvin
[not found] ` <4B47A713.9060405-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>
2010-01-08 22:40 ` Andreas Dilger
[not found] ` <329167C1-CF54-4742-B0B7-AD0B9DEFDEC1-xsfywfwIY+M@public.gmane.org>
2010-01-08 23:33 ` H. Peter Anvin
2010-01-11 6:36 ` Martin K. Petersen
[not found] ` <yq1ocl187ww.fsf-+q57XtR/GgMb6DWv4sQWN6xOck334EZe@public.gmane.org>
2010-01-11 7:27 ` H. Peter Anvin
2010-01-11 14:05 ` Pavel Machek
2010-01-11 16:52 ` H. Peter Anvin
[not found] ` <4B4B5768.2040005-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>
2010-01-11 20:17 ` Pavel Machek
[not found] ` <20100111201734.GA11674-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2010-01-11 23:26 ` H. Peter Anvin
[not found] ` <4B4BB397.5090500-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>
2010-01-12 13:33 ` Artem Bityutskiy
2010-01-12 13:35 ` Artem Bityutskiy
[not found] ` <20100111140255.GA1416-+ZI9xUNit7I@public.gmane.org>
2010-01-11 19:17 ` Artem Bityutskiy [this message]
2010-01-12 7:19 ` Jörn Engel
[not found] ` <20100112071931.GA18822-PCqxUs/MD9bYtjvyW6yDsg@public.gmane.org>
2010-01-12 8:19 ` H. Peter Anvin
2010-01-12 9:37 ` Jörn Engel
[not found] ` <20100112093755.GB18822-PCqxUs/MD9bYtjvyW6yDsg@public.gmane.org>
2010-01-12 16:20 ` H. Peter Anvin
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=1263237448.30988.31.camel@localhost.localdomain \
--to=dedekind1-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=hpa-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org \
--cc=kzak-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=pavel-+ZI9xUNit7I@public.gmane.org \
--cc=util-linux-ng-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/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;
as well as URLs for NNTP newsgroup(s).