Jump to content

Recommended Posts

Posted

Se teliki analisi balta oso megalitera ginonte ta Xmx kai Xms. Me to Xms na einai to poli iso me to Xmx kai oxi megalitero. Kala einai na ta exeis peripou idia. Ayta se poli genikes grammes xoris na mpeis se leptomeries.

 

 

  • 4 months later...
Posted

Vasika exw diavasei k kserw poly perissotera pragmata ap osa iksera otan ekana auto to prohgoumeno post m s ayto to topic...

 

apla thelw na rwthsw ena pragma k eklhparw kapoios p kserei na m apanthsei..isws k esy o idios nekys an mporeis na asxolitheis 1lepto...

 

sto edit tou startgameserver.bat  to -xmx-xms-xmn einai ana posh ram o garbage collector tha leitourgei?k oso pio poly ram dineis toso pio ligo lagg tha epiferei sto server??

 

k thelw na rwthsw telos auto...exw server machine (xeon e5504 - 12gb ram ddr3 - 140gb sklhro sas 10k x2(se raid 0 = 280gb sklhros)

gia na mporei o l2j server na exei access se olh m th ram ti rythmiseis prepei na kanw?h then xreiazontai kan rythmiseis..??

exei sxesh h ram p trexei o server me to edit tou startgameserver.bat??h to edit einai mono gia save-kapoies epiloges kai kathe posh ram tha kanei o carbage collector douleia???

 

 

eklhparw apanthsei kathws thn xreiazomai ayth thn plhroforia para poly...

opoios mporei na m apanthsei egkyra...

 

eyxaristw gia to xrono sas....

Posted

quant o tiemp poc è malament!

 

greek section only greek language....

 

 

Vasika exw diavasei k kserw poly perissotera pragmata ap osa iksera otan ekana auto to prohgoumeno post m s ayto to topic...

 

apla thelw na rwthsw ena pragma k eklhparw kapoios p kserei na m apanthsei..isws k esy o idios nekys an mporeis na asxolitheis 1lepto...

 

sto edit tou startgameserver.bat  to -xmx-xms-xmn einai ana posh ram o garbage collector tha leitourgei?k oso pio poly ram dineis toso pio ligo lagg tha epiferei sto server??

 

k thelw na rwthsw telos auto...exw server machine (xeon e5504 - 12gb ram ddr3 - 140gb sklhro sas 10k x2(se raid 0 = 280gb sklhros)

gia na mporei o l2j server na exei access se olh m th ram ti rythmiseis prepei na kanw?h then xreiazontai kan rythmiseis..??

exei sxesh h ram p trexei o server me to edit tou startgameserver.bat??h to edit einai mono gia save-kapoies epiloges kai kathe posh ram tha kanei o carbage collector douleia???

 

 

eklhparw apanthsei kathws thn xreiazomai ayth thn plhroforia para poly...

opoios mporei na m apanthsei egkyra...

 

eyxaristw gia to xrono sas....

 

last reply..

Posted

efarmosa afta pou mou ipes kai doulepsan kalitera apo oti perimena to lag mio8ike kata polu

episis xerw ena alo tropo oxi polu kalo alla kati kanei afto omos gia PVP server afto gt se rpg xriazese ola ta mob

afto to mikro kolpaki einai os exis sto DVC kai catacombs iparxoun pola mob ta opia dn xriazonte ta kaneis delete kai to lag mionete afto toulaxiston katalava egw!

Posted

sygnwmh re pedia kanw ena reply se ena thameno post k psaxnw mhpws vrw apanthsei k kthontai twra enas spammer k esy re nexim k lete oti na nai..twra s irthe na grapseis ayto to comment?

tespa..nice trick na delete ta mob se extreme server gia ligotero lagg

 

pame pali ligo sto thema mou omws...

xreiazomai mia kalh apanthsh...

 

opoios mporei k kserei...eklhparw..

Vasika exw diavasei k kserw poly perissotera pragmata ap osa iksera otan ekana auto to prohgoumeno post m s ayto to topic...

 

apla thelw na rwthsw ena pragma k eklhparw kapoios p kserei na m apanthsei..isws k esy o idios nekys an mporeis na asxolitheis 1lepto...

 

sto edit tou startgameserver.bat  to -xmx-xms-xmn einai ana posh ram o garbage collector tha leitourgei?k oso pio poly ram dineis toso pio ligo lagg tha epiferei sto server??

 

k thelw na rwthsw telos auto...exw server machine (xeon e5504 - 12gb ram ddr3 - 140gb sklhro sas 10k x2(se raid 0 = 280gb sklhros)

gia na mporei o l2j server na exei access se olh m th ram ti rythmiseis prepei na kanw?h then xreiazontai kan rythmiseis..??

exei sxesh h ram p trexei o server me to edit tou startgameserver.bat??h to edit einai mono gia save-kapoies epiloges kai kathe posh ram tha kanei o carbage collector douleia???

 

 

eklhparw apanthsei kathws thn xreiazomai ayth thn plhroforia para poly...

opoios mporei na m apanthsei egkyra...

 

eyxaristw gia to xrono sas....

 

 

Posted

http://java.sun.com/performance/reference/whitepapers/tuning.html

 

Μην τα ξαναγράφουμε, τα λέει πολύ αναλυτικά εκεί. Για συνέπεια και μόνο στο λέώ, μην δώσεις όλη τη Ram στην java, δεν κάνει.

Posted
Από θέμα heal size:

-Xmx4800m -Xms4800m -Xmn1200m

Πιστεύω ότι είναι το ιδανικό.

 

Επίσης πολύ χρήσιμη προσθήκη είναι αυτό:

-XX:+PrintGCDetails -XX:+PrintGCTimeStamps

mporei kaneis na mou pei pws t rithmizw auta..?

nekys poli xrisimo to guide sou thx!!!

Posted

Xmx kai Xms είναι η μέγιστη και η αρχική ποσότητα της RAM που θα χρησιμοποιήσει η java virtual machine για τον server σου.

 

Προφανώς όσο μεγαλύτερα, τόσο το καλύτερο. Πρόσεξε όμως. Αν πχ έχεις 4 GB ram δεν θα τα βάλεις όλα στην JVM γιατί χρειάζονται και σε άλλες λειτουργίες του συστήματος. Συμβουλή, άσε 2 GB για το σύστημα, και τα υπόλοιπα βάλτα στην JVM. Και καλό είναι το Xms και Xmx να είναι το ίδιο για λόγους που εξηγούνται στο guide.

Posted

Xmx kai Xms είναι η μέγιστη και η αρχική ποσότητα της RAM που θα χρησιμοποιήσει η java virtual machine για τον server σου.

 

Προφανώς όσο μεγαλύτερα, τόσο το καλύτερο. Πρόσεξε όμως. Αν πχ έχεις 4 GB ram δεν θα τα βάλεις όλα στην JVM γιατί χρειάζονται και σε άλλες λειτουργίες του συστήματος. Συμβουλή, άσε 2 GB για το σύστημα, και τα υπόλοιπα βάλτα στην JVM. Και καλό είναι το Xms και Xmx να είναι το ίδιο για λόγους που εξηγούνται στο guide.

nai alla pou paw gia na ta rithmisw auta...?

Posted

Μπορείς να διαβάσεις τα σχετικά link που δόθηκαν.

Επίσης, πχ τα geodata δεν φορτώνονται μέσα στο heap της java, άρα όταν ορίζετε το μέγεθος του heap, να μην δίνεται όλη την διαθέσιμη RAM αλλά να αφήνετε τουλάχιστον ~700Mb ελεύθερα.

Και αυτό γιατί ακόμα και η MySQL αυξάνει την χρήση της RAM όσο περισσότερα connection έχει, αλλά και τα geodata φορτώνουν εκτός RAM.

 

Έδωσα μερικά πολύ αναλυτικά link σχετικά με την ρύθμιση της java. Διαβάστε τα.

 

Με αυτό τον τρόπο μόνο θα καταλάβετε πως δουλεύει το JVM και πιστέψτε με, θα σας φανεί πολύ χρήσιμο στο μέλλον.

 

Ο λόγος που δεν δίνω έτοιμες ρυθμίσεις είναι γιατί οι περισσότεροι δεν τα χρειάζονται (ή νομίζουν ότι δεν τα χρειάζονται) και στοχεύουν σε "σοβαρούς" server. Αν δεν βλέπετε τον server σας σοβαρά δεν θα ρίξετε το απαραίτητο διάβασμα. Και δυστυχώς χρειάζεται πολύ διάβασμα για έναν σοβαρό server. Όχι μόνο για την ρύθμιση της Java, αλλά και στην ρύθμιση της MySQL, στο bug fixing, στην διαχείριση του community κλπ κλπ.

 

Με την διαγραφή των spawn ΔΕΝ μειώνεται το lag, εκτός αν ο server τρέχει σε κανένα pentium 3, πάνω σε ISDN γραμμή με windows 95...

 

Το θέμα εδώ είναι η συμπεριφορά της java και δη του garbage collector. Παρακαλώ να είστε εντός θέματος.

Posted

Oi egrafes stin basi dedomenon kai i kathisterisi pou iparxei mexri na metadothoun ta dedomena apo to ena mixanima, sto allo meso Internet den epireazei to latency ton pexton. Stous pektes to latency eksartate mono apo tin kathisterisi pou iparxei metaksi paikti --> gameserver.

 

Αν o server αργήσει να γράψει/ διαβάσει την βάση δεδομένων, δεν επηρεάζει το latency των παικτών αλλά οι παίκτες μπορούν να το εκμεταλλευτούν για stucksub & dupe exploits.

Το έχω δει να συμβαίνει σε διάσημο ελληνικό server...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




  • Posts

    • someone ban again this piece of shit this guy is a virus we should make an antikara or karabytes
    • 🍂 The cost on Vibe-sms is dropping, like autumn leaves falling from the trees.     It’s a little sad to watch the last days of summer fade away with its warmth, but that’s how the world works  every season has its own rules. The same goes for our prices: they are gradually but steadily going down, opening up new opportunities and great deals. 💸   🌍 USA is already at the minimum, and Europe, Asia, and dozens of other countries will follow soon. Don’t miss out  fresh rates are waiting for you!   Website link — https://vibe-sms.net/ Our Telegram channel — https://t.me/vibe_sms
    • You didn't tell me anywhere that you wanted core.jar as proof, I have everything ready for an independent developer to review. All the conversations, all your edits. I won't settle anything with you, so you can threaten me again and damage my name.
    • So what? Did i say anything wrong? You have no idea what source/compile is. I still wait for your .jar or source to be posted since you say i destroyed the compiled version of yours. Why you don't post it? Are you afraid that people will just see few addon lines and you did not even know that your source and compiled had different things? I should not even waste 2 minute to fix your raidboss_spawnlist thing.    Your mentally ill. What you posted is our primary deal nothing against me.  Because all he does is post whatever i write as if i hide and i did not say any mod to join and check my discord. i want him actual post something against me or any offenses i did. I also requested him several hours ago to post his .jar where my code "HACKED" his server but he wont post.    Nobody should allow open a random topic and cause issues to other's life without proofs. I demand punishment and soon unless he post evidence that i hurt his server or left him or did not make what he asked. 
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock