summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2012-12-05 16:57:30 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2012-12-05 16:57:30 (GMT)
commitbbeea7dd9999b040cc94299e03bac6bea28ee0ee (patch)
tree6507f1f3fd57258084bc0c6287f43afbd327f402
parent0c4cec81b273ff0980c02d71ac271ab6fcd40537 (diff)
downloadhdf5-bbeea7dd9999b040cc94299e03bac6bea28ee0ee.zip
hdf5-bbeea7dd9999b040cc94299e03bac6bea28ee0ee.tar.gz
hdf5-bbeea7dd9999b040cc94299e03bac6bea28ee0ee.tar.bz2
[svn-r23077] I adjusted the dataset and chunk to smaller sizes.
Tested on koala.
-rw-r--r--perform/dectris_perf.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/perform/dectris_perf.c b/perform/dectris_perf.c
index 4d2284d..34bfb9e 100644
--- a/perform/dectris_perf.c
+++ b/perform/dectris_perf.c
@@ -53,11 +53,11 @@ const char *FILENAME[] = {
#define REG_NO_COMPRESS_DSET "reg_no_compress_dset"
#define RANK 3
#define NX 100
-#define NY 2000
-#define NZ 3000
+#define NY 1000
+#define NZ 250
#define CHUNK_NX 1
-#define CHUNK_NY 2000
-#define CHUNK_NZ 3000
+#define CHUNK_NY 1000
+#define CHUNK_NZ 250
#define DEFLATE_SIZE_ADJUST(s) (ceil(((double)(s))*1.001)+12)
char filename[1024];
@@ -87,7 +87,6 @@ void reportTime(struct timeval start, double mbytes)
timeval_diff.tv_sec--;
} /* end if */
-/*printf("mbytes=%lf, sec=%lf, usec=%lf\n", mbytes, (double)timeval_diff.tv_sec, (double)timeval_diff.tv_usec);*/
printf("MBytes/second: %lf\n", (double)mbytes/((double)timeval_diff.tv_sec+((double)timeval_diff.tv_usec/(double)1000000.0)));
}