Set default --io_block_size to 64K
--io_block_size determines the buffer size for each read/write in ThreadedIO. A big io_block_size does not help much as long as --io_cache_size is big enough. Instead, it may cause problems. For example, Linux pipes block until reading io_block_size number of bytes, which causes a large delay when reading audio streams. Change-Id: I5bdd3d61388579c7e8647cdab3152135a40a752b
This commit is contained in:
parent
36a7c7d935
commit
2fee1e673b
|
@ -27,7 +27,7 @@ DEFINE_uint64(io_cache_size,
|
|||
"Size of the threaded I/O cache, in bytes. Specify 0 to disable "
|
||||
"threaded I/O.");
|
||||
DEFINE_uint64(io_block_size,
|
||||
2ULL << 20,
|
||||
1ULL << 16,
|
||||
"Size of the block size used for threaded I/O, in bytes.");
|
||||
|
||||
// Needed for Windows weirdness which somewhere defines CopyFile as CopyFileW.
|
||||
|
|
Loading…
Reference in New Issue