Coder Social home page Coder Social logo

Comments (5)

hanselsin avatar hanselsin commented on August 20, 2024

I suppose the slow boot time to several minutes might not be due to Bluetooth but rather the Samsung 970 EVO Plus SSD incompatibility with Monterey SSD TRIM handling. Google it on the net and you can find quite a lot of discussions these days. Right now I am switching the OpenCore SetApfsTrimTimeout=4299999999 (the actual value is the 32-bit unsigned MAX, just check it out yourself) to length macOS kernel to wait for Samsung SSD TRIM command returns.

from hackintosh.

shiruken avatar shiruken commented on August 20, 2024

Hmm interesting... Does increasing the timeout to max allow the trim operation to complete on Samsung SSDs and result in faster subsequent boots? Or is this just a fix to allow the trim operation to run properly without resolving the boot time issues?

Also, 4294967295 is the highest value for a 32-bit unsigned int. Setting it higher may not be allowed or could cause overflow problems.

from hackintosh.

hanselsin avatar hanselsin commented on August 20, 2024

Check this out from OpenCore developers:

dortania/bugtracker#192

Since the TRIM protocol between macOS Monterey and Samsung is now broken, setting the value to 32-bit MAX simply forces macOS kernel to wait -nearly- indefinitely long for Samsung SSD to complete each TRIM command, since we scared it will kill the SSD due to too many TRIM commands issued concurrently. I also wonder if the 4294967295 is really needed or not (say maybe just 10000000 even in ms is more than enough), so far no one has a concrete answer yet.

from hackintosh.

shiruken avatar shiruken commented on August 20, 2024

Seems like setting it to any very high number would be suitable. 4294967295 is just convenient because it is the max allowable number (OpenCore appears to use 32-bit unsigned int for plist int fields).

from hackintosh.

shiruken avatar shiruken commented on August 20, 2024

Removed boot slowdowns from this issue and created #15

from hackintosh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.