Welcome to MilkyWay@home

Posts by DGPickett

1) Message boards : News : News General (Message 76370)
Posted 5 Sep 2023 by DGPickett
Post:
Even without improvements, any parallel code that does not use 100% of a critical resource may benefit from running more threads, so as one thread is busy elsewhere, the other thread can use the resource. I used to use double the CPU core count to ensure close to max throughput. If Intel hyperthreaded processors, one might even double that.

For instance, if 50% of a thread's time is spent in IO, you might run twice as many threads to compensate, although you may just discover they are more IO bound as a result. Even so, IO total throughput somewhat increases with additional requests, like shorter seeks on a disk as it services requests in elevator style. When we were tied to modems, a second transfer might increase the flow just a little by ensuring no idle time between packets, like 2 threads running 50% in place of one running 95%. If paging is involved, one might trigger some thrashing, but the parallel app should be OK, as all threads use the same VM, although possibly different pages.

In a producer-consumer queue situation, one might create more producers if the queue runs dry, and more consumers if the queue goes full, in addition to short sleeps for threads with no queue data or space. Of course, not all apps can support multiple producers or consumers on a queue.
2) Message boards : News : News General (Message 74110)
Posted 28 Aug 2022 by DGPickett
Post:
BOINC does not do the suspending, the app does, and the implicit contract is that if it should suspend, it must, even if it misses a deadline from the gods of the app. And eventually or sometimes it does, hence the long loop theory. One MilkyWay task is suspended right now.
3) Message boards : News : News General (Message 74083)
Posted 19 Aug 2022 by DGPickett
Post:
BTW, the lack of suspension is not a solid defect. Sometimes it suspends as it should. Perhaps it does not check during a prolonged loop.
4) Message boards : News : News General (Message 74077)
Posted 18 Aug 2022 by DGPickett
Post:
Still not fixed, still running when forbidden, so I must manually suspend all BOINC processing to stifle it (forgot to turn it back on yesterday after tutoring a student):

https://drive.google.com/file/d/103iodHcPHN_MoEJz51gPmuWO2ZaQBpwx/view?usp=sharing
5) Message boards : News : News General (Message 74068)
Posted 16 Aug 2022 by DGPickett
Post:
No, it is set to run on preferences, and all other projects run at configured times. BOINC says it is a MilkyWay bug. Is there a better place to report bugs?
6) Message boards : News : News General (Message 74056)
Posted 14 Aug 2022 by DGPickett
Post:
MilkyWay is violating the BOINC Computing Preferences, running when my Linux Ubuntu 22.04 LTS system is in use.




©2024 Astroinformatics Group