Baanboard.com

Go Back   Baanboard.com > Forum > Baan SIGs > Performance & Tuning

User login

Frontpage Sponsor

Main

Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
37%
Installation Wizard into new VRC
39%
Manual into existing VRC
3%
Manual into new VRC
21%
Total votes: 38

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 22nd March 2006, 08:14
iamdnb's Avatar
iamdnb iamdnb is offline
Member
 
Join Date: Jan 2003
Location: Delhi, India
Posts: 58
iamdnb is on a distinguished road
Baan: BaaN IV - DB: SQL Server - OS: Windows NT
Not aable to profile tdsls3102s000

Hi !

I am trying to profile the sesson tdsls3102s000. Even after compiling the session in profiling mode, no output is being generated. The profiling is being done for tdsls3101m000 and tdsls3110s000 i.e. the main session and a sub-session for tdsls3102s000. I have tried to profile the similar session for tdsls4102s000 (Sales order lines) but failed.

Can someone advise me for the same?

Regards
Reply With Quote
Sponsored Links
  #2  
Old 22nd March 2006, 21:24
Dikkie Dik's Avatar
Dikkie Dik Dikkie Dik is offline
Guru
 
Join Date: Sep 2002
Location: Netherlands
Posts: 585
Dikkie Dik is on a distinguished road
Baan: Triton 3.0 and higher - DB: All - OS: All
Can you give us some hints:
- portingset
- platform
- how you turned on profiling.

Some hints for you:
- on windows the Call Graph Profile puts the file in %BSE_TMP% if PROFILE_DIR is not specified
- if PROF_DIR is specified, but the path is not accesable or doesn't exists at all for that user, you get no output.
- Only portingsets after 2004 (plus minus) do support CGP
- sessions that do not end normally (e.g. stopped by a kill) do not give profile output.

Hope this helps,
Dick
__________________
BTW: this post has been made on my personal view. My employer might not share my point of view.
Reply With Quote
  #3  
Old 23rd March 2006, 01:29
RieseUSA's Avatar
RieseUSA RieseUSA is offline
Member
 
Join Date: Mar 2003
Location: Toronto, Canada
Posts: 41
RieseUSA is on a distinguished road
Baan: n/a - DB: n/a - OS: n/a
First, there is the original profiling when compiling the object in profiling mode and the new call graph profiler with new portingset versions. The original profiling is not supported anymore with new portingset versions.

Second, why are you trying to profile a maintain session? Most time is always going to be spend with user input. The time to process/read/write any data is negligible. If you have a performance problem in a maintain session, then it is usually some database problem and you should look into tracing the database performance, e.g., corrupt indices, etc.

Third, the answer to your question, a profiling report will only be printed when the object correctly ends itself. In the case of tdsls3102s000, when executing the end.program event, the control is switched back to the parent session, which then kills the process of tdsls3102s000 at the end. If you want some profiling output for tdsls3201s000, check the function do.end.program() in tdsls3201 and comment out the choice.again() command. This will result that the session will end itself and the profiling output should be displayed. NOTE: The parent session will not be aware that tdsls3201s000 has ended and when switching back, the session will likely hang.

Yours,
Stephan
Reply With Quote
Reply


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

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
BaanIVc3 : profile device for batch job? bean_k Performance & Tuning 2 19th September 2005 20:22
Headings in profile option morpheus Tools Development 3 6th December 2004 20:37
not able to profile a session smallboy Tools Development 1 8th October 2004 22:17


All times are GMT +2. The time now is 20:52.


©2001-2017 - Baanboard.com - Baanforums.com