From: Martin Mares Date: Fri, 1 Dec 2006 21:52:32 +0000 (+0100) Subject: Added new benchmarks. X-Git-Tag: holmes-import~506^2~13^2~222^2 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=5cbceee5d49e1974fbc6732bbfa7c24a69555e5c;p=libucw.git Added new benchmarks. asio-test turned out to be significantly faster when writing and slightly faster when copying or reading. Good. --- diff --git a/debug/sorter/BENCH b/debug/sorter/BENCH index 4bdb57b0..f375f42a 100644 --- a/debug/sorter/BENCH +++ b/debug/sorter/BENCH @@ -244,3 +244,38 @@ I 2006-11-24 19:15:18 Spent 292.412 sec (112.06 MB/sec) I 2006-11-24 19:15:18 Reading the files sequentially I 2006-11-24 19:17:30 Spent 131.738 sec (248.74 MB/sec) I 2006-11-24 19:17:36 Done + +### asio-test (copy mode) ### + +sherlock@sherlock3:~/run-3.11$ bin/asio-test 16 65536 32 +I 2006-12-01 22:09:44 Creating input file +I 2006-12-01 22:12:07 Spent 143.221 sec (228.79 MB/sec) +I 2006-12-01 22:12:07 Initializing output files +I 2006-12-01 22:12:07 Writing 32768 MB to 16 files in parallel with 67108864 byte buffers +I 2006-12-01 22:16:50 Syncingsec) +I 2006-12-01 22:16:51 Spent 283.507 sec (115.58 MB/sec) +I 2006-12-01 22:16:51 Reading the files sequentially +I 2006-12-01 22:19:01 Spent 130.772 sec (250.57 MB/sec) +I 2006-12-01 22:19:07 Done + +sherlock@sherlock3:~/run-3.11$ bin/asio-test 256 4096 32 +I 2006-12-01 22:19:39 Creating input file +I 2006-12-01 22:22:43 Spent 184.154 sec (177.94 MB/sec) +I 2006-12-01 22:22:43 Initializing output files +I 2006-12-01 22:22:43 Writing 32768 MB to 256 files in parallel with 4194304 byte buffers +I 2006-12-01 22:29:58 Syncingec) +I 2006-12-01 22:29:59 Spent 435.416 sec (75.26 MB/sec) +I 2006-12-01 22:29:59 Reading the files sequentially +I 2006-12-01 22:32:48 Spent 168.874 sec (194.04 MB/sec) +I 2006-12-01 22:32:53 Done + +sherlock@sherlock3:~/run-3.11$ bin/asio-test 1024 1024 16 +I 2006-12-01 22:37:16 Creating input file +I 2006-12-01 22:38:52 Spent 96.078 sec (170.53 MB/sec) +I 2006-12-01 22:38:52 Initializing output files +I 2006-12-01 22:38:52 Writing 16384 MB to 1024 files in parallel with 1048576 byte buffers +I 2006-12-01 22:44:28 Syncingec) +I 2006-12-01 22:44:29 Spent 337.186 sec (48.59 MB/sec) +I 2006-12-01 22:44:29 Reading the files sequentially +I 2006-12-01 22:46:23 Spent 114.060 sec (143.64 MB/sec) +I 2006-12-01 22:46:26 Done