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 4017) - 17 March 2024
Legacy Cumulus 1 release v1.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
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4017) - 17 March 2024
Legacy Cumulus 1 release v1.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
High CPU Usage - [SOLVED]
Moderator: mcrossley
- mcrossley
- Posts: 12689
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
High CPU Usage - [SOLVED]
On my Win7 installation (now working fine after installing .Net 4.5), CumulusMX is sat using 21% CPU, which seems a little high?
Realtime = 10 seconds
Logging = 5 minutes
Station = FO 1090
Edit: No console connected.
Realtime = 10 seconds
Logging = 5 minutes
Station = FO 1090
Edit: No console connected.
You do not have the required permissions to view the files attached to this post.
Last edited by mcrossley on Mon 05 Jan 2015 12:10 pm, edited 1 time in total.
- steve
- Cumulus Author
- Posts: 26702
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: High CPU Usage
Yes, it does. It uses about 1% with my VP2, so it's likely to be the FO data reading loop. I'll investigate.
Steve
- mcrossley
- Posts: 12689
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: High CPU Usage
The I/O is a constant read and write of about 110KB/s if that is any help.
- steve
- Cumulus Author
- Posts: 26702
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: High CPU Usage
I've done a quick test with my FO, and it's using less than 1% CPU according to task manager. This is on Windows 8.1.
What is that utility that you're using?
What is that utility that you're using?
Steve
- mcrossley
- Posts: 12689
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: High CPU Usage
I'm using Process Explorer, part the System Internals toolset from MS - recommended!
The thread info shows this...
The thread info shows this...
You do not have the required permissions to view the files attached to this post.
- steve
- Cumulus Author
- Posts: 26702
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: High CPU Usage
Ah, yes, I use that from time to time. I don't get anything like what you're seeing:
Googling GetMetaDataInternalInterfaceFromPublic finds a number of mentions of high CPU usage, but I don't really know how it ties in with Cumulus MX. It seems to be something to do with IIS. I haven't got time to look any further at the moment, I should be working...
Googling GetMetaDataInternalInterfaceFromPublic finds a number of mentions of high CPU usage, but I don't really know how it ties in with Cumulus MX. It seems to be something to do with IIS. I haven't got time to look any further at the moment, I should be working...
You do not have the required permissions to view the files attached to this post.
Steve
- mcrossley
- Posts: 12689
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: High CPU Usage
No problem, get on with the paid work!
This is weird, there were 'normally' a number of threads consuming about 5% each, I did a stack trace (in Process Explorer) on those, nothing unusual, then every so often a single thread would use 21%. I did a stack trace on that thread, and it was writing to file. Now the weird bit, after doing that stack trace the MX utilisation immediately dropped to 2% (I heard to fan slow as the stack trace was displayed), and it has stayed like that ever since.
I had already restarted MX a number of times due to duplicated lines in the Jan15 log file, each time it consumed 20% CPU.
I'll restart it again later and see what happens, but I'll leave it running as-is for now (all the I/O has gone!)...
This is weird, there were 'normally' a number of threads consuming about 5% each, I did a stack trace (in Process Explorer) on those, nothing unusual, then every so often a single thread would use 21%. I did a stack trace on that thread, and it was writing to file. Now the weird bit, after doing that stack trace the MX utilisation immediately dropped to 2% (I heard to fan slow as the stack trace was displayed), and it has stayed like that ever since.
I had already restarted MX a number of times due to duplicated lines in the Jan15 log file, each time it consumed 20% CPU.
I'll restart it again later and see what happens, but I'll leave it running as-is for now (all the I/O has gone!)...
You do not have the required permissions to view the files attached to this post.
- mcrossley
- Posts: 12689
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: High CPU Usage
Actually, something seems to have crashed, it stopped updating the web site
BUT! problem solved, I had edited the Cumulus.ini to change my realtime interval to seconds, rather than miliseconds 10000 -> 10
It seems the build 3001 does use milliseconds now? It was trying to update the realtime every 10 ms, I have changed it back to 10000 and it is updating every 10 seconds.
Maybe it was just my confusion, but I could have sworn that we had to edit the value from ms to secs - but I can't find the reference now!
BUT! problem solved, I had edited the Cumulus.ini to change my realtime interval to seconds, rather than miliseconds 10000 -> 10
It seems the build 3001 does use milliseconds now? It was trying to update the realtime every 10 ms, I have changed it back to 10000 and it is updating every 10 seconds.
Maybe it was just my confusion, but I could have sworn that we had to edit the value from ms to secs - but I can't find the reference now!
- steve
- Cumulus Author
- Posts: 26702
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: High CPU Usage - [SOLVED]
Yes, I'm confused now myself, because the timers in MX do also use milliseconds.
Steve
- steve
- Cumulus Author
- Posts: 26702
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: High CPU Usage - [SOLVED]
I think it's all actually correct after all, it's just that the interval is displayed in milliseconds.
Steve
-
- 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: High CPU Usage - [SOLVED]
Talking of high CPU. MX does seem to use more than V1 did
Some graphs:
(note, I rename cumulusmx.exe to cumulus.exe so my monitoring program is happy - too lazy to change it!)
Some graphs:
(note, I rename cumulusmx.exe to cumulus.exe so my monitoring program is happy - too lazy to change it!)
You do not have the required permissions to view the files attached to this post.
- steve
- Cumulus Author
- Posts: 26702
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: High CPU Usage - [SOLVED]
Here's mine (5 sec realtime interval, processing realtime.txt and 2 extra files):
I don't know what v1 used (I may give it a try) but it could hardly use less.
I don't know what v1 used (I may give it a try) but it could hardly use less.
You do not have the required permissions to view the files attached to this post.
Steve
- steve
- Cumulus Author
- Posts: 26702
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: High CPU Usage - [SOLVED]
I tried running Cumulus 1 in the same folder, so the same settings and the same data, and it used significantly more CPU than MX (between 1 and 4%). This is on an 8 year old computer.
But in any case, MX is a debug build, so performance comparisons aren't particularly useful at the moment.
But in any case, MX is a debug build, so performance comparisons aren't particularly useful at the moment.
Steve
-
- 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: High CPU Usage - [SOLVED]
I wasn't trying to criticise... I posted more for your info than wanting you to do anything about it. its odd how it acts differently on different machines. Perhaps if I get bored I will try it on another.