What does this ring mean? How many threads in wait and timed_wait will cause the program to slow down
If you look at the threads page in status, it might give some idea of what they all are.
Also do you happen to have a lot of scripts on your tags as value change events, these can cause some threading issues if they take too long to run
These are idle states that have near zero effect on performance.