From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Marko Hoyer <Marko.Hoyer@freenet.de>
Cc: "Bird, Tim" <Tim.Bird@sony.com>,
Marko Hoyer <mhoyer.oss-devel@freenet.de>,
Shankari <beingcap11@gmail.com>,
"linux-embedded@vger.kernel.org"
<linux-embedded@vger.kernel.org>
Subject: Re: [boot-time]
Date: Thu, 9 Jan 2025 14:27:07 +0100 [thread overview]
Message-ID: <CAMuHMdXChDD5BQXFQGZ8fWKZ9QQaYKEisaHdMrxWZUn=p7CDfg@mail.gmail.com> (raw)
In-Reply-To: <7f8a09dd-3d99-4028-bb70-77464eb0cf77@freenet.de>
Hi Marko,
On Thu, Jan 9, 2025 at 1:49 PM Marko Hoyer <Marko.Hoyer@freenet.de> wrote:
> Take a look into the kmesg logs. Looks like there is a 8s delay at a
> certain point:
>
> [ 5.897018] input: C-Media Electronics Inc. USB Audio Device as
> /devices/platform/soc/20980000.usb/usb1/1-1/1-1:1.3/0003:0D8C:0014.0001/input/input1
> [ 6.016086] hid-generic 0003:0D8C:0014.0001: input,hidraw0: USB HID
> v1.00 Device [C-Media Electronics Inc. USB Audio Device] on
> usb-20980000.usb-1/input3[ 14.012174] printk: console [ttyS0] enabled
> [ 14.064965] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
> [ 14.142795] bcm2835-power bcm2835-power: Broadcom BCM2835 power
> domains driver
> [ 14.232013] mmc-bcm2835 20300000.mmcnr: mmc_debug:0 mmc_debug2:0
Those eight seconds are the time needed for printing all
previously-collected and time-stamped kernel log lines to the serial
console.
BTW, only slightly related, but I have no better place to vent ;-)
On OrangeCrab running a 64 MHz VexRiscv softcore, I noticed another
big delay. With initcall_debug:
initcall pty_init+0x0/0x3c8 returned 0 after 185427581 usecs
Apparently this is due to:
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256
So yes, almost one one second to set up one legacy pty, ugh...
Disabling CONFIG_LEGACY_PTYS fixed the issue.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
next prev parent reply other threads:[~2025-01-09 13:27 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAORPcfVRobA+u5q7aPboC=3iY8dibDUB0920Z=Z0VgpQEupKJw@mail.gmail.com>
2025-01-08 18:33 ` [boot-time] Bird, Tim
2025-01-08 20:39 ` [boot-time] Marko Hoyer
2025-01-08 21:19 ` [boot-time] Bird, Tim
2025-01-08 23:26 ` [boot-time] Rob Landley
2025-01-09 13:02 ` [boot-time] Marko Hoyer
2025-01-09 21:10 ` [boot-time] Rob Landley
2025-01-09 21:35 ` [boot-time] Marko Hoyer
2025-01-09 22:31 ` [boot-time] Rob Landley
2025-01-09 12:43 ` [boot-time] Marko Hoyer
2025-01-09 13:27 ` Geert Uytterhoeven [this message]
2025-01-08 23:00 ` [boot-time] Rob Landley
2025-01-09 2:23 ` [boot-time] Bird, Tim
2025-01-10 22:46 ` [boot-time] Marko Hoyer
2025-01-10 23:15 ` [boot-time] Rob Landley
2025-01-11 8:40 ` [boot-time] Marko Hoyer
2025-01-11 17:56 ` [boot-time] Rob Landley
2025-01-11 18:57 ` [boot-time] Bird, Tim
2025-01-12 1:03 ` [boot-time] Rob Landley
2025-01-12 10:11 ` [boot-time] Marko Hoyer
2025-01-12 13:39 ` [boot-time] Francesco Valla
2025-01-12 18:35 ` [boot-time] Rob Landley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAMuHMdXChDD5BQXFQGZ8fWKZ9QQaYKEisaHdMrxWZUn=p7CDfg@mail.gmail.com' \
--to=geert@linux-m68k.org \
--cc=Marko.Hoyer@freenet.de \
--cc=Tim.Bird@sony.com \
--cc=beingcap11@gmail.com \
--cc=linux-embedded@vger.kernel.org \
--cc=mhoyer.oss-devel@freenet.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).