Playback of tcpdump spins
Bug #1059330 reported by
Stewart Smith
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MOVED - Percona Playback |
New
|
Undecided
|
Unassigned |
Bug Description
I am glad to find the tool with a new version, but still leave a problem.
when I playback a size of 5GB tcpdump file , the tools is not stable. In MySQL, we can find that the QPS and TPS suddenly drop to zero after playbacking a some time. I find when have no QPS and TPS, the CPU usage of sys is higher than usual.
Use the tool "perf top", I find the spin_lock is higher than usual.
appearance:
samples pcnt function
9753.00 31.8% _spin_lock
so is it a bug?
wait for your answer, thanks
To post a comment you must log in.
HI, we have found the reason caused the problem in file named inet_hashtables.c. The function __inet_ check_establish ed caused spin_lock.
We modify /etc/sysctl.conf, add:
net.ipv4. tcp_syncookies = 1 tcp_tw_ reuse = 1 tcp_tw_ recycle = 1 tcp_fin_ timeout = 30
net.ipv4.
net.ipv4.
net.ipv4.
Now we can playback the tcpdump file continuously.
thank you very much for your reply.
Now we are testing the great playback tool.
PS: the tcpdump-mode fast may not work so effective in our experiments.