Tell me how it feels after the latest reboot (n/t),
Zulghinlour,
22-May-11 12:42 AM, #19
RE: lag,
Isildur,
21-May-11 06:36 PM, #13
Feels like it has gotten worse.,
Dallevian,
21-May-11 06:54 PM, #14
I concur. So bad I've been logging off early because it...,
ORB,
21-May-11 07:08 PM, #15
I've slapped the keyboard or monitor,
Dallevian,
22-May-11 11:38 AM, #20
RE: lag,
Zulghinlour,
21-May-11 07:39 PM, #16
RE: lag,
Isildur,
21-May-11 08:15 PM, #17
RE: lag,
Zulghinlour,
21-May-11 09:27 PM, #18
RE: lag,
Isildur,
22-May-11 01:31 PM, #21
RE: lag,
Zulghinlour,
22-May-11 06:47 PM, #22
RE: lag,
Isildur,
23-May-11 12:01 AM, #23
It feels like the entire mud is slow(er).,
Dallevian,
28-Feb-11 10:24 AM, #4
Yes, it happens to me too.,
Murphy,
28-Feb-11 07:58 AM, #2
RE: Yes, it happens to me too.,
Isildur,
28-Feb-11 09:08 AM, #3
RE: Yes, it happens to me too.,
Isildur,
28-Feb-11 03:45 PM, #5
Nothing that I'm seeing...,
Zulghinlour,
28-Feb-11 09:57 PM, #6
RE: Nothing that I'm seeing...,
Isildur,
28-Feb-11 10:32 PM, #7
RE: Nothing that I'm seeing...,
Zulghinlour,
28-Feb-11 10:44 PM, #8
RE: Nothing that I'm seeing...,
Isildur,
01-Mar-11 01:03 AM, #9
RE: Nothing that I'm seeing...,
Zulghinlour,
02-Mar-11 03:13 AM, #10
RE: Nothing that I'm seeing...,
Isildur,
02-Mar-11 10:11 AM, #11
gettimeofday should work on most all linux systems.,
TheDude,
02-Mar-11 12:56 PM, #12
I thought it might be my connection,
blackbird,
28-Feb-11 06:35 AM, #1
| |
|
Zulghinlour | Sun 22-May-11 12:42 AM |
Member since 04th Mar 2003
9792 posts
| |
|
#38099, "Tell me how it feels after the latest reboot (n/t)"
In response to Reply #0
|
n/t So long, and thanks for all the fish!
|
|
|
|
  |
Dallevian | Sat 21-May-11 06:54 PM |
Member since 04th Mar 2003
1646 posts
| |
|
#38092, "Feels like it has gotten worse."
In response to Reply #13
|
Ticks seem to be longer too. But the pause in game is killing me, really breaks the flow of the game.
|
|
|
|
    |
ORB | Sat 21-May-11 07:08 PM |
Member since 04th Mar 2003
993 posts
| |
|
#38093, "I concur. So bad I've been logging off early because it..."
In response to Reply #14
|
No text That which does not kill us, makes us stronger.
|
|
|
|
      |
Dallevian | Sun 22-May-11 11:38 AM |
Member since 04th Mar 2003
1646 posts
| |
|
#38115, "I've slapped the keyboard or monitor"
In response to Reply #15
|
more than once because I thought wifi or something died. Luckily the game pauses and it isn't packet loss or anything.
|
|
|
|
  |
Zulghinlour | Sat 21-May-11 07:39 PM |
Member since 04th Mar 2003
9792 posts
| |
|
#38095, "RE: lag"
In response to Reply #13
|
>Still seeing this, btw.
And I've got no idea what it is. No clue where to look. Everything in game is running smooth and silky, which means it's likely other processes on the box I have no control over.
So long, and thanks for all the fish!
|
|
|
|
      |
Zulghinlour | Sat 21-May-11 09:27 PM |
Member since 04th Mar 2003
9792 posts
| |
|
#38097, "RE: lag"
In response to Reply #17
|
>Do we share the hardware with other folks? I guess I assumed >it was dedicated.
We do share now. Prior to the move it was dedicated hardware.
On the plus side...I do have a new theory...will reboot and test it out in a little bit. So long, and thanks for all the fish!
|
|
|
|
          |
Zulghinlour | Sun 22-May-11 06:47 PM |
Member since 04th Mar 2003
9792 posts
| |
|
#38143, "RE: lag"
In response to Reply #21
|
100+ sql queries/updates in the same function. So long, and thanks for all the fish!
|
|
|
|
            | |
|
Dallevian | Mon 28-Feb-11 10:24 AM |
Member since 04th Mar 2003
1646 posts
| |
|
#37219, "It feels like the entire mud is slow(er)."
In response to Reply #0
|
As in, the pace of rounds coming are very slow. I feel like I can take a sip of coffee in between rounds. And then there's the lag spikes like you mentioned too.
|
|
|
|
|
Murphy | Mon 28-Feb-11 07:58 AM |
Member since 30th Dec 2010
1639 posts
| |
|
#37215, "Yes, it happens to me too."
In response to Reply #0
|
I never paid attention, but if it lags specifically at tick change, it's probably some prog that needs optimisation. The muds are not processor-intensive, but they typically have peaks of CPU load on tick change.
Otherwise, it may be a problem with the hoster not providing enough bandwidth, losing packets of data or whatever else.
|
|
|
|
    |
Isildur | Mon 28-Feb-11 03:45 PM |
Member since 04th Mar 2003
5969 posts
| |
|
#37223, "RE: Yes, it happens to me too."
In response to Reply #3
|
|
|
      |
Zulghinlour | Mon 28-Feb-11 09:57 PM |
Member since 04th Mar 2003
9792 posts
| |
|
#37226, "Nothing that I'm seeing..."
In response to Reply #5
|
Along with that optimization I added in a boatload of data-mining with regards to performance for the various things that happen at regularly scheduled intervals.
Of those there are two that are over their goals.
|Function |Rate |Max |Goal |Over Goal| ---------------------------------------------------------------------------- |mobile_update() |4 seconds |0.35 sec|0.25 sec|0.10% |violence_update() |3 seconds |0.18 sec|0.15 sec|0.06%
And of those that do end up being over the goal, it's not that often (or off by that much).So long, and thanks for all the fish!
|
|
|
|
          | |
            | |
              |
Zulghinlour | Wed 02-Mar-11 03:13 AM |
Member since 04th Mar 2003
9792 posts
| |
|
#37235, "RE: Nothing that I'm seeing..."
In response to Reply #9
|
>Both are valuable. clock() teases out problems with the mud >code itself while time() catches resource contention issues.
Yeah, problem with time() is that it doesn't have the precision since it's smallest unit is one second. I did add in checks using it, so we'll see if anything shows up.
>Do you run the mud at certain "nice" and "ionice" levels? >Upping both those priorities might help in the short term.
Nope, run the mud at standard priorities. I'll keep it in mind if the recent changes don't turn up anything. So long, and thanks for all the fish!
|
|
|
|
                |
Isildur | Wed 02-Mar-11 10:11 AM |
Member since 04th Mar 2003
5969 posts
| |
|
#37242, "RE: Nothing that I'm seeing..."
In response to Reply #10
|
|
|
                  |
TheDude | Wed 02-Mar-11 12:56 PM |
Member since 20th Sep 2005
285 posts
| |
|
#37248, "gettimeofday should work on most all linux systems."
In response to Reply #11
Edited on Wed 02-Mar-11 12:56 PM
|
To get the current time, do something like:
#include <sys/time.h> ... struct timeval start; gettimeofday(&start, NULL); long lStart_secs = start.tv_sec; long lStart_ms = start.tv_usec / 1000;
|
|
|
|
|