Changeset: 360f4fa980b4 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=360f4fa980b4 Added Files: monetdb5/scheduler/Tests/query00.stable.err monetdb5/scheduler/Tests/query00.stable.out Branch: mutation Log Message:
Another test running. diffs (108 lines): diff --git a/monetdb5/scheduler/Tests/query00.stable.err b/monetdb5/scheduler/Tests/query00.stable.err new file mode 100644 --- /dev/null +++ b/monetdb5/scheduler/Tests/query00.stable.err @@ -0,0 +1,29 @@ +stderr of test 'query00` in directory 'monetdb5/scheduler` itself: + + +# 13:38:43 > +# 13:38:43 > "mserver5" "--debug=10" "--set" "gdk_nr_threads=0" "--set" "mapi_open=true" "--set" "mapi_port=37393" "--set" "mapi_usock=/var/tmp/mtest-5325/.s.monetdb.37393" "--set" "monet_prompt=" "--forcemito" "--set" "mal_listing=2" "--dbpath=/export/scratch1/mk/mutation//Linux/var/MonetDB/mTests_monetdb5_scheduler" "query00.mal" +# 13:38:43 > + +# builtin opt gdk_dbpath = /export/scratch1/mk/mutation//Linux/var/monetdb5/dbfarm/demo +# builtin opt gdk_debug = 0 +# builtin opt gdk_vmtrim = yes +# builtin opt monet_prompt = > +# builtin opt monet_daemon = no +# builtin opt mapi_port = 50000 +# builtin opt mapi_open = false +# builtin opt mapi_autosense = false +# builtin opt sql_optimizer = default_pipe +# builtin opt sql_debug = 0 +# cmdline opt gdk_nr_threads = 0 +# cmdline opt mapi_open = true +# cmdline opt mapi_port = 37393 +# cmdline opt mapi_usock = /var/tmp/mtest-5325/.s.monetdb.37393 +# cmdline opt monet_prompt = +# cmdline opt mal_listing = 2 +# cmdline opt gdk_dbpath = /export/scratch1/mk/mutation//Linux/var/MonetDB/mTests_monetdb5_scheduler + +# 13:38:45 > +# 13:38:45 > "Done." +# 13:38:45 > + diff --git a/monetdb5/scheduler/Tests/query00.stable.out b/monetdb5/scheduler/Tests/query00.stable.out new file mode 100644 --- /dev/null +++ b/monetdb5/scheduler/Tests/query00.stable.out @@ -0,0 +1,69 @@ +stdout of test 'query00` in directory 'monetdb5/scheduler` itself: + + +# 13:38:43 > +# 13:38:43 > "mserver5" "--debug=10" "--set" "gdk_nr_threads=0" "--set" "mapi_open=true" "--set" "mapi_port=37393" "--set" "mapi_usock=/var/tmp/mtest-5325/.s.monetdb.37393" "--set" "monet_prompt=" "--forcemito" "--set" "mal_listing=2" "--dbpath=/export/scratch1/mk/mutation//Linux/var/MonetDB/mTests_monetdb5_scheduler" "query00.mal" +# 13:38:43 > + +# MonetDB 5 server v11.16.0 +# This is an unreleased version +# Serving database 'mTests_monetdb5_scheduler', using 8 threads +# Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs dynamically linked +# Found 15.629 GiB available main-memory. +# Copyright (c) 1993-July 2008 CWI. +# Copyright (c) August 2008-2013 MonetDB B.V., all rights reserved +# Visit http://www.monetdb.org/ for further information +# Listening for connection requests on mapi:monetdb://vienna.ins.cwi.nl:37393/ +# Listening for UNIX domain connection requests on mapi:monetdb:///var/tmp/mtest-5325/.s.monetdb.37393 +# MonetDB/GIS module loaded +# MonetDB/JAQL module loaded +# MonetDB/SQL module loaded +function user.initialize{unsafe}():bat[:oid,:lng]; + b := bat.new(:oid,:lng); + INT_MAX := 2147483647; + dbgmsk_restore := mdb.getDebug(); + dbgmsk_unset := calc.+(8,8388608); + dbgmsk_keep := calc.xor(INT_MAX,dbgmsk_unset); + dbgmsk_set := calc.and(dbgmsk_restore,dbgmsk_keep); + mdb.setDebug(dbgmsk_set); + r := mmath.srand(0); +barrier i := 0:lng; + k := mmath.rand(); + l := calc.lng(k); + bat.append(b,l); + redo i := iterator.next(1:lng,1000000:lng); +exit i; + mdb.setDebug(dbgmsk_restore); + return initialize := b; +end initialize; +function user.query(b:bat[:oid,:lng]):void; + t0 := alarm.usec(); +barrier z := language.dataflow(); + s1 := algebra.subselect(b,1:lng,99:lng,true,false,false); + s2 := algebra.subselect(b,1:lng,999:lng,true,false,false); + s3 := algebra.subselect(b,1:lng,9999:lng,true,false,false); +exit z; + t1 := alarm.usec(); + t2 := calc.-(t1,t0); + io.printf("#%d\n",t2); +end query; +function user.main():void; +# example framework for a mutation based execution stack +# illustrate how it would appear after an optimizer call. + b := user.initialize(); + user.query(b); + user.query(b); + user.query(b); + user.query(b); + user.query(b); +end main; +#8069 +#7320 +#5448 +#6890 +#7170 + +# 13:38:45 > +# 13:38:45 > "Done." +# 13:38:45 > + _______________________________________________ checkin-list mailing list [email protected] http://mail.monetdb.org/mailman/listinfo/checkin-list
