Changeset: 000fa6dd075d for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=000fa6dd075d
Modified Files:
        monetdb5/extras/crackers/crackers_selectholpl_ops.mx
        monetdb5/mal/mal_profiler.c
Branch: holindex
Log Message:

Minor changes for experimental analysis.


diffs (31 lines):

diff --git a/monetdb5/extras/crackers/crackers_selectholpl_ops.mx 
b/monetdb5/extras/crackers/crackers_selectholpl_ops.mx
--- a/monetdb5/extras/crackers/crackers_selectholpl_ops.mx
+++ b/monetdb5/extras/crackers/crackers_selectholpl_ops.mx
@@ -217,9 +217,9 @@ CRKrandomholpl_@1(int *bid, bit *inclusi
        if (low==NULL || hgh==NULL)
                throw(MAL, "crackers.crackRange", "low or null cannot get 
memory");
        
-       outputFilename1 = getenv("HOLOUTPUT_ATTRIBUTES");
+       outputFilename1 = getenv("HOLOUTPUT_PIECES");
        if (outputFilename1 == NULL){
-               fprintf(stderr, "Error: HOLOUTPUT_ATTRIBUTES\n");
+               fprintf(stderr, "Error: HOLOUTPUT_PIECES\n");
                exit(1);
        }
 
diff --git a/monetdb5/mal/mal_profiler.c b/monetdb5/mal/mal_profiler.c
--- a/monetdb5/mal/mal_profiler.c
+++ b/monetdb5/mal/mal_profiler.c
@@ -1383,6 +1383,12 @@ void HeartbeatCPUload(void *arg)
                        if ( load >= 0 && load <= 100.0 && load <= threshold){
                                N = (int) (load * max_threads) / 100.0;
                                n = max_threads - N;
+                               //n = 16 - N; /*experiment multicore_cracking*/
+                               //if(n>0 && max_threads<n)
+                               //      MRschedule(max_threads, NULL, IdleFunc);
+                              //else if (n>0 && max_threads>=n)
+                             //      MRschedule(n, NULL, IdleFunc);
+       
                                if(n>0)
                                        MRschedule(n, NULL, IdleFunc);
                                (void) getCPULoad(cpuload);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to