BOINC / boinc

Open-source software for volunteer computing and grid computing.
https://boinc.berkeley.edu
GNU Lesser General Public License v3.0
2.03k stars 449 forks source link

Adding additional Task's info on the Bottom Status bar #4918

Open ncoded opened 2 years ago

ncoded commented 2 years ago

On large thread machines its pretty difficult to see what is going on with tasks. How many in total, how many are running, how many are waiting to run, how many have been suspended, and how many are currently waiting for memory.

It would be very useful if the above task info could be available within BOINC. One idea would be to put it in the bottom task bar, as show in the mock-up image.

My project-1

Toby-Broom commented 2 years ago

I'd recommend using BOINCTasks it has many advanced features like this.

https://efmer.com/boinctasks/

AlPiskun commented 2 years ago

I'd recommend using BOINCTasks...

I'd recommend adding the info to the BOINC manager.

mcagriaksoy commented 1 year ago

Where is the statusbar code located, I could not find under client_gui

Vulpine05 commented 1 year ago

Where is the statusbar code located, I could not find under client_gui

@mcagriaksoy, I believe it starts here: https://github.com/BOINC/boinc/blob/66bae9a2fa2093e35559f4642560a5b05fb86053/clientgui/AdvancedFrame.cpp#L89 I started to work on this awhile ago, but I got stuck understanding how to wxStatusBar works, so I didn't get far. I've been busy with other things so I haven't had a chance to get back to this. If you're able to help that would be great. Let me know if you need any help (what little I can provide) or if I can assist with testing.

Vulpine05 commented 1 month ago

I've started working on this feature request again. As I've been working on the pseudo code, I realized there are a lot of different status a task could be under: new, ready to start, ready to report, running, aborted, GPU missing, etc. @ncoded , I can see how waiting for memory would be valuable to you and others (myself included). However, I could also see other users wanting to know other specific statuses, such as knowing which tasks are suspended by project vs suspended by user. This would be too much to put in the status bar if we tried to capture every type of task status.

I propose the following counts to display: Total, running, ready, suspended, waiting (for memory), completed (this would be finished or aborted), and downloading.

I think we would want to have the total list every item in the CWork structure, and the sum of the different type of tasks adds up to the total. For example, if there were 100 total tasks in the Tasks page, 100 total would be listed with 8 | 85 | 2 | 0 |5 | 0 as the different breakouts (8 running, 85 readying, 2 suspended, 0 waiting, 5 completed, and 0 downloading, as an arbitrary example).

Clear as mud? I'd appreciate any feedback.