From: Jaegeuk Kim Subject: Re: f2fs alignment for sdhc cards Date: Tue, 30 Apr 2013 19:01:04 +0900 Message-ID: <1367316064.16581.34.camel@kjgkr> References: Reply-To: jaegeuk.kim@samsung.com Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-q6HOh4je8Eo/TgvoJYfo" Cc: "Linux FS DEV, Mailing List" To: Stefan Ellenberger Return-path: Received: from mailout2.samsung.com ([203.254.224.25]:25162 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759641Ab3D3KCI (ORCPT ); Tue, 30 Apr 2013 06:02:08 -0400 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MM200ETSBV6PEN0@mailout2.samsung.com> for linux-fsdevel@vger.kernel.org; Tue, 30 Apr 2013 19:02:06 +0900 (KST) In-reply-to: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: --=-q6HOh4je8Eo/TgvoJYfo Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 2013-04-30 (=ED=99=94), 11:35 +0200, Stefan Ellenberger: > Hello jaegeuk Hi, >=20 > I intend using f2fs on two flashcards where flashbench showed: > Kingston SDC10/16GB with alignment 8192=20 > Sandisk SDSDQU-016G-U46A alignment 4096 >=20 > What parameters are best when calling mkfs.f2fs? As of now, I'm not familiar with flashbench. But, I suggest you can reference the following survey written by Arnd. https://wiki.linaro.org/WorkingGroups/KernelArchived/Projects/FlashCardSurv= ey In the table, there are two parameters you need to consider carefully. - Allocation unit : -s section_size, multiple of 2MB segment - # open AUs linear : mount option, -o active_logs=3Dn (one of 2, 4, and 6) BTW, it is very hard to retreive the zone size by the timing attack, but usually I believe the section size is the most critical parameter to the NAND firmware. > Should I also use -e "mp3,mp4,jpg,tiff,mpg,aac,mov,wav,ts,flv,pdf" > because > these types are frequent and never get edited? You can add just "tiff,aac,wav,ts,flv,pdf". Other extensions are already added by default. Thanks, > Many thanks for your help! > Could you introduce an f2fs-user mailing lists at sourceforge to > address support questions like this one is? >=20 > Best Regards >=20 > Stefan Ellenberger >=20 >=20 --=20 Jaegeuk Kim Samsung --=-q6HOh4je8Eo/TgvoJYfo Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAABAgAGBQJRf5ZgAAoJEEAUqH6CSFDSjPEP/jn1gdFB9V4toWGTEbatgtOT JsWVpMZYx3/ZqPYl1r8hgE2YAG5D94G+CVlqlUcC93ZSy7mdc03wTYJGnY1EmuRP d43iWlTAge/4m8neZZgnmcR7N4B/mPqhKOaXp58Fha2DeizXAyMXGszP3phl1flv 7ewyeJH8waiulrZD7Ww6hnIwdp8Fr5xVuaDk2dj9d1H+M7Ni48z50P5GU1Kow/vU 1g+da6hhdrsHFAMqRLu2iOOt6sjr0Czj7XQ4kStUZGU8ofI4Zzr84N1G3eqZe67E CfPAiqkDAs0of1/oQHEchsu9/+mrGxGea865sfbjiPVyWhUmvOuWi3a+8xqo/9yq pq33FB0vG8FD9q3Vk3kxzj/HTKITvLSLbvJIriE5/vG91vYuZXi4pxbtKXI8oRu+ N4VxfOs6PJy/Lr2wU662N5vG9hesndxXjGjg87KlU0Wz6WrKTkyJxuzJo1vQlQx5 m3JICieDI082DNBVMI7LXALmRxpX0rzbEijlAPvf6jKVuwnF7fjl73fXxcd/riFD SQmJ8XtqMkKF4P7snWDu4CGEtBm8wMpg+RUAnhJmb0UMHzG/s4Hod+Z3UVNvqfsq lKNHxT4kB7WrFcMRufBkYJQxI/pbUXFjly6bvOcKIfv9SmjJ+KNlSQKNznVt0FbG jJQAhs8mUBiVxn3l3wL1 =p5Hd -----END PGP SIGNATURE----- --=-q6HOh4je8Eo/TgvoJYfo--