[Bug 254639] Fork syscall performance

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Mar 29 15:36:42 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254639

--- Comment #2 from Kirill <kirill at varnakov.com> ---
I have 192GB. Trace:

dtrace -q -n 'fbt::pmap_copy:entry /pid == $target/{self->ts = timestamp}
fbt::pmap_copy:return /self->ts/{@ = sum(timestamp - self->ts); self->ts = 0;}
tick-1s {printa("spent %@dns
 copying\n", @); clear(@);}' -c "python test_fork.py"
spent 238724ns copying
spent 0ns copying
spent 0ns copying
spent 0ns copying
spent 0ns copying
spent 0ns copying
spent 0ns copying
spent 0ns copying
spent 0ns copying
25576 8.959986448287964
spent 525185651ns copying
spent 0ns copying
spent 0ns copying
spent 0ns copying
spent 0ns copying
spent 279323ns copying
25593 4.342242956161499
spent 434345424ns copying
spent 0ns copying
spent 0ns copying
spent 0ns copying
spent 0ns copying
spent 0ns copying
spent 0ns copying
spent 352273ns copying
spent 423458987ns copying
spent 0ns copying
25597 7.248447418212891
spent 0ns copying
spent 0ns copying
spent 0ns copying
spent 0ns copying
spent 0ns copying
25602 4.694051027297974
spent 432109608ns copying
spent 0ns copying
spent 0ns copying
spent 0ns copying
spent 0ns copying
spent 0ns copying
25619 4.810415983200073

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list