Avatar

sdg.marinusvz
2017-03-30 15:29

(this is transcribed from a support call)

If I add another 100 meters, is the disk nog going to be too small?

Avatar

sdg.marinusvz
2017-03-30 15:58

the disk starts at about 60 odd % full before we log any data.

I'll have to go check. According to my last calculations, is should be ok.

Let's go check the sizes

here are all the data logs for 1 meter (about 3 months)


root@beaglebone:/usr/openhab2/MASTER/userdata/persistence/rrd4j# ls -l pnpscadawmbus_meter_76312013*
-rw-r--r-- 1 root root 35980 Mar 28 09:03 pnpscadawmbus_meter_76312013_burst.rrd
-rw-r--r-- 1 root root 35980 Mar 28 09:03 pnpscadawmbus_meter_76312013_comms.rrd
-rw-r--r-- 1 root root 35980 Mar 28 09:03 pnpscadawmbus_meter_76312013_dry.rrd
-rw-r--r-- 1 root root 35980 Mar 28 09:03 pnpscadawmbus_meter_76312013_leak.rrd
-rw-r--r-- 1 root root 35980 Mar 28 09:03 pnpscadawmbus_meter_76312013_reading.rrd
-rw-r--r-- 1 root root 35980 Mar 28 09:03 pnpscadawmbus_meter_76312013_reverse.rrd
-rw-r--r-- 1 root root 35980 Mar 28 09:03 pnpscadawmbus_meter_76312013_tamper.rrd
root@beaglebone:/usr/openhab2/MASTER/userdata/persistence/rrd4j# 

basically 35980x7
that is 251860 bytes
so 250k
per meter
here is the disk df:
root@beaglebone:/usr/openhab2/MASTER/userdata/persistence/rrd4j# df
Filesystem                                             1K-blocks    Used Available Use% Mounted on
rootfs                                                   3513504 2340304    991392  71% /
udev                                                       10240       0     10240   0% /dev
tmpfs                                                     101668   10288     91380  11% /run
/dev/disk/by-uuid/4f9a8e1d-c5d1-46ea-b70d-bb64b660a120   3513504 2340304    991392  71% /
tmpfs                                                     254160       0    254160   0% /dev/shm
tmpfs                                                     254160       0    254160   0% /sys/fs/cgroup
tmpfs                                                     102400       0    102400   0% /run/user
tmpfs                                                       5120       0      5120   0% /run/lock
root@beaglebone:/usr/openhab2/MASTER/userdata/persistence/rrd4j# 
available is 991392K

Avatar

sdg.marinusvz
2017-03-30 15:58

so I can easily put 200 meters on one concentrator?

Avatar

sdg.marinusvz
2017-03-30 16:00

so theoretically we should be able to handle an additional 3965 meters

even if we halve that for a fudge factor

we should run out of CPU or signal reception long before we run out of disk space


Please log in to post a comment