Extreme CPU Hogging

XCalibur54
Member
 
Posts: 51
Joined: Mon Oct 24, 2011 01:29

Extreme CPU Hogging

by XCalibur54 » Thu Jan 12, 2012 02:06

I was on Redcrab's server a couple minutes ago and I had to disconnect because Minetest was using 40-80% of my CPU, and according to Speccy, both my mobo and my CPU were at 204 degrees Fahrenheit. The max they will go before my computer shuts down automatically is 210. The only graphics setting I had checked was Smooth Lighting. This is from a computer that runs Skyrim, TF2, and Minecraft on max settings.

Rants aside, I should add that I played single player for an hour or so on single player and had no such problems. The game ran fine.

EDIT: Turned off Smooth Lighting, didn't fix anything.
Last edited by XCalibur54 on Thu Jan 12, 2012 02:09, edited 1 time in total.
Moderator of redcrab's 0.4 server: http://c55.me/minetest/forum/viewtopic.php?id=606
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

by Calinou » Thu Jan 12, 2012 05:58

Is your CPU/GPU overclocked? What is the temperature inside your room? What other processes are you running?
 

User avatar
jordan4ibanez
Member
 
Posts: 1865
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Thu Jan 12, 2012 12:22

4 words: rocketfish universal cooler
Last edited by jordan4ibanez on Thu Jan 12, 2012 13:18, edited 1 time in total.
If you can think it, you can make it.
 

User avatar
sdzen
Member
 
Posts: 1170
Joined: Fri Aug 05, 2011 22:33

by sdzen » Thu Jan 12, 2012 13:14

thats 3 three words :P
[h]Zen S.D.[/h] The next generation of tranquility!
malheureusement mon français n'est pas bon :<
Owner of the Zelo's
In game name: MuadTralk, spdtainted, sdzen, sd zen, sdzeno
 

User avatar
jordan4ibanez
Member
 
Posts: 1865
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Thu Jan 12, 2012 13:18

sdzen wrote:thats 3 three words :P

if i would of said 3 words someone would of gone "oh thats 4 words" i cant win xD
If you can think it, you can make it.
 

User avatar
sdzen
Member
 
Posts: 1170
Joined: Fri Aug 05, 2011 22:33

by sdzen » Thu Jan 12, 2012 13:27

maybe put 3/4 instead
[h]Zen S.D.[/h] The next generation of tranquility!
malheureusement mon français n'est pas bon :<
Owner of the Zelo's
In game name: MuadTralk, spdtainted, sdzen, sd zen, sdzeno
 

User avatar
jordan4ibanez
Member
 
Posts: 1865
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Thu Jan 12, 2012 13:32

but then it will be three quarters of a word!
If you can think it, you can make it.
 

User avatar
sdzen
Member
 
Posts: 1170
Joined: Fri Aug 05, 2011 22:33

by sdzen » Thu Jan 12, 2012 13:36

:)
we should get back on topic
[h]Zen S.D.[/h] The next generation of tranquility!
malheureusement mon français n'est pas bon :<
Owner of the Zelo's
In game name: MuadTralk, spdtainted, sdzen, sd zen, sdzeno
 

User avatar
jordan4ibanez
Member
 
Posts: 1865
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Thu Jan 12, 2012 13:49

yes we should..okay so this man has a high end pc that can run skyrim and such.. well so do i..and mines massively overclocked 3.9GHz and its a dual core..so idk why hes having this huge temp spike
If you can think it, you can make it.
 

User avatar
sdzen
Member
 
Posts: 1170
Joined: Fri Aug 05, 2011 22:33

by sdzen » Thu Jan 12, 2012 14:02

maybe he accidently turned off his cooling system i did that once
Last edited by sdzen on Thu Jan 12, 2012 14:03, edited 1 time in total.
[h]Zen S.D.[/h] The next generation of tranquility!
malheureusement mon français n'est pas bon :<
Owner of the Zelo's
In game name: MuadTralk, spdtainted, sdzen, sd zen, sdzeno
 

User avatar
dannydark
Member
 
Posts: 428
Joined: Fri Aug 12, 2011 21:28

by dannydark » Thu Jan 12, 2012 14:19

I have similar issues with Minetest hogging CPU (spikes to 90%ish with an average of 40% usage) however, I've not had overheating problems.

I found using the svn version of irrlicht 1.8 and compiling 64bit versions helped a bit, but still 40% is quite high, Skyrim & Starcraft 2 use about 15%ish and BF3 30% on average on my system (on highest settings). I've read (some time ago) on the irrlicht forums of irrlicht hogging CPU so maybe its an irrlicht issue.
Last edited by dannydark on Thu Jan 12, 2012 14:20, edited 1 time in total.
 

User avatar
sdzen
Member
 
Posts: 1170
Joined: Fri Aug 05, 2011 22:33

by sdzen » Thu Jan 12, 2012 14:28

there are settings in the conf that keep minetest below 60 fps to prevent cpu waste maybe that isnt working or needs to be adjusted
[h]Zen S.D.[/h] The next generation of tranquility!
malheureusement mon français n'est pas bon :<
Owner of the Zelo's
In game name: MuadTralk, spdtainted, sdzen, sd zen, sdzeno
 

XCalibur54
Member
 
Posts: 51
Joined: Mon Oct 24, 2011 01:29

by XCalibur54 » Thu Jan 12, 2012 21:37

My first post was sort of a rage post, so I will clarify things...

I have an HP Pavilion g6 laptop. It's not a gaming laptop, but for some reason it runs Skyrim etc. perfectly. I have 4 gigs of RAM and an Intel Core i3 2.40 GHz processor, not overclocked. It has onboard graphics. The other non-Windows processes running when I first posted were iTunes and Dropbox. Ending both of them brought the temperature down to about 200 degrees, which is still way too hot.

According to main site, this game should run on "fairly old hardware". I bought this laptop in August 2011. Maybe strange, but could the problem be with the server, not the game?
Moderator of redcrab's 0.4 server: http://c55.me/minetest/forum/viewtopic.php?id=606
 

sapier
Member
 
Posts: 763
Joined: Tue Aug 16, 2011 18:17

by sapier » Thu Jan 12, 2012 21:59

As sdzen said it might run on old pc's but still use all available power it can get. Even if using only half of it would still be enough.

I assume you don't have the version with radeon graphics chip onboard. It's might be related to the intel gma driver too?
DON'T mention coding style!
(c) sapier all rights reserved
 

XCalibur54
Member
 
Posts: 51
Joined: Mon Oct 24, 2011 01:29

by XCalibur54 » Sat Jan 14, 2012 03:20

I might be on the wrong track here, but is there a way to limit the amount of RAM or CPU it uses?
Moderator of redcrab's 0.4 server: http://c55.me/minetest/forum/viewtopic.php?id=606
 

User avatar
sdzen
Member
 
Posts: 1170
Joined: Fri Aug 05, 2011 22:33

by sdzen » Sat Jan 14, 2012 12:49

yes but limiting the framerate it can have at any given time it will lessen its cpu usage or at least thats what i think it can do
[h]Zen S.D.[/h] The next generation of tranquility!
malheureusement mon français n'est pas bon :<
Owner of the Zelo's
In game name: MuadTralk, spdtainted, sdzen, sd zen, sdzeno
 

XCalibur54
Member
 
Posts: 51
Joined: Mon Oct 24, 2011 01:29

by XCalibur54 » Sat Jan 14, 2012 14:36

How do I limit the framerate? I don't see anything in the config file...
Moderator of redcrab's 0.4 server: http://c55.me/minetest/forum/viewtopic.php?id=606
 

User avatar
sdzen
Member
 
Posts: 1170
Joined: Fri Aug 05, 2011 22:33

by sdzen » Sat Jan 14, 2012 18:13

fps_max = (insert number here)
wanted_fps = (insert number here)
[h]Zen S.D.[/h] The next generation of tranquility!
malheureusement mon français n'est pas bon :<
Owner of the Zelo's
In game name: MuadTralk, spdtainted, sdzen, sd zen, sdzeno
 

XCalibur54
Member
 
Posts: 51
Joined: Mon Oct 24, 2011 01:29

by XCalibur54 » Sat Jan 14, 2012 18:24

Thanks, that worked. It still uses quite a bit of CPU but at least my computer can handle it now.
Moderator of redcrab's 0.4 server: http://c55.me/minetest/forum/viewtopic.php?id=606
 

randomproof
Member
 
Posts: 214
Joined: Thu Nov 17, 2011 06:31

by randomproof » Sun Jan 15, 2012 06:12

If you are running a server there are a few empty global call backs in default/init.lua and experimental/init.lua you might try removing to see if that helps a little too.

In default they are around line 1440:
minetest.register_globalstep(on_step)
minetest.register_on_punchnode(on_punchnode)

In experimental there are a few and I tend to just remove experimental because I'm not using anything in it.

These changes shouldn't make a big difference for most but for a busy server or a single processor computer they may help a little. If you are running a local server for your own game most of the CPU time will be used by the client drawing the screen and not by the server. For some reason I do find that running the server separate from the client makes it run better than if I run the client and have that start the server. In that case I typically run the client 'nice' so the client doesn't hog all the CPU time.
Last edited by randomproof on Sun Jan 15, 2012 06:21, edited 1 time in total.
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 12 guests

cron