Jeff Washington (jwash)
6a474f29cd
default to disk index ( #24251 )
2022-04-13 09:24:50 -05:00
Jeff Washington (jwash)
1bc49d219d
IndexLimitMb option adds 'Unspecified' state ( #24249 )
2022-04-12 09:38:09 -05:00
Jeff Washington (jwash)
7ebf398ed7
AcctIdx: env var "SOLANA_TEST_ACCOUNTS_INDEX_MEMORY_LIMIT_MB" ( #23194 )
...
* AcctIdx: env var "SOLANA_TEST_ACCOUNTS_INDEX_MEMORY_LIMIT_MB"
* ignore env var when starting as validator
* Update runtime/src/bucket_map_holder.rs
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2022-02-22 09:40:12 -06:00
Brooks Prumo
04b76eb066
Use AtomicUsize for next_bucket_to_flush ( #22095 )
2022-01-03 10:35:35 -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)
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)
b80fd7566a
add worker threads during startup ( #20700 )
2021-10-15 10:40:36 -05:00
Jeff Washington (jwash)
4267419349
AcctIdx: sleep thread when enough threads are running to complete the remaining work ( #20446 )
2021-10-05 16:48:23 -05:00
Jeff Washington (jwash)
bd9b2f6f39
AcctIdx: throttling bg flushing to spread out work over interval ( #20176 )
...
* AcctIdx: throttling bg flushing to spread out work over interval
* prevent hang
2021-09-29 07:42:54 -05:00
Jeff Washington (jwash)
320beb76f6
AcctIdx: implement wait_for_idle ( #20256 )
2021-09-28 11:07:19 -05:00
Jeff Washington (jwash)
e50a26e6cf
AcctIdx: add age_interval_ms() to remove constant use ( #20264 )
2021-09-28 01:22:07 +00:00
Jeff Washington (jwash)
8266864adc
AcctIdx: maybe advance age when a bg thread wakes up ( #20250 )
...
* fix math error with stats calc
* AcctIdx: maybe report stats when a bg thread wakes up
2021-09-27 18:39:41 +00:00
Jeff Washington (jwash)
025261c05e
AcctIdx: when no disk index, always wait for stats ( #20248 )
2021-09-27 11:24:36 -05:00
Jeff Washington (jwash)
c6d189dac2
bg threads wait until next expected event ( #20126 )
2021-09-24 16:00:41 -05:00
Jeff Washington (jwash)
122206dbb1
AcctIdx: bg loop sleeps when all buckets flushed at current age ( #20168 )
2021-09-24 13:19:06 -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)
093dd68214
AcctIdx: stats for how much time bg threads wait ( #20127 )
2021-09-23 18:37:14 +00:00
Jeff Washington (jwash)
4fb77183ef
AcctIdx: move background() to bucket holder ( #20085 )
2021-09-22 17:40:30 +00:00
Jeff Washington (jwash)
804ed825f7
AcctIdx: rework timing of bg loop ( #20077 )
2021-09-22 09:39:49 -05:00
Jeff Washington (jwash)
9e9417b474
AcctIdx: initialze stats with # bins ( #20088 )
2021-09-22 08:55:07 -05:00
Jeff Washington (jwash)
7f3d445af5
AcctIdx: Orderings and cleanup ( #20046 )
2021-09-21 10:52: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)
e9ee90a121
AcctIdx: age adds time component ( #20024 )
2021-09-20 14:29:34 -05:00
Jeff Washington (jwash)
e6934e7247
AcctIdx: consolidate to correct CondVar ( #20017 )
2021-09-20 09:58:20 -05:00
Jeff Washington (jwash)
2a42f8a06e
AcctIdx: disk index now holds a bucket map ( #19995 )
2021-09-20 08:40:10 -05:00
Jeff Washington (jwash)
af5b0d42a8
AcctIdx: initial index items have future age to flush ( #20010 )
2021-09-19 20:22:09 -05:00
Jeff Washington (jwash)
c1d181add5
add --accounts-index-memory-limit-mb ( #19269 )
2021-09-19 18:00:15 -05:00
Jeff Washington (jwash)
742155c214
call set_startup and add metrics on generate_index ( #20006 )
2021-09-18 22:08:58 -05:00
Jeff Washington (jwash)
db40d06a39
AcctIdx: introduce startup to bucket map ( #20004 )
2021-09-18 12:55:57 -05:00
Jeff Washington (jwash)
f500c99a6d
pass AcctIdxConfig to BucketMapHolder ( #19997 )
2021-09-18 09:54:00 -05:00
Jeff Washington (jwash)
cddb9da4f0
AcctIdx: central age functions/state ( #19980 )
2021-09-17 15:11:07 -05:00
Jeff Washington (jwash)
376b20c3d2
AcctIdx: add some bucket flush helpers ( #19965 )
2021-09-17 10:41:30 -05:00
Jeff Washington (jwash)
58f25a8752
AcctIdx: move background() to AccountsIndexStorage ( #19948 )
2021-09-16 17:52:06 -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)
b467e7fb3b
AcctIdx: remove auto Debug trait ( #19905 )
2021-09-15 09:54:16 -05:00
Jeff Washington (jwash)
fc647eed19
introduce trait IndexValue for accounts index ( #19859 )
2021-09-14 17:51:07 -05:00
Jeff Washington (jwash)
910f241c3f
add <T> through accounts index ( #19852 )
2021-09-13 22:59:03 -05:00
Jeff Washington (jwash)
3617d43e76
accounts index stats ( #19797 )
2021-09-12 22:14:59 +00:00