Adding the G.INP related has significantly increased the data stored for each minute's sample.
Pre-G.INP, my connection stored around 630 bytes of data per row.
With G.INP active, around 900 bytes per sample are stored.
900 bytes per sample x 1440 samples per day x 365 days per year equates to around 473,040,000 bytes per year.
Divided by 1024, that equates to around 462 MB per year.
Ronski's connection doesn't use G.INP (ECI Dslam), so his every minute samples will be smaller than mine (simple zero values used where G.INP related data would go if his connection could use it).
Splitting
modem_stats.log at pre-set intervals
IS on my things to do list (when I eventually get round to it - it's a long list).
Ronski does very politely & kindly remind me about this every now & then
As each row of data is a variable length,
graphpd.exe has to firstly read every row to count the total number of rows & then go back to the row where the data to be plotted starts.
e.g. 1440 rows from the end for 1 day or 720 rows from the end for 12 hours etc. etc.
It doesn't take long on my PC though:-
The whole log file contains
226320 rows
Please wait......
DSL_MODE = VDSL2
Please wait......
row_num 1 - 23:23:05.746
1440 samples processed.
row_num 226320 - 23:23:07.072
This is how long the whole process took to plot the data for the latest 24 hours:-
07/06/2015 23:28:45.872 - Start of [graphpd.exe] v 5.1.0.1
07/06/2015 23:29:19.896 - End of graphpd. 1440 samples i.e. 1 Day of data should have been plotted.
& this long for the latest 30 days:-
07/06/2015 23:31:33.096 - Start of [graphpd.exe] v 5.1.0.1
07/06/2015 23:34:07.989 - End of graphpd. 43200 samples i.e. 30 Days of data should have been plotted.
How many days of data do you plot at a time?It's actually the graphing program used by graphpd.exe (gnuplot) that takes the most time.
Reading the log & creating the temporary data file that is used for the plotting should only take a few seconds.
I will get round to splitting
modem_stats.log into smaller chunks at some stage, but TBH, it's not my highest priority just at the moment.