Some tool or mod to check performance issues?

This is not a Support area! Discuss about the Server here. Non-Server related discussion goes in Off-Topic Discussion.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
Pere
Posts: 400
Joined: Sat Jan 05, 2008 11:09 am
Location: Catalunya, Berguedà

Some tool or mod to check performance issues?

Post by Pere »

Is possible to make a mod log what % of CPU is consuming every thread?
Like the deadlock detector, but now dumbyinfiniteloop detector :P
Bones tardes amics meus tots!
User avatar
Pere
Posts: 400
Joined: Sat Jan 05, 2008 11:09 am
Location: Catalunya, Berguedà

Re: Some tool or mod to check performance issues?

Post by Pere »

bump

I need to know what causes my server use 100% cpu after 10-30 hours online :(
Bones tardes amics meus tots!
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Some tool or mod to check performance issues?

Post by _DS_ »

profiler
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
User avatar
Pere
Posts: 400
Joined: Sat Jan 05, 2008 11:09 am
Location: Catalunya, Berguedà

Re: Some tool or mod to check performance issues?

Post by Pere »

I chose yourkit. Now, to run the LIVE server and be able to profile it what should I do?
Only a word can be so helpful, thanks DS :)
Bones tardes amics meus tots!
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Some tool or mod to check performance issues?

Post by _DS_ »

CPU profiling ? Read documentation :)
About how to run profiler on L2J search old forum.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
User avatar
Sirpaypi
Posts: 108
Joined: Mon May 18, 2009 11:51 pm
Location: Moяocco.

Re: Some tool or mod to check performance issues?

Post by Sirpaypi »

Code: Select all

cat /proc/cpuinfo

Code: Select all

top
Maybe those commands can help you... Or use Munin.
Saying that Java is nice because it works on all OSes is like saying that anal sex is nice because it works on all genders.
User avatar
Pere
Posts: 400
Joined: Sat Jan 05, 2008 11:09 am
Location: Catalunya, Berguedà

Re: Some tool or mod to check performance issues?

Post by Pere »

thx
Bones tardes amics meus tots!
NB4L1
Posts: 1
Joined: Sat Nov 28, 2009 1:16 am

Re: Some tool or mod to check performance issues?

Post by NB4L1 »

http://fisheye.l2jfree.com/browse/l2jfr ... nager.java

Code: Select all

<?xml version="1.0" encoding="UTF-8" standalone="no"?><entries>	<!-- This XML contains statistics about execution times. -->	<!-- Submitted results will help the developers to optimize the server. -->	<entry total="669,177,401,347" average=    "131,082" count= "5,105,022" class="network.L2GameClient$1"                                         method="run()"                              min=      "3,920" max="1,832,056,993" />	<entry total="346,217,874,882" average=    "189,401" count= "1,827,962" class="model.actor.L2Character$EvtReadyToAct"                          method="run()"                              min=      "2,640" max=  "174,552,785" />	<entry total="342,063,934,933" average=    "134,610" count= "2,541,139" class="taskmanager.PacketBroadcaster"                                  method="run()"                              min=      "1,160" max=   "98,174,783" />	<entry total="316,083,197,966" average=  "1,257,687" count=   "251,321" class="ai.L2AttackableAI$AttackableAiTaskManager"                      method="run()"                              min=     "11,160" max=  "137,354,777" />	<entry total="275,306,465,489" average=     "10,273" count="26,798,007" class="ai.L2AttackableAI"                                              method="run()"                              min=      "1,080" max=  "134,935,577" />	<entry total="273,881,542,606" average=     "38,033" count= "7,201,026" class="model.actor.instance.L2PcInstance"                              method="packetBroadcast()"                  min=      "1,080" max=   "98,091,063" />	<entry total="263,779,921,290" average=    "211,814" count= "1,245,335" class="taskmanager.MovementController$EvtArrivedManager"               method="run()"                              min=      "6,320" max=  "188,252,963" />... 
Any more to say?...
Post Reply