HaC-Mini icon indicating copy to clipboard operation
HaC-Mini copied to clipboard

OS need some time to warm up

Open fkpwolf opened this issue 6 years ago • 11 comments

Describe the bug After login, Some common operations like opening Finder or Chrome are slow. I can see the loading icon. But after a few minutes, OS becomes much faster. I haven't installed program which will run on system boot. How to debug and tune this kind of issue?

Expected behavior Boot process maybe slow, it is acceptable. But after login, OS should be usable and interactive to user input.

Configuration

  • HaC Mini version [e.g: 2.0]:
  • OSX version [e.g: 10.14.6]:
  • NUC model [e.g: NUC8i7HNK]: NUC8i7HNK
  • Boot SSD model and protocol [e.g: Samsung EVO 860 1TB, SATA]: Marvelll NVME
  • Second SSD model and protocol (if installed) [e.g: HP EX920 1TB, NVMe]:
  • First DIMM model [e.g: Patriot DDR4-2666 16GB]: Samsung DDR4-2666 16GB
  • Second DIMM model (if installed):
  • Display port(s) used [e.g: USB-C, mini DP]: HDMI
  • Display resolution(s) [e.g: 4K, 5K]: 4K
  • Any TB3 devices:
  • Any USB devices:

fkpwolf avatar Aug 03 '20 10:08 fkpwolf

Seems like an OS X issue to me. Next time it happens run “spindump” in terminal and post the logs.

osy avatar Aug 03 '20 16:08 osy

Seems like an OS X issue to me. Next time it happens run “spindump” in terminal and post the logs.

I think due to Macos issue.

candyrock avatar Aug 03 '20 19:08 candyrock

Seems like an OS X issue to me. Next time it happens run “spindump” in terminal and post the logs.

I think due to Macos issue.

But it boots up smooth on my intel i5 8400 machine(without dedicate gpu).

fkpwolf avatar Aug 16 '20 02:08 fkpwolf

I've the same issue. But it seems gone these days and I cannot figure wether it's about OC or MacOS itself.

lf-openthos avatar Aug 17 '20 04:08 lf-openthos

I can't reproduce. Please post spindump log next time you experience this or I will close the issue.

osy avatar Aug 19 '20 04:08 osy

spindump.txt file attached.

fkpwolf avatar Aug 19 '20 10:08 fkpwolf

This was taken while it was slow?

osy avatar Aug 19 '20 16:08 osy

This was taken while it was slow?

yes, I ran the command just after login. And after upgrade to 10.15.6, looks it much slower to warm up system. I have a NVME book disk. spindump.txt

fkpwolf avatar Aug 20 '20 00:08 fkpwolf

@fkpwolf Uninstall Google Chrome and see if that helps. Your log showed that in the 10 seconds sampled Google Chrome was stuck for 4 seconds.

osy avatar Aug 22 '20 00:08 osy

Actually every app ran slowly when system warm up, like Finder, Evernote.

I found WindowServer process takes a lot cpu. log stream --predicate '(process == "WindowServer")' --debug reports lots of error every second:

On display 0x78c92519, surface is not detached, CoreDisplay is detached

I am not sure if it is related with this issue.

fkpwolf avatar Aug 24 '20 12:08 fkpwolf

reinstall Mac OS and this issue disappeared. I changed a NVME disk but not sure if it is root cause. WindowServer is not on top list of cpu usage. I even can't find the process.

fkpwolf avatar Sep 03 '20 14:09 fkpwolf