tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: 8.0 performance issue when running build.sh?
> On 6. Aug 2018, at 23:18, Mindaugas Rasiukevicius <rmind%netbsd.org@localhost> wrote:
>
> Martin Husemann <martin%duskware.de@localhost> 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 - hannken%eis.cs.tu-bs.de@localhost - TU Braunschweig (Germany)
Home |
Main Index |
Thread Index |
Old Index