Comments (3)
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.
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.
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)
- Cross-compile aarch64 failed HOT 1
- [Question] How does sysbench expose the C program interface to Lua scripts in version 1.1.0 HOT 2
- Error reporting FATAL: oltp_ Read_ Write: 1: malformed number near '1.0.20' HOT 1
- [Question] Meaning of CPU Speed / Events per second? HOT 1
- Memory performance is different with different Linux OS kernel
- Building from source on Amazon Linux for ARM does not work after rel 1.0.20 HOT 6
- Enable the new Discussions tab here on this site. It's like Issues 2.0
- Sysbench 1.0.20 + scripting disk benchmark HOT 1
- segementation faults when preparing data
- sysbench0.5 test oracle
- Create Sysbench 1.1.0 release tag HOT 1
- [BUG]Segmentation fault(core dumped) error when use --fored-shutdown
- [Question] Would running with `--threads=1` and `--rate=N` cause backpressure, if the database can't keep up with the `rate`?
- sysbench MySQL deadlock?
- `sysbench` command usage documentation not provided
- Only support prepare SelectStmt point query now
- Sysbench CPU is absolutley broken. HOT 1
- build error with mysql 8.3 HOT 1
- `--rand-seed` is non-deterministic
- Getting FATAL: `thread_init' function failed: /usr/share/sysbench/oltp_common.lua:275: SQL API error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sysbench.