Salem hogging CPU

Forum for bugs and technical problems.

Salem hogging CPU

Postby Scubasteve » Fri Oct 12, 2012 2:38 pm

This might just be me, but when I run Salem it will make multi-tasking pretty much impossible. Is Salem intensive on CPU or anything else?, I'm using enders btw.
Scubasteve
 
Posts: 7
Joined: Fri Sep 28, 2012 11:53 am

Re: Salem hogging CPU

Postby Procne » Fri Oct 12, 2012 3:25 pm

Hmm, maybe it's connected...

Sometimes when I start Salem I get low fps and screen stuttering. It's not that bad, just a bit annoying. I have found out that when that happens it's enough for me to change CPU affinity for Salem and make it run on second core. I think Java runs it on first core by default, most likely sharing it with OS and other background stuff. It's as if Salem wasn't getting enough CPU power when running with other stuff on the same core.
I don't know if devs can do anything about it - maybe it's all up to JVM, but maybe main loop can be changed to be more efficient?

I'm using Java 6 x86 on Windows 7 Home x86 with core 2 duo T6600.
Usually, my CPU usage is at around 10-20% on both cores before I run Salem.
Image
Procne
 
Posts: 3696
Joined: Mon Sep 03, 2012 11:34 pm

Re: Salem hogging CPU

Postby Dallane » Fri Oct 12, 2012 3:27 pm

Scubasteve wrote:This might just be me, but when I run Salem it will make multi-tasking pretty much impossible. Is Salem intensive on CPU or anything else?, I'm using enders btw.


i have the same problem. it jacks my cpu and heat up to lvls that i see from new games.
Please click this link for a better salem forum experience

TotalyMeow wrote: Claeyt's perspective of Salem and what it's about is very different from the devs and in many cases is completely the opposite of what we believe.
User avatar
Dallane
Moderator
 
Posts: 15195
Joined: Wed Aug 01, 2012 2:00 pm

Re: Salem hogging CPU

Postby MagicManICT » Fri Oct 12, 2012 5:31 pm

That's just Java. I've got other Java games that run like that and I've got some Java games that are relatively well behaved when it comes to multitasking.
I am a moderator. I moderate stuff. When I do, I write in this color.
JohnCarver wrote:anybody who argues to remove a mechanic that allows "yet another" way to summon somebody is really a carebear in disguise trying to save his own hide.
MagicManICT
 
Posts: 5088
Joined: Wed Aug 01, 2012 1:46 am

Re: Salem hogging CPU

Postby staxjax » Fri Oct 12, 2012 5:40 pm

nfc why this happens, it has bugged me forever. I have 64bit system, 64bit java, and Java runs at 50% CPU power forever. I have seen this before when trying to run 32bit programs on 64bit system, but never with 64bit programs. Changing the affinity to utilize only the 2nd core didnt really do **** for me either.

edit: forgot to mention, I have another computer that is exact same setup but it is all 32bit and it doesn't have this problem.
Of all the things I've lost, I miss my mind the most - Ozzy Osbourne

Confirmed retards: Nimmeth, Claeyt, MycroSparks
User avatar
staxjax
 
Posts: 2845
Joined: Wed Aug 01, 2012 1:29 am

Re: Salem hogging CPU

Postby Procne » Fri Oct 12, 2012 6:08 pm

staxjax, if you have 2-core CPU then 50% usually means that one core is fully utilised. Are you sure it's not that?
If your second PC has only 1 core CPU then it will most likely fully use this 1 core.

As a matter of fact, when I don't have FPS drops, Salem uses only around 25% of CPU (that is 50% of one core). With FPS drop usage jumps to 50% (100% on one core)
Image
Procne
 
Posts: 3696
Joined: Mon Sep 03, 2012 11:34 pm

Re: Salem hogging CPU

Postby staxjax » Fri Oct 12, 2012 6:12 pm

They are both the exact sames systems, but one is 64bit. The 64bit always runs salem at 50% cpu usage. I don't have any performance issues, and the game runs fine...its just annoying cuz the fan runs more than it should.
Of all the things I've lost, I miss my mind the most - Ozzy Osbourne

Confirmed retards: Nimmeth, Claeyt, MycroSparks
User avatar
staxjax
 
Posts: 2845
Joined: Wed Aug 01, 2012 1:29 am

Re: Salem hogging CPU

Postby Nixman » Sat Dec 01, 2012 1:30 am

Sorry to bump an oldish thread but I'm suffering from this too, any kind of client restart, switching characters etc will result in 2 second stutters (as in every 2 seconds the FPS plummets and rises again) The only way I can sort it out is by rebooting my computer.

Also running 64bit windows 7, and also seeing 50% cpu usage on dual core which is weird in itself, normally its like 25%, im wondering if this is Salem/Java basically capping out 1 cpu.

I don't have this problem on other java applications tho.
Nixman
 
Posts: 168
Joined: Thu Nov 08, 2012 1:36 pm

Re: Salem hogging CPU

Postby Mtibbs1989 » Sat Dec 01, 2012 8:32 am

I've noticed that my CPU is put under a lot of stress in Java games, all I can say is that they're never optimized properly. My CPU right now is shooting through the roof, and I have an 8 core at 3.4 GHz. There's no reason my computer should be using 40% just for this game. I can easily compare this game to running Minecraft on extreme draw distance from Optifine, Tekkit mod, with a 512 texture pack.

Lets all cross our fingers that they'll optimize the game before the commercial release. :D
Mtibbs1989
 
Posts: 35
Joined: Thu Nov 08, 2012 8:49 am

Re: Salem hogging CPU

Postby JinxDevona » Sun Dec 02, 2012 7:59 am

I don't know my bits and pieces, but I run on a mac duo core and I've had trouble running the net (wiki) or anything else while Salem is running on any client. This wasn't the case for H&H, in fact I almost always had wiki on one page and H&H on another.
Being powerful is like being a lady. If you have to tell people you are, you aren't. ~Margaret Thatcher
User avatar
JinxDevona
 
Posts: 668
Joined: Fri Aug 03, 2012 7:21 pm

Next

Return to Bugs & Technicalities

Who is online

Users browsing this forum: No registered users and 21 guests