On Thu, Dec 22, 2011 at 08:05:08AM +0100, Hongli Lai hon...@phusion.nl wrote:
Are you talking about hardware simultaneous multithreading
(http://en.wikipedia.org/wiki/Simultaneous_multithreading), e.g.
HyperThreading?
No, just distant history, try
On Thu, Dec 22, 2011 at 02:53:52PM +0100, Hongli Lai hon...@phusion.nl wrote:
I know that, but as you can read from my very first email I was planning on
running I threads, with I=number of cores, where each thread has 1 event
loop. My question now has got nothing to do with the threads vs
On 28/12/2011, at 18:29, Hongli Lai wrote:
The only thing left that I'm interested in is why Marc thinks
processes are more efficient than threads. I'm interested in his
answer because I wish to learn more about how hardware and operating
systems work.
I run this benchmark again and again,
On Sat, Dec 31, 2011 at 2:36 PM, Jorge jo...@jorgechamorro.com wrote:
tThreads(seconds): 0.535, tProcs(seconds): 0.573, ratio:0.933
Perhaps I'm doing it wrong ?
Could you run it on other unixes and post the results ?
I used -O3 -pthread for CFLAGS and got the following results on two
vastly