![]() | |||||||||||||
Messages in this thread |
Tim Chen <tim.c.chen@linux.intel.com> writes: > On Wed, 2006-11-08 at 22:10 -0700, Eric W. Biederman wrote: > >> >> Cool. I'm glad to know it was simply a buggy lmbench. >> >> What is sysconf(_SN_NPROCESSORS_ONLN) doing that it slows down as the >> number of irqs increase? It is a slow path certainly but possibly >> something we should fix. My hunch is cat /proc/cpuinfo... >> > > The increase in time of sysconf(_SN_NPROCESSORS_ONLN) call > is within "show_stat" function after looking at profiling data. > There are a couple of loops that iterate over kstat_irqs > interrupt statistics and depend on NR_IRQS. Doesn't > look like something we need to fix. Thanks. Eric - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2006-11-14 01:07 [from the cache] ©2003-2008 | |||||||||||||