|
Register or have you forgotten your password?
|
|
|
| Amiga Software Issues and Discussion This forum exists for the discussion of the use, issues with, and fun brought about by classic and next generation Amiga software. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 | ||||||||
|
Cult Member
![]()
Join Date: Nov 2009
Location: England
Posts: 611
|
I finally got around to spicing up my A1200's Workbench towards the end of last year, and I've almost finished and got everything how I like it (although things can always improve or change) but anyway, although I love the look and functionality of LimpidClock, it appears that it eats 1.5% of my CPU. So as of yet I'm not prepared to use it.
It's eating 1.5% even with the clock face removed (all I actually wanted it for was the calender) - so basically, it's sitting there on an 8 colour Workbench screen (yes, MWB!) and it's doing nothing but displaying a calander and despite this it's eating a lot of clock cycles (no pun intended) haha. Now I think I know the reason why the default task priority is set to -20 on this program... To me, it's unacceptible as I'm running an 060 at 66MHz. Without LimpidClock running I get idle states of 0.2%-0.4%, then with it I get an idle state of 2% or more. I've confirmed this with Scout, and Executive CPU Meters. I've fiddled with all available options in the menu, and nothing seems to make any difference (other than getting rid of the clock face which I have already done...as with it enabled it eats even more of my CPU). Does anyone know of a similar type of calander program that I can use instead of this (has to look good, be transparent etc). Or, does anyone know why it's so CPU heavy, or a possible solution? I thought maybe it's doing transparency calculations or something, but that's not needed is it because I'm running AGA, not a 16 or 24 bit screen... Any thoughts? Cheers... |
||||||||
|
|
|
|
|
#2 | ||||||||
|
Premium Member
Join Date: Nov 2003
Location: Houston, Texas
Posts: 2,257
|
I have used LimpidClock for years. Yes it is not programmed quite right and wastes huge amounts of cpu power
![]() It has been this way for years, sadly ![]() The only solution is to remove LimpidClock.
__________________
Wanna try a wonderfull strategy game with lots of handdrawn anims, Magic Spells and Monsters, Incredible playability and lastability, English speech, etc. Total Chaos AGA |
||||||||
|
|
|
|
|
#3 | ||||||||
|
Master Sock Abuser
|
Why not set it to -120 priority (or even lower if you are feeling fruity), that way almost everything on your system will block it from executing.
![]() -Edit- just thought, it would be trivial to write a calendar app yourself... You could do it in BlitzBasic in a few minutes and set it to only update once every hour or something
__________________
My iPhone Game: Puny Humans - http://itunes.apple.com/gb/app/puny-...362230281?mt=8 |
||||||||
|
|
|
|
|
#4 | ||||||||
|
Cult Member
![]()
|
As Bloodline said, set it to a much lower priority so that absolutely everything gets preferential treatment from Exec. Yes, it'll use CPU cycles, but only if another application doesn't need them. As soon as one does, LimpidClock will just stop working.
I don't see a problem with something using CPU cycles that nothing else needs. Think of it how things like how Windows etc. treat memory: if the CPU is idle, then it's wasted. You can't throttle back the 68060, it's going to do however many cycles per second, regardless of whether you use them or not. Personally I think the full grunt of any CPU should be thrown at every task in order to get it done as quickly as possible, so you should really be getting extremely small spikes of 100% CPU usage... Actually, just thinking about it that's probably what's happening, just averaged out over a second or so to 1.5%... |
||||||||
|
|
|
|
|
#5 | |||||||||
|
Master Sock Abuser
|
Quote:
__________________
My iPhone Game: Puny Humans - http://itunes.apple.com/gb/app/puny-...362230281?mt=8 |
|||||||||
|
|
|
|
|
#6 | ||||||||
|
Premium Member
Join Date: Nov 2003
Location: Houston, Texas
Posts: 2,257
|
Originally LimpidClock was set to priority 0 in AmikitOS.
This was messing up the quadrascopes in TotalChaosAGA which run at priority -5 So I filed the following bug report (dug up out of my archives): April 23, 2008: Team Chaos presents: A bug report AmiKitOS vs. Total Chaos AGA * BUG: Limpid Clock priority is way to high! It kicks in every 2 seconds and steals all cpu power for .5 seconds. It totally ruins the quadrascopes of Total Chaos! ![]() * SOLUTION: Set LimpidClock priority to -128. And please ask LimpidCLock coder to please please user timer.device and wait for 60 seconds at a time. Thank you. I see no need for LimpidClock task to wake up in a panic every 2 seconds. ------------------------- After filing above bug report all that immediately happened was they set Pri = -20
__________________
Wanna try a wonderfull strategy game with lots of handdrawn anims, Magic Spells and Monsters, Incredible playability and lastability, English speech, etc. Total Chaos AGA |
||||||||
|
|
|
|
|
#7 | |||||||||
|
Premium Member
Join Date: Nov 2003
Location: Houston, Texas
Posts: 2,257
|
More data from my secret archives:
Quote:
![]() So the bottom line is: Either don't use LimpidClock or if u insist on using it then use the nottengine version else your system will get corrupted.
__________________
Wanna try a wonderfull strategy game with lots of handdrawn anims, Magic Spells and Monsters, Incredible playability and lastability, English speech, etc. Total Chaos AGA |
|||||||||
|
|
|
|
|
#8 | |||||||||
|
Cult Member
![]()
|
Quote:
|
|||||||||
|
|
|
|
|
#9 | ||||||||
|
Cult Member
![]()
Join Date: Nov 2009
Location: England
Posts: 611
|
Thank you all for some insight there. I've just done some more tests.
I've found that if you use a bigger font for the calender (ie the window gets larger) then it eats more CPU than a smaller font (smaller window). With a large font (size 20 something) it eats up to 5% of my CPU if the clock face is displayed as well. Earlier when I said the priority defaulted at -20, it doesn't (I apologise, I don't know where that came from) it actually defaults to +1. Anyway, the priority doesn't seem to make any difference. The strange thing is I did a real test rendering a Vista scene and it didn't appear to impact on the rendering time at all. Maybe that's Executive doing it's magic? Or maybe it's not really using 1.5% - 5% and it's a fake reading? Or a misleading reading? How does LimpidClock affect slower systems such as 020/030? Is anyone using it on those configurations? |
||||||||
|
|
|
|
|
#10 | ||||||||||||
|
Cult Member
![]()
|
Quote:
Quote:
(That's a little simplified, but it gets the point across) Quote:
Quote:
|
||||||||||||
|
|
|
|
|
#11 | ||||||||
|
Cult Member
![]()
Join Date: Nov 2009
Location: England
Posts: 611
|
I do know how it works, but I'm just reluctant to use software that doesn't do it "the Amiga way", which to me has always meant efficiency.
TolleUhr for instance doesn't even nudge my CPU meters...you wouldn't know it was running. Shame it doesn't have a calender though. Let's say for instance, that all the tasks running were eating more CPU than they should be, let's say you have 40 or 50 tasks (I have 39 tasks after a clean boot), just imagine if all of these were as inefficient as LimpidClock... Yes, I know that the majority of those tasks are waiting and doing nothing, but I'm just trying to make a point that it's always better to have better efficiency. Maybe I'm being tight! Or Silly even! Amiga's are not quad cores, we need efficient software, and I just want to let other Amiga users know that LimpidClock has a problem. Maybe Bloodline is right, I'll have to write my own!
Last edited by paul1981; 03-27-2012 at 04:37 PM.. |
||||||||
|
|
|
|
|
#12 | ||||||||
|
Cult Member
![]()
Join Date: Nov 2009
Location: England
Posts: 611
|
Try it on 0 or above, I'd guess your system would slow considerably. Your Amiga may even go backwards!
|
||||||||
|
|
|
|
|
#13 | ||||||||
|
Cult Member
![]()
|
Yeah, I'm sure there are better ways of doing it - perhaps without faking the transparency it might be more efficient, or maybe run some lookup tables or a different timing mechanism (I don't know how it works internally). But I also think that if it doesn't actually cause any measurable problem, then it's grand...
As for the priorities, I've no doubt it would have bad effects alright - might even try it some day for a giggle and see how it gets on
|
||||||||
|
|
|
![]() |
| Bookmarks |
| Tags |
| 68k , clock , cycle , eater , limpidclock |
| Thread Tools | |
| Display Modes | |
|
|