Jump to content

Recommended Posts

Posted

Θα σας δέιξω πως να μειώσετε το lag στον server σας με την βοήθεια της εικονικής μνήμης

 

Ε:Λοιπον τι ειναι η εικονικη μνημη??

Α:Αν σε ένα pc δεν επαρκέι η μνήμη που έχει(Κύρια μνήμη) τότε το λειτουργικό σύστημα χρησημοποιέι την εικονική μνήμη για να την καλυψει.

Η εικονική μνήμη συνδυάζει τη RAM του υπολογιστή σας με προσωρινό χώρο στον σκληρό δίσκο. Οταν η RAM είναι χαμηλή, η εικονική μνήμη μετακινεί δεδομένα από τη RAM σε έναν χώρο στον σκληρο σας δισκο για να ολοκληρωσει την δουλέια της!

 

Για αυτο πάντα οταν πάιρνετε ενα pc-host-dedi ειναι καλό να έχετε αρκετό χώρο στον σκληρό δίσκο σας... οκ ας αφήσω τα λόγια και ας μπώ στο ψητό για το πώς να αλλάξουμε το μέγεθος της εικονική μνήμης

 

1.Ανοίξτε την επιλογή "Σύστημα" κάνοντας κλικ στο κουμπί Έναρξη, έπειτα κάντε κλικ στο στοιχείο Πίνακας Ελέγχου, επιλέξτε Σύστημα και συντήρηση και, στη συνέχεια, κάντε κλικ στο Σύστημα.

 

2.Στο αριστερό τμήμα παραθύρου, κάντε κλικ στην εντολή Σύνθετες ρυθμίσεις συστήματος.  Αν σας ζητηθεί κωδικός πρόσβασης διαχειριστή ή επιβεβαίωση, πληκτρολογήστε τον κωδικό πρόσβασης ή παρέχετε την επιβεβαίωση.

 

3.Στην καρτέλα Για προχωρημένους και στην περιοχή Επιδόσεις, κάντε κλικ στο κουμπί Ρυθμίσεις.

 

4.Κάντε κλικ στην καρτέλα Για προχωρημένους και, στη συνέχεια, στην περιοχή Εικονική μνήμη, κάντε κλικ στην επιλογή Αλλαγή.

 

5.Καταργήστε την επιλογή του πλαισίου ελέγχου Αυτόματη διαχείριση μεγέθους αρχείου σελιδοποίησης για όλες τις μονάδες δίσκου.

 

6.Στην περιοχή Μονάδα δίσκου [Ετικέτα τόμου], κάντε κλικ στη μονάδα δίσκου που περιέχει το αρχείο σελιδοποίησης το οποίο θέλετε να αλλάξετε.

 

7.Επιλέξτε Προσαρμοσμένο μέγεθος, πληκτρολογήστε ένα νέο μέγεθος σε megabyte στο πλαίσιο Αρχικό μέγεθος (MB) ή Μέγιστο μέγεθος (MB), επιλέξτε Ορισμός και, στη συνέχεια, κάντε κλικ στο κουμπί OK.

 

Πάρτε ένα παράδειγμα απο την φώτο που έβγαλα

gk5pL.png

 

Διαλέγετε τον δίσκο που θέλετε... (αν έχετε πάνω απο έναν) και μετα βάζετε τα μεγέθοι όπως αναφέρω και στα βηματα :)

 

E:Ποιο έιναι το κακό?

A:Οπως ολοι ξέρετε η βοηθιτικές μνήμες(Σκληρόι Δίσκοι) ειναι λιγο αργές σε σχέση με τις RAM(Kύριες Mνήμες)

 

Ε:Ti κερδίζουμε με αυτό???

Α:Θα σας δώσω ενα απλό παράδειγμα:

έχετε στο pc σας 1 gb ραμ(κύρια μνήμη) μπορέιτε να το κάνετε 2.5 :) και πάει λέγοντας...

 

 

Αυτό ήταν ελπίζω να σας άρεσε :)

 

Credits AbsolutePower

Posted

e3ypno, an k den pistevw oti yparxei kapoios me 1gb ram pleon sts meres mas ^^

 

anyway..arketa kalo! ty

ty down :) το 1 το έβαλα ως παράδειγμα για να καταλάβετε καλύτερα ;P
Posted

to 3ana ebala twra elpizw na workarei :P

δεν λες σε τι windows τα κάνεις αυτά όμως :)

εγώ προσωπικά το ξερω αυτο, μερικοι ομως δεν το ξερουν...

Posted

δεν λες σε τι windows τα κάνεις αυτά όμως :)

εγώ προσωπικά το ξερω αυτο, μερικοι ομως δεν το ξερουν...

Πιστέυω οτι αν το ήξερες έστω και λίγο θα καταλάβαινες οτι η εικονική μνήμη ειναι η νεα τεχνική διαχείρισης μνήμης  των Windows(Λειτουργικά συστήματα)... τεσπα σε ολα(το γράφω κιολας φίλε :) )
Posted

Πιστέυω οτι αν το ήξερες έστω και λίγο θα καταλάβαινες οτι η εικονική μνήμη ειναι η νεα τεχνική διαχείρισης μνήμης  των Windows(Λειτουργικά συστήματα)... τεσπα σε ολα(το γράφω κιολας φίλε :) )

ρε χαζό πουλάς τρέλα εδώ τώρα?? τα step δεν είναι ίδια σε κάθε windows νιώσε λιγάκι αυτά που έκανες εσύ είναι εδώ share είναι χρόνια στο google..

 

Eπειδη δεν ξέρω τι windows έχεις, εγώ βλέπω ότι στην foto δεν έχεις windows 7 αλά windows server 2008 r2 (λογικά) γι αυτο δες τα step σε windows 7 και windows server..

 

η νεα τεχνική διαχείρισης μνήμης  των Windows  :-X :-X

Posted

ρε χαζό πουλάς τρέλα εδώ τώρα?? τα step δεν είναι ίδια σε κάθε windows νιώσε λιγάκι αυτά που έκανες εσύ είναι εδώ share είναι χρόνια στο google..

 

Eπειδη δεν ξέρω τι windows έχεις, εγώ βλέπω ότι στην foto δεν έχεις windows 7 αλά windows server 2008 r2 (λογικά) γι αυτο δες τα step σε windows 7 και windows server..

 

η νεα τεχνική διαχείρισης μνήμης  των Windows  :-X :-X

Αν ήξερες τώρα δεν θα μιλουσες...

1)δεν σε κακολόγησα

2)Γιατι το έβαλες σε πορτοκαλί αυτο (η νεα τεχνική διαχείρισης μνήμης  των Windows)??? μάθε πρώτα και μετά μίλα... φυσικά και ειναι νέα τεχνική διαχείρισης μνήμης...

3)δεν σου πουλάω τρέλα σου δίνω γνώσεις

4)δεν μπορεις να πας στο pc σου και να πατήσεις δεξι κλικ, ιδιότητες,αποδοση,στην καρτέλα για προχωρημένους και μετά στην εικονική μνήμη... ??? τόσο δύσκολο ε?

5)Ειναι χρόνια στο google αλλα δεν ειναι αναλυτικο σαν το δικο μου... δεν σου λεει τα πλεονεκτηματα και τα μειονεκτηματα κατι που προφανος δεν ηξερες καν..(υπαρχουν και αλλα αν τα ξερεις πες τα :) οτι και να βάλει κάποιος στο ιντερ νετ θα υπάρχει στο google... )

6)έχω τα Windows 7 απλά βάζω οτι θέμα θέλω...

7)μην προσπαθέις άδικα δεν θα μου μάθεις εσυ τωρα αυτα που διδάχτικα πριν 2 χρονια.

Posted

Αν ήξερες τώρα δεν θα μιλουσες...

1)δεν σε κακολόγησα

2)Γιατι το έβαλες σε πορτοκαλί αυτο (η νεα τεχνική διαχείρισης μνήμης  των Windows)??? μάθε πρώτα και μετά μίλα... φυσικά και ειναι νέα τεχνική διαχείρισης μνήμης...

3)δεν σου πουλάω τρέλα σου δίνω γνώσεις

4)δεν μπορεις να πας στο pc σου και να πατήσεις δεξι κλικ, ιδιότητες,αποδοση,στην καρτέλα για προχωρημένους και μετά στην εικονική μνήμη... ??? τόσο δύσκολο ε?

5)Ειναι χρόνια στο google αλλα δεν ειναι αναλυτικο σαν το δικο μου... δεν σου λεει τα πλεονεκτηματα και τα μειονεκτηματα κατι που προφανος δεν ηξερες καν..(υπαρχουν και αλλα αν τα ξερεις πες τα :) οτι και να βάλει κάποιος στο ιντερ νετ θα υπάρχει στο google... )

6)έχω τα Windows 7 απλά βάζω οτι θέμα θέλω...

7)μην προσπαθέις άδικα δεν θα μου μάθεις εσυ τωρα αυτα που διδάχτικα πριν 2 χρονια.

2) δηλαδή δεν βγήκε από το 2009 αυτό??

7)επειδη έμαθες τα βασικά περί του java την έχεις δει καπιος μήπως?? πριν 4-5 μήνες δεν ήξερες τι σημενη boolean και εισαι ειδικός τωρα..

 

8)αυτό δεν αφορά το l2 πρώτα απολα τι το έκανες share edw..

 

step http://windows.microsoft.com/en-US/windows-vista/Change-the-size-of-virtual-memory

τι ειναι http://windows.microsoft.com/en-US/windows-vista/What-is-virtual-memory

 

εμένα μου φαίνεται πολύ πιο αναλυτικό απ το δικό σου  8) 8) 8) 8)

Posted

2) δηλαδή δεν βγήκε από το 2009 αυτό??

7)επειδη έμαθες τα βασικά περί του java την έχεις δει καπιος μήπως?? πριν 4-5 μήνες δεν ήξερες τι σημενη boolean και εισαι ειδικός..

 

8)αυτό δεν αφορά το l2 πρώτα απολα τι το έκανες share edw..

1)Που κολάει η java με τα pc και τα λειτουργικά συστήματα?

2)ναι η RAM δεν το αφορά καθόλου το λ2 έχεις απόλυτο δίκιο... χαχα

3)αν διάβαζες έστω και λιγο τι γράφω στο guide τώρα δεν θα σπάμαρες έτσι...

4)C'ya δεν θέλω άλλο bump :P

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



  • Posts

    • I can see that the admins arent taking any action, yet they still seem willing to share information about various other people names and IP addresses. But when it comes to scams, no one reacts.      
    • Server Info Chronicle:  Interlude                                                                                                                                    XP: 100x | SP: 100x | Drop: 50x | Adena: 75x Enchant: Safe +3 |  Max +21 Website: Website Link Discord: Discord Link   WHY? When I was a teenager I had this idea. Build my own Lineage 2 server. My own rules. My own world. I wasn't a programmer. I had no idea how any of it worked. I tried, hit a wall, and quit. But the idea never left. I came back years later. Got further. Quit again. Watched friends try similar things. The idea stayed stuck in my head for fifteen years. I'm a developer now. I finally finished it. Not because I suddenly had more time - I have a full-time job and real responsibilities. An hour before bed if I'm lucky. That's actually exactly why I finished it.   The problem I kept running into I still love this game. But every server I tried as an adult made that one hour feel worthless. Log in, kill a few mobs, make no real progress, log out frustrated. The game was designed for someone with unlimited time. That person doesn't exist in my life anymore. I looked around. Everyone I used to play with has the same problem. Same love for the game. Same lack of time. Jobs, families, maybe an hour late at night. So I stopped waiting for someone else to build it.           WHAT? Custom starting zone in Gludin (up until 2nd profession start) Talent system - rebirth at level 80 and choose your talents Bounty hunter system - daily tasks to kill random monsters to receive great reward! Potion crafting system - custom HP/MP potions and recipes Custom 1st & 2nd class quests (shorter) Scheme buffer Shop until C grade   Visit our website to get more info: Website Link   The philosophy 95% of the game is completely soloable. No clan required. No raid schedules. No guilt when you have to log off. You are the solo director of your own session. Log in, pursue your goal for an hour, log out on your own terms. When you've conquered what you wanted - you stop naturally. A new season drops with fresh Talent Tree changes and you come back to build something completely different. No endless stretched grind. No pay-to-win. No shady admin decisions. No surprise wipes. I'm one developer who built this because I love it.                                          This is the server I needed fifteen years ago. Glad I finally had the skills to build it. Come see what I made. [Forever Lineage]
    • Hello MaxCheaters community! We’ve all been there: you spend months customizing your NPCs, balancing classes, and setting up the perfect farm zones. You launch your server, the hype is real, and suddenly you hit 200 players—and the "delay" starts. The mobs stop reacting, the Olympiad matches stutter, and your players start complaining on Discord. Many "newbie" admins think the solution is just throwing more RAM at the VPS. While hardware matters, Java is a finicky beast. If you don't tune your JVM (Java Virtual Machine) and your core code, you’ll lag even on a NASA supercomputer. Today, I’m sharing a deep dive into optimizing your L2 server for maximum performance. 1. The Myth of "More RAM" The biggest mistake people make is assigning 32GB of RAM to a server that only needs 8GB. In Java, if your Heap size is too large, the "Garbage Collector" (GC) has to work much harder. When the GC runs a "Full GC" cycle on a massive heap, it performs a "Stop-the-World" event. This literally freezes your server threads for 1–3 seconds to clear memory. Recommendation: For a mid-rate server with 500 players, 6GB to 8GB of Xmx (Max Heap) is usually the sweet spot. Use G1GC (Garbage First Garbage Collector) instead of the old ParallelGC. It handles large heaps much more gracefully by breaking memory into regions. 2. JVM Startup Flags (The Secret Sauce) Don't just run java -jar l2jserver.jar. You need specific flags to ensure the CPU prioritizes the right tasks. Try adding these to your start.sh or start.bat: Bash   -Xms6G -Xmx6G -XX:+UseG1GC -XX:MaxGCPauseMillis=50 -XX:+OptimizeStringConcat -XX:+UseStringDeduplication -XX:+ParallelRefProcEnabled -XX:+TieredCompilation MaxGCPauseMillis=50: This tells Java, "Try not to freeze the server for more than 50ms at a time." It makes the gameplay feel much smoother for the end-user. 3. Geodata and Pathfinding Optimization Geodata is the biggest CPU killer in Lineage 2. Every time a mob moves or a player clicks, the server calculates "Can I see this target?" and "Is there a wall in the way?". The Fix: Use a "Pathfinding Cache." If 100 players are running from the Giran Gate to the Luxury Shop, the server shouldn't calculate that path 100 times. Check your Geodata format: Ensure you are using the .l2j or .dat formats optimized for your specific core. If your console is flooded with "Pathfind node limit reached," increase your node limit in the geo.properties file, but be prepared for higher RAM usage. 4. Database Pooling (HikariCP vs. C3P0) If your server freezes for a split second every time someone saves their character or buys an item, your Database Connection Pool is the bottleneck. Most old L2J cores use C3P0, which is outdated and slow. Switch to HikariCP: It is significantly faster and handles "dead" connections much better. Also, ensure your characters and items tables are indexed correctly in MySQL. Running a VACUUM or OPTIMIZE TABLE once a week can prevent those annoying "saving player data" spikes. 5. Network Threading In your server settings, look for "Network" or "Thread" configurations. Usually, you’ll see SelectorThreads and WorkerThreads. Selector Threads: Should be equal to the number of physical CPU cores. Worker Threads: This is where the logic happens (skills, movement). If this is too low, actions will "queue up," creating a delay even if your ping is low. 6. Community Board (BBS) Optimization On MaxCheaters, we love fancy Community Boards. However, if your Buffer or Shop script is poorly coded, it might be reloading the entire HTML from the hard drive every time a player clicks a button. The Fix: Ensure your scripts cache the HTML in the RAM. Reading from an SSD is fast, but reading from RAM is thousands of times faster. Conclusion Optimization isn't a "one-click" fix; it’s about finding the balance between your hardware and your software. Start with your JVM flags, clean up your Geodata settings, and make sure your Database isn't choking on old logs. If you found this helpful, leave a comment or a "Thank You" below! If you have specific lag issues with a certain core (aCis, L2Emu, etc.), post your server.properties and I’ll try to help you tune it.
    • Hello all, we are a small team of developers working on two servers right now. One of them is Interlude and the other Gracia Final. Both will be pride-like aiming to make the servers similar to old pride's chronicles, C6 and GF respectively. For those not familiar here's some quick info:  9300x XP / 5500x Adena 1x Drop / 1x Spoil Safe Enchant +3 Start at Level 80 Custom PvP Zones & Reward System  Reworked Buffer Classes Wondrous Cubic All-in-one Panel  For more information visit our discord: https://discord.com/invite/YmCa7kbMuG
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..