svn commit: r312666 - stable/10/sys/kern

Eric van Gyzen vangyzen at FreeBSD.org
Tue Jan 24 18:44:27 UTC 2017


On 01/23/2017 12:12, Eric van Gyzen wrote:
> On 01/23/2017 10:03, Andriy Gapon wrote:
>> On 23/01/2017 15:34, Bruce Evans wrote:
>>> What is a good benchmark for showing that the fix helps?
>>
>> Honestly, I do not know.  We ran into a pathology where a thread was not getting
>> scheduled for a long time after being preempted while in a critical section (so
>> the actual preemption was a voluntary switch when exiting the critical section).
>>  I am not sure what kind of a synthetic benchmark or a test case would readily
>> demonstrate the problem.
> 
> I submitted r270423, which introduced the bug Andriy just fixed.  I'm
> already setting up the performance test that I used for that change.
> It's a macro-benchmark of a commercial product, so I can't elaborate on
> details, but at least I can give a thumb indication in the style of a
> Roman Dictator.

My performance tests showed no change, so although r312666 does not
improve performance under my workload, it also does not hurt.
Specifically, it does not reintroduce the regression introduced in
r239157 that I poorly fixed in r270423.

Thanks again for the fix, Andriy.

Eric


More information about the svn-src-all mailing list