Testbericht LattePanda 4GB RAM/64GB

Begonnen von Morgennebel, 08 Juni 2017, 09:28:28

Vorheriges Thema - Nächstes Thema

Morgennebel

Moin Moin,


ich habe mir aus den USA einen LattePanda mitgebracht, hier die Erlebnisse.

Technische Daten

  • Abmessungen 88mm x 70mm (etwas größer als ein Raspberry Pi 3)
  • Quad-Core Intel Atom X5 1.44-1.80GHz, 1 MB Cache je Core
  • Zusätzlicher Arduino SA Leonardo (ATmega32u4)
  • 4GB RAM für den X5
  • 64 GB
  • 20 GPIOs vom Arduino, 6 vom X5
  • 6 Sensor-Steckplätze
  • 5V-2A USB-Netzteil
  • 100 MBit Ethernet-Port
  • Mini-SD-Anschluß
  • Bluetooth 4.0 und WiFi onboard
  • 2 x USB2.0 und 1 x USB 3.0

Hersteller-Informationen

Un-Boxing
Der Latte Panda kommt in einem schön gestalteten Pappkarton (ja, das ist schon wichtig), mit EU-Netzteil, einem Acryl-Gehäuse und einigen Kabeln. Keine Sensoren, kein Display. Die im Shop erhältlichen Kühlkörper oder der aktive Lüfter ist für den Betrieb nicht notwendig.
Der Zusammenbau des Acryl-Gehäuses ist eine nervige Fummelei und die gedruckte Anleitung grenzwertig schlecht. Aber nach gut 1 Stunde paßt dann alles und das Gerät startet. Windows 10 ist vorinstalliert und bedient sich flott und fluffig über HDMI-Kabel mit Sound.

Linux-Installation
Offiziell wird Ubuntu 16.04 LTS unterstützt. Da ich jedoch kein Fan mehr von Ubuntu bin noch systemd mag, habe ich mich für https://devuan.org/ Devuan entschieden, eine Debian-Variante ohne systemd mit klassischem SystemV-Bootvorgang (mir ist egal, ob der eine Reboot pro 3 Monate 5 Sekunden länger dauert).
Mit Rufus wurde das devuan_jessie_1.0.0_amd64_DVD.iso Image auf ein 16GB USB-Stick im DD-Modus gespeichert. Die Installation scheitert, wenn der USB-Stick im USB3.0-Port steckt, läuft jedoch tadellos durch, wenn der USB2.0-Port genommen wird. Die Installation dauerte etwa 10 Minuten und der Installer konfigurierte das UEFI-BIOS und grub tadellos durch. Der anschliessende Reboot funktionierte tadellos und ließ ein ssh-Zugang über die angelegten Benutzer ohne Probleme zu.

Wichtig: das BIOS ist eine superzickige Diva. Eine falsche Einstellung der wenig dokumentierten Flags kann dazu führen, daß das System nicht mehr bootet oder den internen Speicher findet. Der BIOS-Reset hilft nur begrenzt. Am besten erstmal nichts ändern...

Der Installer stellt de.mirror.devuan.org als apt-Quelle ein, korrekt ist auto.mirror.devuan.org. Dies läßt sich mit vi /etc/apt/sources.list leicht ändern.

Benchmark-Ergebnisse

Sysbench CPU
root@lattepanda:~# 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:                          52.4982s
    total number of events:              10000
    total time taken by event execution: 52.4951
    per-request statistics:
         min:                                  5.23ms
         avg:                                  5.25ms
         max:                                 21.36ms
         approx.  95 percentile:               5.23ms

Threads fairness:
    events (avg/stddev):           10000.0000/0.00
    execution time (avg/stddev):   52.4951/0.00

In etwa halb so schnell wie ein Intel Duo Core 2.4GHz oder 23 mal so schnell wie ein Raspberry Pi 1 mit 700MHz. Das entspricht etwa dem Verhältnis der Taktfrequenzen (2.40 vs. 1.44GHz) und die Meßdaten sind auf nur einem Core gemessen - der LattePanda hat ja 4...

Sysbench Disk

root@lattepanda:~# sysbench --test=fileio --file-total-size=2G --file-test-mode=rndrw --init-rng=on --max-time=300 --max-requests=0 run
sysbench 0.4.12:  multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 1
Initializing random number generator from timer.


Extra file open flags: 0
128 files, 16Mb each
2Gb total file size
Block size 16Kb
Number of random requests for random IO: 0
Read/Write ratio for combined random IO test: 1.50
Periodic FSYNC enabled, calling fsync() each 100 requests.
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing random r/w test
Threads started!
Time limit exceeded, exiting...
Done.

Operations performed:  201600 Read, 134400 Write, 429962 Other = 765962 Total
Read 3.0762Gb  Written 2.0508Gb  Total transferred 5.127Gb  (17.5Mb/sec)
1120.00 Requests/sec executed

Test execution summary:
    total time:                          300.0005s
    total number of events:              336000
    total time taken by event execution: 14.2937
    per-request statistics:
         min:                                  0.01ms
         avg:                                  0.04ms
         max:                                  0.83ms
         approx.  95 percentile:               0.07ms

Threads fairness:
    events (avg/stddev):           336000.0000/0.00
    execution time (avg/stddev):   14.2937/0.00


17.5MB/sec sind eine Ansage...

Sysbench MySQL

root@lattepanda:~# sysbench --test=oltp --oltp-table-size=1000000 --mysql-db=test --mysql-user=root --mysql-password=XXXXXXXXXXXXXXX --max-time=60 --oltp-read-only=on --max-requests=0 --num-threads=8 run
sysbench 0.4.12:  multi-threaded system evaluation benchmark

No DB drivers specified, using mysql
Running the test with following options:
Number of threads: 8

Doing OLTP test.
Running mixed OLTP test
Doing read-only test
Using Special distribution (12 iterations,  1 pct of values are returned in 75 pct cases)
Using "BEGIN" for starting transactions
Using auto_inc on the id column
Threads started!
Time limit exceeded, exiting...
(last message repeated 7 times)
Done.

OLTP test statistics:
    queries performed:
        read:                            377496
        write:                           0
        other:                           53928
        total:                           431424
    transactions:                        26964  (449.31 per sec.)
    deadlocks:                           0      (0.00 per sec.)
    read/write requests:                 377496 (6290.30 per sec.)
    other operations:                    53928  (898.61 per sec.)

Test execution summary:
    total time:                          60.0124s
    total number of events:              26964
    total time taken by event execution: 479.6504
    per-request statistics:
         min:                                  6.59ms
         avg:                                 17.79ms
         max:                                 50.71ms
         approx.  95 percentile:              22.62ms

Threads fairness:
    events (avg/stddev):           3370.5000/39.90
    execution time (avg/stddev):   59.9563/0.00


449 Transaktionen pro Sekunden. Das ist 19.76 mal so schnell wie ein Raspberry Pi mit demselben Testaufruf.

Linux - Internas
CPU-Info

root@lattepanda:~# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 76
model name      : Intel(R) Atom(TM) x5-Z8350  CPU @ 1.44GHz
stepping        : 4
microcode       : 0x406
cpu MHz         : 499.604
cache size      : 1024 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms
bogomips        : 2880.02
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 76
model name      : Intel(R) Atom(TM) x5-Z8350  CPU @ 1.44GHz
stepping        : 4
microcode       : 0x406
cpu MHz         : 499.780
cache size      : 1024 KB
physical id     : 0
siblings        : 4
core id         : 1
cpu cores       : 4
apicid          : 2
initial apicid  : 2
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms
bogomips        : 2880.02
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 2
vendor_id       : GenuineIntel
cpu family      : 6
model           : 76
model name      : Intel(R) Atom(TM) x5-Z8350  CPU @ 1.44GHz
stepping        : 4
microcode       : 0x406
cpu MHz         : 498.667
cache size      : 1024 KB
physical id     : 0
siblings        : 4
core id         : 2
cpu cores       : 4
apicid          : 4
initial apicid  : 4
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms
bogomips        : 2880.02
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 3
vendor_id       : GenuineIntel
cpu family      : 6
model           : 76
model name      : Intel(R) Atom(TM) x5-Z8350  CPU @ 1.44GHz
stepping        : 4
microcode       : 0x406
cpu MHz         : 499.663
cache size      : 1024 KB
physical id     : 0
siblings        : 4
core id         : 3
cpu cores       : 4
apicid          : 6
initial apicid  : 6
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms
bogomips        : 2880.02
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:


lsusb Ausgabe
root@lattepanda:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0bda:8152 Realtek Semiconductor Corp.
Bus 001 Device 004: ID 2341:8036 Arduino SA Leonardo (CDC ACM, HID)
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Abschließende Zusammenfassung
Der Latte Panda ist wie erwartet erheblich schneller als ein Raspberry Pi oder ähnliche Systeme. Zusätzlich gibt es den Vorteil, daß diese Lösung x86 bzw. arm64-kompatibel ist und ich nahezu jede Linux-Installation verwenden kann. Nach meinen subjektiven Erlebnissen und Erfahrungen sind die großen Linux-Installationen wie Ubuntu und Debian langfristig besser unterstützt und verfügen schneller über Updates als ein Raspbian Linux.
Das ist für mich wichtig, wenn ich Binär-BLOB-Firmware-Dateien benötige (z.B. für spezielle WiFi-USB-Karten usw.).

Trotzdem hat das System nur einen minimalen Stromverbrauch (analog zu einem Raspberry Pi 3), bietet mit dem SD-Card-Slot eine Möglichkeit, Backups zu speichern und rennt...

Bei Fragen bitte fragen...

Ciao, -MN
Einziger Spender an FHEM e.V. mit Dauerauftrag seit >= 24 Monaten

FHEM: MacMini/ESXi, 2-3 FHEM Instanzen produktiv
In-Use: STELLMOTOR, VALVES, PWM-PWMR, Xiaomi, Allergy, Proplanta, UWZ, MQTT,  Homematic, Luftsensor.info, ESP8266, ESERA