The International Simutrans Forum

 

Author Topic: [Closed] New Simutrans-Experimental server (bridgewater-brunel.me.uk)  (Read 63243 times)

0 Members and 1 Guest are viewing this topic.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: New Simutrans-Experimental server
« Reply #140 on: January 22, 2012, 07:45:22 PM »
Hmm - I haven't noticed any loading and saving other than when players join. As to trees - this would affect memory consumption more than anything, and only a small proportion of the server's available memory (around 17%) is currently used.

Offline AP

  • Devotee
  • *
  • Posts: 1202
  • Languages: EN
Re: New Simutrans-Experimental server
« Reply #141 on: January 22, 2012, 07:57:39 PM »
I suppose with all the desyncing going on, that could have been what was causing it.

Offline Junna

  • Devotee
  • *
  • Posts: 1082
Re: New Simutrans-Experimental server
« Reply #142 on: January 22, 2012, 07:58:39 PM »
Did it go down again?

Offline AP

  • Devotee
  • *
  • Posts: 1202
  • Languages: EN
Re: New Simutrans-Experimental server
« Reply #143 on: January 22, 2012, 08:07:13 PM »
I'm in, so I assume not.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: New Simutrans-Experimental server
« Reply #144 on: January 23, 2012, 12:11:51 AM »
Incidentally, some testing suggests that increasing additional_client_frames_behind in simuconf.tab to 3 or even 4 seems to reduce desyncs.

Offline AP

  • Devotee
  • *
  • Posts: 1202
  • Languages: EN
Re: New Simutrans-Experimental server
« Reply #145 on: January 23, 2012, 10:22:37 AM »
Don't know if anything changed overnight, but I had quite good performance/low lag last night with 2-3 clients connected, today, large lag in similar circumstances (30s between click and action occuring).
« Last Edit: January 23, 2012, 11:11:06 AM by AP »

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: New Simutrans-Experimental server
« Reply #146 on: January 23, 2012, 11:21:57 AM »
The lag may be due to network conditions - I haven't changed anything on the server itself, certainly. How are you doing for desyncs?

Offline AP

  • Devotee
  • *
  • Posts: 1202
  • Languages: EN
Re: New Simutrans-Experimental server
« Reply #147 on: January 23, 2012, 11:27:28 AM »
Could be. Only one desync today so far. I have manually disconnected / reconnected to try to reduce lag (variable success).

Offline Milko

  • Devotee
  • *
  • Posts: 829
Re: New Simutrans-Experimental server
« Reply #148 on: January 23, 2012, 11:28:43 AM »
Hello James

- delay in command executing -
The reduction in the number of frames per second set in the server allows to improve the response time to commands on the client?

Giuseppe

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: New Simutrans-Experimental server
« Reply #149 on: January 23, 2012, 11:35:59 AM »
Ahh, no: it makes the delay in executing (slightly) worse, but reduces the chance of desyncs.

Offline AP

  • Devotee
  • *
  • Posts: 1202
  • Languages: EN
Re: New Simutrans-Experimental server
« Reply #150 on: January 23, 2012, 01:58:57 PM »
Right, I'm concluding I'm rubbish at Experimental, need more practice in private I think, having near bankrupt 3-companies!

ash1794

  • Guest
Re: New Simutrans-Experimental server
« Reply #151 on: January 23, 2012, 04:55:27 PM »
is this server down? cause i tried joinin and failed... "SERVER DID NOT RESPOND"..

Offline ӔO

  • Devotees (Inactive)
  • *
  • Posts: 2345
  • Hopefully helpful
  • Languages: en, jp
Re: New Simutrans-Experimental server
« Reply #152 on: January 23, 2012, 05:59:40 PM »
yep, it seems to be down.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: New Simutrans-Experimental server
« Reply #153 on: January 23, 2012, 09:14:02 PM »
Hmm - it's not down for me...

Edit: Having checked, I think that my cron job for auto restarting the server has suddenly started working again!

Offline Milko

  • Devotee
  • *
  • Posts: 829
Re: New Simutrans-Experimental server
« Reply #154 on: January 25, 2012, 09:31:54 PM »
Hello

So things are looking better, I can stay connected for about 10 minutes before a desync, even when we are connected in two or three.

We must still work on desync, but now you can play decently. Thanks James.  :)

Edit: now we are connected in 6 players!!!

Giuseppe
« Last Edit: January 25, 2012, 09:45:19 PM by Milko »

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: New Simutrans-Experimental server
« Reply #155 on: January 25, 2012, 09:53:51 PM »
Giuseppe - yes: I am player 6! As for desyncs, you can reduce these by increasing your additional_client_frames_behind setting.

Offline ӔO

  • Devotees (Inactive)
  • *
  • Posts: 2345
  • Hopefully helpful
  • Languages: en, jp
Re: New Simutrans-Experimental server
« Reply #156 on: January 26, 2012, 07:57:57 AM »
james, when you have the time, I need to have roads fixed up between.
- Axemead, Catingfield
- Scarmead, Reinwich
- Reidwich
- Kingshampton
- Pointshore, Cheringfield
- Cheringfield, Workmere
- Mathorn (your sign is in the way)

thanks!

Guvnor

  • Guest
Re: New Simutrans-Experimental server
« Reply #157 on: January 26, 2012, 03:00:16 PM »
I'm pretty sure the server's crashed.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: New Simutrans-Experimental server
« Reply #158 on: January 26, 2012, 07:14:59 PM »
Hmm, seems indeed to have crashed. Investigating...

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: New Simutrans-Experimental server
« Reply #159 on: January 26, 2012, 08:56:45 PM »
The server is back now: the error that caused the crash was most peculiar, as was the fact that the way that I was able to get it working again worked (if any coding minded person is interested in helping to solve the mystery, a detailed explanation is available here).

Sorry for the outage!

Guvnor

  • Guest
Re: New Simutrans-Experimental server
« Reply #160 on: January 26, 2012, 11:20:22 PM »
James,

It crashed again.  I've attached a screen shot.  Notice the load bar behind.

Dave

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: New Simutrans-Experimental server
« Reply #161 on: January 26, 2012, 11:25:47 PM »
Yes, I was online at the time - trying to track down the issue. It's back up again from an earlier saved game: sorry if anything has been lost.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: New Simutrans-Experimental server
« Reply #162 on: January 27, 2012, 12:26:58 AM »
Hmm - the quickstone error (discussed here) seems to be occurring too frequently to deal with effectively manually, so it will have to be fixed before we can go live again, I'm afraid. There's a workaround on my 10.x branch, but I don't have time to deploy to-night, so I'm afraid that AEO will have to take a brief break from world domination!

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: New Simutrans-Experimental server (bridgewater-brunel.me.uk)
« Reply #163 on: January 29, 2012, 12:17:33 AM »
The server is now back online with 10.8, and is also now on the announce server - thank you everyone for your patience.

Offline ӔO

  • Devotees (Inactive)
  • *
  • Posts: 2345
  • Hopefully helpful
  • Languages: en, jp
Re: New Simutrans-Experimental server (bridgewater-brunel.me.uk)
« Reply #164 on: January 29, 2012, 12:40:27 AM »
is it just me, or does it seem like the save/load takes longer now?

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: New Simutrans-Experimental server (bridgewater-brunel.me.uk)
« Reply #165 on: January 29, 2012, 12:46:18 AM »
Hmm - I haven't noticed anything in particular.

Offline dustNbone

  • *
  • Posts: 100
Re: New Simutrans-Experimental server (bridgewater-brunel.me.uk)
« Reply #166 on: January 29, 2012, 01:19:43 AM »
Seems about the same to me.  I would think it would get progressively larger as the game progresses.  Overall it actually seems a touch more responsive to me. Could just be weekend network conditions but wondering if maybe the bug was causing the server to chug away on some endless task.  Anyway seems to be working fine.  Except my client just segfaulted during a map reload after someone connected.  :)

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: New Simutrans-Experimental server (bridgewater-brunel.me.uk)
« Reply #167 on: January 29, 2012, 01:30:16 AM »
Hmm - you don't happen to have a backtrace, do you?

Offline dustNbone

  • *
  • Posts: 100
Re: New Simutrans-Experimental server (bridgewater-brunel.me.uk)
« Reply #168 on: January 29, 2012, 01:34:13 AM »
No I forgot to copy it out of the terminal before I restarted the client, then it was past the scrollback buffer.  I'll try to remember next time.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: New Simutrans-Experimental server (bridgewater-brunel.me.uk)
« Reply #169 on: January 29, 2012, 01:36:04 AM »
Thank you.

Offline ӔO

  • Devotees (Inactive)
  • *
  • Posts: 2345
  • Hopefully helpful
  • Languages: en, jp
Re: New Simutrans-Experimental server (bridgewater-brunel.me.uk)
« Reply #170 on: January 29, 2012, 01:38:31 AM »
okay, it's probably just my senses throwing me off.
so far, so good :)

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: New Simutrans-Experimental server (bridgewater-brunel.me.uk)
« Reply #171 on: January 29, 2012, 01:46:06 AM »
I am noticing that it seems to take other clients longer to load: the time that I am paused after loading is longer than it was before, but the loading itself is not.

Offline TurfIt

  • Dev Team, Coder/patcher
  • Devotee
  • *
  • Posts: 1327
Re: New Simutrans-Experimental server (bridgewater-brunel.me.uk)
« Reply #172 on: January 29, 2012, 01:59:15 AM »
When I connected previously to browse around, I noticed it taking a very long time to save/reload (this was the older 10.7). I was barely finished the save/reload cycle before it unpaused when someone joined. Not a super fast machine but an old Core2 @3.3GHz that was pegged for the duration. Changing my local saveformat to zipped instead of bzip2 was a huge help. I suggest that those temporary saves done on all clients should be zipped rather than bzip2 (or even binary), but leave the server with bzip2 for faster transfer - ~50% difference in file size.

Offline sdog

  • Devotee
  • *
  • Posts: 2039
Re: New Simutrans-Experimental server (bridgewater-brunel.me.uk)
« Reply #173 on: January 29, 2012, 02:01:25 AM »
just a question, can the time-line time slowed down for a server? So that a year takes longer in real life time. However game time for vehicle movement stays the same. (eg ticks per month increases at the same rate).

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: New Simutrans-Experimental server (bridgewater-brunel.me.uk)
« Reply #174 on: January 29, 2012, 02:11:08 AM »
TurfIt,

that's a very interesting idea that merits some consideration.

Sdog,

I am not quite sure what you mean here: I can change the ticks per month setting, but do you mean something different to this?