Here, we use Filebench as an
example to evaluate and compare the performance of two Linux file systems: ext4
(Fourth extended file system) and btrfs (B-tree file system).
A) Write a script program to automatically benchmark file systems using Filebench, with the following configuration: (1). Evaluate ext4 and btrfs file systems;
(2). Choose the fileserver workload as a baseline, and change the number of files
to be “20000”, and the number of threads “10”, and the io size “256k” in the fileserver workload configuration file;(3). In each run of a test, make sure that the file system is empty and clean;
(4). Before each run of a test, mount the file system; after each run of a test, umount the file system;
(5). Run 20 minutes in each run of a test;
(6). 10 runs per test;
After each test is done, the script program needs to collect the throughput results
from 10 result output files by Filebench. Then use the throughput results to compute the confidence interval using Student’s t-distribution with different confidence values (50%, 75%, 90%, 95%). Write the program in Python. I need the source code and also results that helps us decide which file system performs better under the fileserver workload?