Giter VIP home page Giter VIP logo

fsperf's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

fsperf's Issues

Is there an alternative for the migrate package?

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

Please add NFS support

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.