[lkml]   [2000]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Slow pthread_create() under high load
Date writes:

> My guess is that clone() should return very fast to the original thread, but
> might take a while to return to the newly created thread, which is what is
> causing the problem.

The kernel does not allow using clone() directly because some
additional functionality required to implement the correct POSIX
threads behaviour is missing. Do you think we make these things slow
on purpose?

If you want to see this changes get the kernel changes in place.
There are various patches floating around which combined will allow a
correct and fast implementation. But they were not added.

---------------. drepper at ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at `------------------------

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:57    [W:0.110 / U:5.744 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site