-
Notifications
You must be signed in to change notification settings - Fork 523
Conversation
4d74c66
to
25f7b7b
Compare
Not a fan of this being in the ctor. It could be in a factory method though |
Going to change it up then... |
25f7b7b
to
e293a5c
Compare
@halter73 give this a go? Taken @rynowak's round robining idea from #390 (comment); but using Hopefully it will still provide enough distribution. |
e293a5c
to
1ec965d
Compare
Rebased on 7e8a405 and measured. This one seems totally broken. It gets slower with each run and leaves the dnx process eating CPU even when not serving requests. |
Yeah found it to be broken last night ;-( |
a5b7466
to
c0e50e2
Compare
c0e50e2
to
bd31f24
Compare
bd31f24
to
7b2c03e
Compare
@DamianEdwards is fixed |
Measured again. It's very slightly up from the
|
This is more a pre-solution for the contention that will happen with more memory pool use with SocketOutput and the pre-computed Headers change |
See @halter73 is working on something far better; closing this... |
The increase in use of memory pools is leading to and will inevitably lead to greater and greater contention.
This loosens the contention on the memorypool by partitioning
ProcessorCount
times and choosing the first pool to try asManagedThreadId % ProcessorCount
.Also steals from other pools when preferred pool is empty.