Giter VIP home page Giter VIP logo

Comments (5)

spbnick avatar spbnick commented on June 20, 2024 1

You can also enable I/O rate limiting to somewhat control how fast the space is consumed.

from cockpit-session-recording.

justin-stephenson avatar justin-stephenson commented on June 20, 2024

Hi,

There is no way to calculate the resource usage as there are too many other factors involved, but I suspect disk space is the most limiting factor.

I would recommend enabling recording only for a group of users and monitoring the system before enabling recording for everyone.

from cockpit-session-recording.

fischer-felix avatar fischer-felix commented on June 20, 2024

Is there any way I could check how much disk space is used, so I could see for myself what config I'd go with?

from cockpit-session-recording.

spbnick avatar spbnick commented on June 20, 2024

Unless you set the rate limit, ultimately it could be anything at all, only limited by your CPU speed and memory/storage bandwidth.

IIRC, the rate limit is specified in encoded (JSON) bytes, so the "rate" setting would give you an upper limit (default is 16KB/s). You can also set the burst limit to e.g. allow a quick display of a long program output.

If you want to know the average encoding overhead, start something like tlog-rec -o test.log dd if=/dev/urandom bs=1024 count=1024 > /dev/null. This would encode 1MB of random data into the test.log file.

Also, try taking @justin-stephenson's advice and just record a few sessions to get a feel of what sizes you get.

from cockpit-session-recording.

spbnick avatar spbnick commented on June 20, 2024

Actually, encoding random binary data wouldn't be representative of a typical shell session in overhead, but rather closer to the worst case, so please disregard that. Take a big text file, or a log, and print it under tlog to see something close to reality.

from cockpit-session-recording.

Related Issues (20)

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.