NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[resolved] KAV slows down Vista


Joined: 17 May 2007
Posts: 10
Location: Adelaide Australia
Reply with quote
Good Morning from Down Under AUstralia,

I have the following configurations:

1) Work: MSDN Windows XP Pro SP2 fully patched
Athlon 2Ghz dual core
2Gb memory
ETrust anti virus

2) Home: MSDN Vista Ultimate retail version fully patched.
Athlon 2.4Ghz dual core
4Gb memory
Kaspersky anti virus
Spyware doctor anti spyware

3) Both systems:
PhpED Professional V5.0.1 Build 5032 (Seriously great product, when do we get Javascript debugging?)
(I am the only user of either machine so I assume it doesn't violate my license).
Apache 2.0.59 running on the same machine.

4) I use exactly the same project files, I transfer them each day. Unfortunately, I can't post the project files as it's a commercial project, and it's very complex (170+ php files, 50+ JScript files, AJAX etc.).

Leaving aside the sadness of my working at home...

The performance of PhpED on my Vista system is seriously abysmal (it always has been, it's not a new thing). It takes 25-30 seconds to get a simple page up in the internal debugger, whereas windows XP takes 1-2 seconds. Moving from page to page, and using AJAX requests are similarly amazingly slow on Vista.

As far as I know, both PhpED installations have the same configuration (Except I forgot to put a tray icon on my work machine and can't work out how to do it after installation).

Performance on the local Apache server is excellent on either system. Normal Vista performance is a little slower than XP but not dramatically so.

I cant see any heavy CPU use or disk use on Vista, and as I said, the project files are exactly the same (It's not a disk fragmentation issue either). To see when my request has completed, I must watch the 'SRV local web server' icon in the tray, when the little green triangle disappears I know I can use the controls on the page, before this I get problems with the HTML controls and Java Script.

Does anyone have any idea what I could have done wrong please?

I assume it's me, as there are no posts on this forum (or any other that I can find), and it works just dandy on XP.

Thanks in anticipation, also, it's Friday, and I have a big weekend coming up, so I won't be able to check for replies before Sunday, so please don't think I have forgotten to do so.
View user's profileFind all posts by ABoolsSend private messageVisit poster's website


Joined: 23 Aug 2005
Posts: 53
Reply with quote
5032? hmm not in my download section.
View user's profileFind all posts by stappelSend private message


Joined: 17 May 2007
Posts: 10
Location: Adelaide Australia
Reply with quote
Sorry, that was a little premature, it shoudl have been V5.0.1 Build 5031
View user's profileFind all posts by ABoolsSend private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
seems the problem is "Kaspersky anti virus", not Vista. We did not experiece any sign of perofromance slowdown under this OS.
Try to turn Kaspersky off completely and check.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 17 May 2007
Posts: 10
Location: Adelaide Australia
Reply with quote
Thanks, I will try this tonight and let you know.

I have had problems with Kaspersky and Vista before, but not related to PhpEd.
View user's profileFind all posts by ABoolsSend private messageVisit poster's website


Joined: 17 May 2007
Posts: 10
Location: Adelaide Australia
Reply with quote
To test this, I did the following:

I started with Kaspersky Anti Virus (KAV) V6.0.2.621 fully updated.
All tests were run without any concurrent activity.
All tests were run after the system had loaded and was 'idling', that is, as far as I can tell, all start-up processing had completed.
The same pages were retrieved in each test using the local Apache server.

1) Ran PhpED with my normal config. As slow as 'normal'.
2) Closed KAV
3) Re-ran PhpED, it was much faster (about 7-8 seconds).
4) Uninstalled KAV
5) Re-ran PhpED, same speed as 3)
6) Installed the free upgrade to KAV V7.0.0.125
7) Got a blue screen on restart (not a good sign).
Cool Next re-start worked ok, however KAV spent some time updating and required another re-start.
9) KAV started, re-ran PhpED, as slow as 'normal'.
10) Paused KAV, re-ran PhpED performance as step 3.
11) Exited KAV, re-ran PhpED performance as step 3.

Conclusions:
1) It runs significantly faster wihout KAV active (5-10 seconds per page), however, outside PhpED, local response on Vista is slower than XP.

2) The debugger seems to be slow at performing AJAX type requests, rather than full page refresh type requests. In a page that issues two fairly simple AJAX requests not involving DB access, but involving PHP (V5 as issued with PhpED) reading 2 small (1-2Kb each) files and returning some simpe HTML (1000Bytes or so) the minimum response was 7 seconds without KAV.

3) I may be looking for a replacement for KAV, though it's usually a fairly reliable product, and has got good reviews.

Thanks for your help, keep up the good work.
View user's profileFind all posts by ABoolsSend private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
well, it looks like only half of the problem.
With "KAV" you may want to turn its "active monitor" off or set its properties to avoid checking php when it's launched to serve http requests.

Regarding finall 7seconds per request you got, it's still not acceptable.
Would you please let me see your project settings?
Also, it may make sense to compare time when you press "Run" or submit button on your form with time logged in the web server logs. If there is a difference close to those 7sec, I'd recommend to check if you access your web by hostname and if this hostname is resolved to 127.0.0.1 without querying your DNS server. Better if you update your c:\windows\system32\drivers\etc\hosts and have there somethign like below:
127.0.0.1 my_host_1 my_host_2
where my_host_1 and my_host_2 are the hostnames to be resolved to 127.0.0.1

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 17 May 2007
Posts: 10
Location: Adelaide Australia
Reply with quote
Thanks again dmitri.

I posted a whole heap of stuff in response to your message on Wednesday evening (Australian time), but it seems to have disapeared.

I spent a couple of hours testing with various KAV options enabled and disabled but my (long) post seems to have gone.

I checked the following day from my work machine and it was there, but now it isn't.

Unfortunately, I haven't kept a copy of my message.
View user's profileFind all posts by ABoolsSend private messageVisit poster's website
[resolved] KAV slows down Vista
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic