Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Experience lag spikes
Author Message
Rizz
Master
**

Posts: 396
Likes Given: 21
Likes Received: 14 in 9 posts
Joined: Oct 2012
Reputation: 0



Post: #1
Experience lag spikes
I am having lag spikes and I am searching the reason and I don't want exclude anything.

PHP Code:
///////////////////////////////////////////////////////////////
//////// Server Mechanics
///////////////////////////////////////////////////////////////
// Experimental flags
// Flags for options that affect server behaviour and which might affect compatibility
// See the revisions.txt file for more details on this
// EF_DiagonalWalkCheck         = 00000001
// EF_New_Triggers              = 00000008
// EF_Intrinsic_Locals          = 00000020
// EF_Item_Strict_Comparison    = 00000040
// EF_NewPositionChecks         = 00000080 // Do not set while server is running !!!
// EF_WalkCheck                 = 00000100
// EF_AllowTelnetPacketFilter   = 00000200 // Enables packet filtering for telnet connections as well
// EF_Script_Profiler           = 00000400
// EF_Size_Optimise             = 00000800
// EF_Minimize_Triggers         = 00001000 // Minimize trigger calls (use only 0.51 triggers)
// EF_DamageTools               = 00002000 // damage tools (and fire @damage on them) while mining or lumberjacking
// EF_PetSlots                    = 00004000 // INCOMPLETE YET! DO NOT USE until this warning is removed!
// EF_UsePingServer             = 00008000 // Enable the experimental Ping Server (for showing pings on the server list, uses UDP port 12000)
// EF_NPCAct_Triggers           = 00010000 // Enable @NPCSpecialAction and @NPCAction triggers (mutual exclusive with EF_Minimize_Triggers)
// EF_FixCanSeeInClosedConts    = 00020000 // Change CANSEE to return 0 for items inside containers that a client hasn't opened
// EF_NetworkOutThread          = 00800000 // Send network data in a separate thread
// EF_Specific                  = 01000000 // Specific behaviour, not completly tested
//Experimental=01|08|040|0800|010000
Experimental=01|08|040|0800|010000|0800000

// Use asynchronous data sends (changing this setting at runtime may produce unexpected behaviour)
//  0 = Off
//  1 = On
//  2 = On for 4.0.0+ game clients only
UseAsyncNetwork=0


// Prioritise outgoing packets (provides a smoother experience in crowded areas)
UsePacketPriority=1

// Enables an additional buffer for outgoing data.
UseExtraBuffer=1


// Number of network threads. Clients are distributed evenly amongst each thread. Set to 0 to not
// use a separate networking thread.
NetworkThreads=0    //1

// If network threads are used, this controls the priority they are assigned.
//  0   = Idle
//  1   = Low
//  2   = Normal
//  3   = High
//  4   = Highest
//  5   = Real-time
//  255 = Automatic (recommended)
NetworkThreadPriority=255 

Do you think that some of my options may cause lag spikes?
04-22-2015 01:28 AM
Find all posts by this user Like Post Quote this message in a reply
Sharlenwar
Journeyman
*

Posts: 55
Likes Given: 0
Likes Received: 3 in 3 posts
Joined: May 2012
Reputation: 0



Post: #2
RE: Experience lag spikes
Do you host your server on an actual machine, or are you using a host of some sort?

-= Meh =-
04-22-2015 02:25 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #3
RE: Experience lag spikes
In recent sphere.ini PacketPriority is set to 0 by default.
04-22-2015 02:55 AM
Find all posts by this user Like Post Quote this message in a reply
Rizz
Master
**

Posts: 396
Likes Given: 21
Likes Received: 14 in 9 posts
Joined: Oct 2012
Reputation: 0



Post: #4
RE: Experience lag spikes
(04-22-2015 02:25 AM)Sharlenwar Wrote:  Do you host your server on an actual machine, or are you using a host of some sort?


The machine has 8cores and 32gb or ram, there are no caps on the usage.
I cannot remember extacly which cpu model is, waiting for the host answer.
04-22-2015 03:41 AM
Find all posts by this user Like Post Quote this message in a reply
Sharlenwar
Journeyman
*

Posts: 55
Likes Given: 0
Likes Received: 3 in 3 posts
Joined: May 2012
Reputation: 0



Post: #5
RE: Experience lag spikes
Rizz, is your connection to the host a good quality one? In the same country as you live?

-= Meh =-
04-22-2015 05:04 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Rizz
Master
**

Posts: 396
Likes Given: 21
Likes Received: 14 in 9 posts
Joined: Oct 2012
Reputation: 0



Post: #6
RE: Experience lag spikes
I have some problem with my internet but this is a report from players, not from me.
The host should be in france if i am not going wrong.
04-22-2015 05:33 AM
Find all posts by this user Like Post Quote this message in a reply
Sharlenwar
Journeyman
*

Posts: 55
Likes Given: 0
Likes Received: 3 in 3 posts
Joined: May 2012
Reputation: 0



Post: #7
RE: Experience lag spikes
Reason I ask these questions, is I run a Sphereserver from a server machine in my own home. So my connection to the server is top notch, as it is local within my network. So to troubleshoot someone having lag issues for myself would be fairly simple. On your hand, it depends where these players are trying to log in from. If they are all from your country trying to connect to a server in France, then there could be potential latency issues. This doesn't resolve your issue unfortunately, but I'm trying to see where potentially your problem could be. The only other thing I can think of, is do you have any intensive scripts that run often which could potentially cause issues, but this is probably not the case for you.

-= Meh =-
04-22-2015 05:49 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,140
Likes Given: 217
Likes Received: 89 in 76 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #8
RE: Experience lag spikes
Check the spheresvr.exe cpu usage... When my sphere is running over 50% it lags ://

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
04-22-2015 06:06 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)