pku-dair / knobstuningea Goto Github PK
View Code? Open in Web Editor NEWAn Experimental Evaluation for Database Configuration Tuning
An Experimental Evaluation for Database Configuration Tuning
Hi, I'm researching automatic database tuning and have had a chance to read your paper.
I have read your paper with great interest!
I want to execute your project, however, I can't understand the work process of RGPE (specifically tune_RGPE() function). I saw openbox library and your code detailed, and found that a version of the openbox that you have used is a previous version. Therefore, I hit a wall to understand the RGPE process.
You said that RGPE is an algorithm that transfers historical experience, so I'm curious where in your code the transfer of history and the part of the ranking loss you described in your paper are.
I would be grateful for your answer.
Hi! I tried to recreate the experiments and found this error:
Traceback (most recent call last):
File "train.py", line 160, in
tuner.tune()
File "/home/mingo/Desktop/KnobsTuningEA-master/DB/lib/python3.7/site-packages/autotune/tuner.py", line 110, in tune
self.tune_lhs()
File "/home/mingo/Desktop/KnobsTuningEA-master/DB/lib/python3.7/site-packages/autotune/tuner.py", line 303, in tune_lhs
metrics, internal_metrics, resource = self.env.step_GP(knobs)
File "/home/mingo/Desktop/KnobsTuningEA-master/DB/lib/python3.7/site-packages/autotune/dbenv.py", line 842, in step_GP
flag = self.apply_knobs(knobs)
File "/home/mingo/Desktop/KnobsTuningEA-master/DB/lib/python3.7/site-packages/autotune/dbenv.py", line 179, in apply_knobs
knobs_rdsL = self._gen_config_file(knobs)
File "/home/mingo/Desktop/KnobsTuningEA-master/DB/lib/python3.7/site-packages/autotune/dbenv.py", line 551, in _gen_config_file
cnf_parser.set(key, knobs[key])
File "/home/mingo/Desktop/KnobsTuningEA-master/DB/lib/python3.7/site-packages/autotune/utils/parser.py", line 57, in set
self._knobs[k] = v
AttributeError: 'ConfigParser' object has no attribute '_knobs'
I can not figure out what is going on since the _knobs has been defined in init. Could anyone kindly point out why this happened? I really appreciate it!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.