commit | 597632be188d2bcc135dad2145cc46ef44897aad | [log] [tgz] |
---|---|---|
author | Jason Evans <je@fb.com> | Fri Mar 18 13:41:33 2011 -0700 |
committer | Jason Evans <je@fb.com> | Fri Mar 18 13:41:33 2011 -0700 |
tree | fb092c04978ccd91b7e12fbd3259ffbb47c7d6a4 | |
parent | 9c43c13a35220c10d97a886616899189daceb359 [diff] |
Improve thread-->arena assignment. Rather than blindly assigning threads to arenas in round-robin fashion, choose the lowest-numbered arena that currently has the smallest number of threads assigned to it. Add the "stats.arenas.<i>.nthreads" mallctl.