EldoS | Feel safer!

Software components for data protection, secure storage and transfer

high CPU usage problem

Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.
#15697
Posted: 02/08/2011 15:04:12
by farsiplan (Basic support level)
Joined: 01/03/2011
Posts: 13

Hello

I use "simple Local port forwarding" and a SSH server program to tunnel between my internet browser and my HTTP proxy server.
everything works OK, but LocalPortForwardDemo CPU usage is very high, about 60%(with 10 active coneection)
I try another SSH Client (putty) and simulate that test again, and putty CPU usage was about 1%. !
I try the latest version (version 8.2.194) but the problem still exists.

any idea to solve this problem ?
#15699
Posted: 02/08/2011 15:50:41
by Eugene Mayevski (EldoS Corp.)

try simple port forwarding, it uses more effective socket management. In LocalPortForward demo the demo's code handles sockets, and it does this not optimally.


Sincerely yours
Eugene Mayevski
#15702
Posted: 02/09/2011 02:18:01
by farsiplan (Basic support level)
Joined: 01/03/2011
Posts: 13

thanks, but I said "I Use simple Local port forwardng". and its executable filename is LocalPortForwardDemo
#15703
Posted: 02/09/2011 02:27:47
by Eugene Mayevski (EldoS Corp.)

BTW have you purchased a license already?


Sincerely yours
Eugene Mayevski
#15704
Posted: 02/09/2011 02:35:57
by Ken Ivanov (EldoS Corp.)

Sorry, we might have misunderstood you. First, please try to play with the Priority property. Set it to sfpLow to make the component allocate less CPU resources for the component.

Besides, it makes sense to re-check the way in which you handle OnConnection* events. If you are using VCL edition and SynchronizeGUI property is set, each event is fired in the main thread of the application, slowing down the process.
#15705
Posted: 02/09/2011 02:36:55
by Eugene Mayevski (EldoS Corp.)

The problem can happen due to the trial license: it imposes artificial speed limitations.


Sincerely yours
Eugene Mayevski
#15716
Posted: 02/09/2011 14:10:14
by farsiplan (Basic support level)
Joined: 01/03/2011
Posts: 13

I have trial key with no limitation.
I use delphi and SecureBlackbox VCL Edition.

at first, I didn't change anything and just compile SimplePortForwarding demo with my personal trial key and I had the above problem.
then I changed SynchronizeGUI, Priority and flushcacheddata, properties. but I have same problem.

I Created a video that explains the problem clearly, you can download it from following link. pay attention to LocalPortForwardDemo and putty CPU usage in "task manager".

http://rapidshare.com/files/447063200/ssh-test.avi
#15717
Posted: 02/09/2011 14:39:22
by Eugene Mayevski (EldoS Corp.)

Your trial key must have expired two weeks ago. You are supposed to purchase a license if you continue to use components.


Sincerely yours
Eugene Mayevski
#15730
Posted: 02/10/2011 10:13:06
by farsiplan (Basic support level)
Joined: 01/03/2011
Posts: 13

please see the video, and simulate my test with your key then you will see the problem.
I Can purchase your product, on the condition that it is suitable for our project.
do you have any idea to resolve this problem ?
#15731
Posted: 02/10/2011 11:03:34
by Eugene Mayevski (EldoS Corp.)

Basic support level for unregistered customers includes only basic support. And evaluation period is not unlimited. I am sorry but we can't help you.


Sincerely yours
Eugene Mayevski
Also by EldoS: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.

Reply

Statistics

Topic viewed 2070 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!