Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Raspberry Pi

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

tumutbound
Posts: 154
Joined: Thu 11 Mar 2010 11:03 am
Weather Station: WH1081
Operating System: Linux, Raspberry Pi (Wheezy)
Location: Port Huon, Tasmania , Australia
Contact:

Re: Raspberry Pi

Post by tumutbound »

I do see a CPU usage of 95% to 98% when processing those files. Load average is still around 0.60
My weather
CumulusMX (3036)
Raspberry Pi: Wheezy
FineOffset WH1081
Adrian Hudson
Posts: 220
Joined: Mon 03 Jan 2011 4:27 pm
Weather Station: Davis Vantage Pro2
Operating System: Win 7
Location: Willand, mid Devon.
Contact:

Re: Raspberry Pi

Post by Adrian Hudson »

tumutbound wrote:I do see a CPU usage of 95% to 98% when processing those files. Load average is still around 0.60
Thanks for that. I wondered if it was just my setup.
thecivvie
Posts: 39
Joined: Mon 02 Apr 2012 6:48 pm
Weather Station: Davis Vantage Vue
Operating System: Raspberry Pi
Location: Renvyle, Connemara, Ireland
Contact:

Re: Raspberry Pi

Post by thecivvie »

At first I was not seeing this but I haven't touched my Pi since installed b3005 and top is reporting 97% usage dropping back down to 13%. I don't know when this started but it was not getting to that level yesterday evening. About to installed b3006 so will continue to monitor
Image
thecivvie
Posts: 39
Joined: Mon 02 Apr 2012 6:48 pm
Weather Station: Davis Vantage Vue
Operating System: Raspberry Pi
Location: Renvyle, Connemara, Ireland
Contact:

Re: Raspberry Pi

Post by thecivvie »

Don't know if it is related but I hit 100% and suddenly had some odd data, wind speed of 184km/h, dew point of -31c, low humidity of 9%, oddly all timed the same time. Nothing in MXDiag for that time
Image
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Raspberry Pi

Post by steve »

Could be related, if it wasn't doing anything CPU-intensive at that time, like processing web pages. I'll have to put some more diagnostic logging into the Davis code.
Steve
thecivvie
Posts: 39
Joined: Mon 02 Apr 2012 6:48 pm
Weather Station: Davis Vantage Vue
Operating System: Raspberry Pi
Location: Renvyle, Connemara, Ireland
Contact:

Re: Raspberry Pi

Post by thecivvie »

steve wrote:Could be related, if it wasn't doing anything CPU-intensive at that time, like processing web pages. I'll have to put some more diagnostic logging into the Davis code.
I use a Fine Offset , not sure what the others use
Image
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Raspberry Pi

Post by steve »

thecivvie wrote:I use a Fine Offset , not sure what the others use
Ah, OK I was confusing it with what is presumably your main station. This is probably just the usual Fine Offset bad data. It's interesting if it was indeed related to the high CPU activity, though.
Steve
thecivvie
Posts: 39
Joined: Mon 02 Apr 2012 6:48 pm
Weather Station: Davis Vantage Vue
Operating System: Raspberry Pi
Location: Renvyle, Connemara, Ireland
Contact:

Re: Raspberry Pi

Post by thecivvie »

steve wrote:
thecivvie wrote:I use a Fine Offset , not sure what the others use
Ah, OK I was confusing it with what is presumably your main station. This is probably just the usual Fine Offset bad data. It's interesting if it was indeed related to the high CPU activity, though.
Sorry wish there was a way to have a signature just for different sections lol. Yeah my main is a Vantage Vue running normal Cumulus. My Pi is Fine Offset.

Next time I sit down to the main station, I plan to stick MX on it :)
Image
Adrian Hudson
Posts: 220
Joined: Mon 03 Jan 2011 4:27 pm
Weather Station: Davis Vantage Pro2
Operating System: Win 7
Location: Willand, mid Devon.
Contact:

Re: Raspberry Pi

Post by Adrian Hudson »

Adrian Hudson wrote:There is a file cumulusxml.tpl which is processed to produce cumulusajax.xml that is uploaded to my web site. If I turn processing off, cpu drops to 1-2%.
To contradict myself...
Actually, even with this file removed, on the Pi, processing peaks at 95% to 100% for up to 3 minutes when the standard files are produced and any extra files processed. In fact, its in danger of bumping into the next processing cycle if it takes much longer :-)
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Raspberry Pi

Post by steve »

I put some tracing in to time the creation and FTP of the standard HTML files and graph data files.

On my 8-year old Windows PC:
Create standard files: 0.4 s
Create graph data : 0.2 s
Upload standard files: 15 s
Upload graph data files: 17 s

On my Raspberry PI:
Create standard files: 14s
Create graph data : 7 s
Upload standard files: 13 s
Upload graph data files: 10 s

CPU usage for mono was about 94% during the creation of the files, falling off to below 10% during FTP. The Pi FTP time may be lower because the PC is also doing other web updates at the same time.

I tried the same thing on a USB hard drive, and got pretty much the same timings, which did surprise me. CPU usage was a little lower, at about 90%
Steve
thecivvie
Posts: 39
Joined: Mon 02 Apr 2012 6:48 pm
Weather Station: Davis Vantage Vue
Operating System: Raspberry Pi
Location: Renvyle, Connemara, Ireland
Contact:

Re: Raspberry Pi

Post by thecivvie »

I got this when I did a screen -r to see what mono was doing

Connected From : 192.168.1.5:51772
Disconnect From : 192.168.1.5:51772
_wapi_connect: error looking up socket handle 0xe
_wapi_connect: error looking up socket handle 0xd

trying to connect to the Pi mono is timing out via browser but top is showing 97% usage to Mono.

Just terminated Mono and restarted
Image
WoodburyMan
Posts: 166
Joined: Sun 04 Sep 2011 2:02 am
Weather Station: Ecowitt GW1000
Operating System: Windows 10 20H2
Location: Woodbury, Connecticut, U.S.A.
Contact:

Re: Raspberry Pi

Post by WoodburyMan »

It might be helpful to list which Pi you're using? My understanding is some are faster than others.

Just ordered a B+ to test with. Should arrive Tuesday. I'll be testing on OSX tonight as well now that my main Windows box is up and running 100% I can play with other OS's.
Woodbury, CT Weather Ecowitt GW1100, Solar, Wind, Rain, Temp, Soil, Lightning
Southington, CT Weather Ecowitt GW2000 Wittboy Solar, Wind, Rain, Temp, Soil, Lightning, CO2/PM2.5/PM10

Running CumuluxMX 3.24.1 b3234 both sites on Windows 11 22H2
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Raspberry Pi

Post by steve »

I don't think there's much performance difference between any of them, they all use the same processor. In performance terms, it's roughly equivalent to a 300Mhz Pentium II, circa 1997.
Steve
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Raspberry Pi

Post by steve »

thecivvie wrote:trying to connect to the Pi mono is timing out via browser but top is showing 97% usage to Mono.
I'll leave my Pi running with my Fine Offset and uploading to the web, and see if I get any funnies.
Steve
thecivvie
Posts: 39
Joined: Mon 02 Apr 2012 6:48 pm
Weather Station: Davis Vantage Vue
Operating System: Raspberry Pi
Location: Renvyle, Connemara, Ireland
Contact:

Re: Raspberry Pi

Post by thecivvie »

I have the B+ but the main difference is Ram size A has 256 and B has 512. Cannot recall what the + has different.

Steve I notice no odd data when I got that _wapi_connect error , not that I know what that us anyway lol :groan:
Image
Locked