Avast WEBforum

Consumer Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Beta - Avast => Topic started by: Lisandro on June 19, 2015, 07:10:54 PM

Title: Windows startup degradation
Post by: Lisandro on June 19, 2015, 07:10:54 PM
I'm experiencing long boot times. Windows Events show:

A inicialização desse aplicativo demorou mais que o usual, resultando em uma degradação de desempenho no processo de inicialização do sistema:

     Nome do Arquivo:   AvastSvc.exe
     Nome Amigável:   avast! Service
     Versão:   10.3.2219.1065
     Tempo Total:   1341ms
     Tempo de Degradação:   1017ms
     Hora do Incidente (UTC):   ‎2015‎-‎06‎-‎19T00:40:53.770017700Z

A inicialização desse aplicativo demorou mais que o usual, resultando em uma degradação de desempenho no processo de inicialização do sistema:
     Nome do Arquivo:   avastui.exe
     Nome Amigável:   avast! Antivirus
     Versão:   10.2.2218.944
     Tempo Total:   10077ms
     Tempo de Degradação:   5077ms
     Hora do Incidente (UTC):   ‎2015‎-‎05‎-‎14T00:40:40.944420500Z
Title: Re: Windows startup degradation
Post by: Secondmineboy on June 19, 2015, 07:14:02 PM
Translated:

The initialization of this application took longer than usual, resulting in a performance degradation in the system startup process:

      File name: AvastSvc.exe
      Friendly Name: avast! Service
      Version: 10.3.2219.1065
      Total time: 1341ms
      Degradation time: 1017ms
      Incident Time (UTC): 2015-06 - 19T00: 40: 53.770017700Z

The initialization of this application took longer than usual, resulting in a performance degradation in the system startup process:
      File name: avastui.exe
      Friendly Name: avast! Antivirus
      Version: 10.2.2218.944
      Total time: 10077ms
      Degradation time: 5077ms
      Incident Time (UTC): 2015-05 - 14T00: 40: 40.944420500Z
Title: Re: Windows startup degradation
Post by: Lisandro on June 21, 2015, 11:38:09 PM
Thanks for the translation.
Maybe someone from the devs could help me...
Title: Re: Windows startup degradation
Post by: Patrick2 on July 02, 2015, 09:35:35 PM
Longer boot up here with the beta version, notification icons taking longer to show up, in addition to other minor issues, back on 2218 for now til new version final or I get brave and try another beta version hopefully with my issues fixed. 


Title: Re: Windows startup degradation
Post by: MartinZ on July 10, 2015, 10:22:22 AM
Hi Lisandro,

is it still happening on the latest build 2222?
Title: Re: Windows startup degradation
Post by: Lisandro on July 10, 2015, 01:29:12 PM
Hi Lisandro,

is it still happening on the latest build 2222?
No, it's far better. Did you change anything or it was only greemlins?
Title: Re: Windows startup degradation
Post by: MartinZ on July 10, 2015, 01:39:39 PM
Thanks Lisandro
Seems like gremlins ;-))

M.
Title: Re: Windows startup degradation
Post by: Lisandro on July 10, 2015, 11:58:48 PM
Martin, do you have any tool to monitor the boot time?
Digging into Windows Events isn't easy and don't give a direct answer for the question: what is slowing down my boot?
Title: Re: Windows startup degradation
Post by: essexboy on July 11, 2015, 11:53:49 AM
What version of windows ?
Title: Re: Windows startup degradation
Post by: REDACTED on July 13, 2015, 06:43:00 PM
It takes forever for Windows 7 Pro to boot.
Title: Re: Windows startup degradation
Post by: abruptum on July 13, 2015, 07:08:15 PM
It takes forever for Windows 7 Pro to boot.
Not forever, but longer than before.
Title: Re: Windows startup degradation
Post by: essexboy on July 13, 2015, 07:48:41 PM
To see what takes the time ..  This generates performance graphs to peruse at your leisure :) Example at the bottom



Download the SDK web installer from here  (http://msdn.microsoft.com/en-us/windows/hardware/hh852363)
Run the installer and select the following:

Leave the location to default
(https://dl.dropbox.com/u/73555776/wdk%20location.JPG)

Windows Performance Toolkit 
(https://dl.dropbox.com/u/73555776/Wintoolkitselect.JPG)

You must reboot on completion of the install

After reboot set aside about 30 minutes when you will not need the computer

When ready start an elevated command prompt :

Go Start > All Programs > Accessories
Right click Command Prompt and select Run as Administrator

Then copy and paste the following command into the black box :

xbootmgr -trace boot -prepSystem -verboseReadyBoot

(https://dl.dropbox.com/u/73555776/sdk%20command.JPG)

Now your PC will be restarted 6 times. With a two minute pause before the tool runs after the desktop loads
After the second reboot the MS defragmentation program is running and is placing the files into an optimized layout, so that Windows will boot up faster
The last Reboots are training of readyBoot. After the training is finished, you'll notice a huge improvement in startup.

Readyboot

Quote
The logical prefetching described above is used when the system has less than 512MB of memory. If the system has 700MB or more then an in-RAM cache is used to further optimize the boot process (it’s not clear from the book whether or not this ReadyBoot cache completely replaces the logical prefetching approach or just builds on it, my assumption is that both work together).
After each boot the system generates a boot caching plan for the next boot using file trace information from up to the five previous boots which contains details of which files were accessed and where on the disk they were located. These traces are stored as .fx files in the
Title: Re: Windows startup degradation
Post by: REDACTED on July 13, 2015, 07:59:47 PM
It takes forever for Windows 7 Pro to boot.
Not forever, but longer than before.

Confirm that.