Thread '[BUG] Checkpoints in Kampylos do not work (CPU is fine, GPU not yet)'

Questions and Answers : Getting started, support & suggestions : [BUG] Checkpoints in Kampylos do not work (CPU is fine, GPU not yet)
Message board moderation

✓ Solved

To post messages, you must log in.

AuthorMessage
Profilerilian
Volunteer moderator
Code reviewer
Bug hunter
Early supporter
Avatar

Send message
Joined: 28 Sep 26
Posts: 281
Credit: 53,195,939
RAC: 926,683
Message 450 - Posted: 6 Oct 2026, 19:39:08 UTC
Last modified: 6 Oct 2026, 19:39:38 UTC

my boinc preference is to checkpoint every minute

i just checked one task and see it did not checkpoint at all

On M4 machine:

CPU

Application: Kampylos (gravitational microlensing) 0.03
Name: kampylos_ev24823_cpu_row1_q0_1791289203_29461
State: Running
Received: Tuesday, October 06, 2026 at 02:38:10 PM
Report deadline: Tuesday, October 20, 2026 at 02:38:10 PM
Estimated computation size: 90,000 GFLOPs
CPU time: 00:43:52
CPU time since checkpoint: 00:43:52
Elapsed time: 00:43:55
Estimated time remaining: 02:20:35
Fraction done: 23.806%
Virtual memory size: 466.14 GB
Working set size: 7.33 MB
Directory: slots/0
Process ID: 11744
Progress rate: 32.400% per hour
Executable: kampylos_v3_macos_arm64
Application Name: kampylos
Plan Class:

GPU

Application: Kampylos (gravitational microlensing) 0.02 (metal_apple_gpu)
Name: kampylos_ev23151_fast_row8_1791248404_26639
State: Running
Received: Tuesday, October 06, 2026 at 12:03:32 PM
Report deadline: Tuesday, October 20, 2026 at 12:03:31 PM
Resources: 0.1 CPUs + 1 Apple GPU
Estimated computation size: 1,800,000 GFLOPs
CPU time: 00:06:16
CPU time since checkpoint: 00:06:16
Elapsed time: 00:02:20
Estimated time remaining: 05:18:45
Fraction done: 0.732%
Virtual memory size: 466.21 GB
Working set size: 25.19 MB
Directory: slots/2
Process ID: 15339
Progress rate: 18.720% per hour
Executable: kampylos_metal_v2_macos_arm64
Application Name: kampylos
Plan Class: metal_apple_gpu


on M1 machine

it did checkpoint but while i was looking i found strange CPU time. The task works 30 mins but reports 1 hour of CPU already

Application: Kampylos (gravitational microlensing) 0.02 (metal_apple_gpu)
Name: kampylos_ev24804_weak_row4_h1_1791277203_28276
State: Running
Received: Tuesday, October 06, 2026 at 02:40:09 PM
Report deadline: Tuesday, October 20, 2026 at 02:40:09 PM
Resources: 0.1 CPUs + 1 Apple GPU
Estimated computation size: 450,000 GFLOPs
CPU time: 01:05:39
CPU time since checkpoint: 00:01:42
Elapsed time: 00:30:27
Estimated time remaining: 01:16:02
Fraction done: 40.000%
Virtual memory size: 392.68 GB
Working set size: 12.09 MB
Directory: slots/1
Process ID: 83330
Progress rate: 77.400% per hour
Executable: kampylos_metal_v2_macos_arm64
Application Name: kampylos
Plan Class: metal_apple_gpu
I crunch for Ukraine

ID: 450 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profilerilian
Volunteer moderator
Code reviewer
Bug hunter
Early supporter
Avatar

Send message
Joined: 28 Sep 26
Posts: 281
Credit: 53,195,939
RAC: 926,683
Message 452 - Posted: 6 Oct 2026, 19:46:54 UTC - in response to Message 450.  
Last modified: 6 Oct 2026, 19:47:48 UTC

In reply to rilian's message of 6 Oct 2026:
Application: Kampylos (gravitational microlensing) 0.02 (metal_apple_gpu)
CPU time: 01:05:39
Elapsed time: 00:30:27

i actually see in top that it eats up to 200% cpu but not all the time
I crunch for Ukraine

ID: 452 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profilerilian
Volunteer moderator
Code reviewer
Bug hunter
Early supporter
Avatar

Send message
Joined: 28 Sep 26
Posts: 281
Credit: 53,195,939
RAC: 926,683
Message 557 - Posted: 9 Oct 2026, 15:03:11 UTC - in response to Message 452.  

@alperen i looked at my currently running Kampylos CPU task and it still seem to have no checkpoints

name: kampylos_ev24980_cpu_row2_q3_1791386704_9368_1
WU name: kampylos_ev24980_cpu_row2_q3_1791386704_9368
project URL: https://bitboinc.athena.org.tr/
received: Thu Oct 8 15:43:56 2026
report deadline: Thu Oct 22 15:43:55 2026
ready to report: no
state: downloaded
scheduler state: scheduled
active_task_state: EXECUTING
app version num: 9
resources: 1 CPU
estimated CPU time remaining: 3.581892
elapsed task time: 44776.238492
slot: 0
PID: 799098
CPU time at last checkpoint: 0.000000
current CPU time: 43969.460000
fraction done: 0.999920
swap size: 8 MB
working set size: 6 MB


Could you please clarify?
I crunch for Ukraine

ID: 557 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
JagDoc
Source finder
Platform tester
Bug hunter
Early supporter
72 years old

Send message
Joined: 30 Sep 26
Posts: 92
Credit: 331,905,756
RAC: 10,602,729
Message 565 - Posted: 9 Oct 2026, 16:57:29 UTC - in response to Message 557.  

I restarted one host and all long running Kampylos started at 0% again.
ID: 565 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profilerilian
Volunteer moderator
Code reviewer
Bug hunter
Early supporter
Avatar

Send message
Joined: 28 Sep 26
Posts: 281
Credit: 53,195,939
RAC: 926,683
Message 568 - Posted: 9 Oct 2026, 17:04:43 UTC - in response to Message 565.  

In reply to JagDoc's message of 9 Oct 2026:
I restarted one host and all long running Kampylos started at 0% again.

yeah, this issue is concerning ... :( On non 24/7 computers this subproject should be paused until it is resolved (that's what i did)
I crunch for Ukraine

ID: 568 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profilerilian
Volunteer moderator
Code reviewer
Bug hunter
Early supporter
Avatar

Send message
Joined: 28 Sep 26
Posts: 281
Credit: 53,195,939
RAC: 926,683
Message 679 - Posted: 12 Oct 2026, 16:45:00 UTC - in response to Message 568.  

hey @alperen were you able to improve these? i am ready to test if this was improved
I crunch for Ukraine

ID: 679 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Alperen Yavuz
Project developer
25 years old
Avatar

Send message
Joined: 27 Sep 26
Posts: 420
Credit: 8,150,785
RAC: 241,661
Message 683 - Posted: 12 Oct 2026, 17:44:59 UTC - in response to Message 679.  

In reply to rilian's message of 12 Oct 2026:
hey @alperen were you able to improve these? i am ready to test if this was improved

Yes. I think it should be fixed now.
ID: 683 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profilerilian
Volunteer moderator
Code reviewer
Bug hunter
Early supporter
Avatar

Send message
Joined: 28 Sep 26
Posts: 281
Credit: 53,195,939
RAC: 926,683
Message 685 - Posted: 12 Oct 2026, 18:21:13 UTC - in response to Message 683.  

CPU task looked fine - it checkpointed after 60 seconds (my setting) and resumed without dropping % to zero

I'm waiting for GPU task to test
I crunch for Ukraine

ID: 685 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profilerilian
Volunteer moderator
Code reviewer
Bug hunter
Early supporter
Avatar

Send message
Joined: 28 Sep 26
Posts: 281
Credit: 53,195,939
RAC: 926,683
Message 701 - Posted: 13 Oct 2026, 13:17:27 UTC - in response to Message 685.  

In reply to rilian's message of 12 Oct 2026:
CPU task looked fine - it checkpointed after 60 seconds (my setting) and resumed without dropping % to zero

I'm waiting for GPU task to test

just wanted to let know i'm not getting Kampylos GPU tasks. Should i try other platforms?

Tue 13 Oct 09:14:01 2026 | bitboinc | Requesting new tasks for Apple GPU
Tue 13 Oct 09:14:02 2026 | bitboinc | Scheduler request completed: got 0 new tasks
I crunch for Ukraine

ID: 701 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profilerilian
Volunteer moderator
Code reviewer
Bug hunter
Early supporter
Avatar

Send message
Joined: 28 Sep 26
Posts: 281
Credit: 53,195,939
RAC: 926,683
Message 718 - Posted: 14 Oct 2026, 1:10:06 UTC - in response to Message 701.  

i still did not get any Kampylos GPU task. Can someone confirm checkpoints work on it ?
I crunch for Ukraine

ID: 718 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profilerilian
Volunteer moderator
Code reviewer
Bug hunter
Early supporter
Avatar

Send message
Joined: 28 Sep 26
Posts: 281
Credit: 53,195,939
RAC: 926,683
Message 853 - Posted: 19 Oct 2026, 14:12:12 UTC
Last modified: 19 Oct 2026, 14:12:25 UTC

I updated title to "[BUG] Checkpoints in Kampylos do not work (CPU is fine, GPU not yet)"

i finally got some kampylos GPU tasks

on M4, i crunched one to 40% in 7 minutes

task says CPU time is 7 mins and time from last checkpoint 6 min. My computer setting for checkpoint is every minute.

Also i noticed kampylos takes more than 1 CPU, in my example it took about 300-350% of cpu time

After several mins of computation % stays on 40% and i have CPU time 14 mins, and checkpoint was 13.5 mins ago
I crunch for Ukraine

ID: 853 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profilerilian
Volunteer moderator
Code reviewer
Bug hunter
Early supporter
Avatar

Send message
Joined: 28 Sep 26
Posts: 281
Credit: 53,195,939
RAC: 926,683
Message 857 - Posted: 19 Oct 2026, 14:37:59 UTC - in response to Message 853.  
Last modified: 19 Oct 2026, 14:38:55 UTC

@admin besides that, i have couple kampylos tasks that on M4 (which is quite fast core) have

15% in 3d 6h, 0.3% per hour. Deadline in 10 days

3% in 15h, also 0.3% per hour, deadline in 12 days



Both these tasks wont finish in time

To be safe, can you please set deadline for kampylos to longer time, until you solved the algorithm speed?
I crunch for Ukraine

ID: 857 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profilerilian
Volunteer moderator
Code reviewer
Bug hunter
Early supporter
Avatar

Send message
Joined: 28 Sep 26
Posts: 281
Credit: 53,195,939
RAC: 926,683
Message 862 - Posted: 19 Oct 2026, 18:24:31 UTC - in response to Message 857.  
Last modified: 19 Oct 2026, 18:26:19 UTC

testing v13, will report later
I crunch for Ukraine

ID: 862 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profilerilian
Volunteer moderator
Code reviewer
Bug hunter
Early supporter
Avatar

Send message
Joined: 28 Sep 26
Posts: 281
Credit: 53,195,939
RAC: 926,683
Message 863 - Posted: 19 Oct 2026, 18:27:27 UTC - in response to Message 862.  
Last modified: 19 Oct 2026, 18:28:26 UTC

SEEMS LIKE CHECKPOINTS WORKED!

now need to confirm CPU usage if it goes beyond 100% or not
I crunch for Ukraine

ID: 863 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profilerilian
Volunteer moderator
Code reviewer
Bug hunter
Early supporter
Avatar

Send message
Joined: 28 Sep 26
Posts: 281
Credit: 53,195,939
RAC: 926,683
Message 864 - Posted: 19 Oct 2026, 18:30:21 UTC

CPU usage seem to be also fixed now on Mac. Does not go more than 100

❯ top|grep kampylos_metal
96923 kampylos_metal_v 0.0 02:11.98 77M running
96923 kampylos_metal_v 65.2 02:13.03 77M running
96923 kampylos_metal_v 93.5 02:14.07 77M running
96923 kampylos_metal_v 94.6 02:15.12 77M running
96923 kampylos_metal_v 94.3 02:16.17 77M running
96923 kampylos_metal_v 94.9 02:17.22 77M running
96923 kampylos_metal_v 92.7 02:18.25 77M sleeping
96923 kampylos_metal_v 92.8 02:19.28 77M running
96923 kampylos_metal_v 93.7 02:20.32 77M running
96923 kampylos_metal_v 94.1 02:21.37 77M running
96923 kampylos_metal_v 95.7 02:22.43 77M running
96923 kampylos_metal_v 93.9 02:23.50 77M running
96923 kampylos_metal_v 94.2 02:24.54 77M running
96923 kampylos_metal_v 92.6 02:25.57 77M running
96923 kampylos_metal_v 93.4 02:26.61 77M sleeping
96923 kampylos_metal_v 91.5 02:27.62 77M running
96923 kampylos_metal_v 94.2 02:28.67 77M running
I crunch for Ukraine

ID: 864 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Alperen Yavuz
Project developer
25 years old
Avatar

Send message
Joined: 27 Sep 26
Posts: 420
Credit: 8,150,785
RAC: 241,661
Message 866 - Posted: 19 Oct 2026, 19:07:23 UTC

Nice. Thanks for helping to fix the code.
ID: 866 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Questions and Answers : Getting started, support & suggestions : [BUG] Checkpoints in Kampylos do not work (CPU is fine, GPU not yet)