All of lore.kernel.org
 help / color / mirror / Atom feed
* [f2fs-dev] tests on (and howto increase) lifetime?
@ 2021-07-14 12:44 Hayati Ayguen
  2021-07-17  8:38 ` Chao Yu
  0 siblings, 1 reply; 2+ messages in thread
From: Hayati Ayguen @ 2021-07-14 12:44 UTC (permalink / raw)
  To: linux-f2fs-devel


Hi,

[ probably i'm wrong in this mailing list .. but this is best, i could
find. also i tried to search archive .. but couldn't find the right topic. ]


i have a logging application on raspberry pi (3/4) writing to an
usb-stick or sd-card through an usb-adapter - not the internal/boot
sd-card with the operating system. see https://groups.io/g/fmlist-scanner
some are used mobile: in a car or backpack.

it's writing approximately 100 - 200 kB data (few new files: some csv
and a zip) every 3 to 5 minutes. write speed/performance is no issue in
my application. the raspberry pi's tends to freeze or reboot from time
to time .. thus the data should be safely stored .. it's sync'ed after
every write (of the few files).
daily data is summarized, compressed, uploaded and moved into another
directory.

vfat formatted usb-sticks usually get broken regularly in some weeks to
several months.
that is why i meanwhile recommend f2fs: looks it behaves better - so far.


are there any tests (scripts or programs) to tests the life
duration/cycles of usb-memory-sticks or sd-cards independent of
filesystem? i would be interested to compare vfat or some other
filesystem vs. f2fs.

is there a safe way to detect write errors - independent of file system
- deactivating the system's cache buffers when test-reading?

are there additional strategies to increase the life of sd-cards?

kind regards,
Hayati



_______________________________________________
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] 2+ messages in thread

* Re: [f2fs-dev] tests on (and howto increase) lifetime?
  2021-07-14 12:44 [f2fs-dev] tests on (and howto increase) lifetime? Hayati Ayguen
@ 2021-07-17  8:38 ` Chao Yu
  0 siblings, 0 replies; 2+ messages in thread
From: Chao Yu @ 2021-07-17  8:38 UTC (permalink / raw)
  To: Hayati Ayguen, linux-f2fs-devel

Hello Hayati,

On 2021/7/14 20:44, Hayati Ayguen wrote:
> are there additional strategies to increase the life of sd-cards?

Maybe you can have a try with LFS mode of f2fs which will force filesystem
triggering sequential write IO only, you can enable this mode by specifying
"mode=lfs" mount option.

Thanks,


_______________________________________________
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] 2+ messages in thread

end of thread, other threads:[~2021-07-17  8:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-14 12:44 [f2fs-dev] tests on (and howto increase) lifetime? Hayati Ayguen
2021-07-17  8:38 ` Chao Yu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.