From nobody Tue Sep 03 19:37:36 2024 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WywrK4t6Wz52Nc3 for ; Tue, 03 Sep 2024 19:37:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WywrK2wqFz4c3v for ; Tue, 3 Sep 2024 19:37:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725392257; a=rsa-sha256; cv=none; b=Vc01KD70Rmoe8lAvCdUlKHKhyIu0Bw5+N3a5XfunOWVled/yhlLV0guPEgyysfpcsaK51T dS1Z4Wno1VnVChBh7OsjcGYiUhx2bSxrLovTmcnwGPsTX0p5GPhyGALf8/33dbkA/rVPou 3pbt34oGv50wYsYsWO1H4Gj7Y78Koy5NL9UEpAqeHbelTYr5Eod/nlORDRaOg1LJ2xbgwH 0nNMVTc6sfb7zjVHS9yHC8KKdw8nhdmlosLZw6gVEmvUbFwQiwv6b9U9m2PYxupodJP8rP 9KFE8ZEgBt+6OS2WT/Xw/DQ4cqbN6arcLCRCb4U1PQrbmwMjh3vQChF6s98g4w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725392257; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ComcOwj0qBfx9IGA+OLsg/nzmfrGIsnOjNa3FRvFOuE=; b=ojv6S5E8S1od12nJ9tEF+bWUnJNp38Jz6lq5nKBJjDHP2uz23bEXPq82TzHTsOuj41FCr4 Aw5Zd1bQvhGE916osynMkS0dJoBErpNS4UBKCqc6vL8CrjZoJkIPdjPYO8u+u5T2nkFFem OtEkEI6Y6UwziniK8mGqmeIyd8H5a67bZq/UmuCYNyJoH77OHhMwz5rEvajLYBv2husO3W Z9XK1l/l3Cf63nxbfkFDzmJkuXW2FzKqjV5/KMEmO9hs07VhRpCwscxapV/mpW+0OnbRfH ssK6KpeDNEp7k/U9n2bl/GxQhYyQ2gIlSUz+e80Mqch962vUT5GbFcXL3/lrJg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WywrK2XGmztJx for ; Tue, 3 Sep 2024 19:37:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 483JbbrT004993 for ; Tue, 3 Sep 2024 19:37:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 483Jbbn7004989 for freebsd-arm@FreeBSD.org; Tue, 3 Sep 2024 19:37:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 281252] Framebuffer writes are very slow on BeagleBone Black Date: Tue, 03 Sep 2024 19:37:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 13.4-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: prog@msobczak.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281252 Bug ID: 281252 Summary: Framebuffer writes are very slow on BeagleBone Black Product: Base System Version: 13.4-STABLE Hardware: arm OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: prog@msobczak.com A simple test with video framebuffer, composed of just: 1. open("/dev/fb0", ...) 2. mmap(...) on the file descriptor 3. memset(buf, ...) over any portion of the framebuffer area, is very slow, compared to Linux Debian on the same board. While the above test operates within a blink of an eye on Linux, its execut= ion on FreeBSD 13.x runs in apparently constant, but very low speed - taking ab= out 2s to fill the whole framebuffer of reasonable size (whether 1280x1024 or 1024x768). Such timings make the whole concept of framebuffer somewhat usel= ess. While the test runs, the main console also displays a number of messages as already reported in: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241428 It looks as if there is some checking/monitoring/etc. of every single write while they traverse through the VM layers. Or, perhaps, a misconfigured orchestration with the underlying hardware (framer DMA, etc.). --=20 You are receiving this mail because: You are the assignee for the bug.=