feat: alloc 512MB
This commit is contained in:
parent
247d35ecb1
commit
88c4f3238c
@ -14,8 +14,8 @@
|
|||||||
#define HUGETLB_std "/mnt/huge/buff"
|
#define HUGETLB_std "/mnt/huge/buff"
|
||||||
#define CONFIG_NAME_std "tmp/s_cfg.bin"
|
#define CONFIG_NAME_std "tmp/s_cfg.bin"
|
||||||
#define O_FILE_std "DIMM00"
|
#define O_FILE_std "DIMM00"
|
||||||
#define ALLOC_SIZE 1<<30
|
#define ALLOC_SIZE 1 << 29
|
||||||
#define ALIGN_std 2<<20
|
#define ALIGN_std 2 << 20
|
||||||
#define PATT_LEN 1024
|
#define PATT_LEN 1024
|
||||||
#define AGGR_std 2
|
#define AGGR_std 2
|
||||||
#define HUGE_YES
|
#define HUGE_YES
|
||||||
@ -23,17 +23,17 @@
|
|||||||
typedef struct ProfileParams {
|
typedef struct ProfileParams {
|
||||||
uint64_t g_flags = 0;
|
uint64_t g_flags = 0;
|
||||||
char *g_out_prefix;
|
char *g_out_prefix;
|
||||||
char *tpat = (char *)NULL;
|
char *tpat = (char *) NULL;
|
||||||
char *vpat = (char *)NULL;
|
char *vpat = (char *) NULL;
|
||||||
int threshold = 0;
|
int threshold = 0;
|
||||||
int fuzzing = 0; // start fuzzing!!
|
int fuzzing = 0;// start fuzzing!!
|
||||||
size_t m_size = ALLOC_SIZE;
|
size_t m_size = ALLOC_SIZE;
|
||||||
size_t m_align = ALIGN_std;
|
size_t m_align = ALIGN_std;
|
||||||
size_t rounds = ROUNDS_std;
|
size_t rounds = ROUNDS_std;
|
||||||
size_t base_off = 0;
|
size_t base_off = 0;
|
||||||
char *huge_file = (char *)HUGETLB_std;
|
char *huge_file = (char *) HUGETLB_std;
|
||||||
int huge_fd;
|
int huge_fd;
|
||||||
char *conf_file = (char *)CONFIG_NAME_std;
|
char *conf_file = (char *) CONFIG_NAME_std;
|
||||||
int aggr = AGGR_std;
|
int aggr = AGGR_std;
|
||||||
} ProfileParams;
|
} ProfileParams;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user