如何对EXT4文件系统上的功能集进行验证/测试/基准测试 [英] How to validate/test/benchmark for the set of features on EXT4 filesystem

查看:126
本文介绍了如何对EXT4文件系统上的功能集进行验证/测试/基准测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想验证/测试/测试我添加到ext4 kernel_tree/fs中的功能.

I wanted to validate/test/benchmark set of features I have added to the ext4 kernel_tree/fs.

我遇到了Spruce Linux文件系统驱动程序验证.尤其是对于文件系统.

I came across Spruce Linux file system driver verification. Especially for filesystem.

该项目托管在@ https://code.google.com/p/spruce /wiki/GettingStarted . 这是针对x86的.

The project is hosted @https://code.google.com/p/spruce/wiki/GettingStarted. and this is for x86.

我正在研究手臂目标,开始之前我有几个问题.

I work on arm target, and I have few questions before starting off.

  1. 有人早些从事过云杉研究吗.

  1. Has anybody worked on Spruce earlier.

如何将Spruce项目用于ARM,我们是否需要移植到ARM?

how to use Spruce project for ARM, Do we need to port for ARM?

是直接进行交叉编译还是需要进行任何更改.

Is cross compilation straight forward or any changes need to be done.

我已经阅读了这篇论文:http://syrcose.ispras.ru/2012/files/submissions/25_syrcose2012_submission_21.pdf

I have gone through this paper: http://syrcose.ispras.ru/2012/files/submissions/25_syrcose2012_submission_21.pdf

没有有关ARM及其支持的信息.

there is no information on ARM and its support.

请对有任何工作经验/了解云杉项目的人进行解释/帮助.

Please someone explain/help who has any work experience/knowledge on Spruce project.

推荐答案

  1. 云杉的工作原理如下.它提供了一组测试,这些测试可以使给定文件系统的内核模块在代码中执行尽可能多的路径.它允许使用一些外部分析器(例如 KEDR框架中的工具)来检测不同类型的错误:内存泄漏等.

  1. Spruce was intended to work as follows. It provides a set of tests that make the kernel module for a given file system execute as many paths in the code as possible. It allows to use some external analyzers (such as the tools from KEDR framework) to detect different kinds of errors: memory leaks, etc.

所有这些主要用于x86.

All that was primarily intended for x86.

虽然可以将测试本身移植到ARM,但也需要选择在该平台上工作的分析器. KEDR工具目前仅适用于x86,但可以尝试 Kmemleak 故障注入工具和ARM上的其他工具.

While it might be possible to port the tests themselves to ARM, one will need to choose the analyzers that work on that platform too. KEDR tools are currently for x86 only but one may try Kmemleak, Fault injection facilities and other tools on ARM instead.

云杉似乎仍在开发中.我知道,您在他们的问题跟踪器中打开了有关ARM支持的票证,我认为这是正确的做法.

Spruce seems to be a work in progress still. I see, you opened a ticket concerning ARM support in their issue tracker, I think, it is the right thing to do.

我还建议您看一下 Phoronix测试套件.它目前广泛用于测试和基准测试,包括文件系统内核模块的分析.例如,请参见本文.尽管我还没有尝试过,但它似乎可以在ARM上运行在那里我自己.

I would also suggest to take a look at Phoronix Test Suite. It is currently widely used for testing and benchmarking, including the analysis of file system kernel modules. See this article for example. It seems to work on ARM although I haven't tried it there myself.

这篇关于如何对EXT4文件系统上的功能集进行验证/测试/基准测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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