Skip to content

Commit

Permalink
Removed numa for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbert van Renesse committed Aug 20, 2023
1 parent 2f90dca commit a1e29b0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions harmony_model_checker/charm/charm.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@

#ifdef __linux__
#include <sched.h> //cpu_set_t, CPU_SET
#ifdef NUMA
#include <numa.h>
#endif
#endif

#include <stdint.h>

Expand Down Expand Up @@ -3610,8 +3612,10 @@ int exec_model_checker(int argc, char **argv){
// there, the Tarjan SCC algorithm (executed by worker 0) will run significantly
// faster.
#ifdef __linux__
#ifdef NUMA
numa_available();
numa_set_preferred(vproc_info[workers[0].vproc].ids[0]);
#endif
#endif

// Put the state and value dictionaries in concurrent mode
Expand Down

0 comments on commit a1e29b0

Please sign in to comment.