Bump up the nr of blocks in the cache from 64 to 1024.
This commit is contained in:
parent
08c5fde04f
commit
0dba0abe88
@ -344,7 +344,7 @@ block_manager<BlockSize>::block_manager(std::string const &path,
|
|||||||
unsigned max_concurrent_blocks,
|
unsigned max_concurrent_blocks,
|
||||||
typename block_io<BlockSize>::mode mode)
|
typename block_io<BlockSize>::mode mode)
|
||||||
: io_(new block_io<BlockSize>(path, nr_blocks, mode)),
|
: io_(new block_io<BlockSize>(path, nr_blocks, mode)),
|
||||||
cache_(max(64u, max_concurrent_blocks)),
|
cache_(max(1024u, max_concurrent_blocks)),
|
||||||
tracker_(0, nr_blocks)
|
tracker_(0, nr_blocks)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user