summaryrefslogtreecommitdiffstats
path: root/include/framework/structure
Commit message (Collapse)AuthorAgeFilesLines
* Updates for dynamic rate limitingnew-concurrencyDouglas Rumbaugh7 days1-1/+1
|
* Code reformattingDouglas Rumbaugh2025-09-254-99/+108
|
* Insertion Stall UpdatesDouglas Rumbaugh2025-09-231-3/+26
| | | | | | | Revised insertion stalling mechanism to work for structures with > 1us required stall time per record, and got dynamic calculation of the stall time working.
* Beginnings of per-level cost modelingDouglas Rumbaugh2025-09-172-0/+23
| | | | | | | | | | | | The total time required for each shard construction is now measured, and hooks have been added to InternalLevel to support the creation and use of per-level cost models. The appropriate calls to these functions are now made during reconstruction, but the scheduling process doesn't yet call them, nor are the models actually implemented.
* Implemented the legacy policies and fixed a few bugsDouglas Rumbaugh2025-04-072-14/+23
|
* working commit (temporary progress, doesn't build)Douglas Rumbaugh2025-04-052-2/+9
|
* Fixed a few concurrency bugsDouglas Rumbaugh2025-03-032-84/+93
|
* Query Preemption: still has one or two bugs, but mostly worksDouglas Rumbaugh2025-02-241-6/+0
|
* Parallel background reconstructions appear to be working!Douglas Rumbaugh2025-02-142-3/+13
|
* progress towards resolving asynch structure mergesDouglas Rumbaugh2025-02-132-82/+56
|
* Progress: began adding parallel merging and locking of levelsDouglas Rumbaugh2025-02-112-4/+16
|
* Background compaction stuffDouglas Rumbaugh2025-02-062-34/+114
|
* More updatesDouglas Rumbaugh2025-01-311-2/+4
|
* progressDouglas Rumbaugh2025-01-271-7/+1
|
* some progressDouglas Rumbaugh2025-01-241-70/+10
|
* ProgressDouglas Rumbaugh2025-01-171-11/+10
|
* Additional layout policies + more flexibility in buffer flushingDouglas Rumbaugh2025-01-162-29/+85
|
* Continued developmentDouglas B. Rumbaugh2024-12-223-39/+74
|
* Began overhauling reconstruction mechanismDouglas B. Rumbaugh2024-12-222-624/+91
|
* Warning fixesDouglas B. Rumbaugh2024-12-061-4/+5
|
* Interface update (#5)Douglas B. Rumbaugh2024-12-064-1117/+1124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Query Interface Adjustments/Refactoring Began the process of adjusting the query interface (and also the shard interface, to a lesser degree) to better accommodate the user. In particular the following changes have been made, 1. The number of necessary template arguments for the query type has been drastically reduced, while also removing the void pointers and manual delete functions from the interface. This was accomplished by requiring many of the sub-types associated with a query (parameters, etc.) to be nested inside the main query class, and by forcing the SHARD type to expose its associated record type. 2. User-defined query return types are now supported. Queries no longer are required to return strictly sets of records. Instead, the query now has LocalResultType and ResultType template parameters (which can be defaulted using a typedef in the Query type itself), allowing much more flexibility. Note that, at least for the short term, the LocalResultType must still expose the same is_deleted/is_tombstone interface as a Wrapped<R> used to, as this is currently needed for delete filtering. A better approach to this is, hopefully, forthcoming. 3. Updated the ISAMTree.h shard and rangequery.h query to use the new interfaces, and adjusted the associated unit tests as well. 4. Dropped the unnecessary "get_data()" function from the ShardInterface concept. 5. Dropped the need to specify a record type in the ShardInterface concept. This is now handled using a required Shard::RECORD member of the Shard class itself, which should expose the name of the record type. * Updates to framework to support new Query/Shard interfaces Pretty extensive adjustments to the framework, particularly to the templates themselves, along with some type-renaming work, to support the new query and shard interfaces. Adjusted the external query interface to take an rvalue reference, rather than a pointer, to the query parameters. * Removed framework-level delete filtering This was causing some issues with the new query interface, and should probably be reworked anyway, so I'm temporarily (TM) removing the feature. * Updated benchmarks + remaining code for new interface
* Fixed arithmetic bugDouglas Rumbaugh2024-05-091-1/+1
|
* TSParmsweep: enabled forcing a full buffer scanDouglas Rumbaugh2024-05-081-1/+5
|
* Added a Bentley-Saxe layout policyDouglas Rumbaugh2024-05-012-4/+75
|
* Removed debug print statementsDouglas Rumbaugh2024-04-191-2/+0
|
* Benchmark updatesDouglas Rumbaugh2024-04-191-0/+2
|
* Updates for build on OpenBSDDouglas B. Rumbaugh2024-03-251-1/+1
| | | | | | | | | Necessary updates to get the codebase building under OpenBSD 7.5 with clang. This is a minimal set of changes to get building to work, which includes disabling several things that aren't directly compatable. More work will be necessary to get full functionality. In particular, Triespline, PGM, and the reference M-tree do not currently build on OpenBSD with clang due to GNU dependencies or other gcc specific features.
* MutableBuffer: added visibility flag to records and refactored timestampDouglas Rumbaugh2024-03-221-1/+5
|
* Disabled lookahead for paper revisionDouglas Rumbaugh2024-03-221-1/+1
|
* Updates/progress towards succinct trie supportDouglas Rumbaugh2024-03-201-2/+3
|
* ExtensionStructure: first basic test of lookahead task stealingDouglas Rumbaugh2024-02-121-1/+10
|
* ExtensionStructure: Added simulated reconstruction lookaheadDouglas Rumbaugh2024-02-121-28/+88
| | | | | The reconstruction task procedure can now simulate future reconstructions to a specified depth.
* MutableBuffer: Allow hwm to equal lwmDouglas Rumbaugh2024-02-121-1/+1
| | | | | The high watermark and low watermark can now be equal, to allow for blocking reconstruction without requiring odd buffer sizes.
* Refactored Reconstruction TasksDouglas Rumbaugh2024-02-121-15/+8
| | | | | Added a ReconVector type to make it easier to do load balancing by shifting tasks around, and clean up a few interfaces.
* Added structure state vector w/ scratch version for reconstructionDouglas Rumbaugh2024-02-121-55/+89
| | | | | | | | | | | | | This approach should allow us to "simulate" a reconstruction to monitor the future state of the structure. The idea being that we can then add pre-emptive reconstructions to load balance and further smooth the tail latency curve. If a given reconstruction is significantly smaller than the next one will be, we can move some of the next one's work preemptively into the current one. The next phase is to do the simulation within the scratch_vector and then do a second pass examining the state of that reconstruction. In principle, we could look arbitrarily far ahead using this technique.
* Comment updates/fixesDouglas Rumbaugh2024-02-093-29/+42
|
* Updated VPTree to new shard/query interfacesDouglas Rumbaugh2024-02-081-3/+0
|
* Fully realized shard concept interfaceDouglas Rumbaugh2024-02-072-3/+3
|
* Fully implemented Query concept and adjusted queries to use itDouglas Rumbaugh2024-02-072-3/+3
|
* BufferView: Adjusted BV to avoid repeated modulus operationsDouglas Rumbaugh2024-02-052-15/+48
|
* Insert throughput benchmarkDouglas Rumbaugh2024-01-311-1/+1
|
* Multiple concurrency bug fixesDouglas Rumbaugh2024-01-173-36/+50
| | | | | | | | A poorly organized commit with fixes for a variety of bugs that were causing missing records. The core problems all appear to be fixed, though there is an outstanding problem with tombstones not being completely canceled. A very small number are appearing in the wrong order during the static structure test.
* Concurrency testing and bug fixesDouglas B. Rumbaugh2024-01-151-1/+9
|
* Use 16-byte CAS to control buffer headDouglas B. Rumbaugh2024-01-151-61/+59
|
* Various single-threaded bug fixesDouglas B. Rumbaugh2024-01-152-8/+36
|
* Initial integration of new buffering scheme into frameworkDouglas Rumbaugh2024-01-122-29/+16
| | | | | It isn't working right now (lotsa test failures), but we're to the debugging phase now.
* BufferView.h: Hopefully the last necessary tweak to the move semantics stuffDouglas Rumbaugh2024-01-121-24/+2
| | | | | | | | You can't move assign an std::Bind, but you can move construct it. So I had to disable the move assignment operator. This means that when you change the BufferView ownership over to, say, a QueryBufferState object, you need to do it by passing std::move(buffview) into a constructor call only--you cannot assign it.
* InternalLevel update and testsDouglas Rumbaugh2024-01-112-16/+39
| | | | | Plus some assorted fixes for move semantics stuff in BufferView that accompanied these changes.
* BufferView: enforce move semanticsDouglas Rumbaugh2024-01-111-2/+19
| | | | | | Because a BufferView's lifetime is so tightly linked to the lifetime of regions of the buffer, it can't be copied without potentially breaking things.
* Fixed some potential buffer-related concurrency bugsDouglas Rumbaugh2024-01-112-57/+94
|