josefbacik / fsperf Goto Github PK
View Code? Open in Web Editor NEWA file system performance testing framework
A file system performance testing framework
Running on a system with Python 3.11 gives me this:
Traceback (most recent call last):
File "/home/anna/fsperf/manage.py", line 5, in
main(repository='fsperf-db', url='sqlite:///fsperf-results.db', debug='False')
File "/usr/lib/python3.11/site-packages/migrate/versioning/shell.py", line 111, in main
f_args, f_varargs, f_kwargs, f_defaults = inspect.getargspec(command_func)
Some googling tells me that the getargspec() function the migrate package is trying to use was removed in Python 3.11. The migrate package hasn't been touched since 2017, so I'm not optimistic that it'll be fixed
I'm trying out fsperf after LSF, and I'm getting this traceback when I try to use it for NFS:
Traceback (most recent call last):
File "/home/anna/fsperf/src/PerfTest.py", line 34, in run
self.commit_stats = utils.collect_commit_stats(self.dev)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/anna/fsperf/src/utils.py", line 445, in collect_commit_stats
fsid = get_fsid(device)
^^^^^^^^^^^^^^^^
File "/home/anna/fsperf/src/utils.py", line 407, in get_fsid
return subprocess.check_output(cmd, text=True).strip()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['blkid', '-s', 'UUID', '-o', 'value', 'None']' returned non-zero exit status 2.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/anna/fsperf/src/fsperf.py", line 157, in
run_test(args, session, config, section, run_purpose, t)
File "/home/anna/fsperf/src/fsperf.py", line 46, in run_test
test.run(run, config, section, "results")
File "/home/anna/fsperf/src/PerfTest.py", line 29, in run
with self.test_context(config, section):
File "/usr/lib/python3.11/contextlib.py", line 589, in exit
raise exc_details[1]
File "/usr/lib/python3.11/contextlib.py", line 574, in exit
if cb(*exc_details):
^^^^^^^^^^^^^^^^
File "/home/anna/fsperf/src/utils.py", line 193, in exit
self.umount()
File "/home/anna/fsperf/src/utils.py", line 174, in umount
if self.is_on_block_device():
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/anna/fsperf/src/utils.py", line 199, in is_on_block_device
st_mode = os.stat(self.device).st_mode
^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'server:/srv/xfs/test/anna/nfsv41tcp'
I would be 100% okay with adding a flag to my local.cfg so it does the right thing if that's easiest
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.