【24h】

Rapid file system development using ptrace

机译:使用ptrace快速开发文件系统

获取原文
获取原文并翻译 | 示例

摘要

Developing kernel-level file systems is a difficult task that requires a significant time investment. For experimental file systems, it is desirable to develop a prototype before investing the time required to develop a kernel-level file system. We have built a ptrace monitoring infrastructure for file system development. Because our system runs entirely in user-space, debugging is made easier and it is possible to leverage existing tested user-level libraries. Because our monitor intercepts all OS entry points (system calls and signals) it is able to provide more functionality than other prototyping techniques, which are limited by the VFS interface (FUSE) or network protocols (user-level NFS servers). We have developed several example file systems using our framework, including a pass-through layered file system, a layered encryption file system, and a user-level ISO9660 file system. We analyzed the complexity of our code using cyclomatic complexity and other metrics. We show savings for a pass-through file system of 53% compared to existing user-level pass-through file systems and a factor of 4.7 reduction for an in-kernel pass-through file system. Our performance evaluation demonstrates that our infrastructure has an acceptable overhead of 18.4% for a pass-through file system.
机译:开发内核级文件系统是一项艰巨的任务,需要大量时间投入。对于实验文件系统,希望在投入开发内核级文件系统所需的时间之前先开发原型。我们已经建立了用于文件系统开发的ptrace监视基础结构。由于我们的系统完全在用户空间中运行,因此调试变得更容易,并且可以利用现有的经过测试的用户级库。因为我们的监视器拦截了所有OS入口点(系统调用和信号),所以它能够提供比其他原型技术更多的功能,后者受VFS接口(FUSE)或网络协议(用户级NFS服务器)的限制。我们使用我们的框架开发了几个示例文件系统,包括直通分层文件系统,分层加密文件系统和用户级ISO9660文件系统。我们使用圈复杂度和其他指标分析了代码的复杂度。与现有的用户级直通文件系统相比,直通文件系统节省了53%的费用,内核内直通文件系统减少了4.7倍。我们的性能评估表明,对于传递文件系统,我们的基础结构具有18.4%的可接受开销。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号