WD uses 100% CPU power!

After many years, I decided to replace my old dedicated weather PC, to another with much more horsepower (Core i5 6th gen with 8GB DDR4) and
Windows 10 64bit to use all the available RAM.

After a painful (but successful) migration of all applications and scheduled jobs, I saw that when WD starts to create the reports(every 5 minutes) to upload it to the webserver,
for at least 20-25 seconds, the CPU is working in 100% of its power, WD freezes for that period with the fans spinning in full speed and after that it returns back to normal! 8O

I don’t know if there are any issues with that configuration (Win 10 64bit), but this is very annoying! I expected that all operations and tasks should run smoothly
with the new PC, but WD is not. All other apps run as expected, but WD not!

On the old pc (dual core Celeron with 4GB DDR3 RAM), CPU power was raising up to 80% just for a few seconds, something logical, because many calculations
are taking place at that time!

Are there any ideas about how to resolve this issue?

Thanks!

Thanos https://meteothes.gr

Hi
When I tried running WD on my weather setup (Intel NUC i5 16gb Ram the CPU was running at 75% all yhe time and WDFTP was uploading all the time.
Dropped back to another weather software and its back to 3%.
Im looking at a new PC at the m moment and will be trying WD on that to see how it goes. :x

[quote author=meteothes link=topic=71738.msg576504#msg576504 date=1634308441]
After many years, I decided to replace my old dedicated weather PC, to another with much more horsepower (Core i5 6th gen with 8GB DDR4) and
Windows 10 64bit to use all the available RAM.

After a painful (but successful) migration of all applications and scheduled jobs, I saw that when WD starts to create the reports(every 5 minutes) to upload it to the webserver,
for at least 20-25 seconds, the CPU is working in 100% of its power, WD freezes for that period with the fans spinning in full speed and after that it returns back to normal! 8O

I don’t know if there are any issues with that configuration (Win 10 64bit), but this is very annoying! I expected that all operations and tasks should run smoothly
with the new PC, but WD is not. All other apps run as expected, but WD not!

On the old pc (dual core Celeron with 4GB DDR3 RAM), CPU power was raising up to 80% just for a few seconds, something logical, because many calculations
are taking place at that time!

Are there any ideas about how to resolve this issue?

Thanks!

Thanos https://meteothes.gr
[/quote%
You could try splitting up the time when the reports are made, i.e… one report on the hour one report at 3min’s past the hour, one at 6min’s past the hour & so on. mine uses about 5% for WD & 4% for the webcam, the webcam usage goes up when it is making a video, & WD goes up to about 30% on the hour when making reports & uploading them. intel core i3-5005uCPU 2.0GHz = 8 GB of ram 1315 1066MHZ

teal.

WD only uses threading on some functions
(threading allows other CPU cores to be used)
i.e so the one CPU is being hit hard
threading is not easy to manage
(i.e the ftp upload would have to be done only once all the internet functions had finished in each thread)
I could try and see if I can manage that to happen and you could test
one easier solution is to spread out the internet upload schedules (using the minute offset), as Teal has suggested

For me it’s 35% for 8 seconds every minute and 35% for about 12 seconds top of the hour.
Its very annoying when I am trying to do something within WD, eg sorting out rainfall or adjusting the graphs etc
Thankfully one does not need to do a lot within WD, but if i was wanting to redo the mainscreen for example, i think the computer would end up going through the window with frustration.

I did not realise other members had this experience also.
I thought it was just my laptop.
8 seconds every minute for me.

Are there members not experiencing this?

Thanks Brian and others for the comments!

I’ll try to reschedule the tasks, although the same were running at the old “weaker” pc! :roll:

I’m willing to test anything you suggest Brian.

Thanks!

it will take me a few days

Oh yes. I did raise a thread here some months back with regard to this. WD was ‘hanging’ for over 20 secs at times and longer on occasion, and was also causing my PC to freeze at the same time. I cut out a load of stuff that WD was uploading to my website that wasn’t needed and now down to around 8 secs every minute and perhaps 15 secs every hour. Unfortunately, WD still causes the PC to also ‘freeze’ when it’s doing its stuff at those times. My PC has 16GB ram and and a 3.4ghz 4 core processer so although I’m used to it, being a WD user for over 15 years, it does angst me that WD hogs all of the processor power at times for a relatively well specked PC.

TrevP

The computer I have running WD is is a repurposed 2014 Dell Inspiron Laptop 3542 running Windows 10 64 bit with an Intel Core i3 Processor running at 1.9 GHz, 8GB RAM, and 500GB of storage on a solid state drive. While WD can stop responding when it’s working on a task, the computer never freezes. This laptop is dedicated to WD but occasionally I will use a web browser, Outlook, Excel, and Word and they are never impacted by what WD is doing.

i have added a few things into separate threads with this update to test
https://www.weather-display.com/downloadfiles/weatherdisplaytest.zip
see how that goes

Thanks Brian for the update! I’ve spread out all the scheduled tasks and installed the update. It looks like it’s much better now, having WD process maximum CPU load at 25-30% (process monitor) during 5 minutes updates! :slight_smile:

The main screen freezes again for almost 25 seconds after the update has started, but this something that happens anyway!

I’ll keep on watching how it goes and let you know if something strange occurs.

Thanos

https://meteothes.gr

I will see if I can make some more improvements yet

After the full latest update (b132) on 28th of October, it seems that the very high CPU power issue has been resolved!

The WD interface freezes only for a few seconds, without raising CPU power to 100%.

Thanks Brian!

Thanos

https://meteothes.gr

that’s good
I have been splitting routines out into separate threads (i.e so more than one CPU core is used), and I see to have got threading under control and working OK now
I will see if I can make some more improvements