Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Nov 2006 07:52:44 -0800
From:      Julian Elischer <julian@elischer.org>
To:        Chris <chrcoluk@gmail.com>
Cc:        threads@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: libpthread vs libthr.
Message-ID:  <4557434C.7080106@elischer.org>
In-Reply-To: <3aaaa3a0611111503m319808cu7e1f710970350044@mail.gmail.com>
References:  <20061110151247.GA64530@zone3000.net> <3aaaa3a0611111503m319808cu7e1f710970350044@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4557434C.7080106>