Skip to contentSkip to conversation

f2fs alignment for sdhc cards

DISCUSSION Jaegeuk Kim 1 participant 1 message Apr 30, 2013 1 message not in the archive VFS

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

2013-04-30 (화), 11:35 +0200, Stefan Ellenberger:

Quoted 1 line

Hello jaegeuk

Hi,

Quoted 6 lines

I intend using f2fs on two flashcards where flashbench showed:
Kingston SDC10/16GB with alignment 8192
Sandisk SDSDQU-016G-U46A alignment 4096

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/FlashCardSurvey

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=n (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.

Quoted 3 lines

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,

Quoted 10 lines

Many thanks for your help!

Could you introduce an f2fs-user mailing lists at sourceforge to address support questions like this one is?

Best Regards

Stefan Ellenberger

Signature · 2 lines
Jaegeuk Kim
Samsung