Jeff Washington (jwash)
7c086ca42d
add DiskIndexValue trait for disk index ( #30503 )
2023-02-24 11:02:06 -08:00
Jeff Washington (jwash)
e39626ab14
add second type to accounts index for disk ( #30446 )
2023-02-23 13:05:06 -08:00
behzad nouri
5c9beef498
fixes errors from clippy::useless_conversion ( #29534 )
...
https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
2023-01-05 18:05:32 +00:00
behzad nouri
9524c9dbff
patches errors from clippy::uninlined_format_args
...
https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
2022-12-06 19:32:15 +00:00
Jeff Washington (jwash)
765c628546
use exit signal for acct idx bg threads ( #27483 )
2022-09-12 11:51:12 -07:00
Michael Vines
3f4731b37f
Standardize thread names
...
Tenets:
1. Limit thread names to 15 characters
2. Prefix all Solana-controlled threads with "sol"
3. Use Camel case. It's more character dense than Snake or Kebab case
2022-08-20 07:49:39 -07:00
Jeff Washington (jwash)
ae37359b6b
AcctIdx: only advance age on thread 0 ( #25943 )
2022-06-14 21:43:42 -05:00
Jeff Washington (jwash)
7b89222fde
don't start extra threads for shrink/clean/hash ( #23858 )
2022-03-23 11:53:37 -05:00
Jeff Washington (jwash)
dd69f3baf5
throttle index adding to allow disk flushing to keep up and reduce startup ram usage ( #23773 )
2022-03-20 19:56:20 -05: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)
bc50fd4ad6
allocate threads for accounts idx based on cpus ( #20118 )
2021-09-27 11:25: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)
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)
bbe151e594
AcctIdx: only flush if disk index being used ( #20045 )
2021-09-21 08:42:13 -05:00
Jeff Washington (jwash)
6399a87485
AcctIdx: report age in stats ( #20025 )
2021-09-20 14:30:12 -05:00
Jeff Washington (jwash)
d842705622
AcctIdx: when bg processing in multiple threads, avoid bin collisions ( #20019 )
2021-09-20 11:50:22 -05:00
Jeff Washington (jwash)
e6934e7247
AcctIdx: consolidate to correct CondVar ( #20017 )
2021-09-20 09:58:20 -05:00
Jeff Washington (jwash)
bc7983b13e
AcctIdx: metric for active bg threads ( #20026 )
2021-09-20 09:44:40 -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)
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)
4089f8b06b
AcctIdx: with multiple bg threads, only log stats once per time interval ( #19984 )
2021-09-18 09:55:20 -05:00
Jeff Washington (jwash)
f500c99a6d
pass AcctIdxConfig to BucketMapHolder ( #19997 )
2021-09-18 09:54:00 -05:00
Jeff Washington (jwash)
24b136a993
AcctIdx: configurable flush threads ( #19983 )
2021-09-17 22:02:43 +00:00
Jeff Washington (jwash)
9998e16df3
AcctIdx: prepare to spin up multiple bg threads ( #19969 )
2021-09-17 11:53:25 -05:00
Jeff Washington (jwash)
37d6f5013f
AcctIdx: initialize acct idx by config ( #19968 )
2021-09-17 16:39:41 +00: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