[prev in list] [next in list] [prev in thread] [next in thread] 

List:       monetdb-checkins
Subject:    [Monetdb-checkins] MonetDB/src/gdk gdk_storage.mx,,1.163,1.164
From:       Stefan Manegold <stmane () users ! sourceforge ! net>
Date:       2010-04-30 17:35:38
Message-ID: E1O7u7m-0000P2-Rz () sfp-cvsdas-4 ! v30 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Update of /cvsroot/monetdb/MonetDB/src/gdk
In directory sfp-cvsdas-4.v30.ch3.sourceforge.com:/tmp/cvs-serv1541/src/gdk

Modified Files:
	gdk_storage.mx 
Log Message:
propagated changes of Tuesday Apr 27 2010 - Friday Apr 30 2010
from the Feb2010 branch to the development trunk

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2010/04/27 - mlkersten: src/gdk/gdk_storage.mx,1.149.2.49
  Experimentation demonstrates that in particular MMAP_WILLNEED can block
  the space to play. Therefore, we limit BATaccess to 1/4 of the memory
  claim. It improved sf-10 loading with integrity check 10%. More expected
  for sf100.
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Index: gdk_storage.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB/src/gdk/gdk_storage.mx,v
retrieving revision 1.163
retrieving revision 1.164
diff -u -d -r1.163 -r1.164
--- gdk_storage.mx	13 Apr 2010 12:23:43 -0000	1.163
+++ gdk_storage.mx	30 Apr 2010 17:35:36 -0000	1.164
@@ -735,6 +735,11 @@
 	str advice = (adv == MMAP_WILLNEED) ? "WILLNEED" : (adv == MMAP_SEQUENTIAL) ? \
"SEQUENTIAL" : (adv == MMAP_RANDOM) ? "RANDOM" : (adv == MMAP_NORMAL) ? "NORMAL" : \
NULL;  int t = GDKms();
 	assert(advice);
+	/* ignore claims of pages beyond 1/4 the physical memory */
+	if ( sz > page * MT_npages() / 4 ) {
+		 IODEBUG THRprintf(GDKerr,"#Ignore access_heap " SZFMT ">" SZFMT"\n",h->size,page \
* MT_npages() / 4 ); +		return 0;
+	}
 	if (h->storage != STORE_MEM) {
 		MT_mmap_inform(h->base, h->size, preload, adv, 0);
 		if (preload > 0) {


------------------------------------------------------------------------------
_______________________________________________
Monetdb-checkins mailing list
Monetdb-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic