Jeff Washington (jwash)
|
89ba3ff139
|
log fail to evict (#23815)
|
2022-03-22 09:19:38 -05:00 |
Jeff Washington (jwash)
|
24f6855f86
|
AcctIdx: only remove a fixed number of items per write lock (#23795)
|
2022-03-21 16:55:04 -05:00 |
Jeff Washington (jwash)
|
965ab9186d
|
AcctIdx: fix infinite loop (#23806)
|
2022-03-21 10:58:36 -05:00 |
Jeff Washington (jwash)
|
258db77100
|
AcctIdx: factor 'scan' out of flush_internal (#23777)
|
2022-03-20 22:00:38 -05:00 |
Jeff Washington (jwash)
|
df29276eb0
|
AcctIdx: remove -> evict (#23775)
|
2022-03-18 17:13:21 -05:00 |
Jeff Washington (jwash)
|
998e7d18f9
|
AcctIdx: never retry a bucket flush (#23732)
|
2022-03-18 12:20:42 -05:00 |
Jeff Washington (jwash)
|
857576d76f
|
AcctIdx: move write to disk outside in mem write lock (#23731)
|
2022-03-17 23:09:41 -05:00 |
Jeff Washington (jwash)
|
664deb2157
|
AcctIdx: get rid of unused is_dirty (#23733)
|
2022-03-17 16:29:36 -05:00 |
Jeff Washington (jwash)
|
66b1f55351
|
AcctIdx: cheaper check for should evict while flushing (#23705)
|
2022-03-17 08:46:32 -05:00 |
Jeff Washington (jwash)
|
3a46f45650
|
AcctIdx: add stats for flushing and estimated memory (#23709)
|
2022-03-17 08:46:00 -05:00 |
Jeff Washington (jwash)
|
be0aeea01a
|
AcctIdx: check for range holds outside lock (#23706)
|
2022-03-16 17:44:59 -05:00 |
Jeff Washington (jwash)
|
caddb851be
|
acct idx flush keeps slot_list read lock open (#23704)
|
2022-03-16 17:29:04 -05:00 |
Brooks Prumo
|
11be3fb7fa
|
Add FlushGuard to ensure `flushing_active` is used safely (#23571)
|
2022-03-14 10:35:00 -05:00 |
Brooks Prumo
|
1fe0d6eeeb
|
Set ordering flushing_active.swap() to AcqRel (#23567)
|
2022-03-10 01:22:42 +00:00 |
Jeff Washington (jwash)
|
a99fd09c16
|
allow index update to change storage slot # (#23311)
|
2022-03-03 08:40:48 -06:00 |
Jeff Washington (jwash)
|
f0a235d16f
|
add comment (#23378)
|
2022-02-28 15:18:42 -06:00 |
Jeff Washington (jwash)
|
30dafc7135
|
list -> slot_list (#23355)
|
2022-02-27 23:08:58 -06:00 |
Jeff Washington (jwash)
|
0ad4757159
|
plumbing for 'other_slot' in 'update_index' (#23330)
|
2022-02-25 12:58:08 -06:00 |
Jeff Washington (jwash)
|
017170c99d
|
DiskIdx: new items are not dirty by default (#23123)
|
2022-02-24 10:17:35 -06:00 |
Jeff Washington (jwash)
|
2996f1f783
|
add comments (#23275)
|
2022-02-23 10:53:11 -06:00 |
Jeff Washington (jwash)
|
8b32e80ee2
|
DiskIdx: rename 'remove' to 'evict' (#23188)
|
2022-02-22 09:40:25 -06:00 |
Jeff Washington (jwash)
|
c2435363f3
|
DiskIdx: fix race condition with holding ranges in mem (#23158)
|
2022-02-16 09:25:00 -06:00 |
Michael Vines
|
6d5bbca630
|
Pacify clippy
|
2022-01-21 19:12:57 -08:00 |
Jeff Washington (jwash)
|
61cc7b10a9
|
AcctIdx: respect disk idx mem size param (#22050)
|
2021-12-22 09:54:05 -06:00 |
Jeff Washington (jwash)
|
8ed7ad5fa7
|
AcctIdx: hold range recognizes already held ranges (#21937)
|
2021-12-17 10:04:41 -06:00 |
Jeff Washington (jwash)
|
729698e815
|
AcctIdx: items() uses held ranges (#21954)
|
2021-12-17 09:59:29 -06:00 |
Jeff Washington (jwash)
|
c4389a6675
|
AcctIdx: held ranges search in lifo order (#21964)
|
2021-12-16 23:25:22 -06:00 |
Jeff Washington (jwash)
|
ba777f4f56
|
AcctIdx: remove Option from held ranges (#21958)
|
2021-12-16 21:22:04 -06:00 |
Jeff Washington (jwash)
|
82672b40fd
|
AcctIdx: streamline metric update (#21936)
|
2021-12-15 19:52:23 -06:00 |
Tyera Eulberg
|
80eae20610
|
Fix master fmt
|
2021-12-10 11:33:39 -07:00 |
axleiro
|
622fd7c7ec
|
testing for the latest changes
|
2021-12-10 19:44:22 +05:30 |
Jeff Washington (jwash)
|
58a7d3fc0e
|
AcctIdx: disable direct to disk for filler account upsert (#21710)
|
2021-12-09 10:14:57 -06:00 |
Jeff Washington (jwash)
|
e020960f49
|
AcctIdx: generate index goes to mem not disk (#21709)
|
2021-12-08 19:48:12 -06:00 |
Jeff Washington (jwash)
|
181c0092d6
|
AcctIdx: resize in-mem after startup for disk index (#21676)
|
2021-12-08 16:52:22 -06:00 |
Michael Vines
|
b8837c04ec
|
Reformat imports to a consistent style for imports
rustfmt.toml configuration:
imports_granularity = "One"
group_imports = "One"
|
2021-12-03 09:19:13 -08:00 |
Jeff Washington (jwash)
|
8dfa83c579
|
AcctIdx: minor code cleanup (#21547)
|
2021-12-02 11:05:54 -06:00 |
Jeff Washington (jwash)
|
c8a52337c8
|
AcctIdx: remove unused function (#21546)
|
2021-12-01 17:14:49 -06:00 |
Jeff Washington (jwash)
|
b108d7ddaa
|
AcctIdx: insert goes directly to disk to avoid unnecessary allocations (#21490)
* AcctIdx: upsert avoids unnecessary allocation (during startup)
* feedback
|
2021-12-01 10:21:01 -06:00 |
Jeff Washington (jwash)
|
7ec88226ee
|
AcctIdx: stats are usize (#21493)
* AcctIdx: stats are usize
* rename test function
|
2021-11-30 11:35:21 -06:00 |
Jeff Washington (jwash)
|
b87ebf9e58
|
AcctIdx: PreAllocatedAccountMapEntry does not make unnecessary Arc (#21364)
|
2021-11-22 15:52:45 -06:00 |
Jeff Washington (jwash)
|
ebea3297f9
|
AcctIdx: generate index inserts/updates directly to disk (#21363)
* when initially creating account index, write directly to disk
* AcctIdx: generate index inserts/updates directly to disk
|
2021-11-19 17:17:07 -06:00 |
Jeff Washington (jwash)
|
4d6190a1ba
|
change bg waiting metrics to percent (#20955)
* Revert part of "AcctIdx: cleanup bg threads (#20731)"
This reverts part of commit 47de4f31b6 .
* change bg waiting metrics to percent
|
2021-10-26 15:09:17 -05:00 |
Jeff Washington (jwash)
|
47de4f31b6
|
AcctIdx: cleanup bg threads (#20731)
|
2021-10-15 16:15:11 -05:00 |
Jeff Washington (jwash)
|
9d62963240
|
AcctIdx: get_internal allows not adding to in_mem (#20716)
|
2021-10-15 13:04:05 -05:00 |
Jeff Washington (jwash)
|
9b042fed30
|
AcctIdx: support unref first class for perf (#20638)
|
2021-10-14 08:36:53 -05:00 |
Jeff Washington (jwash)
|
7631011d8c
|
AcctIdx: add flush remove stat (#20625)
|
2021-10-12 16:13:32 -05:00 |
Jeff Washington (jwash)
|
0da677e213
|
AcctIdx: write disk only when removing from mem (#20578)
|
2021-10-11 14:47:06 -05:00 |
Jeff Washington (jwash)
|
8cf222b8bd
|
AcctIdx: combine if (#20545)
|
2021-10-10 13:48:18 -05:00 |
Jeff Washington (jwash)
|
33d8c07364
|
AcctIdx: combine scan and update loops (#20546)
|
2021-10-10 13:47:52 -05:00 |
Jeff Washington (jwash)
|
0545306f0c
|
AcctIdx: remove stats from write lock section (#20548)
|
2021-10-08 15:27:38 -05:00 |
Jeff Washington (jwash)
|
2c3d52b4cc
|
AcctIdx: avoid overcounting inserts (#20544)
|
2021-10-08 13:57:47 -05:00 |
Jeff Washington (jwash)
|
d03bf2bbfe
|
AcctIdx: metrics fixes (#20449)
|
2021-10-05 22:26:29 +00:00 |
Jeff Washington (jwash)
|
0d98a91511
|
AcctIdx: metric for bucket grow time (#20445)
|
2021-10-05 20:22:01 +00:00 |
Jeff Washington (jwash)
|
8da2eb980a
|
AcctIdx: introduce BucketApi for access to a specific bucket (#20359)
|
2021-10-04 11:48:09 -05:00 |
Jeff Washington (jwash)
|
e31c065544
|
AcctIdx: when disk index insert needs to grow, drop locks, grow, then restart flush (#20333)
|
2021-09-30 19:27:09 -04:00 |
Jeff Washington (jwash)
|
8db9586599
|
AcctIdx: randomly evict items from in mem (#20319)
|
2021-09-30 02:51:54 +00:00 |
Jeff Washington (jwash)
|
5e05f12c48
|
AcctIdx: bucket perf improvements (#20328)
|
2021-09-30 01:53:26 +00:00 |
Jeff Washington (jwash)
|
2ec74474e9
|
AcctIdx: optimize should_remove_from_mem (#20327)
|
2021-09-29 16:41:54 -05:00 |
Jeff Washington (jwash)
|
062d8e6c5a
|
AcctIdx: fix logic on should_remove_from_mem (#20302)
|
2021-09-29 13:07:40 +00:00 |
Jeff Washington (jwash)
|
af309c126c
|
AcctIdx: refactor get to use more refs (#20268)
|
2021-09-28 00:18:36 +00:00 |
Jeff Washington (jwash)
|
f6812523cd
|
handle race condition with flush and delete (#20255)
|
2021-09-27 16:55:15 -05:00 |
Jeff Washington (jwash)
|
bbd2f9672d
|
clone -> Arc::clone to make cost clear (#20262)
|
2021-09-27 16:49:53 -05:00 |
Jeff Washington (jwash)
|
e4795ae7ed
|
AcctIdx: keep cached or multiple slot lists in cache (#20257)
|
2021-09-27 16:09:26 -05:00 |
Jeff Washington (jwash)
|
833f7761d2
|
AcctIdx: upsert uses get from mem first (#20186)
|
2021-09-27 11:23:53 -05:00 |
Jeff Washington (jwash)
|
1d13594c1c
|
AcctIdx: store # threads in BucketHolder. Used later. (#20151)
|
2021-09-23 19:56:44 -05:00 |
Jeff Washington (jwash)
|
b3bb079d9f
|
AcctIdx: condense upsert to always use read lock (#20148)
|
2021-09-23 19:19:27 -05:00 |
Jeff Washington (jwash)
|
2ae1e80013
|
AcctIdx: items needs to load from disk (#20138)
|
2021-09-23 17:33:54 -05:00 |
Jeff Washington (jwash)
|
254d9c8903
|
range takes a ref (#20140)
|
2021-09-23 13:57:56 -05:00 |
Jeff Washington (jwash)
|
fe28f17718
|
AcctIdx: startup causes us to flush remove everything asap (#20121)
|
2021-09-23 12:17:52 -05:00 |
Jeff Washington (jwash)
|
5dae615208
|
AcctIdx: set age of cache accesses to future (#20125)
|
2021-09-23 11:43:48 -05:00 |
Jeff Washington (jwash)
|
fb55e9a9b6
|
AcctIdx: when stop_flush is disabled, prepare to age (#20113)
|
2021-09-23 11:42:32 -05:00 |
Jeff Washington (jwash)
|
5bbb0da7b8
|
AcctIdx: stats for in-mem (#20114)
|
2021-09-23 08:14:53 -05:00 |
Jeff Washington (jwash)
|
cb9d93525b
|
AcctIdx: metrics for loading from disk (#20124)
|
2021-09-23 08:14:08 -05:00 |
Jeff Washington (jwash)
|
4d3e32803f
|
AcctIdx: PreAllocatedAccountMapEntry (#20117)
|
2021-09-23 08:11:32 -05:00 |
Jeff Washington (jwash)
|
f7eebadbed
|
AcctIdx: remove old items from cache (#20076)
|
2021-09-22 21:37:15 +00:00 |
Jeff Washington (jwash)
|
0eb0d7f73b
|
AcctIdx: consolidate lock_and_update_slot_list (#20090)
|
2021-09-22 18:40:19 +00:00 |
Jeff Washington (jwash)
|
bbd7bc2985
|
AcctIdx: Fix bad test (#20115)
|
2021-09-22 12:39:31 -05:00 |
Jeff Washington (jwash)
|
681d6d121e
|
AcctIdx: 2 upserts use disk (#20072)
|
2021-09-22 11:14:08 -05:00 |
Jeff Washington (jwash)
|
deab944b30
|
AcctIdx: flush inserts to disk (#20074)
|
2021-09-22 09:55:40 -05:00 |
Jeff Washington (jwash)
|
a6aef76f52
|
AcctIdx: put_range_in_cache loads from disk (#20073)
|
2021-09-22 09:37:34 -05:00 |
Jeff Washington (jwash)
|
b918c2f4cd
|
AcctIdx: remove_if_slot_list_empty uses disk backing (#20069)
|
2021-09-22 08:48:44 -05:00 |
Jeff Washington (jwash)
|
6c518102dd
|
AcctIdx: fix some missing dirty calls (#20089)
|
2021-09-22 08:45:08 -05:00 |
Jeff Washington (jwash)
|
e6795e6fdd
|
AcctIdx: get can load from disk (#20067)
|
2021-09-21 12:40:07 -05:00 |
Jeff Washington (jwash)
|
38ea3aa31a
|
AcctIdx: keys impl when items are on disk (#20039)
|
2021-09-21 08:41:39 -05:00 |
Jeff Washington (jwash)
|
c3679ab9bd
|
AcctIdx: first pass at aging buckets (#20008)
|
2021-09-21 08:40:55 -05:00 |
Jeff Washington (jwash)
|
94330de843
|
AcctIdx: delete from disk index (#20035)
|
2021-09-20 16:19:21 -05:00 |
Jeff Washington (jwash)
|
e6934e7247
|
AcctIdx: consolidate to correct CondVar (#20017)
|
2021-09-20 09:58:20 -05:00 |
Jeff Washington (jwash)
|
f579f73700
|
AcctIdx: introduce age per in-mem bucket (#19982)
|
2021-09-18 22:09:37 -05:00 |
Jeff Washington (jwash)
|
8df8f4396d
|
AcctIdx: start calling flush on in mem cache buckets (#19966)
* AcctIdx: start calling flush on in mem cache buckets
* fix orderings
|
2021-09-18 09:56:08 -05:00 |
Jeff Washington (jwash)
|
f500c99a6d
|
pass AcctIdxConfig to BucketMapHolder (#19997)
|
2021-09-18 09:54:00 -05:00 |
Jeff Washington (jwash)
|
4dc2f08198
|
AcctIdx: hold_range_in_memory (#19955)
|
2021-09-17 22:19:29 +00:00 |
Jeff Washington (jwash)
|
4d8b3aa578
|
AcctsIdx: introduce dirty state per pubkey (#19960)
|
2021-09-16 21:36:23 -05:00 |
Jeff Washington (jwash)
|
66e0fafc21
|
AccountsIndexStorage holds InMemAccountsIndex[] (#19947)
|
2021-09-16 21:12:22 +00:00 |
Jeff Washington (jwash)
|
eddd583cd5
|
AcctIdx: pass bins to BucketMapHolder (#19906)
|
2021-09-15 18:07:53 +00:00 |
Jeff Washington (jwash)
|
99f2c746d1
|
AcctIdx: Put InMemAcctIndex behind arc (#19904)
|
2021-09-15 17:36:08 +00:00 |
Jeff Washington (jwash)
|
b467e7fb3b
|
AcctIdx: remove auto Debug trait (#19905)
|
2021-09-15 09:54:16 -05:00 |
Jeff Washington (jwash)
|
d3c80be7d5
|
AcctIdx: use stats() accessor (#19890)
|
2021-09-15 05:28:44 +00:00 |
Jeff Washington (jwash)
|
691bea8776
|
extract map to map() (#19883)
|
2021-09-14 23:08:17 -05:00 |
Jeff Washington (jwash)
|
229b378ed1
|
in-mem acct idx hash map uses rwlock (#19878)
|
2021-09-14 18:01:34 -05:00 |
Jeff Washington (jwash)
|
fc647eed19
|
introduce trait IndexValue for accounts index (#19859)
|
2021-09-14 17:51:07 -05:00 |