Boost logo

Boost :

Subject: Re: [boost] [Fibers] Performance
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2014-01-16 08:33:09


2014/1/16 Giovanni Piero Deretta <gpderetta_at_[hidden]>

> I think that Harmut point is that you can very well use threads for the
> same thing. In this particular case you would just perform a syncronous
> read. Yes, to mantain the same level of concurrency you need to spawn ten
> of thousands of threads, but that's feasible on a modern os/hardware pair.
> The point of using fibers (i.e. M:N threading) is almost purely
> performance.
>

In the context of C10K problem and using the one-thread-per-client pattern
I doubt
that this would scale (even on modern hardware). Do you have some data
showing
the performance of an modern operating system and hardware by increasing
thread count?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk