Changeset: 7ca74edeca10 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=7ca74edeca10
Modified Files:
MonetDB5/src/mal/mal_interpreter.mx
Branch: default
Log Message:
Reduce the punishment for large tables.
diffs (14 lines):
diff -r c1ffe040147a -r 7ca74edeca10 MonetDB5/src/mal/mal_interpreter.mx
--- a/MonetDB5/src/mal/mal_interpreter.mx Tue Oct 05 09:47:45 2010 +0200
+++ b/MonetDB5/src/mal/mal_interpreter.mx Tue Oct 05 10:20:27 2010 +0200
@@ -671,8 +671,8 @@
}
if ( (b->ttype == TYPE_oid && !BATtordered(b) && !BATtdense(b)) ||
( b->htype == TYPE_oid && !BAThordered(b) && !BAThdense(b)) ){
- /* assume we may have to do random IO, punish it by increasing
the claim with cacheline size*/
- total += 64* BATcount(b) ;
+ /* assume we may have to do random IO, punish it by increasing
the claim with hash elem size*/
+ total += 4 * BATcount(b) ;
total = total >(lng) (MEMORY_THRESHOLD * monet_memory)? (lng)
(MEMORY_THRESHOLD * monet_memory):total;
}
BBPunfix( h = b->batCacheid);
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list