iPhone的闪存有多少个程序/擦除周期? [英] How many Program/Erase cycles does the iPhone's flash memory have?

查看:152
本文介绍了iPhone的闪存有多少个程序/擦除周期?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不确定这是这个问题的正确网站,但由于这里有很多聪明人,也许有人知道。

Not sure that this is the right site for this question, but since there are many smart people here maybe someone knows.

我正在构建一个需要的应用程序连续捕捉视频,但只保留最后几分钟(比如5~15)。通过将视频拆分为30秒文件并删除最近的文件,可以轻松实现此目的。但是,这意味着应用程序一直在写入和删除大文件,我担心它会佩戴设备的闪存。

I'm building an app that needs to capture video continuously, but keep only the last few minutes (say 5~15). It is easy to implement this by splitting the video to 30-seconds files, and delete the least recent ones. However, this means that the app writes and erases large files all the time, and I'm worried that it'll wear the device's flash memory.

我一直在试图找到iPhone(以及流行的Android手机)的P / E周期规格,但没有成功。有人知道答案吗?

I've been trying to find the P/E cycles spec for the iPhone (and for popular Android phones), with no success. Does anybody know the answer?

P.S。只是为了减轻一个微不足道的问题:设备在此视频捕获期间连接到电源,因此电池耗尽不是问题。

P.S. Just to alleviate a trivial concern: the device is connected to power during this video capturing, so battery depletion is not an issue.

推荐答案

我不担心。典型的NAND闪存具有100k +写入周期

I wouldn't worry about that. Typical NAND flash has 100k+ write cycles

我确信iOS具有智能文件操作系统,可均匀分配写入以减少特定位置的磨损。
我也确定一旦它开始发生某些扇区,就会把它们标记为坏的,并将它们重新安置到健康的位置,就像普通硬盘一样。

I'm sure iOS has a smart file operating system which distributes writes evenly to reduce wearing out specific locations. I'm also sure that once it starts happening with some sectors it marks them as bad ones and relocates them to healthy locations as it happens with normal HDDs as well.

每隔30秒在同一位置写字也不是特别频繁。你需要140年的时间来磨损相同的闪光位置。
我可能会将大部分数据保留在缓存中,而实际上并没有写入闪存。

Also writing on the same location in every 30 sec is not particularly frequent. It would take you 140 years to wear out the same flash location. I is likely that most of your data stays in the cache without actually ever written to the flash.

这篇关于iPhone的闪存有多少个程序/擦除周期?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆