-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
About analysis speed #8
Comments
Lizzieyzy calculate speed by total increased visits(include invisible but exclude symmetric candidates) in 4 seconds divided by 4. |
From the benchmark test results I am using 16 threads. In the benchmark test, it is 779 visits/s with 16 threads, which is almost the same as that of the normal lizzie in the image attached above.
Thank you. Like PDA and WRN, it can be changed with one touch, so I think it is a very convenient function. |
Can you try to set numSearchThread to 16 in lizzieyzy frame by params button,see if it changes speed. |
Yes, I tried it. |
Or maybe my maven or compile java version is too old,I can update and package a new jar about tomorrow. |
I've tested with jar files, and I've tried with exe files, but lizzieyzy still seems to be slow. I have looked at the config.txt file and it appears to be the same for the GPU part. I have done previous experiments by moving only the katago executable, but I tried a new experiment by moving the entire katago folder used by the regular lizzie to lizzieyzy. However, there was almost no change in the analysis speed, and it seems that the config.txt file is not the cause.
Thank you very much for your prompt action. |
I've updated maven and jdk,complied 4 jars. |
I have tried all four types of jar files and they look almost the same as existing jar files in terms of analysis speed. |
Which version of maven and jdk do you use to generate jar files for https://github.com/hope366/Lizzie-improvements/releases/tag/v3.0 |
try this,I packaged your code https://github.com/hope366/Lizzie-improvements |
I tried lizzie-0.7.3-shaded.zip. |
Really confused,just try to reset all code about start engine process to same with official lizzie....hope it works |
I tried test1.zip, but as before, the GPU clock suddenly dropped after a heavy load of about 10 seconds ... |
My GPU clock with offical lizzie or your lizzie or lizzieyzy is almost the same....around 1050Mhz...but my gpu is only MX250...always use remote engine.2080 on ubuntu,doest have any issue but it is runing under ssh connection so I think it does not helps. |
Do you have any computer with 3060 laotop GPU,I have one but never run katago or lizzie,can try it tommorrow. |
I only have one machine with a 2060, so I'm reaching out to more people to verify this issue. |
I'm also tring to get some lizzieyzy users to try official lizzie. |
I've asked 4 lizzieyzy users,with 2060,2060s,2080,3060.None of them have occured gpu clock dropped after few seconds. |
In test2, when I start lizzieyzy, no candidate is displayed on the board, but if I hold down the space key, it puts a load on the GPU, and it seems that analysis work is being done internally. However, the number of GPU clocks was 1865MHz only for the first 10 seconds, then 1365MHz was maintained for about 10 seconds, and then there was no load. And I couldn't close lizzieyzy and ended up closing it from the task manager. For test3 and katago_tensorRT.exe, the space key cannot be used to switch the analysis on and off, and the analysis is automatically continued. However, as for the analysis speed, it remains in a high load state for the first 10 seconds and after that, the load became low. By the way, I also verified katago 1.9.1 opencl and leelazero 0.17. The result is exactly the same as katago1.10.0, with normal lizzie forever under heavy load, but with lizzieyzy only the first 10 seconds or so under heavy load. |
Compiled lizzieyzy-process. |
GUI should still looks like lizzieyzy,and file name is lizzie-yzy2.4.5-shaded,I have updated process branch again,more clean up with maven |
There seems to be a problem with my compilation method. |
OK,then the reason must not be compile environment.Can you try official lizzie 0.6 release.That is the point I forked lizzie and start modify,maybe only work with leela zero. |
That was good news.
I'm used to PCs and English notation to some extent, so I can use it as it is without much trouble, but many Go users in Japan are old and often have PCs with low specifications. |
OK,I can update zip verion packages and all-in-one package with cpu version KataGo,but I dont know Japanese ....and this is my first time attempt to modify a software,so many codes are messy,I think even a Japanese is not easy to translate the menu and other stuff.... |
Even though I am a beginner in computer programming, I can now translate normal lizzie into Japanese with just a few instructions. However, lizzieyzy has a lot of items, and I think the code is probably complicated, so I don't think it's easy to translate into Japanese. Chinese is a hassle to decipher, but English shouldn't be too difficult once you get used to it ... at least I think so.We hope that many Japanese users will become accustomed to English and master lizzieyzy. |
In a post a while back, I said that normal lizzie and lizzieyzy sound different from the PC when analysis is on, which was my mistake. |
Unfortunately ,I've found the bug have not been totally fixed,If a new dialog(like menu->file->open from online) or tips(like click menu->analze->auto analyze when no next move or delete a branch) is shown and which have not extends lizzieframe(like dialog super(owner) and owner is lizzieframe),after ten or more seconds,the GPU clock will decrese and even close the dialog/tips the GPU clock seems never return high....It happens on all lizzie based jars,lizzie-imrovement/lizzieyzy/patched_0.7.4 |
I have a strange solution...start another jar which has only one JFrame with bug fix codes,and set it invisible.Then no matter how lizzie show tips dialogs..GPU clock never decreased.But it is much too lame.... |
Do you mean that we need something like kaorahi/lizzie@93628753 for all dialogs? |
Yes,but for JDialogs,super(Lizzie.frame); will works,for JOptionPane,JOptionPane.showConfirmDialog( Lizzie.frame, |
There is another solution,In my previous debug the GPU clock decrease has a premise which is continuously refresh lizzie.frame for a few seconds. |
I have only test not panel UI mode previously,just now I tested panel UI mode,GPU clock never decreased no matter which dialog/JOptionPane is shown |
Only "normal UI" has |
The issue seems vary unstable,after reboot and without any start other program,I have found panelUI will also make GPU clocck decreased...even without any dialogs and if remove |
I've found the condition of how to make panel UI trigger the issue.It is use view->simplify. |
Another clue is when I open a chrome based browser and start lizzie with |
I think the issue only affect the GPU used to diaplay lizzie,based on test on a laptop can change mode bettween one discrete GPU and two GPUs(the other one is integrate GPU) |
Hmm... Does "analyze-update-interval-centisec" in config.txt affect the issue? |
I tried it with lizzie-improvement, but regardless of the type, when I displayed the dialog window anyway, the GPU clock number dropped about 15 seconds later. |
Yes,changed "Analyze-update-interval-centisec" does not help,even I set to 100,and I tested another lizzie-forked program mylizzie,also have the issue. |
I did a simple test,even with this simple code,the issue remains,just one java file:
|
You captured a great hint that looks strange. |
Your test code seems to call |
When the dialog window is displayed with "Normal UI" or "View-> Simplify Mode of the panel UI", the number of clocks decreases in 10 seconds or so, but move the mouse cursor around the check box in the dialog window Continuing, the number of clocks seems to remain high. |
Codeimport java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.IOException;import javax.swing.JDialog; public class MainClass {
}
Yes,We have no |
I tested another my machine,does not have the issue at all with all kinds of lizzie based jars. |
I will also give you information about my environment. |
I have noticed,when lizzie caused GPU clock dropped,even start a new katago engine in independent command window and pondering with 'kata-analyze' or 'genmove' the GPU clock is still low. |
Tried some -Dsun.java2d parameters....does not works at all |
Using katago_20211025_trt64.exe used in lizzieyzy, one is normal lizzie and the other is lizzieyzy2.4.5, the situation when the same phase diagram is analyzed is shown in the screenshot below.
Both threads used are numSearchThreads = 16.
Both analysis widths are analysisWideRootNoise = 0.04.
The GPU is RTX 2060.
In terms of analysis speed, regular lizzie is about 1.5 times faster than lizzieyzy. It seems that the difference is always maintained at this level. Also, although the blue points and the displayed candidate moves are similar, there are some differences. What is the reason for these differences?
The text was updated successfully, but these errors were encountered: