bectl slow

Kyle Evans kevans at freebsd.org
Tue Feb 19 03:36:30 UTC 2019


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?


More information about the freebsd-current mailing list