<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>underdog-blog &#187; java</title>
	<atom:link href="http://blog.underdog-projects.net/tag/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.underdog-projects.net</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sat, 23 Oct 2010 18:43:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>improve TIBCO Designer tester performance under linux</title>
		<link>http://blog.underdog-projects.net/2009/04/improve-tibco-designer-tester-performance-under-linux/</link>
		<comments>http://blog.underdog-projects.net/2009/04/improve-tibco-designer-tester-performance-under-linux/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 22:20:25 +0000</pubDate>
		<dc:creator>jens</dc:creator>
				<category><![CDATA[TIBCO]]></category>
		<category><![CDATA[designer]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.underdog-projects.net/?p=202</guid>
		<description><![CDATA[I&#8217;m using the TIBCO designer for quite a while now. Before using it in a debian environment I developed all TIBCO related stuff in Windows XP. Now with the switch to linux there came quite a shift in user experience. One thing that really annoyed me was the slow performance of the designer debugger. So [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m using the TIBCO designer for quite a while now. Before using it in a debian environment I developed all TIBCO related stuff in Windows XP. Now with the switch to linux there came quite a shift in user experience. One thing that really annoyed me was the slow performance of the designer debugger.<br />
So I started some measurements with a simple test process. The test process creates a simple list of all files (2000 items) in one folder and then iterates over every entry. Here is what I got:</p>
<blockquote><p>Windows XP: 194sec<br />
Windows XP (minimized): 6sec<br />
Gnome: 470sec<br />
Gnome (minimized): 4sec</p></blockquote>
<p>All this data was gathered with the same default installation of a TIBCO designer 5.6 with the default java runtime. The configs were all left untouched. So now I tried to find something to improve that behavior. I first concentrated on how to influence the jvm.<br />
After a bit of research in the TIBCO direction a found the following value in the tra-file which allows the user to pass parameters directly to the jvm:</p>
<blockquote><p>java.extended.properties</p></blockquote>
<p>With that information I tried several parameters suggested by google. After a few tries I came to this one:</p>
<blockquote><p>sun.java2d.pmoffscreen=false</p></blockquote>
<p>What <a href="http://java.sun.com/j2se/1.5.0/docs/guide/2d/flags.html#pmoffscreen">Sun says about it</a> isn&#8217;t really clear to me but it helps drastically to improve performance. Back to my original test I came up with the following timings:</p>
<blockquote><p>Gnome (pmoffscreen=false): 75sec<br />
Gnome (pmoffscreen=false): 5sec</p></blockquote>
<p>As you can see it actually surpasses the Windows installation. That was a result I didn&#8217;t actually expect. Till now I found no drawback to this solution.<br />
Just for the sake of completeness here my full config line of the designer.tra</p>
<blockquote><p>java.extended.properties=-Xrs -Xmx3072M -Xms1536M -XX:+AggressiveOpts -XX:-UseParallelGC -XX:-UseConcMarkSweepGC -XX:MaxPermSize=512M -XX:+UseFastAccessorMethods -Xverify:none -Dsun.java2d.pmoffscreen=false</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.underdog-projects.net/2009/04/improve-tibco-designer-tester-performance-under-linux/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

