00001
00002
00003 #define DS_VERBOSE1(x) x
00004 #define DS_VERBOSE2(x)
00005
00006
00007 #define DS_LOGGING1(x) x
00008 #define DS_LOGGING2(x) x
00009
00010
00011 #define DS_INTERNAL_MEMORY_FOR_SORTING 650*1024*1024
00012
00013
00014
00015 #define DS_DEFAULT_BLOCK_SIZE 2*1024*1024
00016 #define DS_DEFAULT_NO_OF_PAGES 1
00017 #define DS_DEFAULT_PAGE_SIZE 4
00018 #define DS_DEFAULT_PAGER lru_pager
00019
00020
00021 #define DS_MST_BLOCK_SIZE 2*1024*1024
00022 #define DS_MST_NO_OF_PAGES 1
00023 #define DS_MST_PAGE_SIZE 4
00024
00025
00026 #define DS_REMOVE_DUPLICATES(x) x
00027 #define DS_DONT_REMOVE_DUPLICATES(x)
00028
00029
00030 #define DS_RANDOMIZE(x) x
00031 #define DS_DONT_RANDOMIZE(x)
00032
00033
00034 #define DS_USE_BUCKETS(x) x
00035 #define DS_USE_PQUEUE(x)
00036
00037
00038
00039 #define DS_EXT_BUCKET_SIZE 1800000
00040
00041
00042 #define DS_EXT_FIRST_BUCKET_SIZE 160*1000*1000
00043
00044
00045
00046 #define DS_EXT_BLOCK_SIZE 512*1024
00047 #define DS_EXT_PAGE_SIZE 1
00048 #define DS_EXT_PREFETCH_POOL 4
00049 #define DS_EXT_WRITE_POOL 4
00050
00051
00052 #define DS_INT_EDGES_PER_BLOCK 8
00053 #define DS_INT_NO_OF_BLOCKS 1500000
00054
00055
00056
00057 #define DS_PQUEUE_INTERNAL_MEMORY 500*1024*1024
00058 #define DS_PQUEUE_MAX_SIZE 3*1000*1000
00059 #define DS_PQUEUE_PREFETCH_POOL 50
00060 #define DS_PQUEUE_WRITE_POOL 50