Go Back   ZeroC Forums > Comments

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 12-01-2005
kovacm kovacm is offline
Registered User
 
Name: Michal Kovac
Organization: Charles University in Prague
Project: Ferda Data Mining
 
Join Date: Jan 2005
Posts: 60
IceGrid startup performance and CPU usage "problem"

Hi,

I like IceGrid, thank you for it! But I think that one minute startup time on Pentium 4, 2.26GHz is a little bit much. I know, that mostly IceGrid will be use on servers and will startup automaticaly with OS, but for example, our application have grid computing only as option and we use IceGrid every time as locator service which is started with starting of our application (when our application is not set for grid computing). So than our application starts up for more than minute - and it is not so much user friendly...

Other thing is, that if I look on IceGridGui on CPU usage my computer, there is written "100,0% 100,0% 100,0%", but it is not true!(first, it is growing from IceGrid startup time,but after some time it is this) Is it because I am not using load balancing? If yes, isn't it posible to show this information only if it is correct?

Thank you
Reply With Quote
  #2 (permalink)  
Old 12-01-2005
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,535
Hi,

On which operating system do you experience these slow startup times? I will have a closer look at the CPU usage issue, it should work even if you don't use the load balancing.

Benoit.
Reply With Quote
  #3 (permalink)  
Old 12-01-2005
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,535
I'm afraid I can't reproduce the slow startup problem you're seeing. It starts quickly on my Windows XP machine (first start after boot). Although my machine is probably faster than yours (AMD Athlon 64), I wouldn't expect such a difference in the startup time, it takes only few seconds for me to start.

Is it only IceGrid or do other Ice servers also take time to start? You could try to start the node with the following configuration:

icegridnode --Ice.Config=config --Ice.Trace.Network --Ice.Logger.Timestamp
If that's a network configuration problem, this might give us some clues.

Also, I'm unable to reproduce the CPU usage problem. Note that the numbers shown by the GUI are averages of the CPU utilization over the last minute, 5 minutes and 15 minutes so it's expected if it doesn't match the CPU utilization of your machine. However, these numbers should eventually go down if the CPU utilization is low.

Benoit.
Reply With Quote
  #4 (permalink)  
Old 12-01-2005
kovacm kovacm is offline
Registered User
 
Name: Michal Kovac
Organization: Charles University in Prague
Project: Ferda Data Mining
 
Join Date: Jan 2005
Posts: 60
I have Windows XP. I am sending you also my configuration files.
Attached Files
File Type: zip conf.zip (1.8 KB, 31 views)
Reply With Quote
  #5 (permalink)  
Old 12-01-2005
kovacm kovacm is offline
Registered User
 
Name: Michal Kovac
Organization: Charles University in Prague
Project: Ferda Data Mining
 
Join Date: Jan 2005
Posts: 60
And only IceGrid starting is slow. IceBox startup then is OK.
Reply With Quote
  #6 (permalink)  
Old 12-01-2005
kovacm kovacm is offline
Registered User
 
Name: Michal Kovac
Organization: Charles University in Prague
Project: Ferda Data Mining
 
Join Date: Jan 2005
Posts: 60
there is screenshot of CPU problem
Attached Thumbnails
icegrid-startup-performance-cpu-usage-problem-problem.jpg  
Reply With Quote
  #7 (permalink)  
Old 12-01-2005
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,535
For the startup performance issue, your configuration files looks fine. Please try the command I posted in this post. It would be interesting to figure out if it's the loading of the exe and DLLs that takes time or if it's the initialization of the service. How long does it take between seeing the first warning/trace and the startup of your service for instance?

As for the problem with the CPU usage, it looks like for some reasons the node can't retrieve the CPU utilization of your machine (if it can't retrieve this information, the node assumes that your machine is busy). If that's the case, the node is supposed to print one or several warnings with the reason of the failure. Are you seeing any warnings related to this on the standard error output or in the event log if you're using the event logger?

Thanks,

Benoit.
Reply With Quote
  #8 (permalink)  
Old 12-02-2005
kovacm kovacm is offline
Registered User
 
Name: Michal Kovac
Organization: Charles University in Prague
Project: Ferda Data Mining
 
Join Date: Jan 2005
Posts: 60
I am starting IceGrid as service. When I start IceGrid from command line the startup time is OK (6 sec), but when started as service (with same parameters, only this one "--service FerdaIceGridNode" I see more)

To CPU problem. Yes, it writes this on output (I didn't see it before, because Im starting it as service):
icegridnode: warning: can't add performance counter:
.\PlatformInfo.cpp:59: Ice::SyscallException:
syscall exception: unknown error: -1073738824
Reply With Quote
  #9 (permalink)  
Old 12-02-2005
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,535
Can you try the patch I posted on this thread? It's likely to fix the startup performance problem when IceGrid is used as a service.

Otherwise, it looks like the node can't find the "Processor(_Total)\% Processor Time" performance counter on your system. I'm not sure what the reason could be yet. You could try to take a look with the Performance tool (located in the Administrative Tools folder of the Control Panels) and see if you have access to this counter.

Benoit.
Reply With Quote
  #10 (permalink)  
Old 12-02-2005
kovacm kovacm is offline
Registered User
 
Name: Michal Kovac
Organization: Charles University in Prague
Project: Ferda Data Mining
 
Join Date: Jan 2005
Posts: 60
Sorry, I will try the patch a liitle bit later...

About counter in Performance tool: I have this counter, but the name is localized, the name is:
"Procesor(_Total)\% času procesoru"
Reply With Quote
  #11 (permalink)  
Old 12-02-2005
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,535
I see, that's why it doesn't work! I'll look into what is the recommended way to deal with localizations. Thanks for your help to investigate this problem!

Benoit.
Reply With Quote
  #12 (permalink)  
Old 12-06-2005
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,535
Hi Michal,

I've posted a patch here that should address the problems you've mentioned on this thread. Let us know if this fixes your problems or not!

Benoit.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Don't "Ice-3.1.1-VC71.msi " include the "slice2java.exe"? Jason Gao Help Center 4 10-26-2006 12:23 PM
Problem with "addWithUUID", while implementing the facets phanikommula Help Center 6 08-18-2006 08:36 PM
IceGrid and its definition of "load" Mobiwan Comments 4 11-19-2005 03:17 PM
"Explicit specialization" compiling problem Zunino Help Center 1 11-11-2004 09:52 AM
Going from "in" to "out" param, using a class as a union catalin Help Center 1 04-05-2004 09:55 AM


All times are GMT -4. The time now is 08:45 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.