Current Irata Time
Washington DC:
Los Angeles:
Facebook
Register
Forgot your password?
Ozark Softscape
Games in Progress:
3
|
Players logged in:
5
|
Players Registered:
37413
|
Games Played Total:
68651
Username:
Password:
Home
Download
How to Play
M.U.L.E. Gameplay
FAQ
Forum
Player Ranks
Alltime-List
About
Home
Help
Search
Login
Register
Planet M.U.L.E.
>
Planet Mule 1
>
Bugs 1.3.x
>
Old Bugs
>
Bugs 1.2.1-3
>
Linux very high CPU usage
Pages: [
1
]
« previous
next »
Print
Author
Topic: Linux very high CPU usage (Read 377 times)
zerbalatarbu_fim
Mule Forum Newbie
Posts: 2
Linux very high CPU usage
«
on:
February 27, 2010, 16:16 »
MULE is using ridiculous amounts of CPU on my Linux box. I have a 2 GHz Core2Duo, and right now MULE is using 117% CPU (where 100% = 1 core). Funny thing is, I'm just sitting at the beginning screen waiting for players to join the game. Nothing else is happening.
During gameplay, particularly during auctions and player movement, it sometimes goes as high as 193%. This causes the graphics to stutter and I miss out on things.
I'm guessing my version of Swing (or whatever you used as a display library) lacks hardware acceleration. It says 60fps at the bottom, but there's no reason a game like this needs 60fps... maybe you could include an option to throttle the frame rate? I don't think most people could tell the different between 20 and 60 for M.U.L.E.
Logged
zerbalatarbu_fim
Mule Forum Newbie
Posts: 2
Re: Linux very high CPU usage
«
Reply #1 on:
February 27, 2010, 17:50 »
Update: Switching from sun-java-6 to openjdk has vastly improved performance. CPU usage is now around 29-70%.
Logged
Pescado
Prototype Tester
Mule Regular
Posts: 81
Re: Linux very high CPU usage
«
Reply #2 on:
February 27, 2010, 19:33 »
My guess is that CPU usage is somehow terrible because someone wrote a busy-wait into the code.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Planet Mule 1
-----------------------------
=> Planet M.U.L.E. 1 Discussion
=> Matchmaking
=> Strategy Guides
=> Computer A.I.
=> Bugs 1.3.x
===> Old Bugs
=====> Bugs 1.2.4
=====> Bugs 1.2.1-3
=====> Bugs 1.2.0
=====> Old Bugs 1.1.1
=====> Old Bugs 1.1.0
=====> Old Bugs 1.0
-----------------------------
Planet Mule 2
-----------------------------
=> Planet M.U.L.E. 2 Discussion
=> Ideas
=> Bugs
===> Bugs 0.90.0
-----------------------------
M.U.L.E. Community
-----------------------------
=> Announcements
=> Player Introduction
=> Design & Art
=> Website, Ranks & Forum
=> General Discussion
=> The Wampus Cave
Powered by SMF 1.1.19
|
SMF © 2013, Simple Machines