1 | # Frieder Ferlemann: this gnuplot script makes sense for data from SSD drives with Indilinx controllers
|
---|
2 |
|
---|
3 | set term png size 1600,1200
|
---|
4 | set output "sm_all.png"
|
---|
5 |
|
---|
6 | #set xrange [1000:]
|
---|
7 |
|
---|
8 | set multiplot layout 4,2
|
---|
9 |
|
---|
10 | set tics nomirror
|
---|
11 | set mxtics
|
---|
12 | set mytics
|
---|
13 | set y2tics
|
---|
14 | set my2tics
|
---|
15 |
|
---|
16 | set key left
|
---|
17 |
|
---|
18 | #set output "sm1.png"
|
---|
19 | set title "STT_FTM64GX25H Write_Sectors_Tot_Ct and Average_Erase_Count over POH"
|
---|
20 | set xlabel "Power_On_Hours"
|
---|
21 | set ylabel "Write_Sectors_Tot_Ct"
|
---|
22 | set y2label "Average_Erase_Count"
|
---|
23 | plot "sm.dat" using 1:2 ps 0.3 lc 2 title "Write_Sectors_Tot_Ct", \
|
---|
24 | "" using 1:8 ps 0.6 lc 1 title "Average_Erase_Count" axis x1y2
|
---|
25 |
|
---|
26 |
|
---|
27 | #set output "sm2.png"
|
---|
28 | set title "STT_FTM64GX25H Bytes written and Bytes erased over POH\nGarbage collection running wild?"
|
---|
29 | set ylabel "GByte written"
|
---|
30 | set y2label "GByte erased"
|
---|
31 | media_size=2^36
|
---|
32 | plot "sm.dat" using 1:($2) * 512 / 1E9 ps 0.3 lc 2 title "written", \
|
---|
33 | "" using 1:($8) * media_size ps 0.6 lc 1 title "erased" axis x1y2
|
---|
34 |
|
---|
35 |
|
---|
36 | #set output "sm3.png"
|
---|
37 | set title "STT_FTM64GX25H Error Count over POH"
|
---|
38 | set ylabel "Error Count"
|
---|
39 | set y2label "Average_Erase_Count"
|
---|
40 | #set key bottom right
|
---|
41 | plot "sm.dat" using 1:($4) ps 0.3 title "Error_Bits_Flash_Tot_Ct", \
|
---|
42 | "" using 1:($5) ps 0.3 title "Corr_Read_Errors_Tot_Ct", \
|
---|
43 | "" using 1:($8) w l lw 0.1 title "Average_Erase_Count" axis x1y2
|
---|
44 |
|
---|
45 | #set output "sm4.png"
|
---|
46 | set title "STT_FTM64GX25H Lifetime Guesses over POH\n(based on Max_PE_Count_Spec=10000) (expect glitches)"
|
---|
47 | set ylabel "Remaining_Lifetime_Perc"
|
---|
48 | set y2label "Estimated Lifetime Hours"
|
---|
49 | Max_PE_Count_Spec=10000
|
---|
50 | plot "sm.dat" using 1:($9) ps 0.3 title "Remaining_Lifetime_Perc (drive)", \
|
---|
51 | "" using 1:(100-100*($8)/(Max_PE_Count_Spec)) ps 0.3 title "Remaining_Lifetime_Perc (calc)", \
|
---|
52 | "" using 1:($1)*100/(100-(($9)==100?99.5:($9))) ps 0.3 title "Estimated Lifetime (calc1)" axis x1y2, \
|
---|
53 | "" using 1:($1)*(Max_PE_Count_Spec)/(($8)==0?0.5:($8)) ps 0.3 title "Estimated Lifetime (calc2)" axis x1y2
|
---|
54 |
|
---|
55 | #set output "sm5.png"
|
---|
56 | set title "STT_FTM64GX25H Write_Sectors_Tot_Ct and Write_Commands_Tot_Ct over POH"
|
---|
57 | set ylabel "Write_Sectors_Tot_Ct"
|
---|
58 | set y2label "Write_Commands_Tot_Ct"
|
---|
59 | set key bottom right
|
---|
60 | plot "sm.dat" using 1:2 ps 0.3 title "Write_Sectors_Tot_Ct", \
|
---|
61 | "" using 1:3 ps 0.3 title "Write_Commands_Tot_Ct" axis x1y2
|
---|
62 |
|
---|
63 | #set output "sm6.png"
|
---|
64 | set title "STT_FTM64GX25H Erase Count over POH"
|
---|
65 | set ylabel "Erase Count"
|
---|
66 | set y2label ""
|
---|
67 | set key bottom right
|
---|
68 | plot "sm.dat" using 1:7 ps 0.3 title "Max_Erase_Count", \
|
---|
69 | "" using 1:8 ps 0.3 title "Average_Erase_Count", \
|
---|
70 | "" using 1:6 ps 0.3 title "Min_Erase_Count"
|
---|
71 |
|
---|
72 | #set output "sm7.png"
|
---|
73 | set xrange [0:]
|
---|
74 | set title "STT_FTM64GX25H Error Count over Average_Erase_Count"
|
---|
75 | set ylabel "Error Count"
|
---|
76 | set y2label "Power_On_Hours"
|
---|
77 | set xlabel "Average_Erase_Count"
|
---|
78 | #set key bottom right
|
---|
79 | plot "sm.dat" using 8:($4) ps 0.3 title "Error_Bits_Flash_Tot_Ct", \
|
---|
80 | "" using 8:($5) ps 0.3 title "Corr_Read_Errors_Tot_Ct", \
|
---|
81 | "" using 8:($1) w l lw 0.1 title "Power_On_Hours" axis x1y2
|
---|
82 |
|
---|
83 | #set output "sm8.png"
|
---|
84 | set title "STT_FTM64GX25H Error Count over Write_Sectors_Tot_Ct"
|
---|
85 | set ylabel "Error Count"
|
---|
86 | set y2label "Power_On_Hours"
|
---|
87 | set xlabel "Write_Sectors_Tot_Ct"
|
---|
88 | #set key bottom right
|
---|
89 | plot "sm.dat" using 2:($4) ps 0.3 title "Error_Bits_Flash_Tot_Ct", \
|
---|
90 | "" using 2:($5) ps 0.3 title "Corr_Read_Errors_Tot_Ct", \
|
---|
91 | "" using 2:($1) w l lw 0.1 title "Power_On_Hours" axis x1y2
|
---|