- Joined
- Oct 18, 2011
- Messages
- 67
- Motherboard
- Gigabyte Z370 Designare
- CPU
- i9-9900K
- Graphics
- RX 580
- Mac
-
Hey everyone - I'm still being plagued with pretty slow boot times. I've disabled debug=0x100 and keepsyms=1 from my Clover options.
I also wrote a parser for my boot.log looking for long delays between lines and got the below - the number at the end of the three dashes is the ms difference between two consecutive lines my boot.log
My suspicion is something to do with time clock (in Windows it's always reset) and OSX poking around for WiFi (I don't have any wifi cards installed).
Any other tips would be much appreciated!
Here's a copy of my analysis code for future reference (it's written in node.js, just run `node analyze.js > longboot.txt`)
Code:
const fs = require('fs');
let bootFile = fs.readFileSync('./boot.log').toString();
let bootFileArr = bootFile.split(/\n/);
for(let i=0; i < bootFileArr.length - 1; i++) {
let line = bootFileArr[i];
let currCols = line.split(/\s+/);
let nextLine = bootFileArr[i+1];
let nextCols = nextLine.split(/\s+/);
let dateRegex = /^\d\d\d\d-\d\d/;
if(dateRegex.test(currCols[0]) && dateRegex.test(nextCols[0])) {
let timeStamp = currCols[0] + " " + currCols[1];
let nextTimestamp = nextCols[0] + " " + nextCols[1];
// console.log(timeStamp, nextTimestamp);
let diff = Date.parse(nextTimestamp) - Date.parse(timeStamp);
// console.log(diff);
if(diff > 1000) {
console.log(`--- (${diff} ms) lines (${i}, ${i+1})\n${line}\n${nextLine}`);
}
}
}