FHEM Forum

FHEM - Hardware => Einplatinencomputer => Thema gestartet von: Pythonf am 15 September 2014, 19:15:21

Titel: [GELÖST]Cubietruck nand vs ssd/hdd?
Beitrag von: Pythonf am 15 September 2014, 19:15:21
Ist es eigentlich lohnenswert das OS des Cubietruck auf eine HDD/SDD zu verschieben? Wie groß sind die Geschwindigkeitsvorteile (vor allem SSD) auch in Bezug auf FHEM?

Gruß
Fabian
Titel: Antw:Cubietruck nand vs ssd/hdd?
Beitrag von: betateilchen am 15 September 2014, 21:15:24
ich geh schonmal das Popcorn holen ...
Titel: Antw:Cubietruck nand vs ssd/hdd?
Beitrag von: P.A.Trick am 15 September 2014, 21:17:24
Zitat von: betateilchen am 15 September 2014, 21:15:24
ich geh schonmal das Popcorn holen ...

OT: Wo bleibt denn das schöne Popcorn Bildchen? :D
Titel: Antw:Cubietruck nand vs ssd/hdd?
Beitrag von: Pythonf am 15 September 2014, 21:18:59
Jetzt interessiert es mich noch mehr, scheint ja dann sehr unterschiedliche Meinungen diesbezüglich zu geben?

Grüße
Fabian
Titel: Antw:Cubietruck nand vs ssd/hdd?
Beitrag von: juppzupp am 15 September 2014, 22:49:13
Ungesalzen :

Nand:

root@cubie:~# dd if=/dev/zero of=tempfile bs=1M count=128 conv=fdatasync,notrunc
128+0 records in
128+0 records out
134217728 bytes (134 MB) copied, 22.4641 s, 6.0 MB/s
root@cubie:~# echo 3 | sudo tee /proc/sys/vm/drop_caches
3

root@cubie:~#
root@cubie:~# dd if=tempfile of=/dev/null bs=1M count=128
128+0 records in
128+0 records out
134217728 bytes (134 MB) copied, 10.6818 s, 12.6 MB/s
root@cubie:~# dd if=tempfile of=/dev/null bs=1M count=128
128+0 records in
128+0 records out
134217728 bytes (134 MB) copied, 0.371504 s, 361 MB/s
root@cubie:~#


SSD:


root@cubie:/opt# dd if=/dev/zero of=tempfile bs=1M count=128 conv=fdatasync,notrunc
128+0 records in
128+0 records out
134217728 bytes (134 MB) copied, 5.7486 s, 23.3 MB/s
root@cubie:/opt# echo 3 | sudo tee /proc/sys/vm/drop_caches
3
root@cubie:/opt# dd if=tempfile of=/dev/null bs=1M count=128
128+0 records in
128+0 records out
134217728 bytes (134 MB) copied, 1.76732 s, 75.9 MB/s
root@cubie:/opt# dd if=tempfile of=/dev/null bs=1M count=128
128+0 records in
128+0 records out
134217728 bytes (134 MB) copied, 0.374857 s, 358 MB/s
root@cubie:/opt#


Ob man es merkt? Nie probiert. Ich hab das OS auf dem nand, alles was fhem ist auf der ssd.

Titel: Antw:Cubietruck nand vs ssd/hdd?
Beitrag von: Pythonf am 15 September 2014, 23:09:52
Das schaut von den Daten her - wie erwartet - sehr eindrucksvoll aus. Aber ob sich der Umstieg auf SSD lohnt weiß ich dennoch nicht - naja, ich werd noch ein wenig warten, aktuell läuft mein FHEM ja gut :D
Gruß
Fabian
Titel: Antw:Cubietruck nand vs ssd/hdd?
Beitrag von: franky08 am 15 September 2014, 23:26:31
Ist meiner Meinung auch eine Frage den NAND mit den Logfiles zuzuballern, ständige Schreib- Lesezugriffe sind da bestimmt auch, bezüglich der Lebensdauer und Größe (DbLog), nicht gerade förderlich.

VG
Frank

P.S. Bei mir läuft Cubian auf dem NAND und fhem samt Datenbank auf SSD
Titel: Antw:Cubietruck nand vs ssd/hdd?
Beitrag von: Pythonf am 15 September 2014, 23:31:46
Daran hatte ich so noch garnicht gedacht, aber das ist natürlich ein schlagkräftiges Argument
Titel: Antw:Cubietruck nand vs ssd/hdd?
Beitrag von: franky08 am 15 September 2014, 23:38:17
Nachdem ich im Juni auf den Cubietruck umgezogen bin, ist meine fhem.dB mittlerweile bei ca. 4GB und ich logge nur das, was ich wirklich für die Plots brauche. Alles andere steht auf exclude.

VG
Frank
Titel: Antw:[GELÖST]Cubietruck nand vs ssd/hdd?
Beitrag von: juppzupp am 16 September 2014, 00:16:05
4GB in 3 Monaten?  :o
Titel: Antw:[GELÖST]Cubietruck nand vs ssd/hdd?
Beitrag von: franky08 am 16 September 2014, 02:16:22
3,67 GB, die RTs senden ja laufend, auch im Sommer  :)

VG
Frank
Titel: Antw:[GELÖST]Cubietruck nand vs ssd/hdd?
Beitrag von: betateilchen am 16 September 2014, 08:33:49
man muss aber auch nicht jeden Mist loggen, den die RTs so durch den Äther schicken...
Titel: Antw:[GELÖST]Cubietruck nand vs ssd/hdd?
Beitrag von: epsrw1 am 12 Oktober 2014, 11:49:57
ich unterstelle mal daß NAND und SSD genauso gut sind (popcorn ist alle) und bevorzuge persönlich daher die SSD da ich die in kurzer zeit austauschen kann wenn es zum problem kommen sollte.
der WAF für einen plattentausch ist auch deutlich höher als das ganze board umzustöpseln ;)

LG, florian :)