首页> 外文会议>IEEE Region 10 Conference >Design and Implementation of The Metadata Modification Concept Minimizing File Modification
【24h】

Design and Implementation of The Metadata Modification Concept Minimizing File Modification

机译:最小化文件修改的元数据修改概念的设计与实现

获取原文

摘要

In recent years, the capacity of files such as documents and multimedia has been greatly increased. The user not only stores and reads data, but also performs various activities such as adding or deleting contents to an existing file. For editing, the file system copies all the contents of the disk into memory, and the user modifies this data using the application. Then, when storing the data again, the user application is using the write function to rewrite it all over the disk from beginning to end. In the vim editor, even when some data is modified, all data is saved again, resulting in slower performance as the file size increases. An example of another method is tar. tar consists of several sub-files, and if you delete one of these sub-files, all the sub-files after the deleted file are pulled forward and rewritten. This approach requires a lot of disk-write requests despite the small number of data changes, and it takes a long time to execute. In this paper, we proposed the Metadata Modification technique, which is a new concept of modifying part of a file quickly through some metadata modification. In this modification we will use a function call sys_meta_modification(). This function is a prototype, assuming a situation in which a portion of the file is deleted, and although it is a limited function, it treats the file in a way that is fundamentally different from the API of the original primitive file system. This function modifies the pointer in the metadata when the data is deleted on a block-by-block basis and returns the block to be deleted to the kernel. In other words, because there is no need to write back data to a disc from beginning to end, it was very quick to delete the contents of the file. It also shows that if you create a user application that imitates tar using this system call and deletes the sub-file, the data will be deleted quickly.
机译:近年来,文件和多媒体等文件的容量已大大增加。用户不仅存储和读取数据,还执行各种活动,例如向现有文件添加或删除内容。为了进行编辑,文件系统将磁盘的所有内容复制到内存中,然后用户使用该应用程序修改此数据。然后,当再次存储数据时,用户应用程序将使用写入功能从头到尾在整个磁盘上重写数据。在vim编辑器中,即使修改了某些数据,所有数据也会再次保存,从而随着文件大小的增加而导致性能降低。另一方法的示例是tar。 tar由几个子文件组成,如果您删除其中一个子文件,则删除的文件之后的所有子文件都将向前拉并重写。尽管数据更改量很小,但此方法仍需要大量磁盘写入请求,并且执行时间很长。在本文中,我们提出了元数据修改技术,这是一种通过一些元数据修改来快速修改文件的一部分的新概念。在此修改中,我们将使用函数调用sys_meta_modification()。该功能是一个原型,假设情况是删除了文件的一部分,尽管它是一个受限制的功能,但它以与原始原始文件系统的API根本不同的方式来处理文件。当逐块删除数据时,此函数会修改元数据中的指针,并将要删除的块返回给内核。换句话说,因为不需要从头到尾将数据写回光盘,所以删除文件的内容非常快捷。它还显示,如果您创建一个使用此系统调用模仿tar的用户应用程序并删除该子文件,则数据将被快速删除。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号