Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Slow performance on laptops with virus checker (Read 2331 times)
solisgsandc
YaBB Newbies
*
Offline



Posts: 40
Joined: Dec 18th, 2009
Slow performance on laptops with virus checker
Dec 23rd, 2009 at 6:14pm
Print Post  
On my desktop, when dragging MindFusion nodes, the dragging is very fast.

However with all laptops with the network virus protection on, dragging components seems to slow it down.

Both laptops and desktops are dual core with decent video cards.

The laptop is using NVidia Quadro NVS 135M

I checked the Symantec Endpoint Protection and seems like the dragging action in the laptops are delayed when a Block local file sharing is happening. Local port 137, 138 are being used. the application ntoskrnl.exe is doing this work.

Is there something that I should be checking on the code to avoid any delay on the dragging action.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Slow performance on laptops with virus checker
Reply #1 - Dec 23rd, 2009 at 6:57pm
Print Post  
Has it found any suspicious nodes? 8) We don't have much control over when the nodes are actually rendered. The control updates their position in the WPF visual tree, and I think WPF then renders the tree at some point from a background thread. The Symantec protection thread might not be giving enough processor time to the WPF rendering thread I guess...
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Slow performance on laptops with virus checker
Reply #2 - Dec 23rd, 2009 at 7:03pm
Print Post  
You might try calling this method from a MouseMove handler to force rendering:
http://graemehill.ca/wpf-rendering-thread-synchronization

There are plenty of other tips on the Internet:
http://www.google.com/search?hl=en&q=wpf+rendering+thread&aq=0&oq=wpf+rendering&...

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint