20210222-46aaceaf66-win_x86 minimized clients using 57% CPU time doing nothing

Case number:845813-2011263
Topic:Game: Tools
Opened by:Bletchley Park
Status:Open
Type:Bug
Opened on:Thursday, February 25, 2021 - 19:02
Last modified:Monday, March 15, 2021 - 11:33

All clients are minimized and are doing nothing, absolutely idle, yet foldit is using 57% of the complete CPU capacity. This is not (should not be) normal.

BUG

(Thu, 02/25/2021 - 19:02  |  4 comments)


Joined: 05/19/2009
Groups: Contenders

I did find this in the log.txt file:

"
*** Got OpenGL error: invalid value at ..\..\..\source\src\interactive\gui\Texture.cc:273
[ ERROR ] Could not find symbol from backtrace: ERR 487 Message:
Attempt to access invalid address.

[ ERROR ] END ERROR MESSAGE
[ ERROR ] Could not find symbol from backtrace: ERR 487 Message:
Attempt to access invalid address.

[ ERROR ] END ERROR MESSAGE
[ ERROR ] Could not find symbol from backtrace: ERR 487 Message:
Attempt to access invalid address.

[ ERROR ] END ERROR MESSAGE
*** Got OpenGL error in context:
1: interactive::render::check_for_open_gl_errors +279 bytes (no line)
2: interactive::gui::Texture::bind_data_to_gpu +302 bytes (no line)
3: interactive::gui::Texture::bind +375 bytes (no line)
4: interactive::gui::StaticImage::on_render +1021 bytes (no line)
5: interactive::gui::Container::on_render +453 bytes (no line)
6: interactive::gui::TopLevel::on_render +473 bytes (no line)
7: interactive::guiwrapper::win32::Win32Wrapper::win_display_func +85 bytes (no line)
8: interactive::guiwrapper::win32::Win32Wrapper::start +421 bytes (no line)
9: interactive::application::interactive_main +2861 bytes (no line)
10: game::application::game_main +1321 bytes (no line)
11: library_main +21 bytes (no line)
12: no symbol (no line)
13: no symbol (no line)
14: no symbol (no line)
15: BaseThreadInitThunk +18 bytes (no line)
16: RtlInitializeExceptionChain +99 bytes (no line)
17: RtlInitializeExceptionChain +54 bytes (no line)

"

agcohn821's picture
User offline. Last seen 10 hours 49 min ago. Offline
Joined: 11/05/2019
Groups: Foldit Staff

Hi Bletchley--thank you for this feedback, it has been passed along to the team!

Joined: 05/19/2009
Groups: Contenders

Maybe relevant to your investigation, the video card and thus the drivers are from ATI, all other machines have NVidia cards and drivers. The issue seems to occur after a certain number of clients have started and also occurs with the previous main client.

Joined: 05/19/2009
Groups: Contenders

I may have found the issue.

On systems with more than 1 physical CPU, the fabric will move threads between physical CPUs where needed. In my case the moving of threads and their associated data used up so much overhead time that the system marked over 50% of the CPUs in use. I tested this by assigning every copy of foldit a specific separate CPU core (through affinity). With the same number of clients, the issue disappeared. This is also a case to NOT make foldit multithreading as we will lose control over the threads and cores used.

You may close this issue.

Sitemap

Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Amazon, Microsoft, Adobe, Boehringer Ingelheim, RosettaCommons