Author Topic: Intelligent Stream Scanning & Page-Rendering Speed  (Read 2682 times)

0 Members and 1 Guest are viewing this topic.

REDACTED

  • Guest
Intelligent Stream Scanning & Page-Rendering Speed
« on: August 22, 2016, 08:33:43 PM »
Hi.

In some cases, if one is unckecking "intelligent stream scanning", the page-rendering speed of websites seems to be faster. But why? Should it not be reversed?

Quote
Unlike most competitive solutions, Web Shield’s impact on browsing speed is almost negligible. This is because of a unique feature called “Intelligent Stream Scan” that lets the Web Shield module scan objects on-the-fly, without the need of caching. Stream scanning is performed in operating memory only (without the necessity to flush the contents to disk), providing maximum possible throughput.

Sincerely,
noe

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 88900
  • No support PMs thanks
Re: Intelligent Stream Scanning & Page-Rendering Speed
« Reply #1 on: August 22, 2016, 08:43:08 PM »
What avast version are you using ?
The latest version is 12.3.2280 and I can no longer see an option for "intelligent stream scanning."
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.2.6105 (build 24.2.8918.824) UI 1.0.799/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

REDACTED

  • Guest
Re: Intelligent Stream Scanning & Page-Rendering Speed
« Reply #2 on: August 22, 2016, 09:12:01 PM »
It's v. 12.3.2280 (in german).  Web Shield -> the option after "HTTPS-Scanning" ( -> intelligente Stream Prüfung = intelligent stream scanning ) ...

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 88900
  • No support PMs thanks
Re: Intelligent Stream Scanning & Page-Rendering Speed
« Reply #3 on: August 22, 2016, 10:35:50 PM »
It's v. 12.3.2280 (in german).  Web Shield -> the option after "HTTPS-Scanning" ( -> intelligente Stream Prüfung = intelligent stream scanning ) ...

Ah, this system I'm using is winXP Pro SP3 and in the avastUI that options doesn't come after the Enable HTTPS Scanning. Looks like they have dropped the "intelligent stream scanning" in winXP.  But it is in my win7 system.

EDIT: Back to your original question, the "intelligent stream scanning" means avast will scan the download as it is actually being downloaded (streamed) rather than wait until the download is complete before scanning the download.
« Last Edit: August 22, 2016, 10:38:41 PM by DavidR »
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.2.6105 (build 24.2.8918.824) UI 1.0.799/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

REDACTED

  • Guest
Re: Intelligent Stream Scanning & Page-Rendering Speed
« Reply #4 on: August 23, 2016, 09:12:41 AM »

Ah, this system I'm using is winXP Pro SP3 and in the avastUI that options doesn't come after the Enable HTTPS Scanning. Looks like they have dropped the "intelligent stream scanning" in winXP.  But it is in my win7 system.

Ah, ok.

EDIT: Back to your original question, the "intelligent stream scanning" means avast will scan the download as it is actually being downloaded (streamed) rather than wait until the download is complete before scanning the download.

So, the entire "Web Shield" works like your described "Download", if ISS is activated:

Quote
Unlike most competitive solutions, Web Shield’s impact on browsing speed is almost negligible. This is because of a unique feature called “Intelligent Stream Scan” that lets the Web Shield module scan objects on-the-fly, without the need of caching. Stream scanning is performed in operating memory only (without the necessity to flush the contents to disk), providing maximum possible throughput.

But in some cases, ISS slows down the page-rendering speed. What determines this behavior - not enough RAM...?

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 88900
  • No support PMs thanks
Re: Intelligent Stream Scanning & Page-Rendering Speed
« Reply #5 on: August 23, 2016, 12:41:32 PM »
Before continuing with this, let me make it clear that I'm an avast user like yourself and there are things I just don't know (how a function works under the skin) as I'm not an avast employee. So for the most part I have a good idea of how it functions but not the underlying detail.

1. Yes, the Web Shield is active by default and scans your web browsing (before it is actually displayed in your browser) or in the case of downloads before they are saved to your hard drive.

2. It would be a very rare case when the ISS actually slows browsing (page rendering) hence the reason it is in the troubleshooting. There are many other unrelated factors that may slow browsers, so it is hard to say what is responsible.

Those with very fast internet connections (estimated at over 100Mbps) may find that the volume of data could create a bottle neck whilst the processor catches up, I don't believe these scans are done in memory.

If you look in the C:\WINDOWS\Temp\_avast_ folder this is where avast unpacks and or sends copies of a file to be scanned. What I don't know is if the ISS streaming would be done in memory (rather than send it to the _avast_ folder for scanning).

For speed scanning in memory would be fine assuming the system has enough RAM to support it whilst having multiple other programs running. If RAM isn't plentiful or fast, then that could create a bottleneck (in the same way as a slow CPU on fast broadband), as other data in RAM would have to be switched out to the pagefile.sys location.

As you can see there are functions that I as an avast user can't go into detail about, only my understand of how I see it working as an avast user.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.2.6105 (build 24.2.8918.824) UI 1.0.799/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

REDACTED

  • Guest
Re: Intelligent Stream Scanning & Page-Rendering Speed
« Reply #6 on: August 23, 2016, 03:19:54 PM »

.. and as an Avast-User you helped me a lot to understand this "ISS-Thing" better, thx!

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 88900
  • No support PMs thanks
Re: Intelligent Stream Scanning & Page-Rendering Speed
« Reply #7 on: August 23, 2016, 04:33:06 PM »
Glad that I could help your understanding.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.2.6105 (build 24.2.8918.824) UI 1.0.799/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security