shortened test so that tardis will stop running out of space...
This commit is contained in:
parent
2eb692d06e
commit
e434c35203
1 changed files with 6 additions and 2 deletions
|
@ -19,16 +19,20 @@
|
||||||
#define NUM_PAGES (MAX_BUFFER_SIZE * 2) // Otherwise, we run out of disk cache, and it takes forever to complete...
|
#define NUM_PAGES (MAX_BUFFER_SIZE * 2) // Otherwise, we run out of disk cache, and it takes forever to complete...
|
||||||
#define PAGE_MULT 10 // This tells the system to only use every 10'th page, allowing us to quickly check >2 GB, >4 GB safeness.
|
#define PAGE_MULT 10 // This tells the system to only use every 10'th page, allowing us to quickly check >2 GB, >4 GB safeness.
|
||||||
|
|
||||||
|
#define READS_PER_THREAD (NUM_PAGES * 2)
|
||||||
|
#define RECORDS_PER_THREAD (NUM_PAGES * 2)
|
||||||
|
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#define THREAD_COUNT 25
|
#define THREAD_COUNT 25
|
||||||
#define NUM_PAGES (MAX_BUFFER_SIZE * 3)
|
#define NUM_PAGES (MAX_BUFFER_SIZE * 3)
|
||||||
#define PAGE_MULT 1000
|
#define PAGE_MULT 1000
|
||||||
|
|
||||||
|
#define READS_PER_THREAD (NUM_PAGES * 5)
|
||||||
|
#define RECORDS_PER_THREAD (NUM_PAGES * 5)
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
#define READS_PER_THREAD NUM_PAGES * 5
|
|
||||||
#define RECORDS_PER_THREAD (NUM_PAGES * 5)
|
|
||||||
|
|
||||||
void initializePages() {
|
void initializePages() {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue