Re: Killing CPU
Posted: Sun Jun 28, 2009 12:48 pm
how long should i wait each time? 10 minutes? somehow too long to shutdown server, or?_DS_ wrote:Yes, this is tradelist save. Just wait until it finished.
how long should i wait each time? 10 minutes? somehow too long to shutdown server, or?_DS_ wrote:Yes, this is tradelist save. Just wait until it finished.
But this shouldn't be like this... or at least before it wasnt_DS_ wrote:Yes, this is tradelist save. Just wait until it finished.
More active Threads, higher CPU usage. Less Thread's make shutdown slower, thats true, still fine if it takes 10 secs more but server doesnt lagg as much as it would do with higher Thread count._DS_ wrote:As i already said - this is more religious questionFor me default values works good.
Big number of threads can help when some threads stopped or wait (due to poor programming, for example).
from telnet performance:janiii wrote:i have it every time i test and shutdown my test server. what does it mean once - once a day, once an update, once a real shutdown, once a week?
i am shutting down the server in console through ctrl+c.
server run already more times (some of the shutdowns already took many minutes!). no update, no change of any server files. then server was running for 30 minutes without anybody in game (0 players in game). then shutting down (through ctrl+c) for over 6 minutes.performance
STP:
+ Effects:
|- ActiveThreads: 0
|- getCorePoolSize: 10
|- PoolSize: 10
|- MaximumPoolSize: 2147483647
|- CompletedTasks: 343
|- ScheduledTasks: 1
| -------
+ General:
|- ActiveThreads: 0
|- getCorePoolSize: 13
|- PoolSize: 13
|- MaximumPoolSize: 2147483647
|- CompletedTasks: 18765
|- ScheduledTasks: 15
| -------
+ AI:
|- ActiveThreads: 0
|- getCorePoolSize: 6
|- PoolSize: 6
|- MaximumPoolSize: 2147483647
|- CompletedTasks: 62732
|- ScheduledTasks: 549
TP:
+ Packets:
|- ActiveThreads: 0
|- getCorePoolSize: 4
|- MaximumPoolSize: 6
|- LargestPoolSize: 0
|- PoolSize: 0
|- CompletedTasks: 0
|- QueuedTasks: 0
| -------
+ I/O Packets:
|- ActiveThreads: 0
|- getCorePoolSize: 2
|- MaximumPoolSize: 2147483647
|- LargestPoolSize: 0
|- PoolSize: 0
|- CompletedTasks: 0
|- QueuedTasks: 0
| -------
+ General Tasks:
|- ActiveThreads: 0
|- getCorePoolSize: 4
|- MaximumPoolSize: 6
|- LargestPoolSize: 4
|- PoolSize: 0
|- CompletedTasks: 1752
|- QueuedTasks: 0
| -------
+ AI:
|- Not Done
lol, silly person. nBd doesn't share.badboy29 wrote:Nbd, you could tell me how you set your mysql server? I use on my server Debian Lenny x64. I use the entire database in InnoDB, if you want I can post here the settings for my.cnf
Ok sorry =/toastgodsupreme wrote:lol, silly person. nBd doesn't share.badboy29 wrote:Nbd, you could tell me how you set your mysql server? I use on my server Debian Lenny x64. I use the entire database in InnoDB, if you want I can post here the settings for my.cnf![]()
Besides, his server is so far detached from the core project that his settings won't necessarily work for you. Or at least that's the claim he uses whenever anyone asks him for anything.
Regardless of all that your best bet is not to copy his settings but rather go through the config file and google each setting and learn. Takes hours, I know, I did it myself when I first installed mysql. But it's worth it because you learn an assload more and can optimize it for YOUR system.
toastgodsupreme wrote:lol, silly person. nBd doesn't share.badboy29 wrote:Nbd, you could tell me how you set your mysql server? I use on my server Debian Lenny x64. I use the entire database in InnoDB, if you want I can post here the settings for my.cnf![]()
Besides, his server is so far detached from the core project that his settings won't necessarily work for you. Or at least that's the claim he uses whenever anyone asks him for anything.
Regardless of all that your best bet is not to copy his settings but rather go through the config file and google each setting and learn. Takes hours, I know, I did it myself when I first installed mysql. But it's worth it because you learn an assload more and can optimize it for YOUR system.
Lol Brian. I know more than you think I do.nbd wrote:Seems i share more as you do or as you think, but still trying to be an smartass with trashtalking. Nice Try =)
MySQL Settings arenot generall and my settings wont fit to your Servers needs. I run a dedicated MySQL Server with Dual Quad Xeon CPU and 16GB's of Ram. 12GB of Ram dedicated to the MySQL Server.
@JMD: My Improvements will be and are "shared" into the Core. But tgs just wanted to look smart with his comment.
And where's the problem with that? As you still didnt understood, beeing active doesnt mean to commit shitloads. But, you as MrProper understood this, at least i hope it for you. About Code's done from my side and not giving them to the public, sure i dont commit everything after i added it to my Server. Thats the benefit of knowing Java. Still after time, i commit stuff to the Project. But those points arent seen by your highly loved community. Still, i dont care. I do my work, yah not enough in your Eye's to be Dev .., and keep on the way i always did.toastgodsupreme wrote:Lol Brian. I know more than you think I do.nbd wrote:Seems i share more as you do or as you think, but still trying to be an smartass with trashtalking. Nice Try =)
MySQL Settings arenot generall and my settings wont fit to your Servers needs. I run a dedicated MySQL Server with Dual Quad Xeon CPU and 16GB's of Ram. 12GB of Ram dedicated to the MySQL Server.
@JMD: My Improvements will be and are "shared" into the Core. But tgs just wanted to look smart with his comment.
You are defined by what you do in the eyes of the community, and for a long time, you've been absent from the L2J scene. As far as the community at large knows, you were having too much fun with your own server and making buttloads off donations to be bothered with anything in regards to the L2J project aside from popping in once every three or four months with something and then disappearing again.
Sure, you MIGHT be active within the dev community, but that does nothing in the eyes of the community members who aren't devs. Yet one more reason that a greater transparency is needed between the inner circle and community at large.
As for your sharing things, it's also widely known that you are VERY reluctant to share any of your stuff. Of course it's quite convenient that you can use the "oh but my server is highly modified, code won't work" excuse. As if it couldn't be adapted for the core project.
Edit: I'm not being a smartass either. I'm pointing out the obvious. Basically saying what everyone is thinking.