Giter VIP home page Giter VIP logo

glusterfs-perf's Issues

how did we decide which hosts are clients?

This is just a question:

We may end up with less or more 'inventory' over time, so, how are we deciding how many clients are there and how many servers are there?

Isn't it better to define some tests, and clearly identify minimum inventory required for the test? If not satisfied, the test shouldn't even run.

Collect more metrics for perf runs

For each perf run, along with iops, latency etc. it's good to collect the following if possible:

  • profile info
  • network bandwidth usage
  • disk usage
  • CPU consumption of Gluster processes
  • memory consumption of Gluster processes

Need to cleanup /var/lib/glusterd

While trying to run a test with v5.0, hit this error. Looks like we had previous glusterd workdir.

[2019-02-21 05:01:16.847028] W [rpcsvc.c:1789:rpcsvc_create_listener] 0-rpc-service: cannot create listener, initing the transport failed
[2019-02-21 05:01:16.847044] E [MSGID: 106244] [glusterd.c:1798:init] 0-management: creation of 1 listeners failed, continuing with succeeded transport
[2019-02-21 05:01:18.059357] E [MSGID: 106022] [glusterd-store.c:2276:glusterd_restore_op_version] 0-management: wrong op-version (70000) retrieved [Invalid argument]

Save additional information with each run

Each run should produce a unique set of information that should be kept together. This is what I would record:

  • Commit used for the test
  • Date and time of the run (start and end)
  • Configuration settings (any gluster options, system options, or anything else changed for the test)
  • Environment (kernel, version, free memory, list of processes, cache status (dropped, not dropped), ...) both at the start and end of the test, from all nodes
  • Output of all information captured during the test on all nodes (iostat, top, ...)
  • stdout and stderr of all executed commands
  • A user provided comment for this particular test

We should create this in some organized way so that it's easily searchable.

This is very useful when we have lots of runs and want to use them for deeper analysis or extract statistics.

Perf tests for both hot cache and cold cache

It would be good if we run benchmark for both cold cache and hot cache, this will help us in identifying regressions in the cache xlators, and also give us an idea on the benefits of cache layers.

How to present the perf data we capture

Once we run the performance tests, we have captured the files/sec, iops, bandwidth usage etc. We need to keep a history of all the runs and present in a visual format to be able to comprehend for the developers. One suggestion would be:

We have a github repo, where we push all the metrics collected on a nightly runs. The last 30 or n runs are compared plotted to get the trend of the performance.

The other option suggested is to have a database where we store all the runs metrics.

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.