I usually frown at the bots conspiracy, but just theoretically speaking login/logout would impliy I/O, am I right? I guess it is possible and could be sort of beneficial to have some bots stationed at different harvesting locations logging in and out to check for whatever they are supposed to check. And if the script in question starts to do it non-stop it might be an issue (but should be also visible and detectable)...loftar wrote:Neither is very likely, since they would mainly cause CPU load rather than I/O load.
-
Hrenli
- Posts: 1169
- Joined: Mon Mar 21, 2016 1:39 pm
Re: Planned downtime: OS upgrade (2019-02-25 01:00 UTC)
Too old to rock-n-roll, too young to die.
-
shubla
- Posts: 13041
- Joined: Sun Nov 03, 2013 11:26 am
- Location: Finland
Re: Planned downtime: OS upgrade (2019-02-25 01:00 UTC)
We have no way of knowing how loftar has implemented servers, so we can only guess which operations require I/O and which ones do not.Hrenli wrote:I usually frown at the bots conspiracy, but just theoretically speaking login/logout would impliy I/O, am I right? I guess it is possible and could be sort of beneficial to have some bots stationed at different harvesting locations logging in and out to check for whatever they are supposed to check. And if the script in question starts to do it non-stop it might be an issue (but should be also visible and detectable)...loftar wrote:Neither is very likely, since they would mainly cause CPU load rather than I/O load.
Without knowing this it is very difficult to find the cause.

I'm not sure that I have a strong argument against sketch colors - Jorb, November 2019
http://i.imgur.com/CRrirds.png?1
Join the moderated unofficial discord for the game! https://discord.gg/2TAbGj2
Purus Pasta, The Best Client
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: Planned downtime: OS upgrade (2019-02-25 01:00 UTC)
Only rather minor amounts, and very certainly the kind that I would notice particularly well, so I think I'll have to deny that theory.Hrenli wrote:I usually frown at the bots conspiracy, but just theoretically speaking login/logout would impliy I/O, am I right?
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
Granger
- Posts: 9255
- Joined: Mon Mar 22, 2010 2:00 pm
Re: Planned downtime: OS upgrade (2019-02-25 01:00 UTC)
Does it read or does it write? And if it is writes, what kind of data (maps, players, whatever else you persist)?loftar wrote:Granger wrote:My money is on it either being midges and/or bees (the patrolling ones) or the wolf AI running in circles.Neither is very likely, since they would mainly cause CPU load rather than I/O load.Sevenless wrote:I'm gonna throw out a wildly wrong guess and say someone programmed some shitty bots that are unintentionally DDoSing the server with their requests ingame.
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: Planned downtime: OS upgrade (2019-02-25 01:00 UTC)
The situation is a bit mysterious, because it's not like the system is "saturated" with I/O in some meaningful manner, from what I can tell. I'm very far from sure exactly what the problem is (it's quite hard to reproduce in an environment where I can properly debug it), but I strongly get the feeling that the a core part of the problem is sync-related. I really have no idea where in the storage stack the problem occurs, but I get the strong impression that whenever a process runs any sync/fsync/fdatasync operation, that causes all other system I/O to be congested. I'm not sure that describes the entirety of the problem either, though; I generally get the feeling that many operations that should be possible to do in the page cache block unnecessarily here and there.Granger wrote:Does it read or does it write? And if it is writes, what kind of data (maps, players, whatever else you persist)?
Either way, the general problem is not so much about I/O bandwidth as it is about I/O latency, and that's where I expect SSDs to make an impact.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
Granger
- Posts: 9255
- Joined: Mon Mar 22, 2010 2:00 pm
Re: Planned downtime: OS upgrade (2019-02-25 01:00 UTC)
Let's hope you're right with this. Good luck!loftar wrote:Either way, the general problem is not so much about I/O bandwidth as it is about I/O latency, and that's where I expect SSDs to make an impact.
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
-
Hrenli
- Posts: 1169
- Joined: Mon Mar 21, 2016 1:39 pm
Re: Planned downtime: OS upgrade (2019-02-25 01:00 UTC)
Of course. That's why I put emphasis on theoretically speaking. But logging in would imply reading persistent data, probably loading some world chunks etc... Same with logging out...shubla wrote:We have no way of knowing how loftar has implemented servers, so we can only guess which operations require I/O and which ones do not.
Too old to rock-n-roll, too young to die.
-
rye130
- Posts: 2557
- Joined: Mon Feb 01, 2010 9:41 pm
Re: Planned downtime: OS upgrade (2019-02-25 01:00 UTC)
Do you have any plans for how to pinpoint the root cause if the new hardware doesn't completely fix things?Granger wrote:Let's hope you're right with this. Good luck!loftar wrote:Either way, the general problem is not so much about I/O bandwidth as it is about I/O latency, and that's where I expect SSDs to make an impact.
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: Planned downtime: OS upgrade (2019-02-25 01:00 UTC)
I do have some entry points to look at, but it would certainly require some investigation.rye130 wrote:Do you have any plans for how to pinpoint the root cause if the new hardware doesn't completely fix things?
"Object-oriented design is the roman numerals of computing." -- Rob Pike