Performance Tuning Siebel Software on the Sun Platform
Performance Tuning Siebel Software on the Sun Platform
Performance Tuning Siebel Software on the Sun Platform
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
this is not a big disadvantage, as <strong>the</strong> standard <strong>Sun</strong> machine c<strong>on</strong>figurati<strong>on</strong> has ample<br />
memory.<br />
The v440 has 4 CPUs with 16Gbytes of memory. A typical <str<strong>on</strong>g>Siebel</str<strong>on</strong>g> user <strong>on</strong> <strong>the</strong> <strong>Sun</strong><br />
platform uses about 4Mbytes of memory while <strong>the</strong> CPU use is much higher in<br />
comparis<strong>on</strong>, so <strong>the</strong> higher memory footprint is a beneficial trade off.<br />
How does <strong>on</strong>e enable MTmalloc?<br />
1. Edit <strong>the</strong> file $SIEBEL_ROOT/bin/siebmtshw.<br />
2. Add <strong>the</strong> line LD_PRELOAD=/usr/lib/libmtmalloc.so.<br />
3. Save <strong>the</strong> file and bounce <str<strong>on</strong>g>Siebel</str<strong>on</strong>g> servers.<br />
4. After <str<strong>on</strong>g>Siebel</str<strong>on</strong>g> restarts, verify that MTmalloc is enabled by executing <strong>the</strong><br />
following command:<br />
$%pldd -p | grep -i mtmalloc<br />
7.1.2 Solaris Alternate Threads Library Usage<br />
Solaris 8 OS provides an alternate threads implementati<strong>on</strong> with a <strong>on</strong>e-level model (1x1).<br />
User-level threads are associated <strong>on</strong>e-to-<strong>on</strong>e with lightweight processes (LWPs). This<br />
implementati<strong>on</strong> is simpler than <strong>the</strong> standard (MxN) two-level model in which user-level<br />
threads are multiplexed over possibly fewer lightweight processes. The 1x1 model was<br />
used <strong>on</strong> <str<strong>on</strong>g>Siebel</str<strong>on</strong>g> Applicati<strong>on</strong> Servers and provided good performance improvements to <strong>the</strong><br />
<str<strong>on</strong>g>Siebel</str<strong>on</strong>g> multithreaded applicati<strong>on</strong>s because <strong>the</strong> <str<strong>on</strong>g>Siebel</str<strong>on</strong>g> 7.5.2 alternate threads library is<br />
enabled by default. If you are using a versi<strong>on</strong> of <str<strong>on</strong>g>Siebel</str<strong>on</strong>g> older than 7.5.2 <strong>the</strong>n <strong>the</strong> alternate<br />
threads library is not enabled by default.<br />
Procedure to enable <strong>the</strong> alt thread feature:<br />
1. Update <strong>the</strong> env variable for <strong>the</strong> UNIX® user that runs <str<strong>on</strong>g>Siebel</str<strong>on</strong>g> server.<br />
2. If you are using Korn shell, open up <strong>the</strong> .profile for <strong>the</strong> <str<strong>on</strong>g>Siebel</str<strong>on</strong>g> owner<br />
and add this to <strong>the</strong> bottom of <strong>the</strong> file.<br />
3. Export LD_LIBRARY_PATH=/usr/lib/lwp:$LD_LIBRARY_PATH.<br />
4. Stop <str<strong>on</strong>g>Siebel</str<strong>on</strong>g>.<br />
5. Exit from shell and log in again so <strong>the</strong> change in .profile is in effect.<br />
6. Start <str<strong>on</strong>g>Siebel</str<strong>on</strong>g>.<br />
To verify if alt thread is indeed being used:<br />
pldd -p | grep -i lwp<br />
The preceding command should return <strong>the</strong> current Solaris lib, which is<br />
/usr/lib/lwp/.<br />
<str<strong>on</strong>g>Performance</str<strong>on</strong>g> <str<strong>on</strong>g>Tuning</str<strong>on</strong>g> <str<strong>on</strong>g>Siebel</str<strong>on</strong>g> <str<strong>on</strong>g>Software</str<strong>on</strong>g> <strong>on</strong> <strong>the</strong> <strong>Sun</strong> <strong>Platform</strong> Page 22