Commit graph

1538 commits

Author SHA1 Message Date
Sears Russell
b0e112a631 fix compiler warning in pfile 2011-04-20 20:44:33 +00:00
Sears Russell
935407be51 fix compiler wranings in check_linearHashNTA 2011-04-20 20:38:22 +00:00
Sears Russell
853394f022 fix compiler warnings regarding min and concurrentRingbuffer 2011-04-20 20:34:39 +00:00
Sears Russell
fbdc102d6c change replacementPolicy to avoid a malloc / free during page pins 2011-04-20 20:25:17 +00:00
Sears Russell
43c0d7ac09 fix possible use of uninitialized memory 2011-04-20 18:00:34 +00:00
Sears Russell
ad2b6a62ae fix bug where filePool was not syncing to disk, update log related benchmarks; add tweak to ringbuffer to prevent extremely high contention from breaking group commit. 2011-04-19 20:54:11 +00:00
Sears Russell
84bbeca165 filePool implementation is more-or-less complete. added remaining functions and latching 2011-04-19 18:51:43 +00:00
Sears Russell
5f3be196fe forgot to commit unit test for filePool 2011-04-18 20:34:19 +00:00
Sears Russell
2f664271b4 partial implementation of filePool log format. force and truncate are unimplemented, as is attempting to read unflushed data. 2011-04-18 20:31:19 +00:00
Sears Russell
175c26e125 add flush and shutdown apis to concurrent ringbuffer, tighten up get_rd_buf api 2011-04-18 20:21:16 +00:00
Sears Russell
ab058db5d3 add stasis_double_to_timeval() 2011-04-18 20:08:40 +00:00
Sears Russell
e087c9c073 add alternative implementation of min aggregate for small sets. It avoids red black overheads, but some operations are linear in the number of values considered by the aggregate 2011-04-18 20:04:33 +00:00
Sears Russell
bba42ca6f0 fix compilation error on machines with sync_file_range() 2011-04-18 19:50:01 +00:00
Sears Russell
304b439217 new data structures: min aggregate and concurrent ringbuffer 2011-04-14 23:03:20 +00:00
Sears Russell
e1201970b6 add firstPendingEntry call to log API, use finer grained latches in Tupdate(). 2011-04-01 17:25:46 +00:00
Sears Russell
188b03152c fix blob recovery issue; pages were being initialized outside of tupdate, breaking recovery 2011-03-29 22:27:31 +00:00
Sears Russell
b20cd8cd0f document the fact that LSN 0 is reserved 2011-03-25 20:24:40 +00:00
Sears Russell
5364377fd9 Fix handling of lsns in loadUninitializedPage(). This change is more of a hack than I would like. 2011-03-25 20:03:50 +00:00
Sears Russell
45081ded12 tell oink to instrument more functions 2011-03-25 20:01:30 +00:00
Sears Russell
55a9436438 fix long-standing bug in pfile wrapper. racy eof handling was leading to dropped writes 2011-03-25 20:00:29 +00:00
Sears Russell
e7280de51f add ints to enum definition 2011-03-21 21:25:32 +00:00
Sears Russell
bb5efafcd7 comment out declaration of non-existant function 2011-03-21 21:25:00 +00:00
Sears Russell
50335355a4 fix linker error in build 2011-03-18 23:35:26 +00:00
Sears Russell
22802f72c3 add percentile handling to histogram 2011-02-25 19:47:14 +00:00
Sears Russell
aaafca31b6 support files for oink-based source to source transformations 2011-02-22 19:17:03 +00:00
Sears Russell
de8bf53e98 fix some header #include problems 2011-02-22 19:12:38 +00:00
Sears Russell
fb5791e7e4 one line fix to concurrentHashTable, plus documentation and improved unit tests. 2011-02-15 02:57:19 +00:00
Sears Russell
14d8cebdcc dbug stuff. for now, you have to edit cmakelists.txt to set the location of dbug. 2011-02-14 22:09:57 +00:00
Sears Russell
34fec57c07 disable experimental stl slab allocator by default 2011-02-14 21:06:27 +00:00
Sears Russell
3cdccceb20 add more functions to wrapper traces; change output format 2011-02-10 19:16:37 +00:00
Sears Russell
610d3070b4 fix some minor c preprocessor abuse 2011-02-09 01:32:22 +00:00
Sears Russell
acf1a8e8d2 delete dead file 2011-02-09 00:25:30 +00:00
Sears Russell
afc9991156 dbug mode for buffer manager - run with two threads, and a handful of ops/thread 2011-02-07 23:53:20 +00:00
Sears Russell
d73841dc5b regions.c was failing to set the stasis page 0 dirty bit at initialization. Allocating a region larger than the buffer manager would cause the boundary tag to be lost. 2011-02-04 19:50:02 +00:00
Sears Russell
3e9d970a2d additional load/release page stubs 2011-02-02 21:32:03 +00:00
Sears Russell
c4ebeb1285 add missing calls to various pthread destructors 2011-02-02 21:20:18 +00:00
Sears Russell
8a9f6454a7 initial support for link-time wrapping of stasis functions 2011-02-02 21:16:53 +00:00
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