News for hackers. Stuff that matters.
Re:FreeBSD spends 7% of its boot time running a bubblesort o... by ilyt on Friday May 19, 2023 @01:37PM (#36004664)
...wat? How something that bad could linger for so long?
Re:FreeBSD spends 7% of its boot time running a bubblesort o... by aidenn0 on Friday May 19, 2023 @01:58PM (#36004937)
It adds 2ms to the boot time on modern hardware, and the list it is sorting has grown by about 2 orders of magnitude since it was introduced. Seems reasonable to me that it was unnoticed.
Re:FreeBSD spends 7% of its boot time running a bubblesort o... by mardifoufs on Friday May 19, 2023 @02:01PM (#36004972)
I think the comment you are replying to was referring to the openbsd issue that apparently adds 10-20secs per boot in the GP comment.
Re:FreeBSD spends 7% of its boot time running a bubblesort o... by hinkley on Friday May 19, 2023 @09:50PM (#36008692)
I am currently at work fighting the same class of problem. Bad pattern was used a few times, seemed to work. So it was used twenty times, still no problems. Now it’s used 100 times and it was 20% of response time. Got that down to half in a few months, now it’s a long slog to halve it again. It should never have been allowed to get past 3% of request startup time.
Re:FreeBSD spends 7% of its boot time running a bubblesort o... by tedunangst on Friday May 19, 2023 @06:59PM (#36007772)
Because none of the people afflicted have done anything about it.
Re:FreeBSD spends 7% of its boot time running a bubblesort o... by daneel_w on Saturday May 20, 2023 @11:24AM (#36012672)
Likely because none have the required proficiency. I certainly don't. "So? It's open source. Stop complaining and fix it." is never a good response to a bug report. I know this quirky behavior has been brought up a few times by other users than me on the openbsd-bugs@ mailing list during the 10 or so years since I first observed it.