Re: pkg version is slowwww

2018-10-26 Thread Steve Kargl
On Fri, Oct 26, 2018 at 08:40:07PM +0200, Michael Gmelin wrote:
> 
> > On 26. Oct 2018, at 20:03, Steve Kargl  
> > wrote:
> > 
> > I recently updated to pkg-1.10.5_5, and I now
> > find to command "pkg version -vl '<'" to be
> > much slower than previous versions.
> > 
> > Four consecutive executions of "time pkg version -vl '<'"
> > yields
> > 
> >  54.15 real27.28 user25.66 sys
> >  48.80 real26.04 user23.01 sys
> >  48.35 real26.30 user22.59 sys
> >  48.43 real26.54 user22.32 sys
> > 
> > During one of these timings, top(1) shows
> > 
> > 47519 root1  -8021M12M piperd   0   0:00   0.20% pkg
> > 
> > Is slow down expected?
> > 
> > Note, "time pkg info" gives
> > 
> >0.01 real 0.00 user 0.00 sys
> > 
> 
> What is the timing when using “-R” and when using “-I”?
> 

Hmmm, it seems that -I may have found the cause of my 
observed slowdown.

% time pkg version -I -vl '<'
pkg: Can't access /usr/ports/INDEX-13: No such file or directory
0.00 real 0.00 user 0.00 sys

I cannot find an announcement that FreeBSD-12 had branched.
I have /usr/ports/INDEX-12, but I also rebuilt world yesterday
where I track head and obviously head sources are from after
the branch.

%  uname -v
FreeBSD 13.0-CURRENT r339736 HPC

Deleting /usr/ports/INDEX-12 and doing "make fetchindex" in
/usr/ports pulls the INDEX-13 file.  I now see

% time pkg version -vl '<'
0.09 real 0.09 user 0.00 sys

which is what I expected.  Apologies for the noise.

-- 
Steve
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: pkg version is slowwww

2018-10-26 Thread Michael Gmelin


> On 26. Oct 2018, at 20:03, Steve Kargl  
> wrote:
> 
> I recently updated to pkg-1.10.5_5, and I now
> find to command "pkg version -vl '<'" to be
> much slower than previous versions.
> 
> Four consecutive executions of "time pkg version -vl '<'"
> yields
> 
>  54.15 real27.28 user25.66 sys
>  48.80 real26.04 user23.01 sys
>  48.35 real26.30 user22.59 sys
>  48.43 real26.54 user22.32 sys
> 
> During one of these timings, top(1) shows
> 
> 47519 root1  -8021M12M piperd   0   0:00   0.20% pkg
> 
> Is slow down expected?
> 
> Note, "time pkg info" gives
> 
>0.01 real 0.00 user 0.00 sys
> 

What is the timing when using “-R” and when using “-I”?

Michael


> -- 
> Steve
> ___
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


pkg version is slowwww

2018-10-26 Thread Steve Kargl
I recently updated to pkg-1.10.5_5, and I now
find to command "pkg version -vl '<'" to be
much slower than previous versions.

Four consecutive executions of "time pkg version -vl '<'"
yields

  54.15 real27.28 user25.66 sys
  48.80 real26.04 user23.01 sys
  48.35 real26.30 user22.59 sys
  48.43 real26.54 user22.32 sys

During one of these timings, top(1) shows

47519 root1  -8021M12M piperd   0   0:00   0.20% pkg

Is slow down expected?

Note, "time pkg info" gives

0.01 real 0.00 user 0.00 sys

-- 
Steve
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"