Skip to content

Conversation

@bllgg
Copy link

@bllgg bllgg commented Oct 9, 2025

Summary of changes

  • Introduced a new loader tunable hw.atkbd.fast_delay to /boot/loader.conf.
    • When enabled, the driver uses atkbd_short_delay, which applies significantly shorter delays in the following routines:
      • empty_both_buffers()
      • reset_aux_dev()
      • test_controller()
      • reset_kbd()
    • New short delays are up to 1000× smaller (for buffer resets) and about 40× smaller (for controller and keyboard resets).
    • Default behaviour remains with shorter delays, and hw.atkbd.short_delay should be set to 0, if someone needs longer delays for the old, slower hardware
  • Added a separate conf file into the /sys/amd64/conf named BOOT_PROF to enable the TSlogs

Notes:

This patch is part of the ongoing GSoC 2025 work on FreeBSD boot process optimisation.

bllgg added 3 commits October 9, 2025 13:49
…S2 mouse drivers to identify the bottlenecks, mount process of the root file system, usb initialization and device initialization with TSLOG to identify the bottlenecks
@bllgg bllgg requested a review from bsdimp as a code owner October 9, 2025 04:17
@github-actions
Copy link

github-actions bot commented Oct 9, 2025

Thank you for taking the time to contribute to FreeBSD!
There is an issue that needs to be fixed:

Please review CONTRIBUTING.md, then update and push your branch again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant