IRC.git
13 years agobuildscript options to enable exaclty which coreprof events are needed, keeps instrum...
jjenista [Mon, 27 Sep 2010 22:03:37 +0000 (22:03 +0000)]
buildscript options to enable exaclty which coreprof events are needed, keeps instrumentation overhead at minimum, will help for new events to imrpove SOR

13 years agobug fix, new events
jjenista [Mon, 27 Sep 2010 22:02:05 +0000 (22:02 +0000)]
bug fix, new events

13 years agoTested and Debugged versions of waitingQueue for the hashStructure.
stephey [Sun, 26 Sep 2010 05:44:16 +0000 (05:44 +0000)]
Tested and Debugged versions of waitingQueue for the hashStructure.

13 years agoChanges
stephey [Sun, 26 Sep 2010 05:39:52 +0000 (05:39 +0000)]
Changes

13 years agoremoved locking for waitingQueue add since it's not really needed.
stephey [Sun, 26 Sep 2010 05:22:59 +0000 (05:22 +0000)]
removed locking for waitingQueue add since it's not really needed.

13 years agoWaitingQueue Correctness tests for RCR. FAKE mlp_lock.* and RuntimeConflictResolver...
stephey [Sun, 26 Sep 2010 05:08:24 +0000 (05:08 +0000)]
WaitingQueue Correctness tests for RCR. FAKE mlp_lock.* and RuntimeConflictResolver.* are included so that the waitingQueue can be tested without compiling/including the rest of the project

13 years agofound a bug, wasn't returning pointer at end of poolcreate--pool allocation doesn...
jjenista [Fri, 24 Sep 2010 23:44:38 +0000 (23:44 +0000)]
found a bug, wasn't returning pointer at end of poolcreate--pool allocation doesn't seem to improve SOR speedup

13 years agoClean up the code: remove commented code
jzhou [Fri, 24 Sep 2010 22:59:23 +0000 (22:59 +0000)]
Clean up the code: remove commented code

13 years agothere is definitely an uninitialized mem bug, temp fix is to zero allocated task...
jjenista [Fri, 24 Sep 2010 19:48:00 +0000 (19:48 +0000)]
there is definitely an uninitialized mem bug, temp fix is to zero allocated task records, however even with workaround pool allocation crashes SOR

13 years agosome outstanding mods to coreprof parsing
jjenista [Fri, 24 Sep 2010 19:30:05 +0000 (19:30 +0000)]
some outstanding mods to coreprof parsing

13 years agoworking on task mem pool, there is a crash bug, use -ooodebug-disable-task-mem-pool...
jjenista [Thu, 23 Sep 2010 23:54:19 +0000 (23:54 +0000)]
working on task mem pool, there is a crash bug, use -ooodebug-disable-task-mem-pool if you want to run OoOJava programs for the time being

13 years agowhile working on memory pool for task records, fixed bug where mem Q hashtable entrie...
jjenista [Thu, 23 Sep 2010 19:17:12 +0000 (19:17 +0000)]
while working on memory pool for task records, fixed bug where mem Q hashtable entries had to wait for pointer value but used the wrong object id (oid)

13 years agouse buildscript option to give benchmarks enough heap memory
jjenista [Thu, 23 Sep 2010 19:07:50 +0000 (19:07 +0000)]
use buildscript option to give benchmarks enough heap memory

13 years agosupport for optimizations later, leaf tasks need less data
jjenista [Thu, 23 Sep 2010 19:06:54 +0000 (19:06 +0000)]
support for optimizations later, leaf tasks need less data

13 years agobug fix in gc cache adaption
jzhou [Thu, 23 Sep 2010 00:25:13 +0000 (00:25 +0000)]
bug fix in gc cache adaption

13 years agobug fix
jzhou [Wed, 22 Sep 2010 18:55:18 +0000 (18:55 +0000)]
bug fix

13 years agoAdded getter method to get all effects (needed for RuntimeConflictResolver.java)
stephey [Wed, 22 Sep 2010 11:55:29 +0000 (11:55 +0000)]
Added getter method to get all effects (needed for RuntimeConflictResolver.java)

13 years agoThis version prints out correct C code in terms of where things should be but is...
stephey [Wed, 22 Sep 2010 11:49:24 +0000 (11:49 +0000)]
This version prints out correct C code in terms of where things should be but is only tested on the simplest case. Will try more cases later.

Note: BuildCode.java was also modified to make this work but is not committed since it's only half changed (no stallsite code).

13 years agofix bugs
bdemsky [Wed, 22 Sep 2010 02:29:13 +0000 (02:29 +0000)]
fix bugs

13 years agooptimiz
bdemsky [Wed, 22 Sep 2010 02:26:03 +0000 (02:26 +0000)]
optimiz

13 years agoturn off coreprof by default
jjenista [Tue, 21 Sep 2010 22:13:53 +0000 (22:13 +0000)]
turn off coreprof by default

13 years agofix performance bug
jzhou [Tue, 21 Sep 2010 22:08:15 +0000 (22:08 +0000)]
fix performance bug

13 years agomy changes
jzhou [Tue, 21 Sep 2010 21:46:12 +0000 (21:46 +0000)]
my changes

13 years agoan appropriate test to simulate SOR for new pool allocation
jjenista [Tue, 21 Sep 2010 21:30:47 +0000 (21:30 +0000)]
an appropriate test to simulate SOR for new pool allocation

13 years agodisable coreprof by default
jjenista [Tue, 21 Sep 2010 21:29:11 +0000 (21:29 +0000)]
disable coreprof by default

13 years agohelp user by showing human-readable task identifier
jjenista [Tue, 21 Sep 2010 21:28:39 +0000 (21:28 +0000)]
help user by showing human-readable task identifier

13 years agochanges
bdemsky [Tue, 21 Sep 2010 21:23:12 +0000 (21:23 +0000)]
changes

13 years agoBug fix in gc cache adaption version
jzhou [Tue, 21 Sep 2010 03:59:30 +0000 (03:59 +0000)]
Bug fix in gc cache adaption version

13 years agoRemove the boundary of cache access sampling. Add output of the changed cache policy...
jzhou [Mon, 20 Sep 2010 00:37:27 +0000 (00:37 +0000)]
Remove the boundary of cache access sampling. Add output of the changed cache policy of the shared pages. Also fix some bugs.

13 years agoInitial version of cache adaption for mutator
jzhou [Sat, 18 Sep 2010 20:08:58 +0000 (20:08 +0000)]
Initial version of cache adaption for mutator

13 years agomodularize core prof correctly, starting mem pool strat for task records
jjenista [Thu, 16 Sep 2010 21:54:42 +0000 (21:54 +0000)]
modularize core prof correctly, starting mem pool strat for task records

13 years agomini test to mimic SOR for mem pool testing
jjenista [Thu, 16 Sep 2010 21:53:40 +0000 (21:53 +0000)]
mini test to mimic SOR for mem pool testing

13 years agotemporarily disabling this coreprof event, it appears to have a significant impact...
jjenista [Thu, 16 Sep 2010 18:11:14 +0000 (18:11 +0000)]
temporarily disabling this coreprof event, it appears to have a significant impact compared to system overhead, only put back in when we really need it

13 years agoMake the statistic data for cache adaption irrelavent with the timer counter. Use...
jzhou [Thu, 16 Sep 2010 00:04:23 +0000 (00:04 +0000)]
Make the statistic data for cache adaption irrelavent with the timer counter. Use smaller page for cache adaption version. Also make the cache policy decision modular

13 years agoAdd code for change the cache policy for the mutator. In each round of gc, decide...
jzhou [Wed, 15 Sep 2010 22:38:32 +0000 (22:38 +0000)]
Add code for change the cache policy for the mutator.  In each round of gc, decide the new policy for each page according to the gathered statistic data and adapt the new policies right before finishing gc.

13 years agothis micro benchmark does not accurately imitate OOOjava, just checking in current...
jjenista [Wed, 15 Sep 2010 21:16:05 +0000 (21:16 +0000)]
this micro benchmark does not accurately imitate OOOjava, just checking in current code for possible reuse later

13 years agoa self-contained test of the mempool strategy, doesnt seem promising yet
jjenista [Sun, 12 Sep 2010 21:23:31 +0000 (21:23 +0000)]
a self-contained test of the mempool strategy, doesnt seem promising yet

13 years agoWork In Progress Commit.
stephey [Sat, 11 Sep 2010 01:37:47 +0000 (01:37 +0000)]
Work In Progress Commit.
Added logic that will print out when traverser needs to look in waitingQueue/HashStructure. Separated enumeration of heaproots and printing of C methods (for the very end). Added TEMP functions that will create an array of HashStructures to simulate threadlocal variables (so that it's easier to debug)

Next Steps: Modify and Complete C-side. Test/Debug C-side. Connected both sides. Test/Debug both sides together.

Next Next Step: Work with Jim/YongHun to integrate RCR into main project.

13 years agochange parser to match runtime changes, still some kooky issue where child events...
jjenista [Fri, 10 Sep 2010 19:44:57 +0000 (19:44 +0000)]
change parser to match runtime changes, still some kooky issue where child events appear to take infinity perfent of parent sometimes, strange

13 years agotask execute, dispatch, reture and work grabbing events debugged
jjenista [Fri, 10 Sep 2010 19:44:11 +0000 (19:44 +0000)]
task execute, dispatch, reture and work grabbing events debugged

13 years agoWork In Progress Commit.
stephey [Fri, 10 Sep 2010 10:01:11 +0000 (10:01 +0000)]
Work In Progress Commit.
Added supporting data structures and logic for keeping track of what needs to be entered into a waitingQueue upon 'stopping' the traverser. Need to write code that spits out the correct C-code with waitingQueue stuff (halfway done)

Next steps: Do the above, separate the enumeration of heaproots and printing of C-methods until the very end, and modify/write C-side stuff to correctly respond to the generated calls.

13 years agoAdded logic for determining weakly connected groups of Heaproots and changed traverse...
stephey [Thu, 9 Sep 2010 01:38:32 +0000 (01:38 +0000)]
Added logic for determining weakly connected groups of Heaproots and changed traverser invocation/generation method header to support resuming traversal from predefined points (incomplete, still need to modify addChecker to take advantage of the new header).

13 years agoChanged parsing of coreprof data to keep parent/child event relationships, breaks...
jjenista [Wed, 8 Sep 2010 22:46:11 +0000 (22:46 +0000)]
Changed parsing of coreprof data to keep parent/child event relationships, breaks parent into percentage spent in each child

13 years agoJim told me to change the int hashCodeSpecific() function to return id.hashCode(...
stephey [Wed, 8 Sep 2010 22:39:34 +0000 (22:39 +0000)]
Jim told me to change the int hashCodeSpecific() function to return id.hashCode() instead of id itself.

13 years agoChanged coreprof macros to match coreprof.h, altered output to print self-time as...
jjenista [Tue, 7 Sep 2010 19:47:04 +0000 (19:47 +0000)]
Changed coreprof macros to match coreprof.h, altered output to print self-time as a percentage of total time.

13 years agoSeveral changes:
jjenista [Tue, 7 Sep 2010 19:40:31 +0000 (19:40 +0000)]
Several changes:

-Can control space allocated for coreprof events with a buildscript option.

-Attempted to exit ooojava worker threads gracefully with pthread_cleanup_XXX
and pthread_cancel in asynchronous mode.  Cleanup doesn't trigger from asynch
cancel, so this doesn't do the trick.  The reason this is nice is that COREPROF_EXIT
is never called by worker threads, so the timestamp of the MAIN duration is being
fudged by using the last timestamp of a sub event.  If we wanted to add more
interesting functionality to COREPROF_EXIT we can't use the workaround and we'll
have to revisit this--left the commented pthread code as a starting point for later.

-Adjusted event IDs and the baseshift so same number of bits are used, but
it is easier to look at the coreprof output file in a hex editor to visually
inspect the raw data, for debugging.

13 years agoa test case for shutting down ooojava work threads gracefully
jjenista [Tue, 7 Sep 2010 19:32:34 +0000 (19:32 +0000)]
a test case for shutting down ooojava work threads gracefully

13 years agoAdded some extra logic for rehashing all effects by allocsite and (incomplete) logic...
stephey [Fri, 3 Sep 2010 01:54:09 +0000 (01:54 +0000)]
Added some extra logic for rehashing all effects by allocsite and (incomplete) logic to assing heap region #'s for weakly connected groups.

13 years agoremove unnecessary dtlb flush
jzhou [Thu, 2 Sep 2010 22:59:29 +0000 (22:59 +0000)]
remove unnecessary dtlb flush

13 years agoFix the 'markbit' bug of cache-adapt multicoregc version. In the compact phase,...
jzhou [Thu, 2 Sep 2010 18:57:58 +0000 (18:57 +0000)]
Fix the 'markbit' bug of cache-adapt multicoregc version.  In the compact phase, some cores might need to move some local objects to some other remote cores.  There could be cache incoherent problem caused by the mark bit.  To fix it, in the mark phase, whenever the mark bit is changed, flush it to the main memory and after the mark phase is finished add a 'barrier' before starting the compact phase

13 years agoClean multicore version code
jzhou [Thu, 2 Sep 2010 17:04:11 +0000 (17:04 +0000)]
Clean multicore version code

13 years agoQuick Change: Moved some misplaced comments.
stephey [Thu, 2 Sep 2010 06:50:13 +0000 (06:50 +0000)]
Quick Change: Moved some misplaced comments.

13 years agoContains first sketch of waiting queue logic. The WaitingQueue struct will be removed...
stephey [Thu, 2 Sep 2010 06:41:30 +0000 (06:41 +0000)]
Contains first sketch of waiting queue logic. The WaitingQueue struct will be removed in the future and the array be integrated into the Hashtable.

13 years agoAdd code for GC_CACHE_ADAPT version. Now the 61-1gc version works for RayTracer...
jzhou [Thu, 2 Sep 2010 00:47:44 +0000 (00:47 +0000)]
Add code for GC_CACHE_ADAPT version.  Now the 61-1gc version works for RayTracer.  Currently only change to use local caching for gc.  Will work on cache adaption for mutator's execution based on sampling statistics

13 years agoVery, very rough draft of the hash structure to be used in the upcomming version...
stephey [Wed, 1 Sep 2010 02:31:06 +0000 (02:31 +0000)]
Very, very rough draft of the hash structure to be used in the upcomming version of RuntimeConflictResolver. Only includes add logic that has not been finalized yet.

13 years agoconvenient run script
jjenista [Thu, 26 Aug 2010 18:51:55 +0000 (18:51 +0000)]
convenient run script

13 years agoa makefile if desired
jjenista [Thu, 26 Aug 2010 16:16:40 +0000 (16:16 +0000)]
a makefile if desired

13 years agoFix a performance bug in the multicore gc version. In hvc files, should not reserve...
jzhou [Sat, 21 Aug 2010 00:20:34 +0000 (00:20 +0000)]
Fix a performance bug in the multicore gc version.  In hvc files, should not reserve more than 16M for a core's stack+heap.  Otherwise the performance would be greatly affected.  It is because that all the reserved memory in hvc files will take *wired* DTLB entries.  The more these entries are reserved, the less entries the program can use for other memory and thus the more DTLB miss would happen during execution.  Also fixed some small bugs that break non-gc version and add codes for DTLB flushing

13 years agoSplit debug flag for Java/C sides. Added logic to prevent duplicate traverse invocati...
stephey [Wed, 18 Aug 2010 17:56:10 +0000 (17:56 +0000)]
Split debug flag for Java/C sides. Added logic to prevent duplicate traverse invocations to be processed/generated. Added support for StallSite invocations. Fixed logic for case: generation for c-side. Fixed logic for propogating conflict flags in the event of a revisited node. Updated method for generating csideinvocations.

13 years agoAdded StallSite RuntimeConflictResolver invocations. Placed RCR c-side init code...
stephey [Wed, 18 Aug 2010 17:49:48 +0000 (17:49 +0000)]
Added StallSite RuntimeConflictResolver invocations. Placed RCR c-side init code in correct position. Added Guards to .dot debug printouts for RCR.

13 years agoChanged variable type to make more compatible with RCR
stephey [Wed, 18 Aug 2010 02:09:28 +0000 (02:09 +0000)]
Changed variable type to make more compatible with RCR

13 years agofix wrong condition.
yeom [Tue, 17 Aug 2010 22:33:42 +0000 (22:33 +0000)]
fix wrong condition.
If one is coarse and others are fine item from same sese, just enqueue scc instead.

13 years agoChanged the way conflict flags are propagated (fixed infinite loops, for reals this...
stephey [Tue, 17 Aug 2010 06:55:33 +0000 (06:55 +0000)]
Changed the way conflict flags are propagated (fixed infinite loops, for reals this time). Removed extraneous code. Added tentative stallsite code.

13 years agoFixed bug of ignoring multiple effects for same alloc/field effect. Removed ! before...
stephey [Tue, 17 Aug 2010 03:26:12 +0000 (03:26 +0000)]
Fixed bug of ignoring multiple effects for same alloc/field effect. Removed ! before checking hash in C.

13 years agoRecent code changes: remove redundant code/comment and format the code a little bit
jzhou [Mon, 16 Aug 2010 23:59:25 +0000 (23:59 +0000)]
Recent code changes: remove redundant code/comment and format the code a little bit

13 years agoback out change to separate event type and timestamp streams, one stream supports...
jjenista [Mon, 16 Aug 2010 23:03:10 +0000 (23:03 +0000)]
back out change to separate event type and timestamp streams, one stream supports future variable-length event data easily

13 years agochecking bug fix for memory queue, the jury is still out on the formal verification...
jjenista [Mon, 16 Aug 2010 21:35:34 +0000 (21:35 +0000)]
checking bug fix for memory queue, the jury is still out on the formal verification of this fix

13 years agochange garbage.c initial heap size to a macro, configurable with a new buildscript...
jjenista [Mon, 16 Aug 2010 19:15:26 +0000 (19:15 +0000)]
change garbage.c initial heap size to a macro, configurable with a new buildscript option

13 years agoChanges. Contains bug where not all effects are saved into datastructure; checkin...
stephey [Sat, 14 Aug 2010 01:32:09 +0000 (01:32 +0000)]
Changes. Contains bug where not all effects are saved into datastructure; checkin to create checkpoint to restore to if bugfix fails.

13 years agochanges. add coarse case into our previous changes that we did for SOR benchmarks.
yeom [Fri, 13 Aug 2010 02:46:16 +0000 (02:46 +0000)]
changes. add coarse case into our previous changes that we did for SOR benchmarks.

13 years agoTemporarily integrates Runtime Conflict Resolution into buildCode and runtime with...
stephey [Fri, 13 Aug 2010 00:28:09 +0000 (00:28 +0000)]
Temporarily integrates Runtime Conflict Resolution into buildCode and runtime with -rcr flag

13 years agofixed some include bugs
stephey [Thu, 12 Aug 2010 23:34:02 +0000 (23:34 +0000)]
fixed some include bugs

13 years agoAdded Changes requested by Jim. Fixed problem of infinite loop when reachGraph contai...
stephey [Thu, 12 Aug 2010 09:28:25 +0000 (09:28 +0000)]
Added Changes requested by Jim. Fixed problem of infinite loop when reachGraph contains cycles. Fixed counter for parents with conflicts. Attempted to make methods with no traveral simply put a return (failed, will try again tomorrow). Builds Headerfile with guard. Correctly finds supplementry header files.

13 years agoGenerates syntatically correct code but appears to have problems with nesting multipl...
stephey [Wed, 11 Aug 2010 02:54:30 +0000 (02:54 +0000)]
Generates syntatically correct code but appears to have problems with nesting multiple if statements (pushing processing into parent). Works fine if only pushing only 1 child into parent.

13 years agofix sese garbage collection bug calculating offsets to dependent sese pointers
jjenista [Wed, 11 Aug 2010 00:54:44 +0000 (00:54 +0000)]
fix sese garbage collection bug calculating offsets to dependent sese pointers

13 years agoSome tests that are helping with SESE garbage collection, incidentally the mlp regres...
jjenista [Tue, 10 Aug 2010 23:36:31 +0000 (23:36 +0000)]
Some tests that are helping with SESE garbage collection, incidentally the mlp regression test defeats our current ooo java runtime as well, gotta track that down some day

13 years agoMostly works, but has bug of not checking primative types for conflicts
stephey [Tue, 10 Aug 2010 00:39:06 +0000 (00:39 +0000)]
Mostly works, but has bug of not checking primative types for conflicts

13 years agodid something I shouldnt have, mixed changes for two different projects at once,...
jjenista [Mon, 9 Aug 2010 22:20:53 +0000 (22:20 +0000)]
did something I shouldnt have, mixed changes for two different projects at once, hard to back out now so heres a commit and ill physically check with everyone for immediate broken environemnts.  change 1, updating the coreprof system, in progress but stable for anyone not using coreprof and change 2, add an allocsite field to Objects in generated c code that is populated at allocation, stephen can use it, and maybe future ooojava subsystems, to tell what site an object was allocated at

13 years agofix to handle stall site properly for generating conflicts effect set.
yeom [Mon, 9 Aug 2010 21:46:34 +0000 (21:46 +0000)]
fix to handle stall site properly for generating conflicts effect set.

13 years agointerface to grab the conflict effect set for Stephen,
yeom [Fri, 6 Aug 2010 18:29:53 +0000 (18:29 +0000)]
interface to grab the conflict effect set for Stephen,

13 years agochanges to have proper path of coreprof.h
yeom [Fri, 6 Aug 2010 16:59:51 +0000 (16:59 +0000)]
changes to have proper path of coreprof.h

13 years agointroduces new flag for runtime conflict resolver.
yeom [Fri, 6 Aug 2010 00:11:51 +0000 (00:11 +0000)]
introduces new flag for runtime conflict resolver.

13 years agoCompleted version before tying in with system and debug
stephey [Thu, 5 Aug 2010 23:17:23 +0000 (23:17 +0000)]
Completed version before tying in with system and debug

13 years agofixes on FlatWriteDynamicVarNode to handle properly branch node.
yeom [Thu, 5 Aug 2010 20:27:12 +0000 (20:27 +0000)]
fixes on FlatWriteDynamicVarNode to handle properly branch node.

13 years agofixes on tracking benchmark.
yeom [Thu, 5 Aug 2010 20:26:07 +0000 (20:26 +0000)]
fixes on tracking benchmark.

13 years agoFix bug in multicore gc: the master core should send msgs to all the other cores...
jzhou [Thu, 5 Aug 2010 18:36:08 +0000 (18:36 +0000)]
Fix bug in multicore gc: the master core should send msgs to all the other cores and tell them to stop for gc as soon as it finds that there is no more shared memory

13 years agofix some bug found by Yonghun
jzhou [Thu, 5 Aug 2010 18:33:41 +0000 (18:33 +0000)]
fix some bug found by Yonghun

13 years agoChanges.
stephey [Thu, 5 Aug 2010 00:20:26 +0000 (00:20 +0000)]
Changes.

13 years agodocument OOOJava and Disjoint options
jjenista [Wed, 4 Aug 2010 18:12:20 +0000 (18:12 +0000)]
document OOOJava and Disjoint options

13 years agopolish source code + last changes.
yeom [Tue, 3 Aug 2010 18:47:33 +0000 (18:47 +0000)]
polish source code + last changes.

13 years agopolish source code and add test data
yeom [Tue, 3 Aug 2010 18:03:23 +0000 (18:03 +0000)]
polish source code and add test data

13 years agolast changes to power benchmark
yeom [Tue, 3 Aug 2010 17:50:30 +0000 (17:50 +0000)]
last changes to power benchmark

13 years agodo subtraction
bdemsky [Tue, 3 Aug 2010 09:50:03 +0000 (09:50 +0000)]
do subtraction

13 years agobug fixes for coreprof
bdemsky [Tue, 3 Aug 2010 09:46:00 +0000 (09:46 +0000)]
bug fixes for coreprof

13 years agofix bugs
bdemsky [Tue, 3 Aug 2010 09:45:13 +0000 (09:45 +0000)]
fix bugs

13 years agoaccidental update
bdemsky [Tue, 3 Aug 2010 08:22:38 +0000 (08:22 +0000)]
accidental update

13 years agochange
bdemsky [Tue, 3 Aug 2010 08:20:02 +0000 (08:20 +0000)]
change

13 years agoerror in buildscript
bdemsky [Tue, 3 Aug 2010 08:13:26 +0000 (08:13 +0000)]
error in buildscript

13 years agomore changes
bdemsky [Tue, 3 Aug 2010 08:05:54 +0000 (08:05 +0000)]
more changes

13 years agochanges
bdemsky [Tue, 3 Aug 2010 08:04:54 +0000 (08:04 +0000)]
changes