Subject: "minor latency spikes" Previous topic | Next topic
Printer-friendly copy Email this topic to a friend CF Website
Top General Discussions Gameplay Topic #64260
Show all folders

IsildurWed 20-Jul-16 02:41 PM
Member since 04th Mar 2003
5969 posts
Click to send email to this author Click to send private message to this author Click to view this author's profile Click to add this author to your buddy list
#64260, "minor latency spikes"


          

I rolled up a character and noticed some jitter that doesn't seem related to my network connection. I'm posting this tintin++ script again in case it might help diagnose.

Maybe connect directly from the VM that hosts CF in order to eliminate link quality as a factor. I'm curious to know what stats you see. This is from a run I did today from a location with consistent 50ms ping to CF:

min: 103 ms, max: 526 ms, avg: 255 ms, med: 266 ms, count: 258

Here's the script:

#ali {cfping} {#act {You nod.} {#format {endtime} {%U};#math {duration} {$endtime - $starttime};#math {duration} {$duration / 1000};#showme {duration: $duration};#list {times} {add} {$duration};#format {starttime} {%U};nod};#ali {off} {#unact {You nod.};#unali {off};#unvar {starttime};#unvar {endtime};#unvar {duration};#var {min} {9999};#var {max} {0};#var {avg} {0};#list {times} {size} {size};#math {halfsize} {$size / 2};#forall {$times<%*>} {#if {&0 < $min} {#var {min} {&0}};#if {&0 > $max} {#var {max} {&0}};#math {avg} {$avg + &0}};#list {times} {sort};#math {avg} {$avg / $size};#math {med} {$times<$halfsize>};#showme {min: $min ms,  max: $max ms,  avg: $avg ms,  med: $med ms,  count: $size}#unvar {min};#unvar {max};#unvar {avg};#unvar {med};#unvar {size};#unvar {halfsize};#unvar {times}};#unvar {times};#format {starttime} {%U};nod}
Put that in then run "cfping" to start it and "off" to stop it. It just sends the "nod" command repeatedly and records the time between when each command was sent and when it receives the text: "You nod."

  

Alert | IP Printer Friendly copy | Reply | Reply with quote | Top

Reply could it be your own OS lagging?, Dallevian, 20-Jul-16 05:17 PM, #2
Reply RE: minor latency spikes, Umiron, 20-Jul-16 05:05 PM, #1
     Reply RE: minor latency spikes, Isildur, 20-Jul-16 05:31 PM, #3
          Reply Pastebin. (nt), Umiron, 20-Jul-16 05:34 PM, #4
          Reply RE: minor latency spikes, Isildur, 20-Jul-16 06:43 PM, #5
               Reply Nope. Feel free to email it. (nt), Umiron, 20-Jul-16 07:23 PM, #6
                    Reply RE: Nope. Feel free to email it. (nt), Isildur, 21-Jul-16 12:28 AM, #7

DallevianWed 20-Jul-16 05:17 PM
Member since 04th Mar 2003
1646 posts
Click to send email to this author Click to send private message to this author Click to view this author's profile Click to add this author to your buddy list
#64265, "could it be your own OS lagging?"
In response to Reply #0


          

i have a #beep command which always slows down my zmud when it fires the sound.

  

Alert | IP Printer Friendly copy | Reply | Reply with quote | Top

UmironWed 20-Jul-16 05:05 PM
Member since 29th May 2017
1497 posts
Click to send email to this author Click to send private message to this author Click to add this author to your buddy list
#64262, "RE: minor latency spikes"
In response to Reply #0


          

When I run it, avg and med always come back as zero.

Using tintin++ 2.01.0. I don't have time to debug the client script right now.

  

Alert | IP Printer Friendly copy | Reply | Reply with quote | Top

    
IsildurWed 20-Jul-16 05:31 PM
Member since 04th Mar 2003
5969 posts
Click to send email to this author Click to send private message to this author Click to view this author's profile Click to add this author to your buddy list
#64266, "RE: minor latency spikes"
In response to Reply #1


          

Forum software is mangling the script because it contains brackets. Will try to figure out how to escape them.

  

Alert | IP Printer Friendly copy | Reply | Reply with quote | Top

        
UmironWed 20-Jul-16 05:34 PM
Member since 29th May 2017
1497 posts
Click to send email to this author Click to send private message to this author Click to add this author to your buddy list
#64267, "Pastebin. (nt)"
In response to Reply #3


          

asd

  

Alert | IP Printer Friendly copy | Reply | Reply with quote | Top

        
IsildurWed 20-Jul-16 06:43 PM
Member since 04th Mar 2003
5969 posts
Click to send email to this author Click to send private message to this author Click to view this author's profile Click to add this author to your buddy list
#64268, "RE: minor latency spikes"
In response to Reply #3


          

Try this:

#ali {cfping} {#act {You nod.} {#format {endtime} {%U};#math {duration} {$endtime - $starttime};#math {duration} {$duration / 1000};#showme {duration: $duration};#list {times} {add} {$duration};#format {starttime} {%U};nod};#ali {off} {#unact {You nod.};#unali {off};#unvar {starttime};#unvar {endtime};#unvar {duration};#var {min} {9999};#var {max} {0};#var {avg} {0};#list {times} {size} {size};#math {halfsize} {$size / 2};#forall {$times<%*>} {#if {&0 < $min} {#var {min} {&0}};#if {&0 > $max} {#var {max} {&0}};#math {avg} {$avg + &0}};#list {times} {sort};#math {avg} {$avg / $size};#math {med} {$times<$halfsize>};#showme {min: $min ms,  max: $max ms,  avg: $avg ms,  med: $med ms,  count: $size}#unvar {min};#unvar {max};#unvar {avg};#unvar {med};#unvar {size};#unvar {halfsize};#unvar {times}};#unvar {times};#format {starttime} {%U};nod}

  

Alert | IP Printer Friendly copy | Reply | Reply with quote | Top

            
UmironWed 20-Jul-16 07:23 PM
Member since 29th May 2017
1497 posts
Click to send email to this author Click to send private message to this author Click to add this author to your buddy list
#64269, "Nope. Feel free to email it. (nt)"
In response to Reply #5


          

asd

  

Alert | IP Printer Friendly copy | Reply | Reply with quote | Top

                
IsildurThu 21-Jul-16 12:28 AM
Member since 04th Mar 2003
5969 posts
Click to send email to this author Click to send private message to this author Click to view this author's profile Click to add this author to your buddy list
#64272, "RE: Nope. Feel free to email it. (nt)"
In response to Reply #6


          

Emailed.

  

Alert | IP Printer Friendly copy | Reply | Reply with quote | Top

Top General Discussions Gameplay Topic #64260 Previous topic | Next topic