Changeset: d7bf2bd5e0fd for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=d7bf2bd5e0fd
Modified Files:
        monetdb5/modules/mal/mal_weld.c
Branch: mal-weld
Log Message:

weld.memory.limit=256GB and weld.threads=GDKnr_threads


diffs (15 lines):

diff --git a/monetdb5/modules/mal/mal_weld.c b/monetdb5/modules/mal/mal_weld.c
--- a/monetdb5/modules/mal/mal_weld.c
+++ b/monetdb5/modules/mal/mal_weld.c
@@ -248,6 +248,11 @@ WeldRun(Client cntxt, MalBlkPtr mb, MalS
        weld_conf_set(conf, "weld.compile.dumpCode", "true");
        weld_conf_set(conf, "weld.compile.dumpCodeDir", "/tmp");
 #endif
+       char nrThreads[8], memLimit[64];
+       sprintf(nrThreads, "%d", GDKnr_threads);
+       sprintf(memLimit, "%ld", 256L * 1L << 30); /* 256 GB */
+       weld_conf_set(conf, "weld.threads", nrThreads);
+       weld_conf_set(conf, "weld.memory.limit", memLimit);
        long start = getTimeNowMs();
        weld_module_t m = weld_module_compile(wstate->program, conf, e);
        weld_conf_free(conf);
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to