Searched refs:KB (Results 1 – 9 of 9) sorted by relevance
| /rocksdb-6.9/java/src/main/java/org/rocksdb/util/ |
| D | SizeUnit.java | 9 public static final long KB = 1024L; field in SizeUnit 10 public static final long MB = KB * KB; 11 public static final long GB = KB * MB; 12 public static final long TB = KB * GB; 13 public static final long PB = KB * TB;
|
| /rocksdb-6.9/cache/ |
| D | cache_bench.cc | 29 static const uint32_t KB = 1024; variable 32 DEFINE_int64(cache_size, 8 * KB * KB, 36 DEFINE_int64(max_key, 1 * KB * KB * KB, "Max number of key to place in cache");
|
| /rocksdb-6.9/java/samples/src/main/java/ |
| D | RocksDBSample.java | 46 .setWriteBufferSize(8 * SizeUnit.KB) in main() 56 assert (options.writeBufferSize() == 8 * SizeUnit.KB); in main() 90 table_options.setBlockCacheSize(64 * SizeUnit.KB) in main() 97 .setBlockCacheCompressedSize(64 * SizeUnit.KB) in main() 100 assert (table_options.blockCacheSize() == 64 * SizeUnit.KB); in main() 106 assert (table_options.blockCacheCompressedSize() == 64 * SizeUnit.KB); in main()
|
| /rocksdb-6.9/db_stress_tool/ |
| D | db_stress_gflags.cc | 28 DEFINE_int64(max_key, 1 * KB * KB, 281 DEFINE_int64(cache_size, 2LL * KB * KB * KB,
|
| D | db_stress_common.h | 234 const long KB = 1024; variable
|
| /rocksdb-6.9/java/src/test/java/org/rocksdb/util/ |
| D | SizeUnitTest.java | 17 assertThat(SizeUnit.KB).isEqualTo(COMPUTATION_UNIT); in sizeUnit() 19 SizeUnit.KB * COMPUTATION_UNIT); in sizeUnit()
|
| /rocksdb-6.9/docs/_posts/ |
| D | 2017-05-12-partitioned-index-filter.markdown | 12 …B is typical, which is much larger than the typical data block size of 4-32KB. That is fine when a… 16 …space that could otherwise be used to cache 1000s of data blocks (of size 4KB). This would result … 18 …ple point lookup might need at most a couple of data block reads (of size 4KB) one from each layer…
|
| /rocksdb-6.9/java/ |
| D | HISTORY-JAVA.md | 82 * Added SizeUnit in org.rocksdb.util to store consts like KB and GB.
|
| /rocksdb-6.9/ |
| D | HISTORY.md | 40 …ons.log_readahead_size will be used as the readahead size. In other cases, a default 512KB is used. 277 * Adjust WriteBufferManager's dummy entry size to block cache from 1MB to 256KB. 910 …e actual memory usage of the blocks. For example, a block of size 4.5KB will use 8KB memory with j…
|