Re: bectl slow

From: Graham Perrin <grahamperrin_at_gmail.com>
Date: Tue, 19 Feb 2019 03:20:04 +0000
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
Received on Tue Feb 19 2019 - 02:20:11 UTC

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