# Super-lag during large fleet battles, node crashes, etc

**URL:** <https://forums.eveonline.com/t/super-lag-during-large-fleet-battles-node-crashes-etc/90824>\
**Category:** General Discussion\
**Created:** [July 19, 2018, 5:50pm UTC](https://forums.eveonline.com/t/super-lag-during-large-fleet-battles-node-crashes-etc/90824 "2018-07-19T17:50:32Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Whitehound](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/whitehound/32/59604_2.png) [@Whitehound](https://forums.eveonline.com/u/Whitehound)\
**Post date:** [July 19, 2018, 8:39pm UTC](https://forums.eveonline.com/t/super-lag-during-large-fleet-battles-node-crashes-etc/90824/22 "2018-07-19T20:39:47Z")

</div>

> [@Neuntausend](#):
>
> Without knowing how the processes work I can all but speculate, and I think that CCP could very likely do better. But there’s more to it than just “put everything into different threads”.

Most of the data comes out of a database and also has to go back into it. From what I remember are the mechanic calculations not a big issue, but it’s the format of the data and the data tables, which need to be shaped in such a way that one can process as much as possible in parallel and that the database itself can update the data quickly and without causing a lock on other data tables.

One could see this in the old database dumps, but also with the current API, where some of the data just seems upside down or unhandy at first, but it’s likely connected to how the server processes it. A simple example here are the resistance values of ships. So is a 35% resistance on a ship’s armor stored as `0.65` in the database and not as `35` or a `0.35` as one perhaps might expect.

---

<div class="post-metadata">

**Author:** ![ISD\_Sakimura](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/isd_sakimura/32/382213_2.png) [@ISD\_Sakimura](https://forums.eveonline.com/u/ISD_Sakimura)\
**Post date:** [July 19, 2018, 8:58pm UTC](https://forums.eveonline.com/t/super-lag-during-large-fleet-battles-node-crashes-etc/90824/23 "2018-07-19T20:58:25Z")

</div>

> [@Whitehound](#):
>
> The code may be close to perfect, in which case the hardware would be too weak. Or the code could be sub-optimal and simply doesn’t utilize the hardware to its fullest potential, in which case it would need a refactoring, revision or even a rewrite.

If I had to guess, I’d say it’s a bit of both and you could take the _Upwell structures_ as an example of CCP not only making improvements to the game, I know not all may see them that way, but also removing obsolete code (POS, which could not be improved upon) from the game. well it hasn’t quite been removed just yet but well on it’s way 😀

---

<div class="post-metadata">

**Author:** ![Whitehound](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/whitehound/32/59604_2.png) [@Whitehound](https://forums.eveonline.com/u/Whitehound)\
**Post date:** [July 19, 2018, 9:02pm UTC](https://forums.eveonline.com/t/super-lag-during-large-fleet-battles-node-crashes-etc/90824/24 "2018-07-19T21:02:17Z")

</div>

> [@ISD\_Sakimura](#):
>
> > [@Whitehound](#):
> >
> > The code may be close to perfect, in which case the hardware would be too weak. Or the code could be sub-optimal and simply doesn’t utilize the hardware to its fullest potential, in which case it would need a refactoring, revision or even a rewrite.
> 
> If I had to guess, I’d say it’s a bit of both and you could take the _Upwell structures_ as an example of CCP not only making improvements to the game, I know not all may see them that way, but also removing obsolete code (POS, which could not be improved upon) from the game. well it hasn’t quite been removed just yet but well on it’s way 😀

Yeah, I love how quick one can dock and undock at the new structures. It’s always a magical moment. It’s so quick now that one can no longer abort the undock. One click and it’s happening. 😃

---

<div class="post-metadata">

**Author:** ![Nana\_Skalski](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/nana_skalski/32/489985_2.png) [@Nana\_Skalski](https://forums.eveonline.com/u/Nana_Skalski)\
**Post date:** [July 19, 2018, 9:17pm UTC](https://forums.eveonline.com/t/super-lag-during-large-fleet-battles-node-crashes-etc/90824/25 "2018-07-19T21:17:28Z")

</div>

What you expect from todays CCP is not achievable. Even simple thing like chat in game is broken (sporadically) after “improvements” and cant be fixed for few months.

Or that moving white circle scanner around my ship hp bubble. It doesnt fade away and stays visible, where before they broke it it faded away.

---

<div class="post-metadata">

**Author:** ![zluq\_zabaa](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/zluq_zabaa/32/19011_2.png) [@zluq\_zabaa](https://forums.eveonline.com/u/zluq_zabaa)\
**Post date:** [July 19, 2018, 9:27pm UTC](https://forums.eveonline.com/t/super-lag-during-large-fleet-battles-node-crashes-etc/90824/26 "2018-07-19T21:27:20Z")

</div>

> [@March\_rabbit](#):
>
> This is _just example_ of how this system can be split to stages where each stage can be calculated in parallel threads.

Some of the things you mentioned actually depend on each other.

As for being an example. Yes, most of the things you’ve mentioned are tiny parts of what’s happening and probably wouldn’t even need to be parallized. These things are calculated faster than they could be delegated.

> [@Beast\_of\_Revelations](#):
>
> I myself write highly-concurrent systems for a living, employing parallel algorithms which utilize thousands of processes running on many cores and across many machines. But the problems you are solving have to be parellelizable. Not all are, but most of the time when someone says their problem isn’t, it is, they just don’t know what they are doing.

That’s putting a lot of butter on the bread, considering that many other MMOs limit the number of players per server, because they can’t get it done in any other way. You didn’t say what kind of concurrent systems you’re creating. Are they any similar to the challenges of EVE? If yes, maybe you should work for CCP.

---

<div class="post-metadata">

**Author:** ![Beast\_of\_Revelations](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/beast_of_revelations/32/413187_2.png) [@Beast\_of\_Revelations](https://forums.eveonline.com/u/Beast_of_Revelations)\
**Post date:** [July 20, 2018, 6:17am UTC](https://forums.eveonline.com/t/super-lag-during-large-fleet-battles-node-crashes-etc/90824/27 "2018-07-20T06:17:48Z")

</div>

> [@zluq\_zabaa](#):
>
> Are they any similar to the challenges of EVE? If yes, maybe you should work for CCP.

I’d be happy to come on board and lend my expertise.

I have no idea to your question - whether this EvE MMO video game presents some uniquely hard challenges to concurrency. But my intuition tells me no. I’ve seen highly parallel and computation-extensive graphical simulations run before (fluid dynamics, millions of particles colliding in particle physics simulations, etc). I don’t know what EvE might be doing computationally that is some unique computation bottleneck. It’s why I created this thread - to try and find out.

---

<div class="post-metadata">

**Author:** ![mimi45](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/mimi45/32/77591_2.png) [@mimi45](https://forums.eveonline.com/u/mimi45)\
**Post date:** [July 22, 2018, 5:56pm UTC](https://forums.eveonline.com/t/super-lag-during-large-fleet-battles-node-crashes-etc/90824/30 "2018-07-22T17:56:16Z")

</div>

> [@Beast\_of\_Revelations](#):
>
> I don’t know why you assume all professionals know exactly what to do. In fact, that’s just totally laughable.

You’re obviously an amateur so you can not understand that.

---

<div class="post-metadata">

**Author:** ![zluq\_zabaa](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/zluq_zabaa/32/19011_2.png) [@zluq\_zabaa](https://forums.eveonline.com/u/zluq_zabaa)\
**Post date:** [July 22, 2018, 10:10pm UTC](https://forums.eveonline.com/t/super-lag-during-large-fleet-battles-node-crashes-etc/90824/31 "2018-07-22T22:10:53Z")

</div>

> [@Beast\_of\_Revelations](#):
>
> I have no idea to your question - whether this EvE MMO video game presents some uniquely hard challenges to concurrency. But my intuition tells me no. I’ve seen highly parallel and computation-extensive graphical simulations run before (fluid dynamics, millions of particles colliding in particle physics simulations, etc). I don’t know what EvE might be doing computationally that is some unique computation bottleneck. It’s why I created this thread - to try and find out.

Since you mention graphical computation I think one of the things in large fleet battles that is very different from video encoding and the likes, is that you have an extremely high amount of different little calculations to manage whereas in graphical simulations you can use parallization (same instruction, large set) for great advantage.

---

<div class="post-metadata">

**Author:** ![Xain\_deSleena](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/xain_desleena/32/151578_2.png) [@Xain\_deSleena](https://forums.eveonline.com/u/Xain_deSleena)\
**Post date:** [July 23, 2018, 6:16am UTC](https://forums.eveonline.com/t/super-lag-during-large-fleet-battles-node-crashes-etc/90824/32 "2018-07-23T06:16:50Z")

</div>

I have a similar question going on in the forum also. What would help is if a real CCP employee could answer the question rather than all the hypothesising.

---

<div class="post-metadata">

**Author:** ![zluq\_zabaa](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/zluq_zabaa/32/19011_2.png) [@zluq\_zabaa](https://forums.eveonline.com/u/zluq_zabaa)\
**Post date:** [July 23, 2018, 8:05am UTC](https://forums.eveonline.com/t/super-lag-during-large-fleet-battles-node-crashes-etc/90824/34 "2018-07-23T08:05:42Z")

</div>

> [@mimi45](#):
>
> Please do not write about things you do not know, just go stupid

It’s not my problem if you can’t understand a thing that people discuss here. I’m still curious about the gank that got you so salty that you’ve spent the past couple of weeks persistently trolling the forums. 🙂

---

<div class="post-metadata">

**Author:** ![Beast\_of\_Revelations](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/beast_of_revelations/32/413187_2.png) [@Beast\_of\_Revelations](https://forums.eveonline.com/u/Beast_of_Revelations)\
**Post date:** [July 23, 2018, 9:37am UTC](https://forums.eveonline.com/t/super-lag-during-large-fleet-battles-node-crashes-etc/90824/35 "2018-07-23T09:37:44Z")

</div>

Ignore the blatant troll, and stay on topic.

---

<div class="post-metadata">

**Author:** ![Whitehound](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/whitehound/32/59604_2.png) [@Whitehound](https://forums.eveonline.com/u/Whitehound)\
**Post date:** [July 23, 2018, 9:43am UTC](https://forums.eveonline.com/t/super-lag-during-large-fleet-battles-node-crashes-etc/90824/36 "2018-07-23T09:43:34Z")

</div>

> [@Beast\_of\_Revelations](#):
>
> Ignore the blatant troll, and stay on topic.

Don’t simply ignore it, but I suggest to start flagging it when it becomes too much spam. We’ll all do ourselves a service in the end.

---

<div class="post-metadata">

**Author:** ![Beast\_of\_Revelations](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/beast_of_revelations/32/413187_2.png) [@Beast\_of\_Revelations](https://forums.eveonline.com/u/Beast_of_Revelations)\
**Post date:** [July 23, 2018, 9:45am UTC](https://forums.eveonline.com/t/super-lag-during-large-fleet-battles-node-crashes-etc/90824/37 "2018-07-23T09:45:50Z")

</div>

Good point.

---

<div class="post-metadata">

**Author:** ![zluq\_zabaa](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/zluq_zabaa/32/19011_2.png) [@zluq\_zabaa](https://forums.eveonline.com/u/zluq_zabaa)\
**Post date:** [July 23, 2018, 9:54am UTC](https://forums.eveonline.com/t/super-lag-during-large-fleet-battles-node-crashes-etc/90824/38 "2018-07-23T09:54:53Z")

</div>

You’re right.

So, back to topic. My understanding is that the we need to look at both the client and the server.

Client-side there can be lag due to the sheer amount of moving objects in space. There are a number of settings in the menu that can help ease this lag.

I’m not sure wether or not the server still sends unneccessary data to the client, after the graphic settings have been lowered. For instance positioning information about missiles and other objects that you’d probably disable to counter client-side lag. If it does, this might be a way to reduce client lag further.

Server-side, TiDi is the attempt to avoid crashes or unintended behaviour (dropping of requests for instance). When you mentioned graphical simulations I assumed you were talking about calculations that can be parallized and would be so much more effective when employing GPUs. My understanding is that there are too many little and different calculations for this, so that in the end a CPU is the most effective approach. As already discussed, there are limits to the computing power of CPUs, so TiDi is currently unavoidable.

However, what I don’t understand is why we still see node crashes or people losing their connection to the server. These things should be exactly what can be avoided with TiDi.

---

<div class="post-metadata">

**Author:** ![Beast\_of\_Revelations](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/beast_of_revelations/32/413187_2.png) [@Beast\_of\_Revelations](https://forums.eveonline.com/u/Beast_of_Revelations)\
**Post date:** [July 23, 2018, 10:09am UTC](https://forums.eveonline.com/t/super-lag-during-large-fleet-battles-node-crashes-etc/90824/39 "2018-07-23T10:09:06Z")

</div>

> [@zluq\_zabaa](#):
>
> When you mentioned graphical simulations I assumed you were talking about calculations that can be parallized and would be so much more effective when employing GPUs.

Use or non-use of GPUs is a different topic. I was merely using graphical simulations as an example of computationally-expensive work which, in the end, is parallelizable (both with the use of GPUs and non-use of GPUs) and can be sped-up tremendously with the use of said parallelization.

I want to know what is so special or different or unique about EvE and it’s calculations which is not parallelizeable and which must forever be subject to non-playability once X numbers of people are all fighting in a system. My intuition and experience tells me ‘nothing,’ and my experience working in this field is that you have to 1) know what you are doing, 2) design for parallelism from the outset, and 3) I rarely see examples of either in my work.

> [@](#):
>
> My understanding is that there are too many little and different calculations for this, so that in the end a CPU is the most effective approach. As already discussed, there are limits to the computing power of CPUs, so TiDi is currently unavoidable.

There are not limits to computing power of CPUs, if the problem is parallelizable, and if you use enough CPUs. Thus the question and the topic at hand.

---

<div class="post-metadata">

**Author:** ![Wander\_Prian](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/wander_prian/32/394208_2.png) [@Wander\_Prian](https://forums.eveonline.com/u/Wander_Prian)\
**Post date:** [July 23, 2018, 10:41am UTC](https://forums.eveonline.com/t/super-lag-during-large-fleet-battles-node-crashes-etc/90824/41 "2018-07-23T10:41:29Z")

</div>

The space-simulation (dogma) was designed back in the day when everyone thought that clock-speeds would keep getting higher. Back then, nobody was running more than one core.

CCP has been moving as much away from the main space-simulation as they can, to increase the amount of players that they can handle in one system. Unfortunately, we players keep pushing against that line and breaking it every time.

---

<div class="post-metadata">

**Author:** ![Anderson\_Geten](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/anderson_geten/32/390041_2.png) [@Anderson\_Geten](https://forums.eveonline.com/u/Anderson_Geten)\
**Post date:** [July 23, 2018, 11:18am UTC](https://forums.eveonline.com/t/super-lag-during-large-fleet-battles-node-crashes-etc/90824/42 "2018-07-23T11:18:09Z")

</div>

> [@Beast\_of\_Revelations](#):
>
> Either the calculations going on in a single system in a large fleet fight are parallelizable, or they are not.

Let me say it clearly : they are not  
They MUST be computed in the sequence of their happening, and the effect of the each impacts the results of the next.

eg. during a tick , at time 0.2 I activate my turret to finish a titan. Then at 0.3 that titan pilot uses his DD. Which kills a dread if the titan is alive. You understand that the death of the dread depends on how the events are handled. That means you can’t parrallel the titan, the dread, or me’s ticks.  
You think “maybe we can make the graph of interactions and split it in connected subgraphs, to handle them each in a parrallel thread”. Well to do that you need to resolve a good part of the events.

---

<div class="post-metadata">

**Author:** ![March\_rabbit](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/march_rabbit/32/453160_2.png) [@March\_rabbit](https://forums.eveonline.com/u/March_rabbit)\
**Post date:** [July 23, 2018, 11:33am UTC](https://forums.eveonline.com/t/super-lag-during-large-fleet-battles-node-crashes-etc/90824/43 "2018-07-23T11:33:08Z")

</div>

> [@zluq\_zabaa](#):
>
> However, what I don’t understand is why we still see node crashes or people losing their connection to the server. These things should be exactly what can be avoided with TiDi.

This is exactly what i’m confused about. CCP improved their hardware, they work on optimizing software and added TiDi. But in the end node still crashed and clients lose connection.

I suppose that current implementation of TiDi has some hard limits and these limits prevent it from using full potential. For example it might be unable to make time slower below some value. And this still allows for server resources to be not enough.

Why client can lose its connection to server even before TiDi is an another question.

---

<div class="post-metadata">

**Author:** ![Beast\_of\_Revelations](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/beast_of_revelations/32/413187_2.png) [@Beast\_of\_Revelations](https://forums.eveonline.com/u/Beast_of_Revelations)\
**Post date:** [July 23, 2018, 11:38am UTC](https://forums.eveonline.com/t/super-lag-during-large-fleet-battles-node-crashes-etc/90824/44 "2018-07-23T11:38:02Z")

</div>

> [@Anderson\_Geten](#):
>
> Let me say it clearly : they are not

I can’t just take it as a bare assertion. I’d have to see and hear more, as to why this is the case.

Anyway, if the current design is unparallelizeable, there was probably some other design that was parallelizable. Bottom line, you shouldn’t design an MMO game in ways that are not parallelizable. Which is why we are where we are now.

> [@](#):
>
> eg. during a tick , at time 0.2 I activate my turret to finish a titan. Then at 0.3 that titan pilot uses his DD. Which kills a dread if the titan is alive. You understand that the death of the dread depends on how the events are handled. That means you can’t parrallel the titan, the dread, or me’s ticks.

Naturally, you wouldn’t parallelize across ticks, so you are stating the obvious. You would parallelize each tick. And you would parallelize whatever else you could parallelize.

This is already done. For instance, physics simulations, whether simple or complex, have already been shown to be parallelizable, and have already been parallelized. Think a bunch of balls bouncing around hitting each other, whether they are molecules, billiard balls on a pool table, or whatever else. You don’t know what the outcome of striking the cue ball with the pool stick is going to be until the simulation is run, because it first has to hit the racked-up balls, those balls have to bounce around and knock into each other, etc. So it’s the same situation as you just described - the outcome of what happens to this ball depends on the outcome of what happens to that ball which depends on what happens to that ball, etc. But again, this kind of thing has already been parallelized, and you parallelize the ticks, not across ticks.

As a separate matter not necessarily related to parallelization, in my day-to-day work I also see lots and lots of slowdowns related to either database architecture and design, and/or how programs are designed to hit the database. Queries which could have been done in one database hit instead do it in three hits, four hits, five hits. Often, I’ve had attempts to fix this kind of thing frustrated by fools who sit on high, e.g. marketing departments who insist on a stupid requirement when the dropping or modification of that requirement would allow for fixing of the problem.

> [@](#):
>
> You think “maybe we can make the graph of interactions and split it in connected subgraphs, to handle them each in a parrallel thread”. Well to do that you need to resolve a good part of the events.

Again, I simply refuse to believe that this situation cannot be rectified with proper design, unless and until someone proves it. That should be our default stance for anything: things are solvable, unless they are proven not to be. If you take the opposite approach (things are unsolvable, unless they are proven to be), we’ll never make progress anywhere as a society.

---

<div class="post-metadata">

**Author:** ![Beast\_of\_Revelations](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/beast_of_revelations/32/413187_2.png) [@Beast\_of\_Revelations](https://forums.eveonline.com/u/Beast_of_Revelations)\
**Post date:** [July 23, 2018, 11:41am UTC](https://forums.eveonline.com/t/super-lag-during-large-fleet-battles-node-crashes-etc/90824/45 "2018-07-23T11:41:12Z")

</div>

> [@March\_rabbit](#):
>
> This is exactly what i’m confused about. CCP improved their hardware, they work on optimizing software and added TiDi. But in the end node still crashed and clients lose connection.
> 
> I suppose that current implementation of TiDi has some hard limits and these limits prevent it from using full potential. For example it might be unable to make time slower below some value. And this still allows for server resources to be not enough.
> 
> Why client can lose its connection to server even before TiDi is an another question.

The problem is heavy load which the node and system at large are simply not designed to deal with. At enough load, without proper design the thing is gonna crash no matter the TiDi or whatever else.

[Previous page](https://forums.eveonline.com/t/super-lag-during-large-fleet-battles-node-crashes-etc/90824.md?page=1)

[Next page](https://forums.eveonline.com/t/super-lag-during-large-fleet-battles-node-crashes-etc/90824.md?page=3)
