John Sully
|
f106327e4e
|
Don't sync too often it hurts perf
Former-commit-id: a20e89a457a0a682483c22f0f1cdb5c93c574d28
|
2021-05-03 04:15:46 +00:00 |
|
John Sully
|
3469890ac4
|
Fix remaining test failures
Former-commit-id: 37e607f9b13b6601ff52e74e613fb369cab22b56
|
2021-05-03 02:37:02 +00:00 |
|
John Sully
|
915ab02c5d
|
Fix issue where async load thread misses work
Former-commit-id: a24a7b093295c5f5d69feee9fbc37c64cfa8aa03
|
2021-04-30 18:48:23 +00:00 |
|
John Sully
|
f4159146c8
|
Fix majority of test issues with multithread load
Former-commit-id: 4db88176e33e3615ffb90852b49e76b12d5b4622
|
2021-04-30 18:45:37 +00:00 |
|
John Sully
|
3023bf4e6e
|
Initial implementation of multithread load
Former-commit-id: 87b0657c3acd7a3c89964afe1702851b44467c9a
|
2021-04-30 17:32:54 +00:00 |
|
John Sully
|
0c7589580d
|
Optimize freeMemory by lazy freeing objects
Former-commit-id: cca31ed5ee2f42975f0051cfabf1e88720b3d678
|
2021-04-21 01:20:13 +00:00 |
|
John Sully
|
0adcb82652
|
Better RocksDB perf tuning
Former-commit-id: cbe1e0a7c1b5dc49c1adff07b7c32042e673acf4
|
2021-04-21 01:19:44 +00:00 |
|
John Sully
|
da1360383c
|
Fix issue where we reply a dangling pointer
Former-commit-id: fd11e490c39fe876d979eace5eaec56c645cdfcf
|
2021-04-21 01:19:29 +00:00 |
|
John Sully
|
0441c4c1fa
|
_dictExpandIfNeeded is called too late to be useful
Former-commit-id: 7f75ca5d3a9ed47465bceb22f5f74fd6f0760008
|
2021-04-21 01:18:38 +00:00 |
|
John Sully
|
e541d82e1f
|
Make prefetch more aggressive
Former-commit-id: 9cb0be197fb96d7fb3cb697c19b5be313b01337a
|
2021-04-12 03:24:05 +00:00 |
|
John Sully
|
c070f6ece2
|
Don't prefetch when lock contention is low, it increases latency
Former-commit-id: 9b2629f6a20368cec8e55f0d006f3a67c8b770b7
|
2021-04-12 03:23:49 +00:00 |
|
John Sully
|
5b53c8e88e
|
Reduce P99 latency with async rehash
Former-commit-id: 6c045837c7cf92dc92be35465229b482e09e46d2
|
2021-04-12 03:22:22 +00:00 |
|
John Sully
|
9d0001ae7c
|
Make prefetch configurable
Former-commit-id: 16996c048042bd3799c8051645bbe7c54137d54c
|
2021-04-08 19:52:38 +00:00 |
|
John Sully
|
5d924bf16a
|
Avoid posting unnecessary async tasks
Former-commit-id: 08f63fdfd6c78388bba093ec2edda7d77fc9173e
|
2021-04-07 17:41:20 +00:00 |
|
John Sully
|
c0e80ffcda
|
Fix issue where GC is not free'd until a BGSAVE
Former-commit-id: e19350005b571591876e49219bfca75e905604a5
|
2021-04-07 17:30:59 +00:00 |
|
John Sully
|
86a5b2fbc7
|
Reduce connection latency for cluster clients
Former-commit-id: f1acee99bdaee4faf9e18cdf4734d51a73e78a41
|
2021-04-07 15:49:58 +00:00 |
|
John Sully
|
1bf5477602
|
Fix build break from merge conflicts
Former-commit-id: 5052388bd43b0e42430fd741fb2b403544684246
|
2021-04-07 15:25:22 +00:00 |
|
John Sully
|
d832ebb221
|
Merge branch 'keydbpro' of https://gitlab.eqalpha.com/external-collab/keydb-pro-6 into keydbpro_collab
Former-commit-id: e077756b140855cb5a7e60567abf845dbfbc162d
|
2021-04-07 15:14:59 +00:00 |
|
jsully
|
59a9e93abb
|
Merge branch 'flash_read_perf' into 'keydbpro'
Flash read perf
See merge request external-collab/keydb-pro-6!1
Former-commit-id: f6d7277f307b78f079dd99bf532cd26a7b62018d
|
2021-04-07 06:12:55 +00:00 |
|
Cloud User
|
6684f150d6
|
Make high pri time thread configurable
Former-commit-id: 7e94207765d2166f46792aea0919786f3f30d7b3
|
2021-04-06 22:39:20 +00:00 |
|
John Sully
|
f8cf5d3e88
|
Don't ensure if we don't have to
Former-commit-id: b7b678a3ada531890e67313c867b7b49b01fe41e
|
2021-04-01 18:17:05 +00:00 |
|
jsully
|
c6cea9d84f
|
Merge branch 'keydbpro' into 'flash_read_perf'
# Conflicts:
# src/db.cpp
# src/networking.cpp
Former-commit-id: e16c846b2b9e70f20981172287b19e585f81d73d
|
2021-04-01 17:25:31 +00:00 |
|
John Sully
|
98f27709c6
|
Fix crash in RDB save
Former-commit-id: b032809b3e978fe571b791179d32ecdc9c067045
|
2021-03-30 20:49:33 +00:00 |
|
John Sully
|
a0ea81d682
|
Prevent unnecessary copies in replication scenarios
Former-commit-id: b152a9bd88c081ce98eebe9a7af49649e60e5523
|
2021-03-28 22:43:15 +00:00 |
|
John Sully
|
84e07e5d24
|
Make some asserts debug only for perf
Former-commit-id: dc66209f2cf8eadb794dad302bd1ea92890e75b0
|
2021-03-28 21:08:48 +00:00 |
|
John Sully
|
2e3fd28dcb
|
Excessive rehashing adds latency
Former-commit-id: ee5a4528d61420a18f89a07f4ac63e2181a19738
|
2021-03-28 20:22:01 +00:00 |
|
John Sully
|
15d9f45b4e
|
Fix thread safety issues with the cache prefetch logic
Former-commit-id: 4892122fc02109d98684a350bd732a0b08a8c7b4
|
2021-03-28 20:21:44 +00:00 |
|
John Sully
|
01fb2a99bd
|
Prefetch keys even in pure RAM scenarios
Former-commit-id: d7219de186d60a5a437c1828ac97117eaad34819
|
2021-03-28 20:21:31 +00:00 |
|
John Sully
|
1da03185e6
|
Eliminate unnecessary lookup in ensure when there is no snapshot
Former-commit-id: 1f363ed7c13c186f0c120ab4f3e321144667f50f
|
2021-03-28 20:19:15 +00:00 |
|
John Sully
|
f0f4377822
|
Enable LTO
Former-commit-id: 3ec75184bae92c0e7af579eda8cbe6cfa2375327
|
2021-03-28 20:13:54 +00:00 |
|
John Sully
|
3d501dfb11
|
Fix bug where we skip valid dict elements in dictGetRandomKey
Former-commit-id: c25a9a3b84c967428b3598c99a65b14ed2417571
|
2021-03-26 01:18:39 +00:00 |
|
John Sully
|
0c414b80c1
|
Don't run code in evict unless we really have to
Former-commit-id: b665b1c2b2df96883a6e2237f7bf3f9b1bec2a89
|
2021-03-24 20:13:42 +00:00 |
|
John Sully
|
e94095913d
|
Bump RocksDB version for better perf
Former-commit-id: ab4ae61b9c54b3c28dc5fd775d0df3d377c4846a
|
2021-03-24 20:12:43 +00:00 |
|
John Sully
|
d048d763b6
|
Fix bug where we skip valid dict elements in dictGetRandomKey
Former-commit-id: 291a3610a679cb1d17caadf6ab067cad41885935
|
2021-03-24 19:58:51 +00:00 |
|
John Sully
|
98ca9892c3
|
Perform GET command inline
Former-commit-id: 5623936d99e334ab103f3dc1541b145c125d0ee8
|
2021-03-23 03:44:20 +00:00 |
|
John Sully
|
4f06fb2b4f
|
Make async rehash behave with snapshots (thread safety issues)
Former-commit-id: 372adf39a80252b8035e3c948fcaf7d5ef6f928f
|
2021-03-16 02:38:41 +00:00 |
|
John Sully
|
25f56c59b0
|
Remove snapshot consolidation because its not properly thread safe
Former-commit-id: dcb86d2b92e3ecdb9f914b6f5de9e184cdd23036
|
2021-03-16 02:37:49 +00:00 |
|
John Sully
|
6b579db919
|
Fix TSAN errors in tests
Former-commit-id: 30207d2ab34f175b94f430f97581191343d23f1e
|
2021-03-16 02:29:24 +00:00 |
|
John Sully
|
712e524ea2
|
Support deletes in the monkey
Former-commit-id: 84101aaa1bd0c89fbaffc11a264788cd75458c48
|
2021-03-15 19:41:38 +00:00 |
|
John Sully
|
8de2349fd6
|
Add the monkey script to enhance testing
Former-commit-id: 57ce7b9e9976ca6827415d756ea3cabef1a0d615
|
2021-03-15 15:32:43 +00:00 |
|
John Sully
|
96ab9c58ae
|
We can't swap databases if there are async rehashes
Former-commit-id: 4b8967f94667309c5585032db7403bf4c8885145
|
2021-03-15 05:46:52 +00:00 |
|
John Sully
|
f4eae316b2
|
Enable more asserts to better validate snapshots
Former-commit-id: 01113e2eec3a0dbe0d07f98289a0050df7713047
|
2021-03-14 23:40:41 +00:00 |
|
John Sully
|
718c31000e
|
Fix incorrect memory order on refcounted strings
Former-commit-id: fcf3368b1d56ad7a11e510e5a66e415a46277e8b
|
2021-03-14 19:42:56 +00:00 |
|
John Sully
|
1f1f5bdc91
|
Avoid queuing null pointers to be freed
Former-commit-id: f50541d437cd1d98139c29407bb3fb4d6ce17fca
|
2021-03-14 03:22:10 +00:00 |
|
John Sully
|
b4d0679232
|
Ensure the hash is passed through when moving tombstones
Former-commit-id: 91c8d2d38a33175c64c987b75e94c4b8782a3cdc
|
2021-03-14 03:21:09 +00:00 |
|
John Sully
|
b678ff7d3e
|
Reduce log spam
Former-commit-id: a5ba7bdde5435ad5b7cf066e0b45f6df1f784808
|
2021-03-14 03:19:41 +00:00 |
|
John Sully
|
5a53d87cb5
|
Remove rarely used bug-prone code paths from tricky snapshot code
Former-commit-id: dff84228afb97962d77caefe948154090dd5ce23
|
2021-03-14 03:19:04 +00:00 |
|
John Sully
|
49cc53508d
|
Add checked build support to makefile
Former-commit-id: 7e27c371679d780137a5d39b03b9472651ddf686
|
2021-03-14 03:18:24 +00:00 |
|
John Sully
|
abbf83e8be
|
If we're clearing the command queue we need to reset the parse length
Former-commit-id: 19068f990a77fb428a50a8f751ed6f8cf59a8a74
|
2021-03-10 02:53:52 +00:00 |
|
John Sully
|
f86dee6eb3
|
When we add a delay to rdb save for test purposes we still need to check for aborts
Former-commit-id: b057b4d05aae6c08b855bfc9ae48d41ad0e881f8
|
2021-03-10 02:53:15 +00:00 |
|