| 1 | // Copyright (c) Microsoft Corporation. All rights reserved. |
|---|---|
| 2 | // Licensed under the MIT license. |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | #include <cstdint> |
| 7 | |
| 8 | namespace FASTER { |
| 9 | namespace core { |
| 10 | |
| 11 | struct Constants { |
| 12 | /// Size of cache line in bytes |
| 13 | static constexpr uint32_t kCacheLineBytes = 64; |
| 14 | |
| 15 | /// We issue 256 writes to disk, to checkpoint the hash table. |
| 16 | static constexpr uint32_t kNumMergeChunks = 256; |
| 17 | }; |
| 18 | |
| 19 | } |
| 20 | } // namespace FASTER::cire |