Re: Before & After Under The Giant Lock
- From: gregoryd.freebsd@xxxxxxx
- Date: Mon, 26 Nov 2007 10:27:23 +0100
Hello,
Quoting Robert Watson <rwatson@xxxxxxxxxxx>:
No problem -- just to be clear: in 7, users can still choose between
libpthread (m:n) and libthr (1:1), but the default is now libthr rather than
libpthread, as libthr seemed to perform better in most if not all workloads
of
interest.
I thought 1:1 would perform better with I/O bound processes running several
threads.
But wouldn't a process rely on a few I/O threads for several other CPU bound
threads ? (unless specific activities such as a web server, or a database, which
would explain MySQL performing better with 1:1)
Or, to make my point (somewhat) clearer: how did you actually compare advantages
of 1:1 versus M:N when the change from the latter to the former was decided ?
And second question: would it be possible to dynamically choose one way over the
other: meaning if you know you're mostly I/O bound, then request for the 1:1
type of threads, and vice versa ?
thanks,
gregory
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Before & After Under The Giant Lock
- From: Kris Kennaway
- Re: Before & After Under The Giant Lock
- References:
- doubt about IPSEC - Freebsd 7
- From: Giulio Ferro
- Re: doubt about IPSEC - Freebsd 7
- From: Rong-en Fan
- Before & After Under The Giant Lock
- From: binto
- Re: Before & After Under The Giant Lock
- From: Robert Watson
- Re: Before & After Under The Giant Lock
- From: Christopher Chen
- Re: Before & After Under The Giant Lock
- From: Christopher Chen
- Re: Before & After Under The Giant Lock
- From: Robert Watson
- doubt about IPSEC - Freebsd 7
- Prev by Date: Re: Before & After Under The Giant Lock
- Next by Date: Re: Before & After Under The Giant Lock
- Previous by thread: Re: Before & After Under The Giant Lock
- Next by thread: Re: Before & After Under The Giant Lock
- Index(es):
Relevant Pages
|
|