option.h (e6449f52) option.h (2534ac38)
1#ifndef _JSAHN_OPTION_H
2#define _JSAHN_OPTION_H
3
4//#include "mempool.h"
5
6typedef uint64_t fdb_seqnum_t;
7#define SEQNUM_NOT_USED (0xffffffffffffffff)
8
9
10#define __FDB_SEQTREE
11#define __FDB_BCACHE_USE
12#ifdef __FDB_BCACHE_USE
13 #define __FDB_SORTED_COMPACTION
1#ifndef _JSAHN_OPTION_H
2#define _JSAHN_OPTION_H
3
4//#include "mempool.h"
5
6typedef uint64_t fdb_seqnum_t;
7#define SEQNUM_NOT_USED (0xffffffffffffffff)
8
9
10#define __FDB_SEQTREE
11#define __FDB_BCACHE_USE
12#ifdef __FDB_BCACHE_USE
13 #define __FDB_SORTED_COMPACTION
14 //#define __O_DIRECT
15#endif
14#endif
16#define __SYNC
17#define FDB_SECTOR_SIZE (512)
18
19#define __MEMORY_ALIGN
20
21//#define DOCIO_BLOCK_ALIGN
22
23//#define __RAW_BLOCK
24

--- 24 unchanged lines hidden (view full) ---

49#define BCACHE_NDICBUCKET (4096)
50#define BCACHE_FLUSH_UNIT (256*1024)
51#define BCACHE_EVICT_RATIO (3)
52#define BCACHE_REAR_COUNT (4)
53
54#define FILEMGR_BULK_READ (16)
55
56#define __BTREEBLK_CACHE
15#define FDB_SECTOR_SIZE (512)
16
17#define __MEMORY_ALIGN
18
19//#define DOCIO_BLOCK_ALIGN
20
21//#define __RAW_BLOCK
22

--- 24 unchanged lines hidden (view full) ---

47#define BCACHE_NDICBUCKET (4096)
48#define BCACHE_FLUSH_UNIT (256*1024)
49#define BCACHE_EVICT_RATIO (3)
50#define BCACHE_REAR_COUNT (4)
51
52#define FILEMGR_BULK_READ (16)
53
54#define __BTREEBLK_CACHE
57#define BTREEBLK_CACHE_LIMIT (16)
55#define BTREEBLK_CACHE_LIMIT (8)
58
59#endif
56
57#endif