Skip to content

Commit 3c8a7f7

Browse files
kkasperczyk-noanangl
authored andcommitted
[nrf noup] subsys: nvs: Increased default NVS cache size to 512 B.
The default cache size is 128, what results in plenty of conflicts in positions calculated by the CRC8 algorithm. It is solved by increasing cache size, as it changes used algorithm to CRC16 and reduces number of conflicts. Signed-off-by: Kamil Kasperczyk <[email protected]>
1 parent af4d2d0 commit 3c8a7f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/fs/nvs/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ config NVS_LOOKUP_CACHE
1919

2020
config NVS_LOOKUP_CACHE_SIZE
2121
int "Non-volatile Storage lookup cache size"
22-
default 128
22+
default 512
2323
range 1 65536
2424
depends on NVS_LOOKUP_CACHE
2525
help

0 commit comments

Comments
 (0)