Commit 0b2e14f1 authored by THIBAULT Samuel's avatar THIBAULT Samuel
Browse files

Advise to use enable-maxnodes=1

(cherry picked from commit 3531a270)
parent c6943e45
......@@ -47,6 +47,8 @@ synchronize the tasks execution.
\section ConfigurationImprovePerformance Configuration Which May Improve Performance
If you do not plan to use support for GPUs or out-of-core, i.e. not use StarPU's ability to manage data coherency between several memory nodes, the \c configure option \ref enable-maxnodes "--enable-maxnodes=1" allows to considerably reduce StarPU's memory management overhead.
The \c configure option \ref enable-fast "--enable-fast" disables all
assertions. This makes StarPU more performant for really small tasks by
disabling all sanity checks. Only use this for measurements and production, not for development, since this will drop all basic checks.
......
......@@ -277,6 +277,13 @@ starpu_data_handle_t STARPU_PLU(get_block_handle)(unsigned i, unsigned j)
return dataA_handles[j+i*nblocks];
}
#if STARPU_MAXNODES == 1
/* Cannot register a disk */
int main(int argc, char **argv)
{
return STARPU_TEST_SKIPPED;
}
#else
int main(int argc, char **argv)
{
int rank;
......@@ -437,3 +444,4 @@ int main(int argc, char **argv)
return 0;
}
#endif
......@@ -48,6 +48,12 @@ int main(int argc, char **argv)
{
return STARPU_TEST_SKIPPED;
}
#elif STARPU_MAXNODES == 1
/* Cannot register a disk */
int main(int argc, char **argv)
{
return STARPU_TEST_SKIPPED;
}
#else
/* Sample Data interface with variable size */
......
......@@ -30,6 +30,13 @@
#include <hdf5.h>
#endif
#if STARPU_MAXNODES == 1
/* Cannot register a disk */
int main(int argc, char **argv)
{
return STARPU_TEST_SKIPPED;
}
#else
/*
* Try to write into disk memory
* Use mechanism to push datas from main ram to disk ram
......@@ -437,3 +444,4 @@ int main(void)
STARPU_CHECK_RETURN_VALUE(-errno, "rmdir '%s'\n", s);
return ret;
}
#endif
......@@ -49,6 +49,12 @@ int main(void)
{
return STARPU_TEST_SKIPPED;
}
#elif STARPU_MAXNODES == 1
/* Cannot register a disk */
int main(int argc, char **argv)
{
return STARPU_TEST_SKIPPED;
}
#else
int dotest(struct starpu_disk_ops *ops, void *param)
......
......@@ -29,6 +29,13 @@
#include <hdf5.h>
#endif
#if STARPU_MAXNODES == 1
/* Cannot register a disk */
int main(int argc, char **argv)
{
return STARPU_TEST_SKIPPED;
}
#else
/*
* Try to write into disk memory
* Use mechanism to push data from disk to disk.
......@@ -412,3 +419,4 @@ int main(void)
STARPU_CHECK_RETURN_VALUE(-errno, "rmdir '%s'\n", s);
return ret;
}
#endif
......@@ -40,6 +40,12 @@ int main(void)
{
return STARPU_TEST_SKIPPED;
}
#elif STARPU_MAXNODES == 1
/* Cannot register a disk */
int main(int argc, char **argv)
{
return STARPU_TEST_SKIPPED;
}
#else
int dotest(struct starpu_disk_ops *ops, void *param)
......
......@@ -26,6 +26,13 @@
#include <math.h>
#include "../helper.h"
#if STARPU_MAXNODES == 1
/* Cannot register a disk */
int main(int argc, char **argv)
{
return STARPU_TEST_SKIPPED;
}
#else
/*
* Try to write into disk memory
* Use mechanism to push datas from main ram to disk ram
......@@ -277,3 +284,4 @@ int main(void)
STARPU_CHECK_RETURN_VALUE(-errno, "rmdir '%s'\n", s);
return ret;
}
#endif
......@@ -57,6 +57,12 @@ int main(void)
{
return STARPU_TEST_SKIPPED;
}
#elif STARPU_MAXNODES == 1
/* Cannot register a disk */
int main(int argc, char **argv)
{
return STARPU_TEST_SKIPPED;
}
#else
static int (*any_to_any)(void *src_interface, unsigned src_node, void *dst_interface, unsigned dst_node, void *async_data);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment