Keywords: class-single-multiple

Next: File size Up: Benchmark Previous: Benchmark Contents

## Method

Table: CLASS file size for several combinations of number of spectra and number of channels per spectrum. Units are Megabytes (resp. Gigabytes) for regular font (resp. bold). Files are of type `SINGLE`. The missing combinations were not performed because of the prohibitive file size.
|  | 256 | 512 | 1024 | 2048 | 4096 | 8192 | 16384 | 32768 | 65536 | 131072 | 262144 | 524288
| 128 | 0.5 | 0.8 | 1.3 | 2.3 | 4.6 | 9.2 | 18.1 | 36.1 | 72.2 | 144.3 | 288.4 | 576.7
| 256 | 0.7 | 1.0 | 1.8 | 3.3 | 6.6 | 13.2 | 26.1 | 52.1 | 104.2 | 208.4 | 416.5 | 833.0
| 512 | 0.9 | 1.5 | 2.8 | 5.3 | 10.6 | 21.2 | 42.1 | 84.1 | 168.3 | 336.5 | 672.8 | 1.3
| 1024 | 1.4 | 2.6 | 4.8 | 9.3 | 18.6 | 37.2 | 74.1 | 148.2 | 296.4 | 592.8 | 1.2 | 2.3
| 2048 | 2.4 | 4.6 | 8.8 | 17.3 | 34.6 | 69.2 | 138.2 | 276.3 | 552.7 | 1.1 | 2.2 | 4.3
| 4096 | 4.4 | 8.6 | 16.8 | 33.3 | 66.7 | 133.3 | 266.3 | 532.6 | 1.0 | 2.1 | 4.2 | 8.3
| 8192 | 8.5 | 16.6 | 32.9 | 65.4 | 130.7 | 261.5 | 522.6 | 1.0 | 2.0 | 4.1 | 8.2 | 16.3
| 16384 | 16.5 | 32.6 | 64.9 | 129.5 | 258.9 | 517.7 | 1.0 | 2.0 | 4.0 | 8.1 | 16.2 | 32.3
| 32768 | 32.6 | 64.7 | 129.1 | 257.7 | 515.2 | 1.0 | 2.0 | 4.0 | 8.0 | 16.1 | 32.2 | 64.4
| 65536 | 64.7 | 128.9 | 257.3 | 514.1 | 1.0 | 2.0 | 4.0 | 8.0 | 16.1 | 32.1 | 64.2 | -
| 131072 | 129.1 | 257.3 | 513.8 | 1.0 | 2.0 | 4.0 | 8.0 | 16.0 | 32.1 | 64.1 | - | -
| 262144 | 257.7 | 514.1 | 1.0 | 2.0 | 4.0 | 8.0 | 16.0 | 32.1 | 64.1 | - | - | -
| 524288 | 514.9 | 1.0 | 2.0 | 4.0 | 8.0 | 16.0 | 32.0 | 64.1 | - | - | - | -
| 1048576 | 1.0 | 2.0 | 4.0 | 8.0 | 16.0 | 32.0 | 64.1 | - | - | - | - | -

This benchmark measures the WRITE'ing capabilities of CLASS. A new CLASS file is opened in the desired mode. A spectrum containing is generated thanks to the command `ANALYSEMODEL`, and is written times in the file. The USER and SYSTEM times (described below) are measured at typical stages. This is repeated for several values of and for all output filetypes. Table shows the combinations of and which have been benchmarked.

The tests were realized on an IRAM machine (64 bits, Fedora 6) with CLASS compiled with the `ifort` compiler (version 10), writing on a local hard drive. For the old syntax `FILE OUT NEW`, CLASS version of the 22-sep-2008 was used. For the new syntax `FILE OUT SINGLE|MULTIPLE`, current version of CLASS was used.

The different figures in this document aim to compare the performances of CLASS when writing old and new file types. Nevertheless, the SINGLE and MULTIPLE types provide the same level of performance. The benchmark for the NEW, SINGLE, and MULTIPLE types are thus presented only on Fig. 1. Later on, only the NEW and SINGLE types are compared.

Next: File size Up: Benchmark Previous: Benchmark Contents