Re: [patch] mmap-speedup-2.5.42-C3

Saurabh Desai (sdesai@austin.ibm.com)
Tue, 15 Oct 2002 20:14:00 -0500


Ingo Molnar wrote:
>
> the attached patch (against BK-curr) adds three new, threading related
> improvements to the VM.
>
> the first one is an mmap inefficiency that was reported by Saurabh Desai.
> The test_str02 NPTL test-utility does the following: it tests the maximum
> number of threads by creating a new thread, which thread creates a new
> thread itself, etc. It basically creates thousands of parallel threads,
> which means thousands of thread stacks.

Like to point out, test_str02 is a NGPT test program not NPTL.


> the patch was tested on x86 SMP and UP. Saurabh, can you confirm that this
> patch fixes the performance problem you saw in test_str02?
>

Yes, the test_str02 performance improved a lot using NPTL.
However, on a side effect, I noticed that randomly my current telnet session
was logged out after running this test. Not sure, why?
I applied your patch on 2.5.42 kernel and running glibc-2.3.1pre2.
-
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/