-
Notifications
You must be signed in to change notification settings - Fork 311
Cold Start Doesn't Work #206
Comments
Fixed in PR #210. |
I encontered the same issue: after running "fab loop" once, ottertune will set "max_wal_size" and "min_wal_size" to extremely high (e.g. 28 PB). I tried to run "fab run_lhs" but it cann't fix this issue. Also I tried to edit the jason file inside the "fixtures" fold in order to change the min/max range settings, however, the issue still there. Do you have any suggestions? |
Try running "fab lhs_samples", then "fab run_lhs", then "fab loop". This issue was fixed in PR #210 but it hasn’t been merged in yet. |
Thank you for your reply. But still not working, it keeps saying that "no trainning data". I tried to upload the example tranning data you upload here:https://github.com/bohanjason/ottertune-example-data. Seems uploading is successful, but when I run fab loop, it still says "no trainning data" |
When you do "fab lhs_samples", it should make samples in the "config" folder, and then "fab run_lhs" should try each of those samples. If this doesn't work for some reason, try pulling from https://github.com/arifiorino/ottertune where I made the random generating to be in range. |
I tried your code, yes, it can set "max_wal_size" to reasonable value. Thank you! This part fixed. However, it will set the "shared_buffer_size" to a very small number (e.g. 47kb). Do you know how could I modify the range of random generation? |
When I ran "sudo systemctl start postgresql@9.6-main.service", it gives me: Jul 10 23:31:05 server-cl2 systemd[1]: Starting PostgreSQL Cluster 9.6-main... |
Yes, you can edit ottertune/server/website/website/fixtures/postgres-96_knobs.json and then reinstall the server. Also I would reset postgres to the defaults so that it works. |
I see, last time when I edit "postgres-96_knobs.json", I just reboot the server, I think that is the reason why it won't work. Also, I saw someone said that I need at least run 1000 loops to generate enough random data for trainning the model. After that I can start tuning, is that correct? (#190) |
Fixed in #210 |
Running "fab loop" on the first try without doing "fab lhs_samples" and "fab run_lhs" doesn't work. It sets the knobs to extreme values which crashed postgres.
The text was updated successfully, but these errors were encountered: