FreeBSD 13.0-BETA2: Xorg slow

2021-02-18 Thread Maurizio Vairani
I have successfully upgraded the FreeBSD (actually NomadBSD) installed on a
Lenovo ThinkPad T450 from 12.2-RELEASE-p3. After upgrading all packages I
have replaced the package graphics/drm-fbsd12-kmod with
graphics/drm-fbsd13-kmod. After rebooting the laptop  works but the  Xorg
server is slow because it uses a lot of CPU: moving a window around the
screen uses 100% of the CPU.


Regards,

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


Re: stable/12 git -> svn mirror delayed

2021-02-18 Thread Warner Losh
I've done a dry-run that looks good (at first blush, I still need to look
at it in more detail). I've put a workaround into the conversion script
that will fix this issue (and any others that are just like it that slip
through), but is definitely hackish and not generic for all possible ways
that a merge commit could land. When I'm satisfied, I'll have the automated
mirroring re-enabled and we should be good, though it may be a few hours
due to time zones, etc.

Warner

On Thu, Feb 18, 2021 at 4:40 PM mike tancsa  wrote:

> Thanks guys for the explanation / looking into it!   And thank you very
> much for all your efforts on this big move to git!
>
> ---Mike
>
> On 2/18/2021 3:45 PM, Warner Losh wrote:
> > The problem is that it was a merge commit, which should have been
> > administratively prohibited. A merge commit from main to stable/* is
> > never the right thing. It creates problems, not least of which is the
> > issue with the subversion exporter. In this case, it won't create the
> > more severe issues like we have in the converted past, so that's at
> > least something.
> >
> > I wrote the script assuming there'd never be a merge commit. I'll fix
> > things by hand for this one commit which will get things going again.
> > Making this exporter handle merge commits generically is tricky and
> > beyond the scope of the work I took on...  Hopefully, we'll get the
> > commit hook problem fixed soon so it won't happen again.
> >
> > Warner
> >
> > On Thu, Feb 18, 2021 at 1:30 PM Ed Maste  > > wrote:
> >
> > The git-svn stable/12 mirror is currently stuck. It encountered an
> > issue with the OpenSSL 1.1.1j import (e3a8c0df593b) and hasn't been
> > able to make progress past it. It's under investigation and will
> > hopefully be resolved soon.
> >
> > (I think the git-svn converter is trying to cherry-pick each of the
> > vendor updates on the branch 4f55bd5321b7 rather than a single commit
> > for the merge itself.)
> >
>
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: stable/12 git -> svn mirror delayed

2021-02-18 Thread mike tancsa
Thanks guys for the explanation / looking into it!   And thank you very
much for all your efforts on this big move to git! 

    ---Mike

On 2/18/2021 3:45 PM, Warner Losh wrote:
> The problem is that it was a merge commit, which should have been
> administratively prohibited. A merge commit from main to stable/* is
> never the right thing. It creates problems, not least of which is the
> issue with the subversion exporter. In this case, it won't create the
> more severe issues like we have in the converted past, so that's at
> least something.
>
> I wrote the script assuming there'd never be a merge commit. I'll fix
> things by hand for this one commit which will get things going again.
> Making this exporter handle merge commits generically is tricky and
> beyond the scope of the work I took on...  Hopefully, we'll get the
> commit hook problem fixed soon so it won't happen again.
>
> Warner
>
> On Thu, Feb 18, 2021 at 1:30 PM Ed Maste  > wrote:
>
> The git-svn stable/12 mirror is currently stuck. It encountered an
> issue with the OpenSSL 1.1.1j import (e3a8c0df593b) and hasn't been
> able to make progress past it. It's under investigation and will
> hopefully be resolved soon.
>
> (I think the git-svn converter is trying to cherry-pick each of the
> vendor updates on the branch 4f55bd5321b7 rather than a single commit
> for the merge itself.)
>
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FreeBSD 13.0-BETA2 and slow IO

2021-02-18 Thread Kevin Oberman
On Tue, Feb 16, 2021 at 3:06 AM Konstantin Belousov 
wrote:

> On Tue, Feb 16, 2021 at 12:54:55PM +0200, Christos Chatzaras wrote:
> >
> > > On 16 Feb 2021, at 12:20, Christos Chatzaras 
> wrote:
> > >
> > > I build a test system with 13.0-BETA2 and it's very slow with at least
> IO.
> > >
> > > Doing "portsnap auto" takes much more time than 12.2.
> > >
> > > Also when I do "rm -fr /usr/ports" with 12.2 takes 5 seconds and the
> same command with 13.0-BETA2 takes 100 seconds.
> > >
> > > The disks are similar 4TB HDD drives on both systems.
> > >
> > > Is this related to debug enabled in 13.0-BETA2?
> >
> > I install 12.2 in the same system and "rm -fr /usr/ports" was fast. So
> it's not related to hardware.
> >
> > If I upgrade it to 13.0-BETA2 the same command is slow again.
>
> Are you using UFS+SU or SU+J?  If yes, this is known and fix is planned
> for BETA3 or BETA4.
>
A note to this thread when it is committed to rewleng or stable would be
greatly appreciated.  The time to download and unpack a large port distfile
(e.g. firefox) is painful. I'm hoping this is causing it as I just had the
disk on my new laptop replaced 6 months ago and I was afraid that it was
failing again.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkober...@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: stable/12 git -> svn mirror delayed

2021-02-18 Thread Warner Losh
The problem is that it was a merge commit, which should have been
administratively prohibited. A merge commit from main to stable/* is never
the right thing. It creates problems, not least of which is the issue with
the subversion exporter. In this case, it won't create the more severe
issues like we have in the converted past, so that's at least something.

I wrote the script assuming there'd never be a merge commit. I'll fix
things by hand for this one commit which will get things going again.
Making this exporter handle merge commits generically is tricky and beyond
the scope of the work I took on...  Hopefully, we'll get the commit hook
problem fixed soon so it won't happen again.

Warner

On Thu, Feb 18, 2021 at 1:30 PM Ed Maste  wrote:

> The git-svn stable/12 mirror is currently stuck. It encountered an
> issue with the OpenSSL 1.1.1j import (e3a8c0df593b) and hasn't been
> able to make progress past it. It's under investigation and will
> hopefully be resolved soon.
>
> (I think the git-svn converter is trying to cherry-pick each of the
> vendor updates on the branch 4f55bd5321b7 rather than a single commit
> for the merge itself.)
>
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


stable/12 git -> svn mirror delayed

2021-02-18 Thread Ed Maste
The git-svn stable/12 mirror is currently stuck. It encountered an
issue with the OpenSSL 1.1.1j import (e3a8c0df593b) and hasn't been
able to make progress past it. It's under investigation and will
hopefully be resolved soon.

(I think the git-svn converter is trying to cherry-pick each of the
vendor updates on the branch 4f55bd5321b7 rather than a single commit
for the merge itself.)
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: git to svn update frequency ?

2021-02-18 Thread Warner Losh
On Thu, Feb 18, 2021 at 3:33 AM mike tancsa  wrote:

> On 2/17/2021 12:10 PM, Warner Losh wrote:
> > On Feb 17, 2021, at 6:05 AM, mike tancsa  wrote:
> >> I noticed on a box that I update RELENG_12 via git there are more
> >> recent commits then if I use svnlite to track.  Are they only
> >> periodically updated ? If so, how frequently do they get refreshed ?
> >> e.g. I see the new OpenSSL version in git, but not when I update via
> >> svnlite.
> > Yes. There is a lag for a number of reasons. The updates happen on a
> batched basis (it’s a script I wrote) and then there’s a delay in
> replication to the main subversion servers. I believe that the rate is on
> the scale of hourly, but lwhsu will have to answer that detail.
> >
> Hi Warner & Li-Wen,
>
> I think something might be broken somewhere ? The last update is
> from ~ 36 hrs ago and there have been many commits to the git repo since
> for RELENG_12.
>
> # svnlite update
> Updating '.':
> At revision 369283.
>

Li-Wen is looking into the breakage.

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


Re: git to svn update frequency ?

2021-02-18 Thread mike tancsa
On 2/18/2021 11:08 AM, Mark Millard wrote:
> Dumb of me to show releng/12.0 instead of releng/12.2 , I guess.
> But I luck out: releng/12.2 was only one day more recent . . .
>
> https://cgit.freebsd.org/src/log/?h=releng/12.2

Hi,

   Sorry, I think I am being too careless with the terms RELENG and
STABLE.  I am trying to track https://cgit.freebsd.org/src/log/?h=stable/12

#  svnlite info
Path: .
Working Copy Root Path: /usr/src
URL: svn://svn.freebsd.org/base/stable/12
Relative URL: ^/stable/12
Repository Root: svn://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 369283
Node Kind: directory
Schedule: normal
Last Changed Author: np
Last Changed Rev: 369282
Last Changed Date: 2021-02-16 15:39:03 -0500 (Tue, 16 Feb 2021)

    ---Mike

>
> shows:
>
> Commit message (Expand)   Author  Age Files   Lines
> Add UPDATING entry and bump versionreleng/12.2Ed Maste
> 2021-01-29  2   -1/+17
>
>
> ===
> Mark Millard
> marklmi at yahoo.com
> ( dsl-only.net went
> away in early 2018-Mar)
>
>
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: git to svn update frequency ?

2021-02-18 Thread Mark Millard via freebsd-stable


On 2021-Feb-18, at 05:33, Mark Millard  wrote:

> mike tancsa mike at sentex.net wrote on
> Thu Feb 18 10:33:14 UTC 2021 :
> 
>> On 2/17/2021 12:10 PM, Warner Losh wrote:
>>> On Feb 17, 2021, at 6:05 AM, mike tancsa  wrote:
I noticed on a box that I update RELENG_12 via git there are more
 recent commits then if I use svnlite to track.  Are they only
 periodically updated ? If so, how frequently do they get refreshed ? 
 e.g. I see the new OpenSSL version in git, but not when I update via
 svnlite.
>>> Yes. There is a lag for a number of reasons. The updates happen on a 
>>> batched basis (it’s a script I wrote) and then there’s a delay in 
>>> replication to the main subversion servers. I believe that the rate is on 
>>> the scale of hourly, but lwhsu will have to answer that detail.
>>> 
>> Hi Warner & Li-Wen,
>> 
>>I think something might be broken somewhere ? The last update is
>> from ~ 36 hrs ago and there have been many commits to the git repo since
>> for RELENG_12.
>> 
>> # svnlite update
>> Updating '.':
>> At revision 369283.
>> #
> 
> You are referencing 12, not 13 . . .
> 
> https://cgit.freebsd.org/src/log/?h=releng/12.0
> 
> shows the most recent releng/12.0 in git is from 2021-Jan-28:
> 
> Commit message (Expand)   Author  Age Files   Lines
> Add UPDATING entries and bump version.releng/12.0 Gordon Tetlow   
> 2020-01-28  2   -1/+17
> 
> 
> Are you confusing stable/12 and releng/12.0 or 
> possibly releng/12.0 and releng/13.0 ?

Dumb of me to show releng/12.0 instead of releng/12.2 , I guess.
But I luck out: releng/12.2 was only one day more recent . . .

https://cgit.freebsd.org/src/log/?h=releng/12.2

shows:

Commit message (Expand) Author  Age Files   Lines
Add UPDATING entry and bump versionreleng/12.2  Ed Maste2021-01-29  
2   -1/+17


===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)

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


Re: git to svn update frequency ?

2021-02-18 Thread mike tancsa
On 2/18/2021 8:33 AM, Mark Millard wrote:
> You are referencing 12, not 13 . . .
> https://cgit.freebsd.org/src/log/?h=releng/12.0
>
> shows the most recent releng/12.0 in git is from 2021-Jan-28:
>
> Commit message (Expand)   Author  Age Files   Lines
> Add UPDATING entries and bump version.releng/12.0 Gordon Tetlow   
> 2020-01-28  2   -1/+17
>
>
> Are you confusing stable/12 and releng/12.0 or 
> possibly releng/12.0 and releng/13.0 ?
>
Hi Mark,

    I track RELENG_12 stable (not 13) via svn still.  But I noticed on
the cgit page there are more commits to 12 STABLE then when I update via svn

If I try and update my sources via svn the last commit I get is

https://cgit.freebsd.org/src/commit/?h=stable/12=42f7f5c5d22cc9e845e51a1f8a5b92573b8b3d2f

# svnlite update
Updating '.':
At revision 369283.
#
#uname -a
FreeBSD backup.sentex.ca 12.2-STABLE FreeBSD 12.2-STABLE #0 r369282M:
Wed Feb 17 09:36:31 EST 2021
mdtan...@backup.sentex.ca:/usr/obj/usr/src/amd64.amd64/sys/server  amd64

On another RELENG12 machine if I do a git pull --ff-only I get what is
reflected at

https://cgit.freebsd.org/src/log/?h=stable/12

with several commits after the one by np ~ 43hrs ago

    ---Mike



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


Re: git to svn update frequency ?

2021-02-18 Thread Mark Millard via freebsd-stable
mike tancsa mike at sentex.net wrote on
Thu Feb 18 10:33:14 UTC 2021 :

> On 2/17/2021 12:10 PM, Warner Losh wrote:
> > On Feb 17, 2021, at 6:05 AM, mike tancsa  wrote:
> >> I noticed on a box that I update RELENG_12 via git there are more
> >> recent commits then if I use svnlite to track.  Are they only
> >> periodically updated ? If so, how frequently do they get refreshed ? 
> >> e.g. I see the new OpenSSL version in git, but not when I update via
> >> svnlite.
> > Yes. There is a lag for a number of reasons. The updates happen on a 
> > batched basis (it’s a script I wrote) and then there’s a delay in 
> > replication to the main subversion servers. I believe that the rate is on 
> > the scale of hourly, but lwhsu will have to answer that detail.
> >
> Hi Warner & Li-Wen,
> 
> I think something might be broken somewhere ? The last update is
> from ~ 36 hrs ago and there have been many commits to the git repo since
> for RELENG_12.
> 
> # svnlite update
> Updating '.':
> At revision 369283.
> #

You are referencing 12, not 13 . . .

https://cgit.freebsd.org/src/log/?h=releng/12.0

shows the most recent releng/12.0 in git is from 2021-Jan-28:

Commit message (Expand) Author  Age Files   Lines
Add UPDATING entries and bump version.releng/12.0   Gordon Tetlow   
2020-01-28  2   -1/+17


Are you confusing stable/12 and releng/12.0 or 
possibly releng/12.0 and releng/13.0 ?

===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)

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


Re: git to svn update frequency ?

2021-02-18 Thread mike tancsa
On 2/17/2021 12:10 PM, Warner Losh wrote:
> On Feb 17, 2021, at 6:05 AM, mike tancsa  wrote:
>> I noticed on a box that I update RELENG_12 via git there are more
>> recent commits then if I use svnlite to track.  Are they only
>> periodically updated ? If so, how frequently do they get refreshed ? 
>> e.g. I see the new OpenSSL version in git, but not when I update via
>> svnlite.
> Yes. There is a lag for a number of reasons. The updates happen on a batched 
> basis (it’s a script I wrote) and then there’s a delay in replication to the 
> main subversion servers. I believe that the rate is on the scale of hourly, 
> but lwhsu will have to answer that detail.
>
Hi Warner & Li-Wen,

    I think something might be broken somewhere ? The last update is
from ~ 36 hrs ago and there have been many commits to the git repo since
for RELENG_12.

# svnlite update
Updating '.':
At revision 369283.
#

    ---Mike

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