/* CVS info */ /* $Date: 2007/03/13 17:06:56 $ */ /* $Revision: 1.4 $ */ /* $RCSfile: data_sizes.h,v $ */ /* $Name: rel_7 $ */ /* This file contains constants for test runs and actual runs. The set of values are conditional compiled into one of the 5 benchmarks */ #define KB (1024L) #define MB (1024*1024L) #define GB (1024*1024*1024L) #if defined( __BM_RFCC ) //========================== # define FILE_SZ (150*MB) # define BF_SZ (150*MB) char io_buffer[ BF_SZ ]; #elif defined( __BM_MFI ) //========================== # define FILE_SZ (750*MB) #elif defined( __BM_RFIOSC ) //========================== # define R (3) # define FILE_SZ (4*GB) # define BF_SZ (128*MB) # ifdef SM_DATA // Test data has 1/100 th as many files # define B23_HM0 (180) # define B23_HM1 (150) # define B23_HM2 (1) # define B23_HB0 (4*KB) # define B23_HB1 (MB) # define B23_HB2 (128*MB) # else # define B23_HM0 (18000) # define B23_HM1 (150) # define B23_HM2 (1) # define B23_HB0 (4*KB) # define B23_HB1 (MB) # define B23_HB2 (128*MB) # endif char io_buffer[ BF_SZ ]; #elif defined( __BM_RFD ) //========================== # define R (2) # define BF_SZ (96*MB) # ifdef SM_DATA // Test input file is 1/4 th the size # define FILE_SZ (128*GB) # define B23_HM0 (80) # define B23_HM1 (1) # define B23_HB0 (MB) # define B23_HB1 (96*MB) # else # define FILE_SZ (512*GB) # define B23_HM0 (80) # define B23_HM1 (1) # define B23_HB0 (MB) # define B23_HB1 (96*MB) # endif char io_buffer[ BF_SZ ]; #elif defined( __BM_WMF ) //========================== # define BF_SZ (64*MB) # ifdef SM_DATA // Test number of output files is about 1/10 th # define B4_HM0 (120) # define B4_HM1 (6) # define B4_HM2 (1) # define B4_HB0 (4*KB) # define B4_HB1 (MB) # define B4_HB2 (64*MB) # else # define B4_HM0 (1200) # define B4_HM1 (60) # define B4_HM2 (1) # define B4_HB0 (4*KB) # define B4_HB1 (MB) # define B4_HB2 (64*MB) # endif char io_buffer[ BF_SZ ]; #endif