Re: Performance improvement inquiry

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sat Oct 12 2002 - 16:33:34 EST


On Sat, 2002-10-12 at 21:26, Zapp Foster wrote:
> First question: Will compiling a kernel with
> the network module resident (as opposed to a loadable
> module) make network performance any better? From
> the reading, it appears that resident modules are only
> faster in initialization, not runtime. I'm new to
> this, so please correct me if I'm wrong.

Modules are very very fractionally slower than compiled in code due to
TLB misses
 
> Second: Threads. Each server runs one to several
> custom services I've written, each of which performs a
> part of data processing on the incoming data. Each
> service consists of eight to thirty threads. The
> question: Is there a way to tweak the kernel to
> improve thread performance? I hear the 2.5 kernel

Update to the RH 7.3 kernel and you will get the O(1) scheduler too

> how likely it is that shared libs (used either by my
> services or the kernel/OS) are being re-read from
> disk? I am hoping that the libs get cached and thus
> load from cache back into memory.

They do

-
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/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:44 EST