On 03.03.2018 03:54, Kamil Rytarowski wrote: > With an inspiration from M.J. Guzik, I've ported will-it-scale to > NetBSD. It's available through pkgsrc-wip as wip/will-it-scale-git. > > I'm pasting here results that might be a starting point and inspiration. > A testing machine with a larger number of cores (16+) would be useful > for serious scaling improvements. > > I've tested it on Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz (4 cores x 2 HT). > > page_fault1_processes -t 1 -s 10 > average:524964 > average:520118 > average:513892 > average:516152 > > page_fault1_processes -t 8 -s 10 > average:1497203 > average:1518082 > average:1486932 > average:1498492 > > http://netbsd.org/~kamil/will-it-scale/page_fault1_processe.txt > > These results seem to be fairy good. > > > > ./open1_processes -t 1 -s 10 > average:297989 > average:302398 > average:308919 > ./open1_processes -t 8 -s 10 > average:59007 > average:59478 > average:59683 > > http://netbsd.org/~kamil/will-it-scale/open1_processes.txt > > Here we expect average without significant drop, but the bottleneck > (vnode locking?) is evident. > >
FlameGraph for open1_processes: http://netbsd.org/~kamil/will-it-scale/open1_processes.svg Algorithm: $ rm /tmp/out.kern_stacks; dtrace -x nolibs -x stackframes=100 -n 'profile-997 { @[stack()] = count(); }' -o /tmp/out.kern_stacks -c "./open1_processes -t 8 -s 60" $ git clone https://github.com/brendangregg/FlameGraph.git $ cd FlameGraph $ cat /tmp/out.kern_stacks | perl ./stackcollapse.pl | perl ./flamegraph.pl > open1_processes.svg
signature.asc
Description: OpenPGP digital signature