Go Down

Topic: arduino IDE slow to start up - has anyone found turning off AntiVirus fixes it? (Read 799 times) previous topic - next topic

CKoch

with panda cloud av running: startup time 17 seconds
with panda cloud av disabled: startup time 7 seconds

well i guess that is due to the slow cpu and low ram (256 mb ram)

cpu usage is approx. the same in both cases javaw (the arduino process) takes max 97% (2% for the taskmanager)
as for processes associated with panda ... no real spike or something there.

btw: could it be that you enabled the "behavior analysis" option ? it takes quite a punch on performance ... especially with java

CrossRoads

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

robert rozee

i'm running the free version of panda, so behavioural analysis is locked in the 'off' position. have also turned off behavioural blocking, but this produces no improvement. have also set the delay for cloud response down to the minimum (10 seconds)

BUT, have observed the following interesting thing: the panda process PSANHost.exe is generating around 1,700,000 (1.7 million) i/o reads while the arduino IDE is attempting to start up. if i turn panda off, then obviously it doesn't generate these reads, but they don't reappear anywhere else. the process javaw.exe generates less than 10,000 i/o reads irrespective of panda being on or off.

so, what can the arduino IDE be doing to generate this much i/o activity in a antivirus program??? i am wondering if it is an 'odd' behaviour of the arduino IDE - not necessarily a bug, but perhaps just something unexpected - exposing a bug that exists in panda (and potentially other antivirus software).


CKoch


so, what can the arduino IDE be doing to generate this much i/o activity in a antivirus program??? i am wondering if it is an 'odd' behaviour of the arduino IDE - not necessarily a bug, but perhaps just something unexpected - exposing a bug that exists in panda (and potentially other antivirus software).


simple it uses java

java always triggers an immense response in av programs. i noticed that again and again.
i think it has something to do with classfile loading by the vm itself. on startup it reads a lot of classfiles since they belong to the api. each file must be inspected one at a time. since this is done via online link this takes extra time for the response to be received.

btw: startup delay is somewhat related to processor speed and amount of ram in the system. if loading the ide triggers massive swaping due to low ram, hdd transfer speed also becomes a bottleneck. so with a recent machine (lets say 3 ghz, 2-4 gb ram) i doubt there will be any delay felt at all.

eried

My website: http://ried.cl

Go Up