ssrg-vt / popcorn-kernel

Popcorn Linux kernel for distributed thread execution
Other
156 stars 22 forks source link

[upstream] Segmentation fault at origin - Kmeans multi-threaded #101

Open JackChuang opened 4 years ago

JackChuang commented 4 years ago

I ran "./kmeans -d 3 -c 20 -p 50000 -n 2 -t 4" twice. The first execution completed w/o any problem (awesome!). However, the 2nd execution gave me a segmentation fault on the origin node as shown below: The execution log, dmesg logs on node0/1, and kmeans binary are attached. kmeans_logs.zip

My setup is 2 VM using old x86.img downloaded from this repository's wiki page. Each VM has 8 vCPU with 40Gb RAM.

Please take a look. Thank you.

jnarf commented 4 years ago

I was able to reproduce this Jack on my setup. I am taking a look at it. And will update you asap.

jnarf commented 4 years ago

Jack I was able to triage the problem. I am going to have an updated version of the upstream kernel later today for you to test. It may roll back some changes until I figure out the full fix.

jnarf commented 4 years ago

Fixed issue. ran with command: ./kmeans -d 1000 -c 10 -p 2000 -s 1000 -n 2 -t 8