The Daily Click ::. Forums ::. Klik Coding Help ::. Ahh! It's eating my CPU!!!!
 

Post Reply  Post Oekaki 
 

Posted By Message

Eternal Man [EE]

Pitied the FOO

Registered
  18/01/2007
Points
  2955

Game of the Week WinnerHero of TimeLOL SignI am an April Fool
6th August, 2008 at 15:39:09 -

Well, I just realized that my very basic platformer uses between 80-97% of my CPU!
How is this possible?
I use a so-so Toshiba Laptop with a 3.06 Ghz processor and 512 RAM.

I now beg you experienced clickers to list things that could be eating CPU.
I don't use massive actives or particle effects or hugh amounts of actives. So I really don't understand this. The resolution is 320x240, I use DXRes to set the resolution to 640x480 and resize to fit current screensize. But even when I run it without these options ie in a small 320x240 frame it still uses the same amount.

But the peculiar thing is that I don't experience any slowdown at all!
Just massive CPU usage! I have compared with other MMF games made by other people and it doesn't use nearly any CPU. Not even Noitu Love 2!

So, any Ideas? I use MMF1.2 btw.

 
Eternal Entertainment's Code'n'Art Man

E_E = All Indie


...actually Ell Endie, but whatever.
Image
Image

Ski

TDC is my stress ball

Registered
  13/03/2005
Points
  10130

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!KlikCast HelperVIP MemberWii OwnerStrawberryPicture Me This Round 28 Winner!PS3 OwnerI am an April Fool
Candy Cane
6th August, 2008 at 15:41:43 -

Oh. I have a Toshiba Laptop. Is it the huge, heavy, shiney black one? lol

 
n/a

Eternal Man [EE]

Pitied the FOO

Registered
  18/01/2007
Points
  2955

Game of the Week WinnerHero of TimeLOL SignI am an April Fool
6th August, 2008 at 15:45:05 -

It's black and shiny silver and blue, and hugh. About 4 years old.

 
Eternal Entertainment's Code'n'Art Man

E_E = All Indie


...actually Ell Endie, but whatever.
Image
Image

Clubsoft

Administrator
Weeeeeeee

Registered
  02/12/2001
Points
  253

Acoders MemberHas Donated, Thank You!May contain nutsVIP Member360 OwnerI'm an alien!Code Monkey
6th August, 2008 at 16:23:15 -

Older versions of click software don't have an idle thread, so will suck up a big load of CPU even doing nothing on a blank frame, I'm not sure if MMF 1.2 falls into that category or not

 
.: ImageApocalyptic Coders - www.acoders.com :.

Eternal Man [EE]

Pitied the FOO

Registered
  18/01/2007
Points
  2955

Game of the Week WinnerHero of TimeLOL SignI am an April Fool
6th August, 2008 at 17:24:07 -

Evils of Evils!
I made this test and it confirmed your ancient knowledge club. It's only a backdrop and NOTHING else! Still uses up my CP in the same manner.

Would you people out there consider downloading my test and checking the CPU usage? It would be really nice to see what kind of CPU usage were talking about.

http://www.mediafire.com/?xerrledzkao

 
Eternal Entertainment's Code'n'Art Man

E_E = All Indie


...actually Ell Endie, but whatever.
Image
Image

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
6th August, 2008 at 17:44:21 -

44%

(3 more words)

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com

Eternal Man [EE]

Pitied the FOO

Registered
  18/01/2007
Points
  2955

Game of the Week WinnerHero of TimeLOL SignI am an April Fool
6th August, 2008 at 17:48:14 -

How powerful is your comp?

 
Eternal Entertainment's Code'n'Art Man

E_E = All Indie


...actually Ell Endie, but whatever.
Image
Image

Sketchy

Cornwall UK

Registered
  06/11/2004
Points
  1970

VIP MemberWeekly Picture Me This Round 43 Winner!Weekly Picture Me This Round 47 WinnerPicture Me This Round 49 Winner!
6th August, 2008 at 18:20:45 -

about 65%

(366mhz Thinkpad 600E)

 
n/a

Jon Lambert

Administrator
Vaporware Master

Registered
  19/12/2004
Points
  8235

VIP MemberWii OwnerTDC Chat Super UserI am an April FoolSSBB 3265-4741-0937ACCF 3051-1173-8012360 Owner
6th August, 2008 at 18:25:26 -

46%

Yep, 3 more words.

 
Sandwich Time!Whoo!

JoyCheck & KeyCheck Widgets
For easy implementation of customizable joystick and keyboard controls.
http://www.create-games.com/download.asp?id=8364

Eternal Man [EE]

Pitied the FOO

Registered
  18/01/2007
Points
  2955

Game of the Week WinnerHero of TimeLOL SignI am an April Fool
6th August, 2008 at 18:52:21 -

Wow, that's horrible! Guess I oughta buy MMF2 now...

 
Eternal Entertainment's Code'n'Art Man

E_E = All Indie


...actually Ell Endie, but whatever.
Image
Image

Clubsoft

Administrator
Weeeeeeee

Registered
  02/12/2001
Points
  253

Acoders MemberHas Donated, Thank You!May contain nutsVIP Member360 OwnerI'm an alien!Code Monkey
6th August, 2008 at 18:58:21 -

Using that much CPU shouldn't really effect anything on most systems, doesn't make things run slowly (unless you have anything running on low priority), It'll just eat battery life alot faster on laptops as the CPU is clocked up to max rather than clocking down in power saving mode, but yea, the only real thing to fix it would be to upgrade

 
.: ImageApocalyptic Coders - www.acoders.com :.

Eternal Man [EE]

Pitied the FOO

Registered
  18/01/2007
Points
  2955

Game of the Week WinnerHero of TimeLOL SignI am an April Fool
6th August, 2008 at 19:02:30 -

The thing that bothers me is that since my CPU is working on 80+% my computers temperature rises really quick, and that's not to good anyways. My miniature fan is working on overdrive! Is there any easy way to measure the temp on a laptop?

 
Eternal Entertainment's Code'n'Art Man

E_E = All Indie


...actually Ell Endie, but whatever.
Image
Image

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
6th August, 2008 at 20:02:25 -


Originally Posted by Eternal Entertainment
How powerful is your comp?



Core2Duo 2ghz laptop thingy.

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
13th August, 2008 at 10:57:42 -


Originally Posted by Eternal Entertainment
I now beg you experienced clickers to list things that could be eating CPU.


High application priority? Maybe you set the application to high priority so Windows puts all resources on running it.

Anti-aliasing? Any kind of HWA, even some ink effects. Ink effects can be nasty if they overlap a lot of things

Are you using loops? Check any loops you're using.. if you loop something over 100 times, it's bound to jerk a little... over 1000 loops and it could really jam.

What about downloaded extensions? Some extensions really eat up power, like the Colorizer, when used in certain situations. If you're using a custom extension, try deleting one or another and see if any of them jam it up.

Heck, if you don't find anything, delete events or event groups to see which ones are slowing down your PC. There are a few bugs in MMF that do that. Sometimes it works to delete an event and recreate it.

Finally, are you using Windows Vista? If you are, then ANYTHING could be using 80%-97% of your CPU

 
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.

Image

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
13th August, 2008 at 11:02:34 -

thats exactly what i had to do with my compo entry

i added an entire group and about 7 sub groups.


+effects
--effect1
--effect2
--effect3
--effect4
--effect5
--effect6
--effect7

i turned of the main group and it ran fine. so i started turning back on individual effect groups until i found which group was causing the problem.

its called manual debugging. get used to it.

it gets even tougher when you have to comment out source code in a programming project to find a single line that most likely has a stupid spelling error in it.

 
n/a

Eternal Man [EE]

Pitied the FOO

Registered
  18/01/2007
Points
  2955

Game of the Week WinnerHero of TimeLOL SignI am an April Fool
13th August, 2008 at 12:02:44 -

Thanks for all the input guys, but the problem was the one stated by Clubsoft, it's just my lousy version of MMF (1.2). I made a test-app, http://www.mediafire.com/?xerrledzkao ,256 colors, no extension or anything, it's just a backdrop with NOTHING happening. Uses the same amount of CPU.

I'm used to manual bug-checking, but this time I just couldn't find anything wrong, thought maybe the app was corrupt (?) in some way. But the reason was oh so much more devilish.


 
Eternal Entertainment's Code'n'Art Man

E_E = All Indie


...actually Ell Endie, but whatever.
Image
Image

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
14th August, 2008 at 14:21:22 -

I bet you're using Vista. Or a bunch of anti-viruses

 
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.

Image

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
14th August, 2008 at 14:55:56 -

Come off it! Vista adds an extra virtual CPU that uses pent up power from the PC speaker so it should run faster.

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com

Eternal Man [EE]

Pitied the FOO

Registered
  18/01/2007
Points
  2955

Game of the Week WinnerHero of TimeLOL SignI am an April Fool
14th August, 2008 at 17:03:42 -

No I use XP and one anti-virus.

 
Eternal Entertainment's Code'n'Art Man

E_E = All Indie


...actually Ell Endie, but whatever.
Image
Image

-Dark Martin-

The dark is most certainly not your friend

Registered
  05/06/2008
Points
  21

Has Donated, Thank You!KlikCast StarSonic SpeedWii Owner360 Owner
14th August, 2008 at 18:40:53 -


Originally Posted by Eternal Entertainment
How powerful is your comp?



Mine has a dual core processor... 512 Megs on ram... 80 gigs of HD space... Thats all i know.

 
<a href="http://s50.photobucket.com/albums/f315/Martin_Bodger/?action=view¤t=signature_stripcopy.png" target="_blank">Image

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
14th August, 2008 at 20:30:28 -

I have never had any issues with Windows Vista running things at an abnormally high percentage or even using much ram. Even my RAM, which everyone seems to think is one of Vista's biggest problems, always stays closely around 50% and rarely moves more then 15% more or less, especially after about 10 minutes.
Image
This is set to high speed, while I'm casually using my computer (opening, closing, music, so on and so forth).

 
http://www.facebook.com/truediamondgame

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
15th August, 2008 at 09:03:40 -

Lol, it doesn't count if you haven't been using the comp often enough. 90% of people I know who complain about having an abnormally slow computer, despite high specs are using Windows Vista. The same thing happened about half a decade ago with Windows XP. Windows always creates technology far ahead of the current technological curve. As they say, "Intel giveth, and Microsoft taketh away."

Image Edited by an Administrator.

 
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.

Image

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
15th August, 2008 at 10:56:00 -

Really?! Even back when we had Pentium 3 systems I never had much a problem with XP. Pentium 2 took nicely to 98, ME, 2000 et al. Vista's the first one I've used that did grind my system. They're usually highly compatible (with required hardware) and run well, at least from my experience!

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com
   

Post Reply



 



Advertisement

Worth A Click