Changeset: 474431818a18 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=474431818a18
Modified Files:
MonetDB/src/gdk/gdk_batop.mx
Branch: Oct2010
Log Message:
align parameters of BATaccessBegin with matching BATaccessEnd:
hash access is inherently random;
hence we use MMAP_WILLNEED rather than MMAP_SEQUENTIAL
diffs (12 lines):
diff -r 333e14ad51c7 -r 474431818a18 MonetDB/src/gdk/gdk_batop.mx
--- a/MonetDB/src/gdk/gdk_batop.mx Tue Oct 19 09:13:30 2010 +0200
+++ b/MonetDB/src/gdk/gdk_batop.mx Tue Oct 19 18:21:30 2010 +0200
@@ -445,7 +445,7 @@
}
b->batDirty = 1;
- BATaccessBegin(b, USE_HHASH | USE_THASH, MMAP_SEQUENTIAL);
+ BATaccessBegin(b, USE_HHASH | USE_THASH, MMAP_WILLNEED);
BATaccessBegin(n, USE_HEAD | USE_TAIL, MMAP_SEQUENTIAL);
if (sz > BATcapacity(b) - BUNlast(b)) {
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list