Commit graph

1401 commits

Author SHA1 Message Date
Sears Russell
a4a72b601e short circuit no-op aborted transactions; add unit test for no-op commits and aborts 2011-01-05 19:10:57 +00:00
Sears Russell
3dd51d83ad turn on O_NOATIME by default, set the default stasis_buffer_manager_size so that it is impervious to changes in PAGE_SIZE 2011-01-05 18:22:20 +00:00
Sears Russell
0a461faa04 add "raid1" a simple mirroring I/O handle implementation 2010-12-03 03:51:24 +00:00
Sears Russell
1275895af9 fix typo; accidentally hardcoded to the default io file handle implementation 2010-12-03 03:43:35 +00:00
Sears Russell
c7e07c5c5d cleaned up initialization code for stasis handles; it is no longer possible to instantiate the (long broken) non-blocking handle implementation 2010-12-03 02:18:56 +00:00
Sears Russell
d0df76012d add missing static modifier 2010-12-03 00:28:38 +00:00
Sears Russell
a7f71d6dbf add convenience macros to latency profiler; turn on pread/pwrite profiling by default 2010-11-30 18:33:22 +00:00
Sears Russell
d8634edb3d add --target-ops option for the bufferManager benchmark. 2010-11-29 19:17:13 +00:00
Sears Russell
2ee81c62c4 add redblack tree memory overhead benchmark 2010-11-24 20:35:02 +00:00
Sears Russell
1708a716e1 add custom slab allocator for stlredblack 2010-11-13 06:08:57 +00:00
Sears Russell
0d5c22991d add util/multiset; optimize flush with target lsn 2010-11-13 06:03:30 +00:00
Sears Russell
38884a6cd2 fix infinite loop in dirty page table 2010-11-12 18:34:40 +00:00
Sears Russell
81d2c1590e BUGFIX: dirtyPageTable was accidentally using the deprecated red black tree, which leads to in-memory corruption and crashes. Fixed this, and set the deprecated red black tree to issue a warning on startup if it is used 2010-11-09 21:11:37 +00:00
Sears Russell
09d113246c fix pointer bug when invoking commit callbacks 2010-11-05 18:59:10 +00:00
Sears Russell
6b302226ab fix transaction table leaks during recovery; add debugging field to xact table entries 2010-11-05 18:57:18 +00:00
Sears Russell
36546b3a2d add factory methods for log implementation 2010-11-05 18:53:10 +00:00
Sears Russell
8c8e6855b7 fix typo in ruby binding 2010-10-19 23:11:20 +00:00
Sears Russell
d26da056b7 make dirty_page_table_flush be reentrant; fix possible dereference of null pointer 2010-10-19 22:55:03 +00:00
Sears Russell
6f0c50d861 third-party dirtyPageTable patches 1-4, forward ported to trunk. This commit may introduce a regression; dirty_page_table_flush is probably no longer reentrant 2010-10-19 22:37:07 +00:00
Sears Russell
8ee684d98e add version of Tupdate that takes a Page* instead of a pageid 2010-10-19 21:07:24 +00:00
Sears Russell
2105337d7f disable tests of dead code that are known to fail 2010-10-19 21:05:54 +00:00
Sears Russell
25d9230f62 fix error string compilation problem 2010-10-06 18:49:11 +00:00
Sears Russell
00c4be5d11 disable sequential handles in buferHash (for now) 2010-10-05 16:22:37 +00:00
Sears Russell
9fa9930614 added fnv-1 hash implementation 2010-10-03 18:00:34 +00:00
Sears Russell
ecbdc9513f add stasis_round_up_to_power_of_two 2010-10-03 15:41:19 +00:00
Sears Russell
b3e5743691 add c decl stuff to crc32.h 2010-10-03 15:40:53 +00:00
Sears Russell
18984c7b44 initial checkin of latency profiler 2010-09-30 19:28:42 +00:00
Sears Russell
6525949f56 add paranoid checks to concurrentHash and concurrentBufferManager; tightened up invariants maintained by concurrentHash 2010-09-30 19:27:18 +00:00
Sears Russell
00cf4eb4ce fix bug in lru backoff, add flag for buffer manager stress testing, add support for buffer manager handles to concurrentBufferManager, fix support in bufferHash 2010-09-28 23:50:07 +00:00
Sears Russell
ae04cee76c exponential backoff and power of two bucket flag for concurrenntWrapper (disabled by default) 2010-09-27 00:11:34 +00:00
Sears Russell
9577aca365 add missing #include 2010-09-26 22:56:50 +00:00
Sears Russell
ba4e61e3d4 avoid needless insertions of dirty pages into LRU in sequential write mode. 2010-09-26 22:31:36 +00:00
Sears Russell
4fe5bcaa72 Refactored doubleLinkedList and lruFast. The linked list API is now less insane, and lruFast is simpler. Added asserts to detect double insertion of nodes into the lists / lru 2010-09-24 17:56:51 +00:00
Sears Russell
7815d2f792 add assert to sequential-optimized write path 2010-09-24 17:51:09 +00:00
Sears Russell
a3e7fc0fe2 add hint: stasis_buffer_manager_hint_writes_are_sequential. if set to 1, then only one thread will write back at a time, which leads to greatly improved sequential write throughput 2010-09-23 23:09:43 +00:00
Sears Russell
9a46882ae3 port to new rbtree implementation (still buggy); performance tweaks for sequential throughput (this commit only changes non_blocking which is disabled by default, and in all sane runtime configurations) 2010-09-23 22:51:13 +00:00
Sears Russell
9ffc06c824 fix compilation on old boxes 2010-09-23 22:48:23 +00:00
Sears Russell
cb31593d1f fix typo in disabled code 2010-09-23 22:48:06 +00:00
Sears Russell
58c909a2ea add implementations of some more rblookup flags to the stl red black tree adapter 2010-09-23 20:38:50 +00:00
Sears Russell
4a5d14f2c6 more non_blocking fixes. now the unit test passes 2010-09-23 19:52:54 +00:00
Sears Russell
774ccfb002 whitespace and comment cleanup 2010-09-23 18:24:03 +00:00
Sears Russell
1048109ab8 initial checkin of buffer manager benchmark 2010-09-23 17:47:06 +00:00
Sears Russell
d3c8c1c003 remove overly-aggressive asserts from last checkin 2010-09-23 00:31:37 +00:00
Sears Russell
546bb4c767 fix rare latch corruption in concurrentBufferManager; add some asserts 2010-09-23 00:21:04 +00:00
Sears Russell
62e7663c27 fix + use macro 2010-09-23 00:19:34 +00:00
Sears Russell
c3b9345bd2 initial checkin of ruby bindings 2010-09-20 16:09:44 +00:00
Sears Russell
aa8142d708 remove apparent race in concurrentHash.c 2010-09-17 01:38:40 +00:00
Sears Russell
889311a303 un-rollback -r1403. It was not the source of the assert failure. 2010-09-17 01:16:46 +00:00
Sears Russell
bb904e85cf add latch-free slotted pages, and a bug-fix in page.c 2010-09-17 01:10:42 +00:00
Sears Russell
e6067ae60b rollback -r1403, which was leading to tmp == p->TLS assertion failures 2010-09-02 17:59:00 +00:00