X-Git-Url: https://pd.if.org/git/?p=nbds;a=blobdiff_plain;f=todo;h=67b75dc6ac0eebafb42b1c188cd9eec75ca18acf;hp=bf4dc2194608700faab3b459abc9b9bf747ebaff;hb=HEAD;hpb=53d171373819e921da8f8648eea236a08ff6a702 diff --git a/todo b/todo index bf4dc21..67b75dc 100644 --- a/todo +++ b/todo @@ -1,9 +1,31 @@ -- make rcu wait when its buffer gets full, instead of crashing -- 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 +- 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 -- test ht -+ optimize tracing code, still too much overhead -+ use NULL instead of a sentinal node in skiplist and list -- make interfaces for all data structures consistent -+ make list and skiplist use string keys -- optimize short strings by embedding the data directly in their pointers +- txn 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 +- lower skiplist's high_water when the actual number of levels in use drops +- non-power-of 2 sized hashtables for improved memory usage +- mem2 + +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