Why do software installation or updates always go very fast up to 90% complete, then the last 5-10% takes so much longer?

708 views

Why do software installation or updates always go very fast up to 90% complete, then the last 5-10% takes so much longer?

In: Technology

32 Answers

Anonymous 0 Comments

When you write to a file typically the operating system will keep the data in memory, so not actually written yet to disk – until it really needs to, which usually happens with an explicit fsync() call at the end of the install that guarantees that the data has actually been written to disk.

Operating systems do this because it’s more efficient to batch the writes and write them as chunks instead of actually going all the way to writing to disk on every write

You are viewing 1 out of 32 answers, click here to view all answers.