Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 2021 15:36:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 254639] Fork syscall performance
Message-ID:  <bug-254639-227-bLIAQ8C00O@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-254639-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-254639-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254639

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

dtrace -q -n 'fbt::pmap_copy:entry /pid =3D=3D $target/{self->ts =3D timest=
amp}
fbt::pmap_copy:return /self->ts/{@ =3D sum(timestamp - self->ts); self->ts =
=3D 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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254639-227-bLIAQ8C00O>