Δημοσιεύτηκε: 29 Δεκ 2014, 01:32
George Pantelis έγραψε:Υπάρχουν μήπως κάποιες ενδεικτικές τιμές (ισχυρός - είμαι μετρίως μέτριος - βάλε καφέ να ψήνεται, μην με παραζορίζεις);
Ok, ως μέτρο σύγκρισης:
Ο δικός μου επεξεργαστής (Intel Pentium G3258) είναι ένας σύγχρονος επεξεργαστής για desktop μέτριας ισχύος (λίγο πιο χαμηλά από έναν βασικό Core i3).
- Χρησιμοποιώντας 1 thread (δηλαδή αξιοποιώντας μόνο τον 1 πυρήνα):
- Κώδικας: Επιλογή όλων
Ubuntu 14.04.1 LTS - 3.18.12014-12-25: ~/ $ sysbench --test=cpu --cpu-max-prime=20000 run
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 1
Doing CPU performance benchmark
Threads started!
Done.
Maximum prime number checked in CPU test: 20000
Test execution summary:
total time: 25.0128s
total number of events: 10000
total time taken by event execution: 25.0118
per-request statistics:
min: 2.49ms
avg: 2.50ms
max: 3.99ms
approx. 95 percentile: 2.53ms
Threads fairness:
events (avg/stddev): 10000.0000/0.00
execution time (avg/stddev): 25.0118/0.00
- Χρησιμοποιώντας 2 threads (δηλαδή αξιοποιώντας και τους 2 πυρήνες):
- Κώδικας: Επιλογή όλων
Ubuntu 14.04.1 LTS - 3.18.12014-12-25: ~/ $ sysbench --test=cpu --cpu-max-prime=20000 --num-threads=2 run
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 2
Doing CPU performance benchmark
Threads started!
Done.
Maximum prime number checked in CPU test: 20000
Test execution summary:
total time: 13.6414s
total number of events: 10000
total time taken by event execution: 27.2781
per-request statistics:
min: 2.49ms
avg: 2.73ms
max: 24.13ms
approx. 95 percentile: 3.07ms
Threads fairness:
events (avg/stddev): 5000.0000/170.00
execution time (avg/stddev): 13.6391/0.00