But if the size of the file is known beforehand, persistent preallocation is the best route.
不过如果预先知道文件的大小时,持久化预分配是更好的选择。
Ext4 permits preallocation without doing this, which can improve the performance of some database and multimedia tools.
而ext4允许提前分配,无需进行上述操作,这能提高某些数据库和多媒体工具的性能。
Persistent preallocation If an application needs to allocate disk space before actually using it, most file systems do so by writing 0s to the not-yet-used disk space.
持久性预分配如果一个应用程序需要在实际使用磁盘空间之前对它进行分配,大部分文件系统都是通过向未使用的磁盘空间写入0来实现分配。
Persistent preallocation If an application needs to allocate disk space before actually using it, most file systems do so by writing 0s to the not-yet-used disk space.
持久性预分配如果一个应用程序需要在实际使用磁盘空间之前对它进行分配,大部分文件系统都是通过向未使用的磁盘空间写入0来实现分配。
应用推荐