Giter VIP home page Giter VIP logo

Comments (3)

akopytov avatar akopytov commented on June 30, 2024

It's an interesting corner case. On the one hand, --oltp-table-size does not have any effect on actual benchmark runs for all modes, it only affects the original table size when tables are created on prepare. On the other hand, it could be used by insert.lua as yet another limit in addition to --max-requests and --max-time. The former looks more consistent to me, but you seem to be expecting the latter.

Changing insert.lua to respect --oltp-table-size during the benchmark run would be trivial, but then, unlike --max-requests, the actual number of inserted rows would also depend on --oltp-tables-count.

from sysbench.

cubah avatar cubah commented on June 30, 2024

Hello Alexiej
Thanks for answer !
Now, I get your way of thinking (and after I have read sysbench-manual.pdf several times). So maybe I could give you my helpful feeligns which can make life easier for other. So i doc there is mentioned [common options] vs [test option]. The first are listen in chapter.2. But the last option seems to be intuitive specific for the test, e.g. other for oltp.lua either for insert.lua. The problem is that the --oltp-table-size is affecting test for specific mode only (only when 'prepare' oltp test is used). Moreoverthis param affects also different test (insert.lua 'prepare'). This introduces some mess overall.
I think user should be informed if any param is not suitable for given test. Then your sysbench would be more perfect than is :) For me is best of all!
Anyway Marry Christamas !
Jakub Hunia
Dnia 21 grudnia 2015 13:01 Alexey Kopytov napisaล‚(a):
It's an interesting corner case. On the one hand, --oltp-table-size does not have any effect on actual benchmark runs for all modes, it only affects the original table size when tables are created on prepare. On the other hand, it could be used by insert.lua as yet another limit in addition to --max-requests and --max-time. The former looks more consistent to me, but you seem to be expecting the latter.Changing insert.lua to respect --oltp-table-size during the benchmark run would be trivial, but then, unlike --max-requests, the actual number of inserted rows would also depend on --oltp-tables-count.โ€”
Reply to this email directly or view it on GitHub.

from sysbench.

akopytov avatar akopytov commented on June 30, 2024

Thank you, Jacob. I agree, sysbench should be stricter about its options handling and make it clear for the user when some options do not make any sense.

Let's keep it as a request to throw a warning/error message about unused/unsupported options.

from sysbench.

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.