Skip to content
Snippets Groups Projects
Commit ffdb67a0 authored by Dominik Bartkiewicz's avatar Dominik Bartkiewicz Committed by Alejandro Sanchez
Browse files

Redefine MAX_FEATURES to 64 for minor performance improvement.

Bitstrings are handled as 64bits and bit_ffs()/bit_fls() are faster on
whole words.

Bug 9537
parent 4cf640e1
No related branches found
No related tags found
No related merge requests found
......@@ -84,7 +84,7 @@
#include "src/slurmctld/slurmctld_plugstack.h"
#define _DEBUG 0
#define MAX_FEATURES 32 /* max exclusive features "[fs1|fs2]"=2 */
#define MAX_FEATURES 64 /* max exclusive features "[fs1|fs2]"=2 */
struct node_set { /* set of nodes with same configuration */
uint16_t cpus_per_node; /* NOTE: This is the minimum count */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment