Some more avast! service questions :-)

  1. Why is the WebScanner service so large (4,3 MB), doesn’t it use most of the same techniques as the Standard shield (3,7 MB)?

  2. The Standard Shield (ashServ) keep ticking in “I/O reads” all the time. Getting a huge number (only ZA’s vsmon has more). Even when no files are scanned (system idle) the I/O keep ticking in (5 Kbytes a second), why? What is it scanning/monitoring when idle?

How exactly do you “measure” these values?
(and, under which OS?)

Just checked the task monitor (Ctrl-Shift-Esc) in WinXP :slight_smile:

  1. Mine shows they are about the same size also–6.0 vs 7.2. Don’t know the algorithm differences, but dynamic download checking with all the embedded stuff sounds harder than static file checking.
    2)You must have something else happening. Mine shows ashserv.exe using .5KB/s for monitoring all the activities, nothing else. Windows XP, SP2. Look at the standard shield last scanned file to see what it is-too high for the normal monitoring unless your setup is quite different than mine.

Well, I rather meant what values do you refer to (in Task Manager), regarding the size.

As for the in/out of Standard Shield - it’s caused by MS Jet drivers, doing some reading from avast! database, as you can see e.g. in File Monitor. I’m afraid we cannot do anything about it, except for switching to a completely different storage and getting rid of the Jet drivers (which is planned for the future, but will certainly take some time).

That explains at least part of the differences in 2). I am using XML, not ODBC for data storage.

Can you choose how avast! stores its data?
I tough the Access database was the only way?

Yes; under “common” in avast.ini add the line Database=XML .

Note that the XML storage is limited - it doesn’t store results of sessions in avast! Professional; even if you are willing to omit them (in avast! Pro), you should use the latest beta at least.

I don’t very much save anything :slight_smile:
Besides I use the Home edition.

Do I have to copy something from the Acess database manually.
Or will avast! move all setting to XML when I change the setting?

No, it won’t - you’ll have to configure it again, I’m afraid.

OK, but I guess one can let avast! make an empty XML file, and then copy the values from the Access database afterwards, or…?

Why doesn’t the installer ask if one wants XML or Access btw?

interesant question, but should be part only of custom install (advanced) not for n00bs :))

As I was trying to explain in some other thread today, the XML storage is currently considered an “emergency backup” that’s deployed when the usual method fails - so nothing we would like to ask the user about.

Any how. Where is the XML-data stored? I tried switch from ODBC to XML to test (I like testing, programmer you know :slight_smile: and I entered all the config stuff over again, BUT I can’t find where it is stored (I haven’t transferred all settings from the Access database, and would do that, but then I’ll need to know were the XML data is stored).

BTW: What is the downside of using XML? Nothing can be slower than an Access database through MS ODBC connection, can it :slight_smile:

It’s stored in \data\avast4.xml.
The downside is that the XML storage does not currently support saving of virus results but that’s a feature you won’t need in the Home Edition anyway (I’m talking about on-demand or scheduled scans)

Exacly, so why not make XML standard for Home?
And get rid of all the MS ODBS and Access stuff :slight_smile:
I guess XML would you less CPU and memory too then.

Strange, I can’t find that file :-/
I find the Avast4.ini and the old Avast4.mdb, but no Avast4.xml
Is it created only when shutting down or…

Change the storage method and boot.
On Windows 98, could be better, after changing the storage method, shutting down avast to save the changes. Then boot…