linux - Some simple system calls take milliseconds -
i'm running small number of game servers (one per cpu core). despite hardware quite powerful , no other tasks running on cores, i'm facing problems related stability of frames per second indicator. causes game server processes waiting long (sometimes 3-4 ms, unacceptable in case).
strace utility shows like:
17:56:27.683580 gettimeofday({1374414987, 683587}, null) = 0 <0.000003> 17:56:27.683599 gettimeofday({1374414987, 683606}, null) = 0 <0.000003> 17:56:27.683619 gettimeofday({1374414987, 683626}, null) = 0 <0.001693> 17:56:27.685387 gettimeofday({1374414987, 685437}, null) = 0 <0.000034> 17:56:27.685492 gettimeofday({1374414987, 685550}, null) = 0 <0.000025>
perhaps reason why lags (taking account gameserver process single-threaded) happen.
however, question why of system calls take time? i've tried kernels various types of kernel preemtion, result still same.
looking forward help.
p.s.
os - debian 7 64 bit
linux kernel version - 3.2.46
Comments
Post a Comment