X-Git-Url: https://pd.if.org/git/?p=nbds;a=blobdiff_plain;f=todo;h=eba0d337f7495f16351f9d143b8d15587b4cd925;hp=b198f920596e2ecae48341924ad86d82fccaebcd;hb=973c2b13fe82d6ebd030cd58869fa237b1fe5370;hpb=4d8c8b76b77d3c4966361ad78b08d9ba2d90318a diff --git a/todo b/todo index b198f92..eba0d33 100644 --- a/todo +++ b/todo @@ -1,16 +1,30 @@ -- make rcu wait when its buffer gets full, instead of throwing an assert -+ fix makefile to compute dependency info as a side-effect of compilation (-MF) +memory reclamation +------------------ +- allow threads to dynamically enter and exit rcu's token passing ring +- augment rcu with heartbeat manager to kill and recover from stalled threads +- make rcu try yielding when its buffer gets full +- use alternate memory reclamation schemes: hazard pointers and/or reference counting + +quality +------- +- verify the memory management of keys in list, skiplist, and hashtable +- transaction tests +- port perf tests from lib-high-scale +- characterize the performance of hashtable vs. skiplist vs. list +- validate function arguments in interface functions +- document usage +- document algorithms + +optimization +------------ - investigate 16 byte CAS; ht can store GUIDs inline instead of pointers to actual keys -- testing, testing, testing -+ support integer keys for ht -- validate arguments to interface functions -+ optimize tracing code, still too much overhead -+ use NULL instead of a sentinal node in skiplist and list -+ make the interfaces for all data structures consistent -+ make list and skiplist use string keys -+ optimize integer keys -- ht_print() -- iterators -- characterize performance of data structures -- experiment with the performance impact of not passing the hash between functions -- experiment with embedding keys in the list/skiplist nodes +- write after write can just update the old update record instead of pushing a new one +- use a shared scan for write-set validation in txn, similar to ht copy logic +- experiment with the performance impact of not passing the hash between functions in ht +- experiment with embedding the nstring keys in the list/skiplist nodes + +features +-------- +- allow values of 0 to be inserted into maps (change DOES_NOT_EXIST to something other than 0) +- read-committed type transactions +- recycle free regions across size-classes and between threads