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

    • What webhosting are you using? You'll need to talk with administrators of the webhosting to open outgoing connections to port 1433, maybe they won't open it for you, instead, you should get a webhosting for mu online since they always have 1433 port open for outgoing connections. Also, make sure you have your 1433 TCP port open for incoming connections, for security, I suggest you exclusively add the cPanel IP Address to connect to your port 1433 in your firewall, so no one else can try to connect to your database. Let me know if you have any questions, happy to help.
    • He just doesn't answer, I've tried everything, Telegram, his own forum, everything, I don't know what's his deal, but I've tried for months
    • Send direct message to @Maxtor
    • Hello guys , does anyone know what files needed to use those cloaks for H5 client? I’m not using an interface and I don’t want to use one so there are any way to use them without interface? 
    • Closed beta testing starts in early October!        We’re looking for the most active and attentive players to help fine-tune the project before launch. This is your chance to be among the first to try out our new features and directly influence how the server develops.   What beta testers will do: — Check the client and core mechanics — Find bugs, errors, and inconsistencies — Evaluate the convenience and practicality of current solutions — Share detailed, constructive suggestions for improvement      Your feedback will be key to making the project balanced and comfortable for everyone.   Requirements: — Willingness to complete specific tasks — Experience playing on Interlude (PTS, clean client) — Experience with the HF client is a plus   Ready to help? The server launch is planned for early December, so now is the perfect time to join the test and make your contribution. To participate, you must send a direct message (DM) to one of the following: - Send a DM to our Telegram channel - Send a DM to our forum moderators: PrintF or EchØ - Send a DM to our Discord server admin @EchØ
  • 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