Re: bectl slow

From: Kyle Evans <kevans_at_freebsd.org>
Date: Mon, 18 Feb 2019 21:36:16 -0600
On Mon, Feb 18, 2019 at 9:20 PM Graham Perrin <grahamperrin_at_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_at_momh167-gjp4-8570p:~ # svn up /usr/src
> Updating '/usr/src':
> At revision 344270.
> root_at_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_at_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_at_momh167-gjp4-8570p:~ # exit
> logout
> grahamperrin_at_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?
Received on Tue Feb 19 2019 - 02:36:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:20 UTC