linux-f2fs-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
* Segment size
@ 2014-05-04 23:59 Paul Ni
  2014-05-07  0:04 ` Jaegeuk Kim
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Ni @ 2014-05-04 23:59 UTC (permalink / raw)
  To: linux-f2fs-devel


[-- Attachment #1.1: Type: text/plain, Size: 149 bytes --]

Is it possible to set an arbitrary segment size? I'm trying to set it to
1.5MiB to make it align with erase blocks on flash chips in my EVO 840 SSD.

[-- Attachment #1.2: Type: text/html, Size: 178 bytes --]

[-- Attachment #2: Type: text/plain, Size: 346 bytes --]

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce

[-- Attachment #3: Type: text/plain, Size: 179 bytes --]

_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Segment size
  2014-05-04 23:59 Segment size Paul Ni
@ 2014-05-07  0:04 ` Jaegeuk Kim
  2014-05-08 19:43   ` Paul Ni
  0 siblings, 1 reply; 4+ messages in thread
From: Jaegeuk Kim @ 2014-05-07  0:04 UTC (permalink / raw)
  To: Paul Ni; +Cc: linux-f2fs-devel

Hi,

2014-05-04 (일), 23:59 +0000, Paul Ni:
> Is it possible to set an arbitrary segment size? I'm trying to set it
> to 1.5MiB to make it align with erase blocks on flash chips in my EVO
> 840 SSD.

Impossible. The hard-coded segment size is fixed to manange the whole FS
metadata.
If you want to adjust the underlying FTL layout, you can change the
section and zone sizes.
Thanks,

> 
> ------------------------------------------------------------------------------
> Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
> • 3 signs your SCM is hindering your productivity
> • Requirements for releasing software faster
> • Expert tips and advice for migrating your SCM now
> http://p.sf.net/sfu/perforce
> _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

-- 
Jaegeuk Kim
Samsung



------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Segment size
  2014-05-07  0:04 ` Jaegeuk Kim
@ 2014-05-08 19:43   ` Paul Ni
  2014-05-09  0:11     ` Jaegeuk Kim
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Ni @ 2014-05-08 19:43 UTC (permalink / raw)
  To: jaegeuk.kim; +Cc: linux-f2fs-devel

On 6 May 2014 17:04, Jaegeuk Kim <jaegeuk.kim@samsung.com> wrote:
>
> Hi,
>
> 2014-05-04 (일), 23:59 +0000, Paul Ni:
> > Is it possible to set an arbitrary segment size? I'm trying to set it
> > to 1.5MiB to make it align with erase blocks on flash chips in my EVO
> > 840 SSD.
>
> Impossible. The hard-coded segment size is fixed to manange the whole FS
> metadata.
> If you want to adjust the underlying FTL layout, you can change the
> section and zone sizes.
> Thanks,
>
> >
> > ------------------------------------------------------------------------------
> > Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
> > &#149; 3 signs your SCM is hindering your productivity
> > &#149; Requirements for releasing software faster
> > &#149; Expert tips and advice for migrating your SCM now
> > http://p.sf.net/sfu/perforce
> > _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
>
> --
> Jaegeuk Kim
> Samsung
>

Is there any other way to avoid unaligned writes to erase blocks on
TLC flash based SSDs? As far as I know, all TLC flash memory has erase
blocks sizes in multiples of 3.

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Segment size
  2014-05-08 19:43   ` Paul Ni
@ 2014-05-09  0:11     ` Jaegeuk Kim
  0 siblings, 0 replies; 4+ messages in thread
From: Jaegeuk Kim @ 2014-05-09  0:11 UTC (permalink / raw)
  To: Paul Ni; +Cc: linux-f2fs-devel

2014-05-08 (목), 12:43 -0700, Paul Ni:
> On 6 May 2014 17:04, Jaegeuk Kim <jaegeuk.kim@samsung.com> wrote:
> >
> > Hi,
> >
> > 2014-05-04 (일), 23:59 +0000, Paul Ni:
> > > Is it possible to set an arbitrary segment size? I'm trying to set it
> > > to 1.5MiB to make it align with erase blocks on flash chips in my EVO
> > > 840 SSD.
> >
> > Impossible. The hard-coded segment size is fixed to manange the whole FS
> > metadata.
> > If you want to adjust the underlying FTL layout, you can change the
> > section and zone sizes.
> > Thanks,
> >
[...]

> Is there any other way to avoid unaligned writes to erase blocks on
> TLC flash based SSDs? As far as I know, all TLC flash memory has erase
> blocks sizes in multiples of 3.

If you want to align more precisely to the storage, you can configure
the section size in multiples of 3.

For example,
mkfs.f2fs -s 3 $DEV
 -> this configures the sections consisting of 3 segments, 6MB.

Thanks,

-- 
Jaegeuk Kim
Samsung



------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-05-09  0:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-04 23:59 Segment size Paul Ni
2014-05-07  0:04 ` Jaegeuk Kim
2014-05-08 19:43   ` Paul Ni
2014-05-09  0:11     ` Jaegeuk Kim

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).