> On 6. Aug 2018, at 23:18, Mindaugas Rasiukevicius <rm...@netbsd.org> wrote:
> 
> Martin Husemann <mar...@duskware.de> wrote:
>> So here is a more detailed analyzis using flamegraphs:
>> 
>>      https://netbsd.org/~martin/bc-perf/
>> 
>> 
>> All operations happen on tmpfs, and the locking there is a significant
>> part of the game - however, lots of mostly idle time is wasted and it is
>> not clear to me what is going on.
> 
> Just from a very quick look, it seems like a regression introduced with
> the vcache changes: the MP-safe flag is set too late and not inherited
> by the root vnode.
> 
> http://www.netbsd.org/~rmind/tmpfs_mount_fix.diff

Very good catch, @martin could you try this diff on an autobuilder?

Looks like it speeds up tmpfs lookups by a factor of ~40 on -8.0.

--
J. Hannken-Illjes - hann...@eis.cs.tu-bs.de - TU Braunschweig (Germany)

Reply via email to