On Oct 17, 2013, at 11:15 AM, Pavel Kazlenka <[email protected]> wrote:
> Thank you Igor. > > I've rebuilt ATS with hwloc and things became a bit better. Now I see that > load is being balanced fairly between configured number of threads during the > test. If I understood correctly, this number is either > exec_thread.autoconfig.scale * number of cpu cores if exec_thread.autoconfig > is set to '1' or exec_thread.limit in opposite case. > > Also I found that there should be about 30 threads to keep load of 4-5k > requests per second. But there are still many CPU cycles left (threads take > about 80-90% CPU of 400% available). > One of the possible problems I observe is that threads are migrating between > CPU cores. Each time such a migration occurs, thread receives performance > penalty that is not good. Is there any mechanism to bind thread to cpu core > at startup? CONFIG proxy.config.exec_thread.affinity INT 1 -- leif
