charm.git
10 years agochanged for immediate msg
Gengbin Zheng [Sat, 12 Mar 2011 06:17:53 +0000 (00:17 -0600)]
changed for immediate msg
also changed LOADTHRESH value

10 years agoMerge branches 'charm', 'charm' and 'charm' of charmgit:charm into charm
Gengbin Zheng [Sat, 12 Mar 2011 06:11:31 +0000 (00:11 -0600)]
Merge branches 'charm', 'charm' and 'charm' of charmgit:charm into charm

10 years agoadd user event in neighbor load balancer
Yanhua YanhuaSunLaptop [Sat, 12 Mar 2011 05:46:57 +0000 (23:46 -0600)]
add user event in neighbor load balancer

10 years agoMerge branches 'charm' and 'charm' of charmgit:charm into charm
Gengbin Zheng [Sat, 12 Mar 2011 02:29:08 +0000 (20:29 -0600)]
Merge branches 'charm' and 'charm' of charmgit:charm into charm

10 years agoadded some user event tracing.
Gengbin Zheng [Sat, 12 Mar 2011 00:40:39 +0000 (18:40 -0600)]
added some user event tracing.

10 years agoadd an option to control how many loads left befor stealing
Yanhua Sun [Fri, 11 Mar 2011 22:03:03 +0000 (16:03 -0600)]
add an option to control how many loads left befor stealing

10 years agoadded a new function CldCountTokensRank(int rank) for communication thread to get...
Gengbin Zheng [Fri, 11 Mar 2011 20:46:34 +0000 (14:46 -0600)]
added a new function CldCountTokensRank(int rank)  for communication thread to get token number on a specific rank.

10 years agofixed a memory leak, also make proactive really work.
Gengbin Zheng [Fri, 11 Mar 2011 07:46:33 +0000 (01:46 -0600)]
fixed a memory leak, also make proactive really work.

10 years agoask for strictpass when checking -fno-stack-protector
Gengbin Zheng [Fri, 11 Mar 2011 04:54:55 +0000 (22:54 -0600)]
ask for strictpass when checking -fno-stack-protector

10 years agofix for the smp torus topo
Gengbin Zheng [Fri, 11 Mar 2011 05:05:45 +0000 (23:05 -0600)]
fix for the smp torus topo

10 years agoinline two msg pool functions.
Gengbin Zheng [Fri, 11 Mar 2011 03:58:19 +0000 (21:58 -0600)]
inline two msg pool functions.

10 years agoa better load msg buffering scheme.
Gengbin Zheng [Fri, 11 Mar 2011 00:26:46 +0000 (18:26 -0600)]
a better load msg buffering scheme.

10 years agoturn off cpp generating line number control statement so that preprocessing of ci...
Gengbin Zheng [Thu, 10 Mar 2011 22:30:31 +0000 (16:30 -0600)]
turn off cpp generating line number control statement so that preprocessing of ci file works with charmxi.

10 years agofixed a bug in recent change
Gengbin Zheng [Thu, 10 Mar 2011 21:15:27 +0000 (15:15 -0600)]
fixed a bug in recent change

10 years agoadd environ CmiNumNodes to make ++local working with ibverbs.
Gengbin Zheng [Thu, 10 Mar 2011 15:21:38 +0000 (09:21 -0600)]
add environ CmiNumNodes to make ++local working with ibverbs.

10 years agoDeleted extra braces in btree_delete_int() of isomalloc.c that sometimes caused the...
Ryan Mokos [Thu, 10 Mar 2011 02:58:01 +0000 (20:58 -0600)]
Deleted extra braces in btree_delete_int() of isomalloc.c that sometimes caused the b-tree to merge nodes when it shouldn't.  Moved some variable declarations to the beginning of btree_delete_int() to keep the code C compatible.  And also added some more comments at the top of isomalloc.c to explain the data structures better.

10 years agominor changes to immediate message handling to reduce the overhead (by default it...
Gengbin Zheng [Wed, 9 Mar 2011 15:02:56 +0000 (15:02 +0000)]
minor changes to immediate message handling to reduce the overhead (by default it is still off)

10 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Wed, 9 Mar 2011 14:56:21 +0000 (08:56 -0600)]
Merge branch 'charm' of charmgit:charm into charm

10 years agomake it explicitly generate 32 bit binary (since QT is for 32 bit anyway)
Gengbin Zheng [Wed, 9 Mar 2011 14:55:16 +0000 (08:55 -0600)]
make it explicitly generate 32 bit binary (since QT is for 32 bit anyway)

10 years agoMerge branch 'charm' of git://charm.cs.illinois.edu/charm into charm
Nikhil Jain [Tue, 8 Mar 2011 23:00:03 +0000 (17:00 -0600)]
Merge branch 'charm' of git://charm.cs.illinois.edu/charm into charm

10 years agock-ldb: fix comm graph and leaks in ScotchLB
Nikhil Jain [Tue, 8 Mar 2011 22:58:13 +0000 (16:58 -0600)]
ck-ldb: fix comm graph and leaks in ScotchLB

10 years agoavoid -fPIC in multicore build if not needed.
Gengbin Zheng [Mon, 7 Mar 2011 22:46:59 +0000 (16:46 -0600)]
avoid -fPIC in multicore build if not needed.

10 years agochanged the test in previous checkin to refine to linux (including multicore version)
Gengbin Zheng [Mon, 7 Mar 2011 22:40:31 +0000 (16:40 -0600)]
changed the test in previous checkin to refine to linux (including multicore version)

10 years agotest if compiler takes -fno-stack-protector on linux
Gengbin Zheng [Mon, 7 Mar 2011 20:36:06 +0000 (14:36 -0600)]
test if compiler takes -fno-stack-protector on linux

10 years agoRevert "added -fno-stack-protector to disable stack smashing protection by compiler"
Gengbin Zheng [Mon, 7 Mar 2011 18:41:11 +0000 (12:41 -0600)]
Revert "added -fno-stack-protector to disable stack smashing protection by compiler"

This reverts commit e5ae1fb6a82962b5b4bc7b700313b31c6a7faeae.

10 years agoadded -fno-stack-protector to disable stack smashing protection by compiler
Gengbin Zheng [Mon, 7 Mar 2011 18:36:16 +0000 (12:36 -0600)]
added -fno-stack-protector to disable stack smashing protection by compiler

10 years agominor changes in compiling tls version.
Gengbin Zheng [Mon, 7 Mar 2011 18:30:48 +0000 (12:30 -0600)]
minor changes in compiling tls version.

10 years agomake sure we don't add an extra -tls when -tlsglobals
Gengbin Zheng [Mon, 7 Mar 2011 18:24:06 +0000 (12:24 -0600)]
make sure we don't add an extra -tls when -tlsglobals

10 years agowith -tlsglobals parameter, charmc picks up *-tls version of thread library.
Gengbin Zheng [Mon, 7 Mar 2011 06:06:50 +0000 (00:06 -0600)]
with -tlsglobals parameter, charmc picks up *-tls version of thread library.

10 years agocompile tlsglobals support of uJcontext-tls.o, and for default thread library.
Gengbin Zheng [Mon, 7 Mar 2011 06:05:51 +0000 (00:05 -0600)]
compile tlsglobals support of uJcontext-tls.o, and for default thread library.

10 years agominor changes
Gengbin Zheng [Mon, 7 Mar 2011 05:57:09 +0000 (23:57 -0600)]
minor changes

10 years agoChkpt: Fix a const-correctness warning
Phil Miller [Mon, 7 Mar 2011 02:32:22 +0000 (20:32 -0600)]
Chkpt: Fix a const-correctness warning

10 years agoSDAG: Don't free a stored message until it's dead
Phil Miller [Mon, 7 Mar 2011 01:54:16 +0000 (19:54 -0600)]
SDAG: Don't free a stored message until it's dead

Commit 8f693c5af40eb40733a750b5802ab5f292b4288f added message
reference count increment/decrement calls to SDAG to enable marking
the targets in a 'when' clause as [nokeep]. However, it freed the
messages after the first SDAG statement in the body of the when,
rather than the last. This error was found in the course of Charm LU
development.

10 years agocharmxi SDAG: Balance parens in code generation
Phil Miller [Mon, 7 Mar 2011 00:36:38 +0000 (18:36 -0600)]
charmxi SDAG: Balance parens in code generation

10 years agounprotect GOT memory region by default.
Gengbin Zheng [Mon, 7 Mar 2011 02:09:09 +0000 (20:09 -0600)]
unprotect GOT memory region by default.
make sure page size is accurate by calling getpagesize(). Incorrect page size can cause crash.

10 years agoadded test for mprotect()
Gengbin Zheng [Sun, 6 Mar 2011 06:52:24 +0000 (00:52 -0600)]
added test for mprotect()

10 years agouse function BgGetNumWorkThread() instead of directly access the cpv variable.
Gengbin Zheng [Fri, 4 Mar 2011 22:52:42 +0000 (16:52 -0600)]
use function BgGetNumWorkThread() instead of directly access the cpv variable.

10 years agoadded bigsim version of CkNodeOf.
Gengbin Zheng [Fri, 4 Mar 2011 22:44:42 +0000 (16:44 -0600)]
added bigsim version of CkNodeOf.

10 years agoMerge branch 'charm' of charmgit:charm into charm
Aaron Becker [Fri, 4 Mar 2011 20:03:25 +0000 (14:03 -0600)]
Merge branch 'charm' of charmgit:charm into charm

10 years agoMoved boomerang array to main charm tree
Aaron Becker [Fri, 4 Mar 2011 20:02:00 +0000 (14:02 -0600)]
Moved boomerang array to main charm tree

10 years agofixed some compiler errors for VC++
Gengbin Zheng [Thu, 3 Mar 2011 15:34:02 +0000 (09:34 -0600)]
fixed some compiler errors for VC++

10 years agouse CMK_IMMEDIATE_MSG to guard immediate msg code.
Gengbin Zheng [Wed, 2 Mar 2011 21:33:42 +0000 (21:33 +0000)]
use CMK_IMMEDIATE_MSG to guard immediate msg code.

10 years agochanges in data structure.
Gengbin Zheng [Wed, 2 Mar 2011 17:44:06 +0000 (11:44 -0600)]
changes in data structure.

10 years agoadded an alternative implementation when USE_MULTICAST is off, where messages of...
Gengbin Zheng [Wed, 2 Mar 2011 17:42:35 +0000 (11:42 -0600)]
added an alternative implementation when USE_MULTICAST is off, where messages of sending load are reused.
two new command line option:
+cldb_neighbor_period, and +cldb_neighbor_overload

10 years agoMerge branch 'charm' of charmgit:charm into charm v6.3.0-beta3
Gengbin Zheng [Wed, 2 Mar 2011 14:20:36 +0000 (08:20 -0600)]
Merge branch 'charm' of charmgit:charm into charm

10 years agominor change to make charm output uniform.
Gengbin Zheng [Wed, 2 Mar 2011 14:20:07 +0000 (08:20 -0600)]
minor change to make charm output uniform.

10 years agoMerge branch 'charm' of charmgit:charm into charm
Chao Mei [Wed, 2 Mar 2011 07:44:14 +0000 (01:44 -0600)]
Merge branch 'charm' of charmgit:charm into charm

10 years agofixed a bug in creating charm SMP-aware multicast tree where the order of local indic...
Chao Mei [Wed, 2 Mar 2011 07:42:49 +0000 (01:42 -0600)]
fixed a bug in creating charm SMP-aware multicast tree where the order of local indices is not maintained correctly.

10 years agoRemove CVS header
Phil Miller [Wed, 2 Mar 2011 06:27:33 +0000 (00:27 -0600)]
Remove CVS header

10 years agoReference number field: missing middle interface
Phil Miller [Wed, 2 Mar 2011 06:27:00 +0000 (00:27 -0600)]
Reference number field: missing middle interface

10 years agoadded description of --with-lbtime-type=type option
Gengbin Zheng [Wed, 2 Mar 2011 00:44:52 +0000 (18:44 -0600)]
added description of --with-lbtime-type=type option

10 years agoCompletion Detection: Compile with baseline runtime
Phil Miller [Tue, 1 Mar 2011 23:27:54 +0000 (17:27 -0600)]
Completion Detection: Compile with baseline runtime

10 years agochange so that when +pemap and +commap present, cpuaffinity is automatically on.
Gengbin Zheng [Tue, 1 Mar 2011 23:04:58 +0000 (17:04 -0600)]
change so that when +pemap and +commap present, cpuaffinity is automatically on.

10 years agochanged lbtime default type back to double (from float)
Gengbin Zheng [Tue, 1 Mar 2011 22:55:03 +0000 (16:55 -0600)]
changed lbtime default type back to double (from float)

10 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Tue, 1 Mar 2011 22:36:23 +0000 (16:36 -0600)]
Merge branch 'charm' of charmgit:charm into charm

10 years agouse CldCountTokens instead of CldLoad() to estimate the current load. CldLoad() has...
Gengbin Zheng [Tue, 1 Mar 2011 22:35:39 +0000 (16:35 -0600)]
use CldCountTokens instead of CldLoad() to estimate the current load. CldLoad() has all the msg in charm csd queue, which might now be all tokens.

10 years agoReduction userFlag: Cast default value of -1 to assigned type, to silence warnings
Phil Miller [Tue, 1 Mar 2011 21:03:56 +0000 (15:03 -0600)]
Reduction userFlag: Cast default value of -1 to assigned type, to silence warnings

10 years agoremoved a debug print.
Gengbin Zheng [Tue, 1 Mar 2011 06:18:10 +0000 (00:18 -0600)]
removed a debug print.

10 years agofixed a typo in getting processor count.
Gengbin Zheng [Tue, 1 Mar 2011 06:16:07 +0000 (00:16 -0600)]
fixed a typo in getting processor count.

10 years agowhen STATS is off, only PE 0 complains if user tries to use +cs.
Gengbin Zheng [Tue, 1 Mar 2011 06:01:37 +0000 (00:01 -0600)]
when STATS is off, only PE 0 complains if user tries to use +cs.

10 years agoget rid of return statements so that it gets to CcdRaiseCondition(CcdTOPOLOGY_AVAIL...
Gengbin Zheng [Tue, 1 Mar 2011 04:51:08 +0000 (22:51 -0600)]
get rid of return statements so that it gets to CcdRaiseCondition(CcdTOPOLOGY_AVAIL) properly.

10 years agopropagate LBRealType for load balancing timer type
Gengbin Zheng [Tue, 1 Mar 2011 04:03:18 +0000 (22:03 -0600)]
propagate LBRealType for load balancing timer type

10 years ago--with-lbtime-type=[float|double} to specify the type of the load balancing timing
Gengbin Zheng [Tue, 1 Mar 2011 03:59:30 +0000 (21:59 -0600)]
--with-lbtime-type=[float|double} to specify the type of the load balancing timing

10 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Tue, 1 Mar 2011 03:57:53 +0000 (21:57 -0600)]
Merge branch 'charm' of charmgit:charm into charm

10 years agolink conv-mach-opt.sh to include
Gengbin Zheng [Tue, 1 Mar 2011 03:57:16 +0000 (21:57 -0600)]
link conv-mach-opt.sh to include

10 years agoExpose the variable-size envelop refnum field in the API
Phil Miller [Tue, 1 Mar 2011 02:09:15 +0000 (20:09 -0600)]
Expose the variable-size envelop refnum field in the API

10 years agoSelect the size of the envelop refnum field at configure time
Phil Miller [Mon, 28 Feb 2011 23:45:21 +0000 (17:45 -0600)]
Select the size of the envelop refnum field at configure time

10 years agock-graph: fix a problem with translating decisions
Abhinav S Bhatele [Mon, 28 Feb 2011 22:42:13 +0000 (16:42 -0600)]
ck-graph: fix a problem with translating decisions

this code was assuming that strategy code will not reorder the vertex vector

10 years agochanged CMK_OPTIMIZE to CMK_ERROR_CHECKING
Gengbin Zheng [Mon, 28 Feb 2011 22:01:49 +0000 (16:01 -0600)]
changed CMK_OPTIMIZE to CMK_ERROR_CHECKING

10 years agominor change so the build make changes from scratch (some files are hence removed)
Gengbin Zheng [Mon, 28 Feb 2011 19:04:34 +0000 (13:04 -0600)]
minor change so the build make changes from scratch (some files are hence removed)

10 years agonot working when running build on existing build
Gengbin Zheng [Mon, 28 Feb 2011 19:02:14 +0000 (13:02 -0600)]
not working when running build on existing build
Revert "build: Make it easier to incorporate new Makefiles in the build process"

This reverts commit 60019ce028512cc2bd7b0a5a583e7fb3b5642545.

10 years agouse CMK_WITH_STATS to enable stats collection.
Gengbin Zheng [Mon, 28 Feb 2011 18:35:01 +0000 (12:35 -0600)]
use CMK_WITH_STATS to enable stats collection.

10 years agoadded build time option --enable/disable-stats to enable/disable stats collection.
Gengbin Zheng [Mon, 28 Feb 2011 18:32:19 +0000 (12:32 -0600)]
added build time option --enable/disable-stats to enable/disable stats collection.

10 years agoRevert "register qd callback in a separate CcdUSER condition event, so that it can...
Gengbin Zheng [Mon, 28 Feb 2011 06:00:05 +0000 (00:00 -0600)]
Revert "register qd callback in a separate CcdUSER condition event, so that it can be called separately."

This reverts commit 47150110dc2cbfd7dff3b8cb8e7c7e19b3cfc7dc.

10 years agochange the formular in finding the next victim (get rid of notaskpe)
Gengbin Zheng [Mon, 28 Feb 2011 05:57:08 +0000 (23:57 -0600)]
change the formular in finding the next victim (get rid of notaskpe)

10 years agoRevert "Make workstealing more proactive. Still before being idle"
Gengbin Zheng [Mon, 28 Feb 2011 04:02:10 +0000 (22:02 -0600)]
Revert "Make workstealing more proactive. Still before being idle"

This reverts commit d3e0b7dcf9dc5670ec3c3bb85c695b26d1d9ab46.

10 years agoFixed inline bug on blue print
Yanhua Sun [Sun, 27 Feb 2011 23:52:42 +0000 (17:52 -0600)]
Fixed inline bug on blue print

10 years agoadd workstealing proactive option to make stealing more proactive
Yanhua Yanhua [Sun, 27 Feb 2011 23:33:53 +0000 (17:33 -0600)]
add workstealing proactive option to make stealing more proactive

10 years agoMake workstealing more proactive. Still before being idle
Yanhua Yanhua [Sun, 27 Feb 2011 23:24:53 +0000 (17:24 -0600)]
Make workstealing more proactive. Still before being idle

10 years agofixed compiler warnings for icc
Gengbin Zheng [Sun, 27 Feb 2011 07:24:11 +0000 (01:24 -0600)]
fixed compiler warnings for icc

10 years agouse _setjmp when it is supported.
Gengbin Zheng [Sat, 26 Feb 2011 23:43:11 +0000 (17:43 -0600)]
use _setjmp when it is supported.

10 years agotest if _setjmp/_longjmp exist
Gengbin Zheng [Sat, 26 Feb 2011 23:39:28 +0000 (17:39 -0600)]
test if _setjmp/_longjmp exist

10 years agoremove the line: #define CMK_64BIT 0
Gengbin Zheng [Sat, 26 Feb 2011 22:34:35 +0000 (16:34 -0600)]
remove the line: #define CMK_64BIT    0

10 years agofixed the case of using cputimer when not using reduction tree.
Gengbin Zheng [Sat, 26 Feb 2011 16:44:22 +0000 (10:44 -0600)]
fixed the case of using cputimer when not using reduction tree.

10 years agoisomalloc region tmp file can not be under /tmp, because it needs to be on a shared...
Gengbin Zheng [Sat, 26 Feb 2011 03:31:48 +0000 (21:31 -0600)]
isomalloc region tmp file can not be under /tmp, because it needs to be on a shared fiel system for every pe to read.

10 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Sat, 26 Feb 2011 02:18:11 +0000 (20:18 -0600)]
Merge branch 'charm' of charmgit:charm into charm

10 years agofixed some compilation error on windows.
Gengbin Zheng [Sat, 26 Feb 2011 02:17:40 +0000 (20:17 -0600)]
fixed some compilation error on windows.

10 years agoadd text noting the relevance of LBPeriod to AtSync
Eric Bohm [Sat, 26 Feb 2011 01:20:09 +0000 (19:20 -0600)]
add text noting the relevance of LBPeriod to AtSync

10 years agoauto tune the SetLBPeriod based on how long is actually takes to run
Eric Bohm [Sat, 26 Feb 2011 00:41:55 +0000 (18:41 -0600)]
auto tune the SetLBPeriod based on how long is actually takes to run
the problem

10 years agoadd -module CommonLBs to the projections target lines.
Eric Bohm [Sat, 26 Feb 2011 00:01:11 +0000 (18:01 -0600)]
add -module CommonLBs to the projections target lines.

10 years agoNumaLB should not be there
Abhinav S Bhatele [Fri, 25 Feb 2011 19:46:37 +0000 (13:46 -0600)]
NumaLB should not be there

10 years agoMerge branch 'charm' of charmgit:charm into bhatele/ldbcputimer
Abhinav S Bhatele [Fri, 25 Feb 2011 19:40:28 +0000 (13:40 -0600)]
Merge branch 'charm' of charmgit:charm into bhatele/ldbcputimer

Conflicts:
src/ck-ldb/Make.lb
src/ck-ldb/Makefile_lb.sh

10 years agoadded two conv-mach macros CMK_MMAP_PROBE and CMK_MMAP_TEST to control the default...
Gengbin Zheng [Fri, 25 Feb 2011 18:59:42 +0000 (12:59 -0600)]
added two conv-mach macros CMK_MMAP_PROBE and CMK_MMAP_TEST to control the default setting.
another command line option +isomalloc_test to switch to testing method.

10 years agoadded two command line options:
Gengbin Zheng [Fri, 25 Feb 2011 18:47:00 +0000 (12:47 -0600)]
added two command line options:
+noisomalloc:  to disable isomalloc for apps that don't need it
+isomalloc_probe:  to use probe method of isomalloc initialization in finding the largest available region.

10 years agoCMK_TAG(Cpv_addr_,v) need to include one extra for comm. thread.
Gengbin Zheng [Fri, 25 Feb 2011 18:41:43 +0000 (12:41 -0600)]
CMK_TAG(Cpv_addr_,v) need to include one extra for comm. thread.

10 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Fri, 25 Feb 2011 15:45:02 +0000 (09:45 -0600)]
Merge branch 'charm' of charmgit:charm into charm

10 years agoremove the limitation of CMK_MAX_PTHREADS for TLS implementation of Cpv variables.
Gengbin Zheng [Fri, 25 Feb 2011 15:44:32 +0000 (09:44 -0600)]
remove the limitation of CMK_MAX_PTHREADS for TLS implementation of Cpv variables.

10 years agoa CcdTOPOLOGY_AVAIL ccd condition, which is raised when topology info is available...
Gengbin Zheng [Fri, 25 Feb 2011 06:32:30 +0000 (00:32 -0600)]
a CcdTOPOLOGY_AVAIL ccd condition, which is raised when topology info is available on each processor.
neighbor seed load balancer need to initialize itself after topology info is available (which is in charmInit)

10 years agoMerge branch 'charm' of charmgit:charm into charm
Gengbin Zheng [Fri, 25 Feb 2011 06:25:09 +0000 (00:25 -0600)]
Merge branch 'charm' of charmgit:charm into charm

10 years agofixed some minor bugs in LBTopo_torus_nd_smp class to make it actually works
Gengbin Zheng [Fri, 25 Feb 2011 06:23:23 +0000 (00:23 -0600)]
fixed some minor bugs in LBTopo_torus_nd_smp class to make it actually works