Re: libpthread vs libthr.

From: Julian Elischer <julian_at_elischer.org>
Date: Sun, 12 Nov 2006 07:52:44 -0800
Chris wrote:

[...]

> 
> 
> HI I posted in another thread about how my own experiences seem to
> differ from all these benchmarks, they are based on 3 heavily loaded
> web/mysql servers.
> 
> One is freebsd 6.1 dual core cpu (not htt). 2nd is dual xeon freebsd
> 6.1 and 3rd is another dual xeon freebsd 6.1.
> 
> All 3 of these machines perform better as well as more stable under
> higher loads using libpthread process scope.
> 
> System scope appears to make mysql hog the system and everything slows
> down except of course mysql.

Is this libpthread "system scope" or libthr (which has system scope by 
default)?

> 
> Libthr appears to make mysql very sporadic with some requests fast
> others with a unexplained 5-10 sec delay including timeouts.
> 
> Process scope on libpthread gives me the best results not making mysql
> starve the server of resources and it has a consistent response time
> of under 2 seconds under heavy loads.

this is interesting.. there has been a call to remove "fairness"
as a threading property as it complicates the scheduler.
It has been said by many that they do not consider this as an important 
feature and it reduces throughput.

> 
> I cant explain other then it maybe that test mysql data isnt a proper
> way to test these threading libraries only real work loads can.
> 
> Chris
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Sun Nov 12 2006 - 14:52:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:02 UTC