Jump to content
  • 0

Hour Lag


Nevermind25

Question

Hello, i use l2off pack c4 and i have a serious problem, when the time ingame changes up to 00:00 and 06:00 all the server gets lagged for a while (aproximately 5sec of general lag). Do you know what is? 

My Connection shows a peak of 15mb in that moment, regularly has a consumption of 4 - 6 mb 

 

Thanks

Link to comment
Share on other sites

Recommended Posts

  • 0

There are IO buffer pools, limited to 4, 8 or 16 instances (depending on your machine and chronicles) and the same amount of IO threads. So simultaneously you can send 4 or 8 or 16 packets. And if you have 100 ppl online, at the 00:00 EXTRA 100 packets will be sent (apart from other packets, which are sending or queued for sending).

 

Also, for L2Server MAX IO thread number depends on number of (virtual as well) processors. So, if you have machine with 4 cores, you will have only 4 IO buffer pools and 4 IO threads. This is pretty the reason for lag. Also, network throughput might be an issue as well. Bot most probably, both.

Link to comment
Share on other sites

  • 0

I have this settings  

l2server.ini

IOBufferPool = 40000

 

in cache.ini

IOBufferPool = 40000

SQLExeclimit = 10000

IOthreadcount = 16 (i doubdt about this parameter)

 

Processor of 4 cores 4 threads 2.8ghz 16 GB DDR4 2400MHz  and a NVME disk

 

Extra data (edit):

Pending Write: After a day 1440000/16k (90) aproximately with 400 / 500ppl or more

 

what do you recommend?  Thank you in advance

Edited by Nevermind25
Extra data, i dont want to make other response for it
Link to comment
Share on other sites

  • 0

try
l2server.ini
IOBufferCount=8192

 

cacheD
IOBufferCount=1024

 

IOthreadcount < ---  i do not use that and the option is not in my  .ini


SQLExecLimit=5000

 

( i do not use pool setup at .ini config )

if you set amount bigger than your ram is going to lag
and also it will eat lot resources of your computer as virtual memory
but be aware if iobuffercount reachs 0  server will crash


i rly dunno about the  broadcast making global lag
never experienced such thing as lazy to settime 
and used invalid sunrise many times  as mine is custom farm / pvp  non retail doesnt matter unless if you run retail   then you must use correct sunrise    

 

 

btw wich server/extender youre using ?
i hope ure not using the L2Patch С4 Shareware for god sake...

Edited by etherian
Link to comment
Share on other sites

  • 0
On 3/8/2019 at 1:35 PM, MasterToma said:

There are IO buffer pools, limited to 4, 8 or 16 instances (depending on your machine and chronicles) and the same amount of IO threads. So simultaneously you can send 4 or 8 or 16 packets. And if you have 100 ppl online, at the 00:00 EXTRA 100 packets will be sent (apart from other packets, which are sending or queued for sending).

 

Also, for L2Server MAX IO thread number depends on number of (virtual as well) processors. So, if you have machine with 4 cores, you will have only 4 IO buffer pools and 4 IO threads. This is pretty the reason for lag. Also, network throughput might be an issue as well. Bot most probably, both.


btw  master toma has explained it here
read this again nevermind  he is giving you the answer  to solve the problem
buffer pool is limited to the io threads logical and virtual cores 
40k for pool in l2server and 40k pool for cached is a bit crazy...
you have NASA computer?  : P

Edited by etherian
Link to comment
Share on other sites

  • 0

i forgot  most important thing

if you want to run over 1k players no lag 

the real setup goes like

 

1 computer

runs SQL server

handles  CacheD  and Login server 

1 computer

runs l2server

 

1 computer

runs npc server

 

is a rly old way to setup
but if you want a real good dedicated stuff
you need to make the best internal network

such as that

Edited by etherian
Link to comment
Share on other sites

  • 0
On 3/27/2019 at 4:34 AM, etherian said:

1 computer

runs l2server

 

1 computer

 runs npc server

 

You cannot do that, l2server and l2npc use shared memory to share data about creatures, items etc (CSharedCreatureData, CSharedItemData, ...) - they have to run on the same machine.

  • Like 1
Link to comment
Share on other sites

  • 0

[server]
address="127.0.0.1"
port=2002

[CacheD]
address="127.0.0.1"
port=2008




never tryed to run in other machine just a suggestion i read back at C2/C3 times

if they have shared memory why then they can connect via port and ip?

thats bcz you can run separated in same internal LAN  network  or just direct ethernet pc to pc

 never had so much machines to do such thing

 

anyway  thanks for clarify

 

hows that ext ?  still at gracia final / epilogue ?

im working now for H5  if u make extender for basic high five could be cool

 

laters

Link to comment
Share on other sites

  • 0

They have IP connections because all logic is still done via packet send/recv, they just have a shared "data pool" to pull current information from, basically is how to look at it. but l2server/l2npc must be on same machine still

Link to comment
Share on other sites

  • 0
4 hours ago, pada said:

They have IP connections because all logic is still done via packet send/recv, they just have a shared "data pool" to pull current information from, basically is how to look at it. but l2server/l2npc must be on same machine still

if some data goes over TCP why KR wouldn't fully use that for whole communication?

that "data pool" is heavily used to justify using shared mem instead? 

Link to comment
Share on other sites

  • 0
6 hours ago, AlmostGood said:

if some data goes over TCP why KR wouldn't fully use that for whole communication?

that "data pool" is heavily used to justify using shared mem instead? 

That's how large servers work in general.

 

You cache a bunch of data for immediate access, and then use a longterm database for storage. Every interaction goes through the cache, and only the cache updates the longterm storage. This way you'll always get the most recent data, and you prevent incorrect/duplicate database entries.

 

In this case, the data pool contains all items and npcs. Yes, it's used heavily.

Link to comment
Share on other sites

  • 0
On 3/27/2019 at 5:34 AM, etherian said:

i forgot  most important thing

if you want to run over 1k players no lag 

the real setup goes like

 

1 computer

runs SQL server

handles  CacheD  and Login server 

1 computer

runs l2server

 

1 computer

runs npc server

 

is a rly old way to setup
but if you want a real good dedicated stuff
you need to make the best internal network

such as that

its very old suggestion, which don't have any sense right now. Even 5-6k online could easily be handled on one Dedicated. Confirmed on practice

Link to comment
Share on other sites

  • 0

Hello friends i come again with the same problem. 

Here is a graphic preety similar of the game time and the excesive peak of upload

1- One instantaneously solution was change the datacenter to one that provides about 500mbps of symetric connection

2- The peaks stills there but the big connection covers that demand 

3- The connection traffic is normal on 1.5 to 2.5 mbps but when the sunrise/sunset come, the traffic goes to 10x than normal like the graphic explains. the server has a delay of a few seconds, aproximately of one minute of the game time 

4- I think that it cant be possible 10x traffic just for a sunset/sunrise is something so ridiculous!

I read you friends ! please just iluminate me couse im so confused.

I ve tried some solutions like setting Iobuffercount = 8192 in l2server.ini

 

***Edit***

The datacenter connection is of 10mbps up/down

peak.PNG

Edited by Nevermind25
Forgot to share data "connection"
Link to comment
Share on other sites

  • 0
1 hour ago, Nevermind25 said:

Hello friends i come again with the same problem. 

Here is a graphic preety similar of the game time and the excesive peak of upload

1- One instantaneously solution was change the datacenter to one that provides about 500mbps of symetric connection

2- The peaks stills there but the big connection covers that demand 

3- The connection traffic is normal on 1.5 to 2.5 mbps but when the sunrise/sunset come, the traffic goes to 10x than normal like the graphic explains. the server has a delay of a few seconds, aproximately of one minute of the game time 

4- I think that it cant be possible 10x traffic just for a sunset/sunrise is something so ridiculous!

I read you friends ! please just iluminate me couse im so confused.

I ve tried some solutions like setting Iobuffercount = 8192 in l2server.ini

 

***Edit***

The datacenter connection is of 10mbps up/down

peak.PNG

 

If you keep using the same hardware as before. I might think there's a problem with that.

otherwise, I would install for example "NetLimiter Pro" and look at that time which application or what is consuming that bandwidth.

 

 

PD:If you have passed files from one server to another, maybe you have a virus that is using your server as part of a botnet to attack.

Edited by guytis
Link to comment
Share on other sites

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
Answer this question...

×   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

    • Hello everyone,   We're shifting our focus away from implementing as much as possible from the Essence gameplay. Instead, the server will now be Interlude, but using the Essence client.   This should be good news for everyone.   The Beta phase will most likely take place in November, with the grand opening to follow shortly after.   Cheers!
    • We remind you that the opening will take place today, on September 28 at: 19:00 (UTC+3) - server time Check current server time(UTC +3) On 17:00 (UTC +3) We allow you login to create character! Dear friends, this topic important! So please take time to read it. First we want to thank all players who took part in the Open Beta testing, was good activity and nice Olympiad Event yesterday, we all get a lot of fun  Thanks to all who conducted tests with us and prepared this game world! You are amazing!  On 17:00 (UTC +3) We allow you to login for create character! To restrict your name and transfer ToDs/Season Pack to your character. Make it before start! On start, we can have problems with WEB! Everything you need to start on the server: It is IMPORTANT to prepare everything for starting the game RIGHT NOW, do not postpone for later, during the opening there may be problems with the web part of the project, and you simply can not register. - Registration and files Download archive unzip it, run launcher, choose SEASON x25 server and press FULL CHECK What you need to know at the start: Registration for 7 seals from Monday, September 30, full cycle 1 week. First Mammons on Friday October 4 All Epic Raid Bosses dead on start. First epic QA will appear on Monday, next day Core + Zaken + QA and so on by schedule All other RBs alive on server start (including Sub and Nobl RB) - Full RoadMap   About possible attacks on server start. We have prepared as good as we can. We will control the start of the server together with you. Want to ask you, in the case of a problem, don't panic, panic is the worst possible thing that could be, even worse than any attack. We have enough specialists to solve any problems, all that will need from you is patience and trust. Wish you all a smooth start and months of enjoyable play in new Season Interlude x25! Have a fun!
    • 🚨🇦🇷🇧🇷🇪🇸🇸🇰🇺🇳🇨🇱🚨 Devianne - Lineage 2 Interlude  Client - Classic. 🔷Rates 🔸Experience (EXP) - 10x 🔸Skill Points (SP) - 10x 🔸Adena - 6x 🔸Drop Items - 3x 🔸Spoil - 3x 🔸Quest Experience (EXP) - 1x 🔸Quest Skill Points (SP) - 1x 🔸Quest Adena - 1x 🔸Quest Items Drop - 1x 🔸Seal stone Drop - 1x 🔸Epic raid - 1x 🔸Raid Drop - 2.0x 🔸Manor - 5x 🔷Dynamic Rates XP/SP 🔸Lv. 1-52 EXP/SP X10 (x7 without VIP or vote reward) 🔸Lv. 52-61 EXP/SP X7(x5 without VIP or vote reward) 🔸Lv. 61-76 EXP-SP X5 (x3 without VIP or vote reward) 🔸Lv. 76-78 EXP/SP X3 (x2 without VIP or vote reward) 🔸Lv. 78-80 EXP/SP X2 (x1 without VIP or vote reward) ⚠️Extra Settings⚠️ 🔸Server time, site - GMT -3 🔸Buffs, Dances, and Songs duration - 1 hour 🔸Max Buffs Slots - 22 + 4 divine 🔸Maximum Slots Dances and Songs - 12 🔸GmShop Grade - C 🔸Global teleport 🔸Grade B-A-S - Craft 🔸Mana potion recharge 🔸1000 (9 seconds delay) 🔸Raid HP - x1.4 🔸Raid epic HP - x1 🔸Blacksmith Mammon - 24/7 🔸Champions System - Yes chance respawn 0.5% 🔸Offline mode Shop - Yes 🔸Auto Learn Skills - Yes 🔸Auto Learn Loot - Yes 🔸Auto Learn Raid & Grand 🔸Boss Loot - No 🔸Buffer offline - Yes 🔸Wedding System - Yes 🔸Max level diff distribution drop in party - 14 🔸Limit the number of active gaming clients on one PC - 2 🔸Limit the number of active gaming clients on one PC for Premium - 3 🔸The clan leader will be replaced after server restart ⚠️Class and Subclass Change⚠️ 🔸1st profession Quest - No 🔸2nd profession Quest - No 🔸3rd profession Quest - Yes 🔸Sub Class Quest- Yes 🔸Sub Class Raid - 8 hours +-30m random 🔸Nobility and Olympiads Nobility Quest - Yes 🔸Olympiads (duration) - 14 days 🔸Max enchant - +6 🔸Respawn Barakiel 6 hours - +-15 min random 🔸Olympiad schedule - 13:00 to 00:00 🔸Minimum players to start olympiad - 11 Clans and Sieges Penalty duration - 8 hours 🔸Sieges every - 15 days Max Ally - 2 🔸Max Members - 36 🔸Slots for academies in clan - 40 ⚠️Enchants Rate⚠️ 🔸Blessed Scroll chance 60% 1-10 11-16 40% 🔸Crystal Scroll chance 65% 1-10 11-16 40% 🔸Normal Scroll chance - 55% 🔸Safe Enchant - +4 ⚠️Premium Info⚠️ 🔅+20% xp sp drop spoil adena 🔅+5% additional enchant rate (premium 30 days)   Free autofarm ⚠️Starter Pack⚠️ 🔅Free Premium - 24 hours 🔅Free Autofarm - 24 hours ❇️Raid boss Info❇️ 🔸Anakim/Lilith respawn 18 hours +1:30min random 🔸Tyrannosaurus - respawn 8 min drop Tl 76 🔸Queen Ant (LVL 80) - Respawn Monday and Saturday 22:00 🔸CORE (LVL 80) - Respawn Tuesday-Friday 20:00 🔸ORFEN (LVL 80) - Respawn Tuesday-Friday 21:00 🔸BAIUM (LVL 80) - Respawn Saturday 21:00 🔸ZAKEN (LVL 80) - Respawn Wednesday-Thursday 22:00 🔸FRINTEZZA (LVL 85) - Sunday 19:45 ⚔️Quest Details⚔️ QUEST WEAPON RECIPES: - Relics of the Old Empire x1: - Gather the Flames x1 x1: QUEST ARMOR RECIPES: - Alliance with Varka Silenos x1 - Alliance with Ketra Orcs x1 - War with Ketra x1 - War with Varka x1 - Gather the Exploration of the Giants’ Cave Part 1 x3 - Exploration of the Giants’ Cave Part 2 x1 - Whispers of Dream part 2 x2 - Legacy of Insolence x1 QUEST RECIPES JEWERLY - The Finest Food x1 QUEST RESOURCES - The Zero Hour x2 - Golden Ram Mercenary x2 - An Ice Merchant dream x2 QUEST FOR FABRIC: - Whispers of Dream part 1 x1 BEAST FARM : - Delicious Top Choice Meat x2 👁️OTHER QUEST👁️ 👁️- Yoke of the Past x2 👁️- In Search of Fragments of Dimension x2 👁️- The finest Ingredients x3 👁️- Supplier of reagents x3 - 👁️3rd class Halisha Marks drop x3 - 👁️Into the flames x3 - 👁️Audience with the land dragon x3 - 👁️An Arrogant Search x3 - 👁️Last Imperial Prince x3 🚨Soul Crystal Details🚨 🔸- Level up crystals to 11, 12, 13 🔸- All epics can level up crystals for the whole party (Queen Ant, Core, Orfen, Zaken, Baium, Antharas, Valakas, Frintezza). - 🔸Bosses in PVP zone: Master Anays, High Priest Van Halter. 👁️🔸- Anakim/Lilith, Uruka. - You can level up crystals in Rift, but only 1 party can challenge Anakazel (10%)PARTY_RANDOM at the same time (if one party is in the boss, you need wait them to go out). 👁️🔸- You can level up crystals in Primeval Island by killing tyrannosaurus with 10% chance PARTY_ALL for the person who cast the crystal and makes last hit. ⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️ WEB: https://devianne-l2.com/ DISCORD: https://discord.gg/Q3HAMzasUk 🔥🔥SERVER TEST OPEN !!🔥🔥🔥
    • I am here for the plank jumps and the cookies any news about that?
  • Topics

×
×
  • Create New...