Temperature Monitors
James Peacock (318) 129 posts |
Avalanche will adjusts the intervals between null polls depending on what it is doing, so its null poll rate will not be uniform. However, there shouldn’t really be any polling if there are no open connections, at least as far as I can recall. This doesn’t look to be the case, so I’ll make a note to look into that next time I dig it out. |
George T. Greenfield (154) 748 posts |
Testing today yields the following provisional results: !Avalanche can be launched without affecting CPU speed control adversely (contrary to what I said earlier – I still cannot account for the different behaviour if launched at boot), but once connection with a server is made, disconnecting but leaving !Avalanche running disables CPU ‘slow’ speed, and the only way to restore the latter is by quitting !Avalanche. I’ll continue to test, but the above is the result of several iterations. |
Steve Pampling (1551) 8170 posts |
Avalanche starts various modules if not already loaded. Something in Avalanche using a sub-optimal module? RmEnsure BypassAlt 0.00 X RMLoad System:Modules.BypassAlt 1 Not impossible. |
George T. Greenfield (154) 748 posts |
Of the above, 167 204379B4 202DAB74 SocketWatch is loaded (!Avalanche is currently launched and connected to my laptop server). EDIT: closing the server window (i.e. disconnecting) but leaving !Avalanche running, *modules still lists SocketWatch as above. FURTHER EDIT: quitting !Avalanche and running *modules still lists SocketWatch, but CPU speed control is back to normal i.e. slowing down on idle. |
Dave Higton (1515) 3526 posts |
SocketWatch shouldn’t cause a problem. It relies on socket events, not Wimp polling. Its whole purpose is to remove the need for sockets-based apps to poll for traffic. |
George T. Greenfield (154) 748 posts |
Update: I’m pretty sure now, based on the last couple of days’ usage, that !Avalanche is responsible for locking the Pi into high-speed mode, once it has connected to the laptop server. This is not to denigrate !Avalanche’s usefulness: having quick access in the RISC OS desktop to Firefox on Windows offers a better and more comprehensive browsing experience than any native browser (I haven’t tried Iris, to be fair, but I have used Otter extensively), and it is useful to be able to view RISC OS-generated PDFs etc as they will be seen by the majority of recipients. I have also found !Avalanche reliable and stable in daily use. However, having disconnected the server (at which point CPUClock was showing an unvarying 1500MHz and 60 deg.C) and quit !Avalanche, ten minutes later and I’ve got 51-53 deg.C at a steady 600MHz. |
David Pitt (3386) 1248 posts |
I see similar here on both the Titanium and RPi400, cpu is permanently at full speed on an Otherwise (Speed and temperature measurements are from |
Chris Hughes (2123) 336 posts |
I am using an ARMX6 here and not seeing the reported issues, I have !Avalanche on the icon bar all the time v0.28 if it makes any difference, and on checking its not using any CPU use at all here, whereas Organizer is using up to 1%, and my speed is varying all the time, but !Iris and it webkit processes are using lots of processor CPU and temp is 48 C and at maximum CPU speed. So not seeing the stick at maximum CPU speed. |
David Pitt (3386) 1248 posts |
After disconnection and CPU stuck at high
|
Chris Johnson (125) 825 posts |
I have had a bit of a play with an ARMX6 and an IGEPv5. I haven’t yet seen the problem, except …. … at one point I was viewing the ARMX6 on the IGEP, where the ARMX6 was itself viewing the IGEP! That is not to be recomended, since any change in one view triggers a change in the other view which triggers a change in the other view…. I am currently posting this from the ARMX6 using the VNC view on the IGEP, and all cpu speeds and temperatures are behaving normally. I’ll leave everything running to see if the problem appears later. |
Chris Johnson (125) 825 posts |
I have managed to get the ARMX6 into an apparent locked fast speed, although TaskUsage showed nothing hogging the processor. Avalanche was connected and displaying the remote IGEP desktop. I then quit CPUClock, including module, and then reran it. After CPUClock relaunched, the cpu speed was switching between fast and slow. However, this lasted only for a minute or so and the cpu speed appeared once again locked at fast. Killing the Avalanche connection immediately restored the fast/slow switching, although the ratio of fast to slow seems much higher than normal for an idling machine. Ahhh – after about 5 mins the fast speed ratio increased and it is now constant at fast again. Quitting Avalanche, and the fast/speed switching immediately reverted to complete normality, with cpu staying at slow speed until some action is carried out. All very curious. |
Chris Johnson (125) 825 posts |
One other thing I should note is that during the time the cpuspeed appeared to be locked at fast, there was no indication the cpu temperature increased. The ARMX6 is normally very stable in terms of temperature, being underclocked and fan cooled, but I should have thought there would have been a small rise in temperature at that time. |
Rick Murray (539) 13840 posts |
Might depend upon what the machine is actually doing? If it’s essentially doing nothing, only faster ;), then an increase might be minimal – especially for a board that’s not only being run slow, but is fan cooled too. Judging by what’s been said so far here (and only a total guess) I’m wondering if Avalanche is hooking into various things (and running null polls) in order to be able to send state to the remote connection, and not fully unhooking itself afterwards, leading to the Wimp thinking there’s something happening that needs faster speed? Still claiming those nulls? |
David Pitt (3386) 1248 posts |
That might just be showing how well fan cooling can work. My machines are fanless and it is clearly seen that It just seems a bit odd that With a reasonably cooled machine there is perhaps no big issue and a pragmatic ‘solution’ might be to not load |
George T. Greenfield (154) 748 posts |
I agree: AFAICS none of the temperatures described by posters above should prove to be significantly life-shortening, nor presumably is there any problem with a Pi4 (for example) running at 1500MHz indefinitely, providing temps remain within a reasonable range. My Pi4 is mounted vertically behind the monitor on a homemade VESA mount, caseless with a WiFi HAT, orientated so that the USB sockets are at the bottom. Temps with !Avalanche not operating are 52-53 deg.C, with !Avalanche in operation around 60-61 deg.C. CPUClock throttling is set at 65 deg.C. It’s not overclocked. I don’t anticipate any problem running at these temperatures indefinitely. |
Chris Johnson (125) 825 posts |
Indeed. I never normally run CPUClock on the ARMX6 because the temperature remains cool, even when working hard. Both the Titanium and IGEPv5, although in an enclosure fitted with a fan, do ramp the temperature up on any excuse, so I do normally run CPUClock on those. |
James Peacock (318) 129 posts |
Perhaps the temperature increase is mostly due to the higher CPU frequency, rather than Avalanche directly. Although Avalanche clearly shouldn’t be polling when there are no connections, a few tens of null poll events per second, each using a tiny fraction of a second shouldn’t really require the CPU to ramp up. |
George T. Greenfield (154) 748 posts |
Maybe they shouldn’t, but something Avalanche is doing is causing the ramp-up. However that in itself is not a cause for concern, so long as operating temperatures remain within acceptable limits, and the general consensus (as far as I can see) seems to be that they do. |
Clive Semmens (2335) 3276 posts |
Still has a power consumption implication. If you’re on mains that’s probably not a concern, but if you’re on battery, even in a car if it’s parked up for quite a while, it may be. |
Rick Murray (539) 13840 posts |
Probably not that relevant, really. To put this into context, however, a Pi1 and Uniroi 7" display were happily powered from a 15000mAh brick for all that I wanted to do during the day (maybe seven or eight hours?). The battery never ran out, and seeing as how the consumption was low, if I wanted to do something else for a while, I just left everything running. When it comes to car batteries, they’re much more massive. Various internet estimates give figures in the range if 60-90 hours, though this may just be the Pi itself (any display or add-on will take power), plus there’s a huge difference between “having enough charge” and “having enough charge to start the car”. Conclusion? If you have plugged your machine into a car, don’t run Avalanche. |
Clive Semmens (2335) 3276 posts |
Wired connection to your Mac, which is wified to the router in your house? ;-)
What’s the Pi draw? A car battery can deliver around 10W for that long – leaving nothing to start the car, of course. How much you need to start a car is a how long is a piece of string question: a big diesel engine, cold, in cold weather might need as much as 30% of a full, healthy battery; a warm petrol engine in good condition less than 1%. I’ve measured the drain on my old Honda Accord’s battery just keeping the alarm and the clock going (without anyone activating the alarm!) – it’s about 150mW. Which ought to mean I can leave it parked for weeks on end and still start it. Except that the battery’s old and has I don’t know how big an internal drain. In winter it needs charging if it’s left more than about a week. |
Steve Fryatt (216) 2105 posts |
For a modern car with alarm and remote central locking, I think VW quote six weeks before you should think of checking the battery state1. Empirical evidence says that mine drops around 20-30% in three weeks over a summer lock-down, so that might not be too far off the mark. 1 In the context of asking a dealer for advice on how to get into such a car if the battery is totally flat. It’s a lot of hassle. Don’t do it… |
Clive Semmens (2335) 3276 posts |
2004 Honda Accord Tourer: you can open the door with a mechanical key. The bonnet catch is mechanical, lever under the dashboard. Hey presto, connect up the charger to the battery. The biggest hassle is setting the clock… More fun was when the battery in the key went flat: open the car with the key, no problem – but the alarm goes off, and can’t be stopped. Drive home with the alarm going, get Grace’s key, turn off the alarm. Nobody took a blind bit of notice of an elderly gent driving a car with the hazards flashing and an alarm going…happily the hazards had the decency to defer to the direction indications when required! |
Rick Murray (539) 13840 posts |
Actually pretty easy unless there is really something badly wrong with the design of the VW. I had no trouble starting the C1 using jump cables from my toy car, after having no battery hooked up for a couple of months. Programming the door unlocking, on the other hand, is voodoo. This uses a 433MHz gizmo (it’s not the same thing as the immobiliser) and it needs to be paired with the car. From memory it’s something like turn the ignition on then off, with the driver’s door open, lock and unlock using the door button, twice. Repeat all of this. Close the door. Ignition on and off twice. Open door. Press “lock” on the key fob, twice. Other cars will use other methods. My toy car wants the ignition turned from off to accessories five times with a specific timing; a car we used to have wanted something similar, but the accelerator press and not pressed in alternation. Thank <Deity$Name> for the internet!
|
Rick Murray (539) 13840 posts |
Does that car not have an immobiliser? Mom didn’t like car alarms. In the lovely spot we lived for a while not too far from the forum these messages ought to be in, car alarms were useless. Thugs would push cars to set the alarms off. Once in a while an alarm would go off because somebody bricked a window to swipe something, but nobody would pay any attention because it happened so often. But then, this was where somebody bricked a granny’s living room window in the middle of the day and oddly enough nobody saw a thing… Lovely place, was so happy to leave. To lamely try to be vaguely on topic – cars have temperature monitors too. Bad things happen if they get too hot. While microchips might simply stop working, or release some magic smoke if you push it too hard too quickly, cars failing from overheating tend to be slightly more impressive. From gushing steam and smoke (and a possibly recoverable engine) to some rather spectacular videos on YouTube of what happens if you drain out the oil and coolant and run the engine in the red. A horribly cruel end to an engine, and a pretty good reminder as to why checking levels is important! |