Tips en Trucs 2013

Benchmark

Met behulp van benchmarks worden systemen met elkaar vergeleken. Je test uw software, besturingssysteem en hardware door testprogramma's te draaien waarmee je de prestaties van bepaalde taken kunt meten. Deze meetresultaten worden dan vergeleken met meetresultaten van dezelfde testprogramma's op andere systemen. Zo krijg je een duidelijk beeld van de prestaties van een computersysteem bij het uitvoeren van bepaalde taken.

Terminal opdrachten kunnen veel en worden gebruikt om benchmarkmetingen uit te voeren. Het gebruik van speciaal ontworpen benchmark programma's is niet alleen eenvoudiger in het gebruik maar levert ook betrouwbaardere meetwaarden. Benchmark software laat toe om herhaalbare metingen uit te voeren op verschillende systemen en/of configuraties.

De Linux benchmark software is misschien niet zo populair, bekend of afgewerkt als op andere besturingssystemen, maar laat je wel toe verschillende systemen te evalueren.

Elke grafische omgeving zoals KDE (Systeemmonitor) en Gnome bevatten kleine hulpprogramma's om eenvoudige benchmarkmetingen uit te voeren.
Systeemmonitor
Deze ingebouwde benchmark hulpprogramma's zijn eenvoudig te bedienen, mooi en overzichtelijk maar wel beperkt in de te testen onderdelen en het verwerken en opslaan van meetresultaten.

Hardinfo

Hardinfo is geen standaard KDE (Gnome) programma en is in de meeste distributies niet in de standaard softwarebronnen aanwezig.

Hardinfo installeren in openSUSE

Hardinfo zit niet in de standaard softwarebron van openSUSE en installeer je als volgt:

Hardinfo gebruiken

Start Hardinfo via K menu > Alle programma's > Systeem > Monitor > Hardinfo (of druk de toetscombinatie Alt+F2 en typ hardinfo gevolgd door Return). Om het programma op de hoogte te brengen van de meest recente ontwikkelingen start je de menu-opdracht Information Network Updater... en klik je op de knop Synchronize. Synchroniseren betekent recente informatie ophalen, maar ook informatie en eventuele meetresultaten naar het internet sturen om de Hardinfo verder te vervolmaken. Hardinfo heeft in het linkerpaneel een categorie Computer, Devices en Network. Deze categorieën bevatten modules waarmee je bepaalde eigenschappen van de computer, apparaten en het netwerk kunt laten weergeven. Een klik op een module toont de opgezochte informatie in het rechterpaneel.

De laatste categorie bevat Benchmark modules die gespecialiseerd zijn in het meten van processor prestaties. Bij het uitvoeren van een benchmark wordt het programma een tijd onbruikbaar (zolang de benchmark metingen doet). Hoe trager uw computer, hoe langer de meting duurt.
FPU Raytracing
Met de werkbalkknop Generate Report kan je een webpagina maken en opslaan waarin alle door jouw gewenste informatie en benchmark meetresultaten verzameld worden. Deze webpagina kan je dan opslaan, publiceren en/of afdrukken om deze met andere systemen te vergelijken.

Uit de benchmark in het voorbeeld kan je afleiden dat de processor van de geteste computer (This Machine) bij FPU Raytracing berekeningen iets sneller is dan een 2x Intel(R) Xeon(R) CPU E3110@ 3.00GHz en veel sneller is dan een PowerPC 7455, altivec supported (1000.00MHz).

GtkPerf

GtkPerf is een benchmark programma om de prestaties van de grafische GTK onderdelen te testen. GTK wordt gebruikt door de grafische gebruikersomgeving Gnome en op GTK gebaseerde programma's zoals Gimp. De resultaten van zo'n gespecialiseerd benchmark programma is in dit geval dus veel minder belangrijk voor KDE gebruikers dan voor Gnome gebruikers. GtkPerf installeer en gebruik je op dezelfde manier als Hardinfo.
GtkPerf
Deze benchmark kan je gebruiken om te testen welke stuurprogramma (driver) van de grafische kaart of welke grafische kaart uw GTK programma's beter laat presteren.

Phoronix Test Suite

Voor de specialisten bestaat de Phoronix Test Suite. Deze benchmark software is afkomstig van de website Phoronix die gespecialiseerd is het beoordelen van hardware, benchmarkmetingen en games. De documentatie over hoe je met de Phoronix Test Suite moet werken staat op hun website. Deze benchmark is het neusje van de zalm, maar heeft geen grafische omgeving (werkt alleen in de terminal) en is daardoor minder gebruiksvriendelijk. De Phoronix Test Suite installeer je zoals het pakket Hardinfo.

Na het starten van de terminal voer je de opdracht phoronix-test-suite uit.

dany@linux-s7xo:~> phoronix-test-suite 

NOTICE: The following PHP extensions are OPTIONAL but recommended:

PHP FPDF PHP FPDF is recommended if wishing to generate PDF reports.


Phoronix Test Suite v4.4.0m2
User Agreement

The Phoronix Test Suite is the most comprehensive testing and
benchmarking platform available for Linux, OpenSolaris, Mac OS X,
and BSD operating systems. The Phoronix Test Suite is designed to
carry out tests in a clean, reproducible, and easy-to-use manner.

- The Phoronix Test Suite is open-source and licensed under the
GNU GPLv3. However, some tests supported by the Phoronix Test
Suite are not open-source software or available for free of
charge.

- The Phoronix Test Suite contains tests which may stress your
system and in some cases could exhibit stability problems of the
system's hardware or software configuration. The Phoronix Test
Suite is provided WITHOUT ANY WARRANTY. In no event shall
OpenBenchmarking.org, Phoronix Media, the Phoronix Test Suite, or
any associated stakeholder be liable to any party for any direct
or indirect damages for any use of OpenBenchmarking.org --
including, without limitation, any lost profits, business
interruption, loss of programs, loss of programmed data, or
otherwise.

- For enterprise support, sponsorship, or other professional
inquiries, contact phoronix@phoronix.com. Community support can
be found in the Phoronix Forums at
http://www.phoronix.com/forums/.

- If you opt to submit your test results to OpenBenchmarking.org,
the final results as well as basic hardware and software details
(what is shown in the results viewer) will be shared and publicly
accessible through http://www.openbenchmarking.org/.

- Public bug reports, feature requests, and other issues can be
brought up in the Phoronix Test Suite forums, mailing list, or a
direct email to Phoronix Media.

Anonymous Usage Reporting / Statistics: If enabling the anonymous
usage reporting / statistics feature, some information about the
Phoronix Test Suite runs will be submitted to
OpenBenchmarking.org. This information is used for analytical
purposes, including but not limited to, determining the most
popular tests / suites and calculating average run-times for
different test profiles. The test results are not reported in
this process nor the installed software / hardware information,
but ambient information about the testing process. This
information is stored anonymously. More information on this
feature is available with the included documentation.

Anonymous Software / Hardware Reporting: If enabling the
anonymous hardware / software reporting, general information on
your installed hardware / software components will be reported to
OpenBenchmarking.org. Hardware information is general details
such as, but not limited to, the installed CPU, motherboard, and
other general components. Software information is general and
contains details such as your operating system, graphics
processor driver, kernel, and software architecture. No personal
information is collected. This information is pooled along with
the submissions from all other users to show general trends and
other details on OpenBenchmarking.org.

For more information on the Phoronix Test Suite and its features,
visit http://www.phoronix-test-suite.com/ or view the included
documentation.

    Do you agree to these terms and wish to proceed (Y/n): 
    Enable anonymous usage / statistics reporting (Y/n): 
    Enable anonymous statistical reporting of installed software / hardware (Y/n):

Bij de eerste start, moet je akkoord gaan met enkele gebruiksvoorwaarden. Niet alle testen zijn open source en/of gratis en tevens wordt uw toestemming gevraagd om de meetresultaten en software/hardware informatie naar Phoronics te sturen. Met de opdracht phoronix-test-suite list-tests worden alle beschikbare testen weergegeven.

dany@linux-s7xo:~> phoronix-test-suite list-tests

Phoronix Test Suite v4.4.0m2
Available Tests

pts/aio-stress                 - AIO-Stress                          Disk     
pts/apache                     - Apache Benchmark                    System   
pts/apitrace                   - APITrace                            Graphics 
pts/battery-power-usage        - Battery Power Usage                 System   
pts/blake2                     - BLAKE2                              Processor
pts/blogbench                  - BlogBench                           Disk     
pts/bork                       - Bork File Encrypter                 Processor
pts/botan                      - Botan                               Processor
pts/build-apache               - Timed Apache Compilation            Processor
pts/build-imagemagick          - Timed ImageMagick Compilation       Processor
pts/build-linux-kernel         - Timed Linux Kernel Compilation      Processor
pts/build-mplayer              - Timed MPlayer Compilation           Processor
pts/build-php                  - Timed PHP Compilation               Processor
pts/bullet                     - Bullet Physics Engine               Processor
pts/byte                       - BYTE Unix Benchmark                 Processor
pts/c-ray                      - C-Ray                               Processor
pts/cachebench                 - CacheBench                          Processor
pts/cairo-demos                - Cairo Performance Demos             Graphics 
pts/cairo-perf-trace           - cairo-perf-trace                    Graphics 
pts/clomp                      - CLOMP                               Processor
pts/compilebench               - Compile Bench                       Disk     
pts/compress-7zip              - 7-Zip Compression                   Processor
pts/compress-gzip              - Gzip Compression                    Processor
pts/compress-lzma              - LZMA Compression                    Processor
pts/compress-pbzip2            - Parallel BZIP2 Compression          Processor
pts/corebreach                 - CoreBreach                          Graphics 
pts/crafty                     - Crafty                              Processor
pts/cyclictest                 - Cyclictest                          System   
pts/dbench                     - Dbench                              Disk     
pts/dcraw                      - dcraw                               Processor
pts/dolfyn                     - Dolfyn                              Processor
pts/doom3                      - Doom 3                              Graphics 
pts/encode-ape                 - Monkey Audio Encoding                        
pts/encode-flac                - FLAC Audio Encoding                          
pts/encode-mp3                 - LAME MP3 Encoding                            
pts/encode-ogg                 - Ogg Encoding                                 
pts/encode-opus                - Opus Codec Encoding                          
pts/encode-wavpack             - WavPack Audio Encoding                       
pts/espeak                     - eSpeak Speech Engine                Processor
pts/et                         - Enemy Territory                     Graphics 
pts/etqw                       - ET: Quake Wars                      Graphics 
pts/etqw-demo                  - ET: Quake Wars Demo                 Graphics 
pts/etqw-demo-iqc              - ET: Quake Wars Image Quality        System   
pts/etxreal                    - ETXreaL                             Graphics 
pts/ffmpeg                     - FFmpeg                              Processor
pts/ffte                       - FFTE                                Processor
pts/fhourstones                - Fhourstones                         Processor
pts/fio                        - Flexible IO Tester                  Disk     
pts/fs-mark                    - FS-Mark                             Disk     
pts/gcrypt                     - Gcrypt Library                      Processor
pts/gluxmark                   - gluxMark                            Graphics 
pts/gmpbench                   - GMPbench                            Processor
pts/gnupg                      - GnuPG                               Processor
pts/gpu-residency              - GPU Residency                       Processor
pts/graphics-magick            - GraphicsMagick                      Processor
pts/gtkperf                    - GtkPerf                             Graphics 
pts/hdparm-read                - hdparm Timed Disk Reads             Disk     
pts/himeno                     - Himeno Benchmark                    Processor
pts/hmmer                      - Timed HMMer Search                  Processor
pts/idle                       - Timed Idle                          System   
pts/idle-power-usage           - Idle Power Usage                    System   
pts/interbench                 - Interbench                          System   
pts/iozone                     - IOzone                              Disk     
pts/j2dbench                   - Java 2D Microbenchmark              Graphics 
pts/java-scimark2              - Java SciMark                        Processor
pts/jgfxbat                    - Java Graphics Basic Acceptance Test Processor
pts/john-the-ripper            - John The Ripper                     Processor
pts/juliagpu                   - JuliaGPU                            System   
pts/jxrendermark               - JXRenderMark                        Graphics 
pts/lammps                     - LAMMPS Molecular Dynamics Simulator Processor
pts/lightsmark                 - Lightsmark                          Graphics 
pts/luxmark                    - LuxMark                             System   
pts/mafft                      - Timed MAFFT Alignment               Processor
pts/mandelbulbgpu              - MandelbulbGPU                       System   
pts/mandelgpu                  - MandelGPU                           System   
pts/mencoder                   - Mencoder                            Processor
pts/minion                     - Minion                              Processor
pts/mrbayes                    - Timed MrBayes Analysis              Processor
pts/n-queens                   - N-Queens                            Processor
pts/nero2d                     - Open FMM Nero2D                     Processor
pts/network-loopback           - Loopback TCP Network Performance    Network  
pts/nexuiz                     - Nexuiz                              Graphics 
pts/nexuiz-iqc                 - Nexuiz Image Quality                System   
pts/nginx                      - NGINX Benchmark                     System   
pts/noise-level                - NoiseLevel                          Processor
pts/npb                        - NAS Parallel Benchmarks             Processor
pts/open-porous-media          - Open Porous Media                   Processor
pts/openarena                  - OpenArena                           Graphics 
pts/openssl                    - OpenSSL                             Processor
pts/padman                     - World of Padman                     Graphics 
pts/parboil                    - Parboil                             Processor
pts/pgbench                    - PostgreSQL pgbench                  System   
pts/phpbench                   - PHPBench                            System   
pts/postmark                   - PostMark                            Disk     
pts/povray                     - POV-Ray                             Processor
pts/powertop-wakeups           - Powertop Wakeups                    Processor
pts/ppracer                    - Planet Penguin Racer                Graphics 
pts/prey                       - Prey                                Graphics 
pts/primesieve                 - Primesieve                          Processor
pts/pybench                    - PyBench                             System   
pts/pyopencl                   - PyOpenCL                            System   
pts/qgears2                    - QGears2                             Graphics 
pts/quake4                     - Quake 4                             Graphics 
pts/qvdpautest                 - qVDPAUtest                          Graphics 
pts/ramspeed                   - RAMspeed SMP                        Memory   
pts/reaction                   - Reaction Quake 3                    Graphics 
pts/render-bench               - Render Bench                        Graphics 
pts/rodinia                    - Rodinia                             Processor
pts/sample-program             - Sample Pi Program                   Processor
pts/scimark2                   - SciMark                             Processor
pts/smallpt                    - Smallpt                             Processor
pts/smallpt-gpu                - SmallPT GPU                         System   
pts/smokin-guns                - Smokin Guns                         Graphics 
pts/specviewperf10             - SPECViewPerf 10                     Graphics 
pts/specviewperf9              - SPECViewPerf 9                      Graphics 
pts/sqlite                     - SQLite                              Disk     
pts/stream                     - Stream                              Memory   
pts/stresscpu2                 - StressCPU2 Stress-Test              Processor
pts/sudokut                    - Sudokut                             Processor
pts/sunflow                    - Sunflow Rendering System            System   
pts/supertuxkart               - SuperTuxKart                        Graphics 
pts/system-decompress-bzip2    - System BZIP2 Decompression          Processor
pts/system-decompress-gzip     - System GZIP Decompression           Processor
pts/system-decompress-tiff     - System Libtiff Decompression        Processor
pts/system-decompress-xz       - System XZ Decompression             Processor
pts/system-decompress-zlib     - System ZLIB Decompression           Processor
pts/system-libjpeg             - System JPEG Library Decode          Processor
pts/system-libxml2             - System Libxml2 Parsing              Processor
pts/systemd-boot-kernel        - Systemd Kernel Boot Time            Processor
pts/systemd-boot-total         - Systemd Total Boot Time             Processor
pts/systemd-boot-userspace     - Systemd Userspace Boot Time         Processor
pts/systester                  - SysTester                           Processor
pts/tachyon                    - Tachyon                             Processor
pts/tiobench                   - Threaded I/O Tester                 Disk     
pts/tremulous                  - Tremulous                           Graphics 
pts/trislam                    - Triangle Slammer                    Graphics 
pts/tscp                       - TSCP                                Processor
pts/ttsiod-renderer            - TTSIOD 3D Renderer                  Processor
pts/unigine-heaven             - Unigine Heaven                      Graphics 
pts/unigine-sanctuary          - Unigine Sanctuary                   Graphics 
pts/unigine-tropics            - Unigine Tropics                     Graphics 
pts/unigine-valley             - Unigine Valley                      Graphics 
pts/unpack-linux               - Unpacking The Linux Kernel          Disk     
pts/urbanterror                - Urban Terror                        Graphics 
pts/ut2004-demo                - Unreal Tournament 2004 Demo         Graphics 
pts/vdrift                     - VDrift                              Graphics 
pts/video-cpu-usage            - 1080p H.264 Video Playback          Graphics 
pts/vpxenc                     - VP8 libvpx Encoding                 Processor
pts/warsow                     - Warsow                              Graphics 
pts/x11perf                    - x11perf                             Graphics 
pts/x264                       - x264                                Processor
pts/xonotic                    - Xonotic                             Graphics 
pts/xplane9                    - X-Plane                             Graphics 
pts/xplane9-iqc                - X-Plane Image Quality               System   

De testen worden onderverdeeld in categorieën. Zo zijn er testen beschikbaar waarbij de harde schijf, het volledige systeem, het grafische syssteem, de processsor, het netwerk en het geheugen belast worden. De software die noodzakelijk is voor het uitvoeren van een test staat op de webservers van Phoronix en worden voor het uitvoeren afgehaald. Aangezien sommige van die testen (zeker de grafische) enorme bestanden moeten downloaden, kan het even duren voor de effectieve test start. Daarenboven hebben sommige testen extra software nodig en die moet je zelf installeren (niet altijd even eenvoudig). Een voorbeeld van een gratis test zonder extra software om het grafische systeem te testen:

dany@linux-s7xo:~> phoronix-test-suite install xonotic

Phoronix Test Suite v4.4.0m2

    To Install: pts/xonotic-1.2.0

    Determining File Requirements ..........................................
    Searching Download Caches ..............................................

    1 Test To Install
        1 File To Download [964.02MB]
        1100MB Of Disk Space Is Needed

    pts/xonotic-1.2.0:
        Test Installation 1 of 1
        1 File Needed [964.02 MB]
        Downloading: xonotic-0.6.0.zip                            [964.02MB]
        Downloading ........................................................
        Installation Size: 1100 MB
        Installing Test @ 16:27:42
        

dany@linux-s7xo:~> phoronix-test-suite benchmark xonotic

Phoronix Test Suite v4.4.0m2

    Installed: pts/xonotic-1.2.0


Xonotic 0.6:
    pts/xonotic-1.2.0
    Graphics Test Configuration
        1: 800 x 600
        2: 1024 x 768
        3: 1366 x 768
        4: Test All Options
        Resolution: 3


        1: Low
        2: High
        3: Ultra
        4: Ultimate
        5: Test All Options
        Effects Quality: 2


System Information

Hardware:
Processor: Intel Core i7 620M @ 2.67GHz (4 Cores), Motherboard: FUJITSU FJNB20A, Chipset: Intel Core DRAM, Memory: 4096MB, Disk: 360GB OCZ ILITY3, Graphics: Intel Core IGP, Audio: Realtek ALC269, Monitor: LT133EE09500, Network: Intel 82577LM Gigabit Connection + Atheros AR9287 Wireless

Software:
OS: openSUSE project 12.3, Kernel: 3.7.10-1.1-desktop (x86_64), Desktop: KDE 4.10.00, Display Server: X Server 1.13.2, Display Driver: intel 2.20.19, File-System: ext4, Screen Resolution: 1366x768

    Would you like to save these test results (Y/n): 
    Enter a name to save these results under: Xonotic
    Enter a unique name to describe this test run / configuration: 

If you wish, enter a new description below to better describe this result set / system configuration under test.
Press ENTER to proceed without changes.

Current Description: Intel Core i7 620M testing with a FUJITSU FJNB20A and Intel Core IGP on openSUSE project 12.3 via the Phoronix Test Suite.

New Description: 


Xonotic 0.6:
    pts/xonotic-1.2.0 [Resolution: 1366 x 768 - Effects Quality: High]
    Test 1 of 1
    Estimated Trial Run Count:    3
    Estimated Time To Completion: 14 Minutes
        Started Run 1 @ 16:29:42
        Started Run 2 @ 16:40:12
        Started Run 3 @ 16:50:55  [Std. Dev: 1.03%]

    Test Results:
        17.1371481
        16.7899611
        16.9880172

    Average: 16.97 Frames Per Second

    Do you want to view the results in your web browser (y/N): y
    Would you like to upload the results to OpenBenchmarking.org (Y/n): 
    Would you like to attach the system logs (lspci, dmesg, lsusb, etc) to the test result (Y/n): 

Results Uploaded To: http://openbenchmarking.org/result/1304208-FO-XONOTIC1371
    Do you want to launch OpenBenchmarking.org (Y/n): 

Bij deze test wordt het spel Xonotic gespeeld, mooi om te zien, maar niet voor gevoelige personen. Zoals je merkt in de resultaten, duurt de test een half uur.