Date: Mon, 18 Feb 2019 21:36:16 -0600 From: Kyle Evans <kevans@freebsd.org> To: Graham Perrin <grahamperrin@gmail.com> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: bectl slow Message-ID: <CACNAnaEXF7g80vUwmQP=BNsExPyKHkjtbmX96gBL-K0wb1EYdA@mail.gmail.com> In-Reply-To: <95e64c9c-08d2-1258-115f-7a93b7a7469b@gmail.com> References: <004243c2-e473-ee1a-7343-e718f2177308@gmail.com> <CACNAnaHcNUfyNBHVZjxABd8s6ATzVveHyw22p%2B=c8X5VyZ=%2BTw@mail.gmail.com> <95e64c9c-08d2-1258-115f-7a93b7a7469b@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 18, 2019 at 9:20 PM Graham Perrin <grahamperrin@gmail.com> wrote: > > On 19/02/2019 03:05, Kyle Evans wrote: > > I'd be interested in seeing what happens when you apply this diff: > > https://people.freebsd.org/~kevans/bectl-perf.diff > > > Thanks, I'll let you know. > > In the meantime: here are timings for creating then activating a boot > environment. > > root@momh167-gjp4-8570p:~ # svn up /usr/src > Updating '/usr/src': > At revision 344270. > root@momh167-gjp4-8570p:~ # date ; uptime ; uname -v ; time bectl create > r344270 > Tue Feb 19 03:16:08 GMT 2019 > 3:16AM up 2:41, 4 users, load averages: 1.27, 1.82, 1.59 > FreeBSD 13.0-CURRENT r344013 GENERIC-NODEBUG > 0.000u 0.013s 1:05.83 0.0% 12+140k 22+0io 0pf+0w > root@momh167-gjp4-8570p:~ # time bectl activate r344270 > successfully activated boot environment r344270 > 0.000u 0.018s 1:08.08 0.0% 24+280k 19+0io 0pf+0w > root@momh167-gjp4-8570p:~ # exit > logout > grahamperrin@momh167-gjp4-8570p:~ % shutdown -r now > Oh, sorry, I missed the part where bectl create was also slow -- the patch will likely reveal nothing interesting. How about things like 'zfs list' and 'zfs get all <pool>/ROOT/default'? Also slow?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACNAnaEXF7g80vUwmQP=BNsExPyKHkjtbmX96gBL-K0wb1EYdA>