logo

The ConnectWise Control forum has moved to ConnectWise University! This forum has been locked and is in read-only mode. Click here for instructions on how to access the new forum.

Welcome Guest! You can not login or register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Jake  
#1 Posted : Monday, April 4, 2011 5:31:35 PM(UTC)
Jake


Rank: Administration

Medals: Level 4: Wise Old Owl! Received 100 Thanks!

Joined: 4/9/2010(UTC)
Posts: 2,061

Thanks: 1 times
Was thanked: 393 time(s) in 188 post(s)
Occasionally we encounter machines where the ScreenConnect Guest Client runs a bit slow and consumes a lot of CPU. This is caused by lack of good video driver support for bitmap transfers between video memory and system memory. The attached tool I keep in my toolbox to diagnose when this is the case. After running the tool, look at the results of the "ReverseBlt" test.

Machine A:

ReverseBlt:
avg: 3583.0 fps [4198.9 MB/sec]
max: 3780.4 fps [4430.2 MB/sec]
min: 3264.6 fps [3825.7 MB/sec]

Machine B non-blanked:

ReverseBlt:
avg: 14.3 fps [16.7 MB/sec]
max: 16.6 fps [19.4 MB/sec]
min: 7.3 fps [8.6 MB/sec]

Machine B blanked:

ReverseBlt:
avg: 703.3 fps [824.1 MB/sec]
max: 739.0 fps [866.0 MB/sec]
min: 647.6 fps [759.0 MB/sec]


Most modern machine results look similar to Machine A ... around 3000-4000 MB/s. The screen capturing has a negligible performance impact on other system activities.

Machine B non-blanked results in only 17 MB/s! Yes, 1/250th the speed of Machine A. In this case you will experience performance degradation. We try to minimize it by capturing less frequently, and by running as a very low priority thread, but the degradation is still present.

However, blanking Machine B's screen yields nearly a 5000% improvement! This is because the contents that are captured are not actually captured from the video card, which is displaying the blanking window. The contents are transferred from another location of system memory, which is much more performant, again resulting in a negligible impact on system activities.

The blttest tool can be found here:
http://stereopsis.com/blttest/
File Attachment(s):
BltTest.exe (40kb) downloaded 174 time(s).
ScreenConnect Team

bigdessert  
#2 Posted : Monday, April 4, 2011 7:18:00 PM(UTC)
bigdessert


Rank: Advanced Member

Medals: ScreenConnect Advisor: Focus Group MemberLevel 3: Shirt off your back! Received 25 Thanks!

Joined: 9/13/2010(UTC)
Posts: 708
Location: Minnesota

Thanks: 1 times
Was thanked: 44 time(s) in 32 post(s)
Jake would it be possible to always capture screen activity from this other "special" section of the memory?
Jake  
#3 Posted : Monday, April 4, 2011 11:53:51 PM(UTC)
Jake


Rank: Administration

Medals: Level 4: Wise Old Owl! Received 100 Thanks!

Joined: 4/9/2010(UTC)
Posts: 2,061

Thanks: 1 times
Was thanked: 393 time(s) in 188 post(s)
No, we don't have direct access to any of it. The blanking using system memory is really just a guess, because it's completely opaque to us. The transfer rate did happen to match a memcpy (system to system) of the same size.
ScreenConnect Team
ComputerElite-Jason  
#4 Posted : Tuesday, April 5, 2011 3:54:40 PM(UTC)
ComputerElite-Jason


Rank: Advanced Member

Joined: 1/28/2011(UTC)
Posts: 61
Location: Ontario Canada

Hey Jake, I have a server that I just ran that on and I am only get 1.1 FPS and 1.3 MB/sec on all.
What can I do about this?
Jake  
#5 Posted : Wednesday, April 6, 2011 10:54:41 PM(UTC)
Jake


Rank: Administration

Medals: Level 4: Wise Old Owl! Received 100 Thanks!

Joined: 4/9/2010(UTC)
Posts: 2,061

Thanks: 1 times
Was thanked: 393 time(s) in 188 post(s)
Ouch ... Same when the screen is blanked? What type of video card and driver is it?

We've seen some Matrox drivers on servers where the default Microsoft VGA driver outperforms it by 10x.
ScreenConnect Team
ComputerElite-Jason  
#6 Posted : Thursday, April 7, 2011 12:26:21 PM(UTC)
ComputerElite-Jason


Rank: Advanced Member

Joined: 1/28/2011(UTC)
Posts: 61
Location: Ontario Canada

The video card is Aspeed intergrated video, the motherboard is a Asus Z8NA-D6 Server running server 2008 64 bit.
ComputerElite-Jason  
#7 Posted : Tuesday, May 17, 2011 2:40:57 PM(UTC)
ComputerElite-Jason


Rank: Advanced Member

Joined: 1/28/2011(UTC)
Posts: 61
Location: Ontario Canada

Is there anything I can do to speed this thing up it is SOO SLOW. Works fine with Crossloop
The Open File  
#8 Posted : Tuesday, May 17, 2011 10:33:42 PM(UTC)
The Open File


Rank: Advanced Member

Medals: Level 1: Random Act of Kindness! Received One Thanks!

Joined: 9/12/2010(UTC)
Posts: 56
Man
Location: Orlando, FL

Was thanked: 3 time(s) in 3 post(s)
Jason,

I used to do what (it seems) you are doing now. I used to try for the "best bang for the buck" by buying 'pieces parts' and putting them together to make the best server (or PC) for the least money. I have learned that it's (unfortunately) a waste of effort. Today, all OEM parts added up do produce a less expensive and faster PC. The trade-off, however, is compatibility. Why? Because mainstream companies like ScreenConnect cannot test all possible hardware configurations. Therefore, I make sure I support only "mainstream" hardware combinations, such as Dell, HP, IBM, etc. Yes, the customer pays more, but (in my opinion) it's more than made up for in long-term savings in support.

This does not mean you are wrong in what you (seem) to do.

If you are like me, then you want your customers' products to do one thing: work. After that, performance is a bonus. I hope you find the answer to your problem. I have over 30 years experience in this field, and I wouldn't even *try* to attempt to solve your problem. Heck, I'll bet you could solve some of my hardware/software problems, based upon your experience with the latest/greatest stuff available.

So, Jason, take this for what it's worth (nothing?). Try the same thing on "industry standard" hardware and see what happens. If it works, switch. If it doesn't work, then have a good laugh at my expense and find someone who can answer your problem/question with some hope of success.

Good luck!
Mike Petersen
The Open File
ComputerElite-Jason  
#9 Posted : Wednesday, May 18, 2011 9:53:59 AM(UTC)
ComputerElite-Jason


Rank: Advanced Member

Joined: 1/28/2011(UTC)
Posts: 61
Location: Ontario Canada

In my many years of building and repairing servers would always take reliability over anything. If it is because of a video card I can put one in. Dell, Hp is 2 of the worst manufactures of computers and I would never use one so how can I sell it to my customers.

Anyways I am just looking for a fix. if it is that I need to put a video card in let me know and we will try that.
Jake  
#10 Posted : Wednesday, May 18, 2011 11:56:14 AM(UTC)
Jake


Rank: Administration

Medals: Level 4: Wise Old Owl! Received 100 Thanks!

Joined: 4/9/2010(UTC)
Posts: 2,061

Thanks: 1 times
Was thanked: 393 time(s) in 188 post(s)
Can you try disabling hardware acceleration for your display? It's on the "Troubleshooting" tab. Apparently, only some drivers allow it.
ScreenConnect Team
ComputerElite-Jason  
#11 Posted : Wednesday, May 18, 2011 4:35:38 PM(UTC)
ComputerElite-Jason


Rank: Advanced Member

Joined: 1/28/2011(UTC)
Posts: 61
Location: Ontario Canada

I have just tried installing the new 2.2 unatteneded session on it. will reboot server on friday and post if better.
Jake  
#12 Posted : Thursday, May 19, 2011 11:40:24 AM(UTC)
Jake


Rank: Administration

Medals: Level 4: Wise Old Owl! Received 100 Thanks!

Joined: 4/9/2010(UTC)
Posts: 2,061

Thanks: 1 times
Was thanked: 393 time(s) in 188 post(s)
In the next version of 2.2, if we detect that our screen capture is super slow (>100ms), we temporarily disable hardware acceleration. On our test machine this bumped the BltTest results from ~12fps to ~700fps
ScreenConnect Team
bigdessert  
#13 Posted : Thursday, May 19, 2011 11:59:36 AM(UTC)
bigdessert


Rank: Advanced Member

Medals: ScreenConnect Advisor: Focus Group MemberLevel 3: Shirt off your back! Received 25 Thanks!

Joined: 9/13/2010(UTC)
Posts: 708
Location: Minnesota

Thanks: 1 times
Was thanked: 44 time(s) in 32 post(s)
sweet put up a pre-release I have a few servers to test it on.
ComputerElite-Jason  
#14 Posted : Wednesday, May 25, 2011 12:22:10 PM(UTC)
ComputerElite-Jason


Rank: Advanced Member

Joined: 1/28/2011(UTC)
Posts: 61
Location: Ontario Canada

Installed the new 2.2 and it is running a bit faster. Disabled the hardware accelerator and now need to wait to restart the server. Will update when I get it restarted.
bigdessert  
#15 Posted : Tuesday, May 31, 2011 2:55:29 PM(UTC)
bigdessert


Rank: Advanced Member

Medals: ScreenConnect Advisor: Focus Group MemberLevel 3: Shirt off your back! Received 25 Thanks!

Joined: 9/13/2010(UTC)
Posts: 708
Location: Minnesota

Thanks: 1 times
Was thanked: 44 time(s) in 32 post(s)
is this in 2.2.1617.4164?
Jake  
#16 Posted : Tuesday, May 31, 2011 2:59:19 PM(UTC)
Jake


Rank: Administration

Medals: Level 4: Wise Old Owl! Received 100 Thanks!

Joined: 4/9/2010(UTC)
Posts: 2,061

Thanks: 1 times
Was thanked: 393 time(s) in 188 post(s)
Yes, the remote screen may blip blackness for a second if the hardware acceleration is being disabled.
ScreenConnect Team
bigdessert  
#17 Posted : Tuesday, May 31, 2011 5:09:49 PM(UTC)
bigdessert


Rank: Advanced Member

Medals: ScreenConnect Advisor: Focus Group MemberLevel 3: Shirt off your back! Received 25 Thanks!

Joined: 9/13/2010(UTC)
Posts: 708
Location: Minnesota

Thanks: 1 times
Was thanked: 44 time(s) in 32 post(s)
Tested this on two servers that were basically unusable unless I blanked the screen and it works great now without screen blanking!!!
ComputerElite-Jason  
#18 Posted : Friday, June 17, 2011 10:04:26 AM(UTC)
ComputerElite-Jason


Rank: Advanced Member

Joined: 1/28/2011(UTC)
Posts: 61
Location: Ontario Canada

Ok sorry it has been a long time but i did test it, so loaded new unattended session and disabled hardware accelerator and restarted server and................ test it back and WOW
BIG improvement!!


Avg 1974.3fps / 2313.7 MB/sec

Thanks for the help guys!!
bigdessert  
#19 Posted : Friday, June 17, 2011 10:27:42 AM(UTC)
bigdessert


Rank: Advanced Member

Medals: ScreenConnect Advisor: Focus Group MemberLevel 3: Shirt off your back! Received 25 Thanks!

Joined: 9/13/2010(UTC)
Posts: 708
Location: Minnesota

Thanks: 1 times
Was thanked: 44 time(s) in 32 post(s)
ComputerElite-Jason wrote:
Ok sorry it has been a long time but i did test it, so loaded new unattended session and disabled hardware accelerator and restarted server and................ test it back and WOW
BIG improvement!!


Avg 1974.3fps / 2313.7 MB/sec

Thanks for the help guys!!


You shouldn't have to manually do this. The feature was added to automatically disable hardware acceleration based on the speed of the refresh rate. All the servers I have that were slow are now just as snappy as every other system.
ComputerElite-Jason  
#20 Posted : Friday, June 17, 2011 2:56:35 PM(UTC)
ComputerElite-Jason


Rank: Advanced Member

Joined: 1/28/2011(UTC)
Posts: 61
Location: Ontario Canada

Ok thanks for the update, this was the only server I was have a problem with so I dont have anything to test it with :)
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.