High Sierra performance problems – efilogin-helper taking a lot of CPU

I have a stock 2015 15″ MacBook Pro, i7 / 16GB / 512GB, still runs on High Sierra because I am contemplating to do a full clean install instead of an upgrade. Performance has been deteriorating to a point I can no longer be an active participant in video conferences. I’m trying to find out what is the cause of the slowdown and I’m mainly using Activity Monitor as a guide to what is taking a lot of CPU capacity. I think I figured out that including my Projects folder in iCloud wasn’t a good idea as JavaScript applications easily install tens of thousands of files through dependency managers. I’m trying to fix that in another Question.

The only thing that stands out as really odd besides to filesystem and indexation related daemons is efilogin-helper hoovering around 50%-100% all of the time. The only hints I find on Google are about the wallpaper which I’ve reset to solid blue, so my system doesn’t use that anymore.

I would like to not only have a practical solution to efilogin-helper taking a lot of CPU but also maybe understand a bit more about troubleshooting these kind of problems.

High Sierra with Yosemite Time machine restore

I had made a High Sierra clear installation in my old Mac Book Pro 13″(Mid 2010) where I had put also a new SSD HD. After this I restored my Yosemite Time Machine backup. It said that it will erase my HD and I clicked YES and continued to restore. It had restored very well all my files but there is no High Sierra there anymore. If you go to “About this Mac” you see the Yosemite 10.10.5 which was before. The question is: Could my Yosemite Time Machine backup that I had, restore the Yosemite operating system and wipe out High Sierra?

mount_smbfs: server rejected the connection: Authentication error on Mac OS High Sierra 10.13.6

On my ubuntu server i have a few shares that I can access from finder in the style:

smb://server.domain/share 

successfully without having to type in a password. When I try to mount the server shares from the command line with:

mount_smbfs '//share;user:@server.domain/share' /Volumes/share 

I get

mount_smbfs: server rejected the connection: Authentication error 

If i mount one of the shares from the finder all others can be mounted from the command line without this error to appear.

I searched the different stackexchange sites and found the following releated questions and links:

  • https://superuser.com/questions/1269386/why-cant-i-mount-shares-by-smb-since-high-sierra
  • Why mac smb connect fails with login from cli but works from finder and with guest account?
  • SMB connections throws authentication error after upgrading Mac OS X to 10.13
  • https://serverfault.com/questions/367950/secure-way-to-mount-a-password-protected-cifs-share-in-mac
  • https://support.apple.com/en-us/HT208209
  • Mac OS Sierra connected to SMB share keeps forgetting permissions at the folder level

Most of these have a few thousand views and quite a few upvotes. Most interestingly I found two comments where users express the frustration about this issue not being solved in a consistent way.

On the other hands there are lots of downvotes for answers and some of the questions – it seems as this problem is very well known and some enlighted users think it is very clear what to do.

Since this issue is annoying me daily I am daring to ask the question again with the specific context of Ubuntu 16.04 LTS and Mac OS High Sierra 10.13.6.

I fear that answers of the past do not work in this context any more.

The reasons I am asking the question in the first place is that the SMB connections get “lost” over night. This is a different behavior then on my other systems. The CIFS connection between my Ubuntu machines stay stable over time while Mac OS seems to have some disconnection policy.

So my issue could either be solve by making the connection stable or re-establishing the connection automatically with a script

How can a permanent or automatically-script reconnected SMB connection between a Mac OS High Sierra 10.3.6 client and an Ubuntu/Linux SMB server achieved?