Severe Thread Lag
Posted: Mon Nov 09, 2015 4:46 pm
Faux and I had a confusing discussion about threading the other night, and it brought up a pain point we've been working around until now. We need to evaluate and fix any of our "main process thread delays".
Just witnessed this on NT, thankfully Sile actually mentioned the lag (people normally don't).
[quote]16:29:27.446 D Chat [NewTelon] Moldew: Hush you!
16:30:03.185 D Chat [Say] Sile : hmm
16:30:14.510 D Vendor ClientMerchantRequest activated.
16:30:14.510 D Vendor ClientRepairMerchant creating vendor.
16:30:14.510 D Char Setting vendor to character Sandiinya Moonshadow
16:30:14.510 D Vendor Vendor::CreateInventory Creating Vendor Inventory For (Crafting Instructor).
16:30:14.510 D Vendor Vendor::SendInventoryToClient Sending Vendor Inventory.
16:30:21.062 D Char Setting vendor to character Sandiinya Moonshadow
16:30:23.621 D Chat [NewTelon] Sile: Server ate my message? D=
16:30:28.956 D Chat [NewTelon] Sile: ah there we go, that fixed it
16:30:37.535 D Vendor ClientRepairMerchant activated.
16:30:37.535 D Vendor ClientRepairMerchant creating vendor.
16:30:37.535 D Char Setting vendor to character Sandiinya Moonshadow
16:30:37.535 D Vendor Vendor::OpenRepairMerchantWindow: Sending character item unique_id 58, durability 85 to repair window.
16:30:37.535 D Vendor Vendor::OpenRepairMerchantWindow: Sending character item unique_id 53, durability 85 to repair window.
16:30:42.730 D Vendor ClientRepairAll activated.
16:30:42.730 D Vendor Vendor::RepairAll: Repairing item unique_id 58.
16:30:42.730 D Vendor Vendor::RepairAll: Repairing item unique_id 53.
16:30:45.148 D Char Setting vendor to character Sandiinya Moonshadow
16:30:48.907 D Chat [NewTelon] Sile: That was a major delay there[/quote]
This is just one example of many where Chatting gets disrupted by some other action taking place anywhere else in the world. I do not consider this "performance enhancements" for later. This should not be happening >today< and the more we understand why it's happening, the less it will happen.
I'd like someone to take a look into it, maybe reproduce it on their local server with 2 characters, one spamming chat macros while the other opens a merchant window... and the other known delay is summoning a mount. There is literally a 5s delay in the whole world when someone next to me pops up their flying mount.
This is mostly an inconvenience right now, but there's a root cause we all need to understand, and stop the behavior before it gets worse. For all I know, it's been there since we had 1 thread, and seems related to World communications... a place where we have many, many issues still.
Thanks
Just witnessed this on NT, thankfully Sile actually mentioned the lag (people normally don't).
[quote]16:29:27.446 D Chat [NewTelon] Moldew: Hush you!
16:30:03.185 D Chat [Say] Sile : hmm
16:30:14.510 D Vendor ClientMerchantRequest activated.
16:30:14.510 D Vendor ClientRepairMerchant creating vendor.
16:30:14.510 D Char Setting vendor to character Sandiinya Moonshadow
16:30:14.510 D Vendor Vendor::CreateInventory Creating Vendor Inventory For (Crafting Instructor).
16:30:14.510 D Vendor Vendor::SendInventoryToClient Sending Vendor Inventory.
16:30:21.062 D Char Setting vendor to character Sandiinya Moonshadow
16:30:23.621 D Chat [NewTelon] Sile: Server ate my message? D=
16:30:28.956 D Chat [NewTelon] Sile: ah there we go, that fixed it
16:30:37.535 D Vendor ClientRepairMerchant activated.
16:30:37.535 D Vendor ClientRepairMerchant creating vendor.
16:30:37.535 D Char Setting vendor to character Sandiinya Moonshadow
16:30:37.535 D Vendor Vendor::OpenRepairMerchantWindow: Sending character item unique_id 58, durability 85 to repair window.
16:30:37.535 D Vendor Vendor::OpenRepairMerchantWindow: Sending character item unique_id 53, durability 85 to repair window.
16:30:42.730 D Vendor ClientRepairAll activated.
16:30:42.730 D Vendor Vendor::RepairAll: Repairing item unique_id 58.
16:30:42.730 D Vendor Vendor::RepairAll: Repairing item unique_id 53.
16:30:45.148 D Char Setting vendor to character Sandiinya Moonshadow
16:30:48.907 D Chat [NewTelon] Sile: That was a major delay there[/quote]
This is just one example of many where Chatting gets disrupted by some other action taking place anywhere else in the world. I do not consider this "performance enhancements" for later. This should not be happening >today< and the more we understand why it's happening, the less it will happen.
I'd like someone to take a look into it, maybe reproduce it on their local server with 2 characters, one spamming chat macros while the other opens a merchant window... and the other known delay is summoning a mount. There is literally a 5s delay in the whole world when someone next to me pops up their flying mount.
This is mostly an inconvenience right now, but there's a root cause we all need to understand, and stop the behavior before it gets worse. For all I know, it's been there since we had 1 thread, and seems related to World communications... a place where we have many, many issues still.
Thanks