<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Veerapuram Varadhan's worklog</title>
	<atom:link href="http://vvaradhan.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://vvaradhan.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Fri, 11 Aug 2006 22:41:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='vvaradhan.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Veerapuram Varadhan's worklog</title>
		<link>http://vvaradhan.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://vvaradhan.wordpress.com/osd.xml" title="Veerapuram Varadhan&#039;s worklog" />
	<atom:link rel='hub' href='http://vvaradhan.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Evolution Exchange Performance Series &#8211; Chapter 1 &#8211; Folder Loading</title>
		<link>http://vvaradhan.wordpress.com/2006/08/11/evolution-exchange-performance-series-chapter-1-folder-loading/</link>
		<comments>http://vvaradhan.wordpress.com/2006/08/11/evolution-exchange-performance-series-chapter-1-folder-loading/#comments</comments>
		<pubDate>Fri, 11 Aug 2006 21:54:32 +0000</pubDate>
		<dc:creator>vvaradhan</dc:creator>
				<category><![CDATA[Evolution]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Performance]]></category>

		<guid isPermaLink="false">https://vvaradhan.wordpress.com/2006/08/11/evolution-exchange-performance-series-chapter-1-folder-loading/</guid>
		<description><![CDATA[One of the critical issues in exchange mailer is &#8211; time spent to load the hierarchy or mail folders. See this graph: It clearly shows most of time is spent in constructing folder objects. The sample size used to generate this graph is two folders with 210 and 50 mails repectively. Patch extends Federico&#8217;s sample [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vvaradhan.wordpress.com&amp;blog=310734&amp;post=16&amp;subd=vvaradhan&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One of the critical issues in exchange mailer is &#8211; time spent to load the hierarchy or mail folders.  See this graph: <a href="http://people.freedesktop.org/~vvaradan/misc/evo/graph-log-level.png" title="Exchange mailer - Folder loading graph"><img src="http://people.freedesktop.org/~vvaradan/misc/evo/graph-log-level.png" alt="Exchange mailer folder loading graph" align="left" height="136" width="200" /></a></p>
<p>It clearly shows most of time is spent in constructing folder objects.  The sample size used to generate this graph is two folders with 210 and 50 mails repectively.  <a href="http://people.freedesktop.org/~vvaradan/misc/evo/evo-ex-strace-checkpoints.patch" title="Strace checkpoints - Evolution Exchange">Patch</a><b> </b>extends <a href="http://primates.ximian.com/~federico/news.html" title="Federico's blog">Federico&#8217;s</a> sample code and implements different levels of checkpoints.  Graph on the left hand side is generated using a E2K_LOG_LEVEL=1.</p>
<p>As I mentioned in my <a href="http://vvaradhan.wordpress.com/2006/08/11/evolution-exchange-connector/" title="Evolution exchange connector">previous</a> blog, <a href="http://people.freedesktop.org/~vvaradan/misc/evo/plot-timeline.py" title="Plot timeline script for strace checkpoints patch">this</a> is the customized plot-timeline script that generated this image.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vvaradhan.wordpress.com/16/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vvaradhan.wordpress.com/16/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vvaradhan.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vvaradhan.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vvaradhan.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vvaradhan.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vvaradhan.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vvaradhan.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vvaradhan.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vvaradhan.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vvaradhan.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vvaradhan.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vvaradhan.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vvaradhan.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vvaradhan.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vvaradhan.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vvaradhan.wordpress.com&amp;blog=310734&amp;post=16&amp;subd=vvaradhan&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vvaradhan.wordpress.com/2006/08/11/evolution-exchange-performance-series-chapter-1-folder-loading/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8db2fe04476f633f5af2fe839fd1c2a2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vvaradhan</media:title>
		</media:content>

		<media:content url="http://people.freedesktop.org/~vvaradan/misc/evo/graph-log-level.png" medium="image">
			<media:title type="html">Exchange mailer folder loading graph</media:title>
		</media:content>
	</item>
		<item>
		<title>Evolution &#8211; Exchange connector</title>
		<link>http://vvaradhan.wordpress.com/2006/08/11/evolution-exchange-connector/</link>
		<comments>http://vvaradhan.wordpress.com/2006/08/11/evolution-exchange-connector/#comments</comments>
		<pubDate>Fri, 11 Aug 2006 01:42:55 +0000</pubDate>
		<dc:creator>vvaradhan</dc:creator>
				<category><![CDATA[Email]]></category>
		<category><![CDATA[Evolution]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[PIM]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">https://vvaradhan.wordpress.com/2006/08/11/evolution-exchange-connector/</guid>
		<description><![CDATA[A new feather got added to my cap of responsibilities w.r.t evolution, viz., Exchange connector &#8211; one of the distinguishing features of mighty Evolution. My responsibilities for Exchange connector ranges from fixing some critical customer issues to performance, scalability and stability of the module. One of the key problems with exchange module is performance. Initial [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vvaradhan.wordpress.com&amp;blog=310734&amp;post=15&amp;subd=vvaradhan&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A new feather got added to my cap of responsibilities w.r.t evolution, viz., Exchange connector &#8211; one of the distinguishing features of mighty <a href="http://www.gnome.org/projects/evolution" title="Evolution">Evolution</a>.  My responsibilities for Exchange connector ranges from fixing some critical customer issues to performance, scalability and stability of the module.  One of the key problems with exchange module is performance.  Initial loading of folders takes huge amount of time as compared to IMAP/POP/GW.  After reading through quite a lot of tutorials and blogs, I came across <a href="http://primates.ximian.com/~federico/" title="Federico">Federico</a>&#8216;s <a href="http://primates.ximian.com/~federico/news-2006-03.html#login-time-2" title="Profiling using strace">blog</a> about how strace can be helpfull for profiling with minimum coding.</p>
<p>Took the sample code from <a href="http://primates.ximian.com/~federico" title="Federico">Federico</a>&#8216;s blog and extended it a little bit to have different levels to avoid too many messages and included <i>thread-ids</i> to group the messages.  I have also customized the plot-timeline script to group by <i>thread-id</i>.  Will upload the patch and the graph, generated by the script, later.</p>
<p>Time to catch some sleep now.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vvaradhan.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vvaradhan.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vvaradhan.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vvaradhan.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vvaradhan.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vvaradhan.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vvaradhan.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vvaradhan.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vvaradhan.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vvaradhan.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vvaradhan.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vvaradhan.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vvaradhan.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vvaradhan.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vvaradhan.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vvaradhan.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vvaradhan.wordpress.com&amp;blog=310734&amp;post=15&amp;subd=vvaradhan&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vvaradhan.wordpress.com/2006/08/11/evolution-exchange-connector/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8db2fe04476f633f5af2fe839fd1c2a2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vvaradhan</media:title>
		</media:content>
	</item>
		<item>
		<title>Spotlight</title>
		<link>http://vvaradhan.wordpress.com/2006/07/14/spotlight/</link>
		<comments>http://vvaradhan.wordpress.com/2006/07/14/spotlight/#comments</comments>
		<pubDate>Fri, 14 Jul 2006 11:33:00 +0000</pubDate>
		<dc:creator>vvaradhan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://vvaradhan.wordpress.com/2006/07/14/spotlight/</guid>
		<description><![CDATA[Lot many things have happened since my last blog. I am now a full-time Evolution Mail hacker and precisely the New Mail Maintainer for Evolution. Sounds thrilling, ain&#8217;t it? We are just finished with our SLED10 that we, in Novell, have been working sleeplessly for the past few months and the results are fantastic. Just [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vvaradhan.wordpress.com&amp;blog=310734&amp;post=14&amp;subd=vvaradhan&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Lot many things have happened since my last blog. I am now a full-time <a href="http://www.gnome.org/projects/evolution">Evolution</a> Mail hacker and precisely the New Mail Maintainer for Evolution. Sounds thrilling, ain&#8217;t it? <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />   We are just finished with our SLED10 that we, in <a href="http://www.novell.com">Novell</a>, have been working sleeplessly for the past few months and the results are fantastic.  Just check out why people love it, <a href="http://www.novell.com/products/desktop/preview.html">here</a>.</p>
<p>Thats the quick update on what I am currently into.  Lets run through the various other things, quickly:</p>
<p><a href="http://ldtp.freedesktop.org">LDTP</a>, my passion and a project headed by my buddy, <a href="http://nagappnal.blogspot.com">Nagappan</a>, received a Google SoC through GNOME and <a href="http://prashblog.be">Prashanth Mohan</a> is already knocking it out.  </p>
<p>The SoC proposal consists of three milestones: <a href="http://prashblog.be/2006/06/20/ldtp-in-tinderbox-and-jhautobuild/">LDTP integration with jhautobuild</a>, Evolution automation and LDTP Regression suite and Prashanth has started working on the second milestone and tinderbox integration is on the final stages to get upstream.  For those interested, the log of a real test, run on the test server provided by <a href="http://www.0d.be/">Frederic Peters</a> is <a href="http://jhautobuild.0d.be/builds/2006-07-13-0000/">here</a> and a detailed log is <a href="http://jhautobuild.0d.be/builds/2006-07-13-0000/logs/ldtp-gedit-test/#test">here</a>.</p>
<p>Two students, <a href="http://sp2hari.blogspot.com/">sp2hari</a> and <a href="http://integralsinxdx.blogspot.com/">taggy</a> from NIT, Trichy, spent 6 weeks as intern, as part of NOSIP, work like mad and contributed an awesome tool for LDTP called Record.  Record captures the user actions on any application and generates a LDTP test script that can be played back.  This makes generating-test-scripts easier &#8211; simply, automated test-script generation. </p>
<p><a href="http://www.gnome.org/project/evolution">Evolution</a><br />
After a mammoth effort by the team and the community, Evolution 2.6 is stable and sleeker than its previous versions.  </p>
<p>Recently, <a href="http://pvanhoof.be/blog/">Phillip Vanhoof</a> came up with the idea of mmap()&#8217;ing CamelFolderSummary instead of fread&#8217;ing it.  We had around 2 hours of discussion and shared my experiences on CamelFolderSummary and other related things that he should consider when implementing mmap().  He has some <a href="http://pvanhoof.be/files/">12 versions</a> of patches and is close to what I asked for.  Kudos!! Phillip.  </p>
<p>However, the behaviour of the patch is yet to be analysed on various other scenarios:  Couple of them are 1) When messages are deleted, 2) When message flags are changed.. etc.</p>
<p>Moreover, before taking upstream, the patch should be tested on a decent sample size using evolution and all the folder operations should be verified.  Also, the patch should give a choice to the user/application to choose between mmap() and fread().  Guess, with said final touches it should make it upstream.  Phillip? <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>That&#8217;s all for now.. stay tuned!!</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vvaradhan.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vvaradhan.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vvaradhan.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vvaradhan.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vvaradhan.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vvaradhan.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vvaradhan.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vvaradhan.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vvaradhan.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vvaradhan.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vvaradhan.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vvaradhan.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vvaradhan.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vvaradhan.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vvaradhan.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vvaradhan.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vvaradhan.wordpress.com&amp;blog=310734&amp;post=14&amp;subd=vvaradhan&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vvaradhan.wordpress.com/2006/07/14/spotlight/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8db2fe04476f633f5af2fe839fd1c2a2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vvaradhan</media:title>
		</media:content>
	</item>
		<item>
		<title>3rd Top in closing most bugs for last week</title>
		<link>http://vvaradhan.wordpress.com/2006/05/31/3rd-top-in-closing-most-bugs-for-last-week/</link>
		<comments>http://vvaradhan.wordpress.com/2006/05/31/3rd-top-in-closing-most-bugs-for-last-week/#comments</comments>
		<pubDate>Wed, 31 May 2006 00:41:00 +0000</pubDate>
		<dc:creator>vvaradhan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://vvaradhan.wordpress.com/2006/05/31/3rd-top-in-closing-most-bugs-for-last-week/</guid>
		<description><![CDATA[I was playing around in bugzilla creating more saved-searches for quicker access to bugs and found my name listed 3rd for closing most number of bugs in last 7 days on Past week&#8217;s bug activity link in Gnome bugzilla. As the link for past-week&#8217;s-bug-activity keeps changing, here is the list of bugs that I closed, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vvaradhan.wordpress.com&amp;blog=310734&amp;post=13&amp;subd=vvaradhan&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was playing around in bugzilla creating more saved-searches for quicker access to bugs and found my name listed 3rd for closing most number of bugs in last 7 days on Past week&#8217;s bug activity link in <a href="http://bugzilla.gnome.org">Gnome bugzilla</a>.</p>
<p>As the link for past-week&#8217;s-bug-activity keeps changing, <a href="http://bugzilla.gnome.org/buglist.cgi?short_desc_type=allwordssubstr&amp;short_desc=&amp;amp;product=beagle&amp;product=Connector&amp;product=Evolution&amp;product=Evolution-Data-Server&amp;amp;product=GAL&amp;product=gnome-pilot&amp;long_desc_type=allwordssubstr&amp;long_desc=&amp;status_whiteboard_type=allwordssubstr&amp;status_whiteboard=&amp;keywords_type=anywords&amp;keywords=&amp;bug_status=RESOLVED&amp;resolution=FIXED&amp;resolution=WONTFIX&amp;resolution=DUPLICATE&amp;resolution=NOTABUG&amp;resolution=NOTGNOME&amp;resolution=INCOMPLETE&amp;resolution=OBSOLETE&amp;emailtype1=substring&amp;email1=&amp;emailassigned_to2=1&amp;emailreporter2=1&amp;emailcc2=1&amp;emaillongdesc2=1&amp;emailtype2=substring&amp;email2=vvaradhan%40novell.com&amp;amp;bugidtype=include&amp;bug_id=&amp;changedin=8&amp;chfieldfrom=&amp;chfieldto=Now&amp;chfieldvalue=&amp;cmdtype=doit&amp;namedcmd=Beagle-Bugs&amp;newqueryname=&amp;order=Reuse+same+sort+as+last+time&amp;amp;field0-0-0=noop&amp;type0-0-0=noop&amp;value0-0-0=">here</a> is the list of bugs that I closed, includes evolution-conduits, beagle, connector, gnome-pilot and GAL bugs.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vvaradhan.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vvaradhan.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vvaradhan.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vvaradhan.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vvaradhan.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vvaradhan.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vvaradhan.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vvaradhan.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vvaradhan.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vvaradhan.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vvaradhan.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vvaradhan.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vvaradhan.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vvaradhan.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vvaradhan.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vvaradhan.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vvaradhan.wordpress.com&amp;blog=310734&amp;post=13&amp;subd=vvaradhan&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vvaradhan.wordpress.com/2006/05/31/3rd-top-in-closing-most-bugs-for-last-week/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8db2fe04476f633f5af2fe839fd1c2a2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vvaradhan</media:title>
		</media:content>
	</item>
		<item>
		<title>Recurrence &#8211; Mind blowing stuff of iCal &#8211; 2</title>
		<link>http://vvaradhan.wordpress.com/2006/05/31/recurrence-mind-blowing-stuff-of-ical-2/</link>
		<comments>http://vvaradhan.wordpress.com/2006/05/31/recurrence-mind-blowing-stuff-of-ical-2/#comments</comments>
		<pubDate>Wed, 31 May 2006 00:41:00 +0000</pubDate>
		<dc:creator>vvaradhan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://vvaradhan.wordpress.com/2006/05/31/recurrence-mind-blowing-stuff-of-ical-2/</guid>
		<description><![CDATA[Today I committed my recurrence work in evolution-exchange along with other conduit patches. Now, evolution-conduits can sync against exchange and groupwise (needs testing) accounts. Following links will take you to those committed changes: 1) Calendar conduit 2) Todo conduit 3) Addressbook conduit 4) Recurrence fix in evolution-exchange Now, that Eureka thing. Yes, the bug was [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vvaradhan.wordpress.com&amp;blog=310734&amp;post=12&amp;subd=vvaradhan&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I committed my recurrence work in evolution-exchange along with other conduit patches.  Now, evolution-conduits can sync against exchange and groupwise (needs testing) accounts.</p>
<p>Following links will take you to those committed changes:<br />
1) <a href="http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&amp;dir=evolution&amp;amp;who=vvaradan&amp;date=explicit&amp;mindate=2005-12-06%2003:38&amp;maxdate=2005-12-06%2003:40">Calendar conduit</a><br />
2) <a href="http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&amp;amp;dir=evolution&amp;who=vvaradan&amp;date=explicit&amp;mindate=2005-12-06%2003:40&amp;maxdate=2005-12-06%2003:42">Todo conduit</a><br />
3) <a href="http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&amp;dir=evolution&amp;amp;who=vvaradan&amp;date=explicit&amp;mindate=2005-12-06%2003:42&amp;maxdate=2005-12-06%2003:44">Addressbook conduit<br />
</a>4) <a href="http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&amp;amp;dir=evolution-exchange&amp;who=vvaradan&amp;date=explicit&amp;mindate=2005-12-06%2003:23&amp;maxdate=2005-12-06%2003:25">Recurrence fix in evolution-exchange</a></p>
<p>Now, that Eureka thing.  Yes, the bug was in exchange-calendar code that reads events from the server.  According to MSDN, events have some specific property that has values from 0 &#8211; 4, which represents events with master object, without master object, detached instances etc.  Evolution-exchange was always querying for events with codes 0 and 1, which made the message not to appear in evolution as it didn&#8217;t even fetch. <a href="mailto:pchenthill@novell.com">Chen</a> fixed this thing today.<a href="mailto:pchenthill@novell.com"></a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vvaradhan.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vvaradhan.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vvaradhan.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vvaradhan.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vvaradhan.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vvaradhan.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vvaradhan.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vvaradhan.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vvaradhan.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vvaradhan.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vvaradhan.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vvaradhan.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vvaradhan.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vvaradhan.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vvaradhan.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vvaradhan.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vvaradhan.wordpress.com&amp;blog=310734&amp;post=12&amp;subd=vvaradhan&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vvaradhan.wordpress.com/2006/05/31/recurrence-mind-blowing-stuff-of-ical-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8db2fe04476f633f5af2fe839fd1c2a2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vvaradhan</media:title>
		</media:content>
	</item>
		<item>
		<title>Bug triaging &#8211; Part 1</title>
		<link>http://vvaradhan.wordpress.com/2006/05/31/bug-triaging-part-1/</link>
		<comments>http://vvaradhan.wordpress.com/2006/05/31/bug-triaging-part-1/#comments</comments>
		<pubDate>Wed, 31 May 2006 00:41:00 +0000</pubDate>
		<dc:creator>vvaradhan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://vvaradhan.wordpress.com/2006/05/31/bug-triaging-part-1/</guid>
		<description><![CDATA[Last week I triaged around 36 bugs in GAL, which is now a retired-component of Evolution. Have to categorize that list of bugs in to fix-for-gods-sake, fix-for-goodness-sake and wont-fix. Today, triaged around 80 bugs in all including Evolution-conduits, gpilot and Beagle. Marked around 20 bugs as FIXED/INCOMPLETE/NOTGNOME and 30 bugs to be fixed.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vvaradhan.wordpress.com&amp;blog=310734&amp;post=11&amp;subd=vvaradhan&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Last week I triaged around 36 bugs in GAL, which is now a retired-component of Evolution.  Have to categorize that list of bugs in to fix-for-gods-sake, fix-for-goodness-sake and wont-fix.</p>
<p>Today, triaged around 80 bugs in all including Evolution-conduits, gpilot and Beagle.</p>
<p>Marked around 20 bugs as FIXED/INCOMPLETE/NOTGNOME and 30 bugs to be fixed.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vvaradhan.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vvaradhan.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vvaradhan.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vvaradhan.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vvaradhan.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vvaradhan.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vvaradhan.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vvaradhan.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vvaradhan.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vvaradhan.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vvaradhan.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vvaradhan.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vvaradhan.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vvaradhan.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vvaradhan.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vvaradhan.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vvaradhan.wordpress.com&amp;blog=310734&amp;post=11&amp;subd=vvaradhan&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vvaradhan.wordpress.com/2006/05/31/bug-triaging-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8db2fe04476f633f5af2fe839fd1c2a2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vvaradhan</media:title>
		</media:content>
	</item>
		<item>
		<title>Recurrence &#8211; Mind blowing stuff of iCal</title>
		<link>http://vvaradhan.wordpress.com/2006/05/31/recurrence-mind-blowing-stuff-of-ical/</link>
		<comments>http://vvaradhan.wordpress.com/2006/05/31/recurrence-mind-blowing-stuff-of-ical/#comments</comments>
		<pubDate>Wed, 31 May 2006 00:40:00 +0000</pubDate>
		<dc:creator>vvaradhan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://vvaradhan.wordpress.com/2006/05/31/recurrence-mind-blowing-stuff-of-ical/</guid>
		<description><![CDATA[The supplemental patch had a new FIXME to support syncing of instances of a calendar event. In simpleton, recurrences. Recurrence in Evolution has always been a nightmare and especially w.r.t individual backends its more than a nightmare. Chen had made quite good contributions for recurrence in evolution-data-server and some of the other backends. My synchronization [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vvaradhan.wordpress.com&amp;blog=310734&amp;post=10&amp;subd=vvaradhan&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The supplemental <a href="http://mail.gnome.org/archives/evolution-patches/2005-November/msg00112.html">patch</a> had a new FIXME to support syncing of instances of a calendar event. In simpleton, recurrences. Recurrence in Evolution has always been a nightmare and especially w.r.t individual backends its more than a nightmare. <a href="mailto:pchenthill@novell.com">Chen</a> had made quite good contributions for recurrence in evolution-data-server and some of the other backends. My synchronization stuff cannot be close to complete, if I don&#8217;t have support for syncing the instances of a recurrence. Today, with a determined mind, was looking at the other backends for similar implementation and finally, got the code in place.</p>
<p>Testing is what makes us happy to see our code working. Well, it was working except for a specific scenario in which we have only (a) instance(s) without any corresponding master object. Hugh&#8230; I was tired finding out the roots of the cause and finally got to a point where I could say, &#8220;Eureka!! I found the reason&#8221;. Well, thatz it for today and keep watching to know more about that &#8220;Eureka&#8221; stuff. <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vvaradhan.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vvaradhan.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vvaradhan.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vvaradhan.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vvaradhan.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vvaradhan.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vvaradhan.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vvaradhan.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vvaradhan.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vvaradhan.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vvaradhan.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vvaradhan.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vvaradhan.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vvaradhan.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vvaradhan.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vvaradhan.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vvaradhan.wordpress.com&amp;blog=310734&amp;post=10&amp;subd=vvaradhan&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vvaradhan.wordpress.com/2006/05/31/recurrence-mind-blowing-stuff-of-ical/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8db2fe04476f633f5af2fe839fd1c2a2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vvaradhan</media:title>
		</media:content>
	</item>
		<item>
		<title>Beagle memory optimization &#8211; Filters</title>
		<link>http://vvaradhan.wordpress.com/2006/05/31/beagle-memory-optimization-filters/</link>
		<comments>http://vvaradhan.wordpress.com/2006/05/31/beagle-memory-optimization-filters/#comments</comments>
		<pubDate>Wed, 31 May 2006 00:39:00 +0000</pubDate>
		<dc:creator>vvaradhan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://vvaradhan.wordpress.com/2006/05/31/beagle-memory-optimization-filters/</guid>
		<description><![CDATA[On 26th November 2005, myself and Debajyothi Bera started discussing about memory consumption of Beagle, especially its filters. DBera gave a link to the heap-buddy output of Source filter, which showed around 2.9M of allocations. I immediately pulled heap-buddy from the trunk and installed it and ran beagle-extract-content on a &#8216;C#&#8217; source-code file of size [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vvaradhan.wordpress.com&amp;blog=310734&amp;post=9&amp;subd=vvaradhan&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>On 26th November 2005, myself and <a href="mailto:dbera.web@gmail.com">Debajyothi Bera</a> started discussing about memory consumption of <a href="http://beagle-project.org/">Beagle</a>, especially its filters. DBera gave a link to the <a href="http://blog.trowbridge.org/index.php?p=49">heap-buddy </a>output of Source filter, which showed around 2.9M of allocations.</p>
<p>I immediately pulled heap-buddy from the trunk and installed it and ran beagle-extract-content on a &#8216;C#&#8217; source-code file of size approx. 130K. The report showed around 2.6M of allocations for extracting contents from that &#8216;C#&#8217; file and the size of extracted content was just around 68K. Here is the heap-buddy output before fix:</p>
<p>bhargavi@vvaradhan-lap:~/cvs/beagle/beagle-before-fix/beagled&gt; heap-buddy outfile<br />
         SUMMARY</p>
<p>       Filename: outfile<br />
Allocated Bytes: 2.6M<br />
Allocated Objects: 68736<br />
            GCs: 10<br />
        Resizes: 8<br />
Final heap size: 1.3M</p>
<p> Distinct Types: 170<br />
     Backtraces: 2572</p>
<p>and individual &#8220;type-based-allocations&#8221; as follows&#8230;</p>
<p>bhargavi@vvaradhan-lap:~/cvs/beagle/beagle-before-fix/beagled&gt; heap-buddy outfile types</p>
<p>                Type                    #   Total  AvSz  AvAge BT#<br />
                               string 44744  2.0M   47.4   0.2 636<br />
                             string[]  4460  106k   24.4   0.1  59<br />
                               char[]  3922   98k   25.7   0.3  59<br />
                                 char  7141   69k   10.0   0.0   8<br />
            System.Text.StringBuilder  1940   45k   24.0   0.0  71<br />
System.Collections&#8230;t/SimpleEnumerator  1339   31k   24.0   0.0  17<br />
                               byte[]    21   29k 1422.7   5.6  21<br />
  System.Collections.Hashtable/Slot[]   106   26k  251.2   1.8  71<br />
                             object[]   321   23k   76.2   0.7 182<br />
            Beagle.Filters.FilterHtml   695   21k   32.0   3.9   1<br />
                      System.MonoType   650   16k   25.7   8.1 166<br />
         System.Reflection.MonoMethod   293   11k   41.0   7.8  20<br />
         System.Xml.NameTable/Entry[]    20   10k  528.0   0.1  13<br />
           System.Xml.NameTable/Entry   226  5.3k   24.0   0.4  94<br />
                   System.IO.FileInfo    65  5.1k   80.0   1.1   2<br />
         System.Collections.ArrayList   255  5.0k   20.0   0.8 154<br />
System.Xml.XmlName&#8230;eManager/NsScope[]    15  4.9k  336.0   0.1   8<br />
     System.Reflection.PropertyInfo[]   116  4.6k   40.9   0.0  10<br />
         System.Collections.Hashtable    93  4.4k   48.0   2.1  62<br />
       System.Reflection.MethodInfo[]    20  3.9k  199.6   0.0   3<br />
                   System.Attribute[]   197  3.6k   18.6   0.4  66<br />
System.Xml.Serialization.XmlAttributes    55  3.2k   60.0   0.3  25<br />
                    System.MonoType[]   201  3.1k   16.0   6.0   8<br />
        System.Reflection.MonoCMethod   125  2.6k   21.5   5.3   6<br />
    System.Xml.Serialization.TypeData    58  2.5k   44.0   8.9  57</p>
<p>(skipped 145 types)</p>
<p>&#8230; check the top 4 types.. string, string[], char, char[] and StringBuilder. These are the types that contributed most of allocations.</p>
<p>A little closer look at the Filter.cs revealed a potential-unnecessary-allocation of string being done.  The fix <a href="http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&amp;whitespace_mode=show&amp;root=/cvs/gnome&amp;subdir=beagle/beagled&amp;command=DIFF_FRAMESET&amp;root=/cvs/gnome&amp;file=Filter.cs&amp;rev1=1.36&amp;rev2=1.37">here</a>  fixed it.  The fix saved around 600K of allocations for filtering the mentioned &#8220;C#&#8221; file.</p>
<p>Heap-buddy report after the fix:</p>
<p>bhargavi@vvaradhan-lap:~/cvs/beagle/beagle/beagled&gt; heap-buddy outfile</p>
<p>         SUMMARY</p>
<p>       Filename: outfile<br />
Allocated Bytes: 2.0M<br />
Allocated Objects: 47082<br />
            GCs: 8<br />
        Resizes: 8<br />
Final heap size: 1.3M</p>
<p> Distinct Types: 170<br />
     Backtraces: 2581</p>
<p>.. and &#8220;individual-type-based-allocations&#8221;..<br />
bhargavi@vvaradhan-lap:~/cvs/beagle/beagle/beagled&gt; heap-buddy outfile types</p>
<p>                Type                    #   Total  AvSz  AvAge BT#<br />
                               string 32361  1.6M   50.8   0.2 639<br />
                                 char  7141   69k   10.0   0.0   8<br />
                               char[]   218   33k  157.3   4.4  54<br />
System.Collections&#8230;t/SimpleEnumerator  1334   31k   24.0   0.0  17<br />
                               byte[]    21   29k 1422.7   4.4  21<br />
                             string[]   685   27k   40.9   0.6  55<br />
  System.Collections.Hashtable/Slot[]   107   26k  250.3   1.4  72<br />
                             object[]   319   23k   75.7   0.6 182<br />
            Beagle.Filters.FilterHtml   734   22k   31.6   3.2   1<br />
                      System.MonoType   652   16k   25.6   6.4 166<br />
         System.Reflection.MonoMethod   293   11k   41.0   6.1  20<br />
         System.Xml.NameTable/Entry[]    20   10k  528.0   0.1  13<br />
           System.Xml.NameTable/Entry   226  5.3k   24.0   0.4  94<br />
         System.Collections.ArrayList   253  4.9k   20.0   0.6 152<br />
System.Xml.XmlName&#8230;eManager/NsScope[]    15  4.9k  336.0   0.1   8<br />
     System.Reflection.PropertyInfo[]   116  4.6k   40.9   0.0  10<br />
                   System.IO.FileInfo    57  4.5k   80.0   0.1   2<br />
         System.Collections.Hashtable    94  4.4k   48.0   1.6  63<br />
       System.Reflection.MethodInfo[]    20  3.9k  199.6   0.0   3<br />
                   System.Attribute[]   197  3.6k   18.6   0.3  66<br />
System.Xml.Serialization.XmlAttributes    55  3.2k   60.0   0.3  25<br />
                    System.MonoType[]   202  3.2k   16.0   4.5   8<br />
            System.Text.StringBuilder   127  3.0k   24.0   0.2  85<br />
        System.Reflection.MonoCMethod   122  2.6k   21.5   4.3   6<br />
    System.Xml.Serialization.TypeData    58  2.5k   44.0   6.9  57</p>
<p>(skipped 145 types)</p>
<p>When you compare the above two reports, the main contributors for memory allocations were reduced after fix.</p>
<p>The current fix will give some good numbers when run on bigger documents. (Will post them later.)</p>
<p>As a side-effect of this fix, the filters run little faster than they used to be. <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vvaradhan.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vvaradhan.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vvaradhan.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vvaradhan.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vvaradhan.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vvaradhan.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vvaradhan.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vvaradhan.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vvaradhan.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vvaradhan.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vvaradhan.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vvaradhan.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vvaradhan.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vvaradhan.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vvaradhan.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vvaradhan.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vvaradhan.wordpress.com&amp;blog=310734&amp;post=9&amp;subd=vvaradhan&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vvaradhan.wordpress.com/2006/05/31/beagle-memory-optimization-filters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8db2fe04476f633f5af2fe839fd1c2a2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vvaradhan</media:title>
		</media:content>
	</item>
		<item>
		<title>Exchange synchronization is back.</title>
		<link>http://vvaradhan.wordpress.com/2006/05/31/exchange-synchronization-is-back/</link>
		<comments>http://vvaradhan.wordpress.com/2006/05/31/exchange-synchronization-is-back/#comments</comments>
		<pubDate>Wed, 31 May 2006 00:39:00 +0000</pubDate>
		<dc:creator>vvaradhan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://vvaradhan.wordpress.com/2006/05/31/exchange-synchronization-is-back/</guid>
		<description><![CDATA[Just cooked up a patch for todo-conduits to sync with exchange-tasks. All the three, Calendar, Tasks and Addressbook (contact) conduits are now authentication aware that they can authenticate without user interaction. However, user should have saved their account passwords through Evolution. Patches are as follows: Calendar and Contacts Tasks Supplemental fix for exchange-calendar sync to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vvaradhan.wordpress.com&amp;blog=310734&amp;post=8&amp;subd=vvaradhan&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just cooked up a patch for todo-conduits to sync with exchange-tasks.  All the three, Calendar, Tasks and Addressbook (contact) conduits are now authentication aware that they can authenticate without user interaction.  However, user should have saved their account passwords through <a href="http://www.gnome.org/projects/evolution">Evolution</a>.</p>
<p>Patches are as follows:<br />
<a href="http://mail.gnome.org/archives/evolution-patches/2005-November/msg00111.html">Calendar and Contacts<br />
</a><a href="http://mail.gnome.org/archives/evolution-patches/2005-November/msg00175.html"></a><a href="http://mail.gnome.org/archives/evolution-patches/2005-November/msg00175.html">Tasks</a><br />
<a href="http://mail.gnome.org/archives/evolution-patches/2005-November/msg00112.html">Supplemental fix for exchange-calendar sync to work</a>. <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vvaradhan.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vvaradhan.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vvaradhan.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vvaradhan.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vvaradhan.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vvaradhan.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vvaradhan.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vvaradhan.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vvaradhan.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vvaradhan.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vvaradhan.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vvaradhan.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vvaradhan.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vvaradhan.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vvaradhan.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vvaradhan.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vvaradhan.wordpress.com&amp;blog=310734&amp;post=8&amp;subd=vvaradhan&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vvaradhan.wordpress.com/2006/05/31/exchange-synchronization-is-back/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8db2fe04476f633f5af2fe839fd1c2a2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vvaradhan</media:title>
		</media:content>
	</item>
		<item>
		<title>Dtrace and glib</title>
		<link>http://vvaradhan.wordpress.com/2006/05/31/dtrace-and-glib/</link>
		<comments>http://vvaradhan.wordpress.com/2006/05/31/dtrace-and-glib/#comments</comments>
		<pubDate>Wed, 31 May 2006 00:32:00 +0000</pubDate>
		<dc:creator>vvaradhan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://vvaradhan.wordpress.com/2006/05/31/dtrace-and-glib/</guid>
		<description><![CDATA[Memory leaks have always been difficult problems to deal it. There are many tools available and most of them preloads the probes and thus adds overhead on the execution of software. During recent encounters with memory leaks, I thought of trying DTrace, the dynamic tracing tool available from Solaris. It operates on the kernel level [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vvaradhan.wordpress.com&amp;blog=310734&amp;post=7&amp;subd=vvaradhan&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Memory leaks have always been difficult problems to deal it.  There are many tools available and most of them preloads the probes and thus adds overhead on the execution of software.</p>
<p>During recent encounters with memory leaks, I thought of trying DTrace, the dynamic tracing tool available from Solaris. It operates on the kernel level probes and thus doesn&#8217;t add overhead by preloading probes during execution. It took me a while to get the setup ready for a noble cause. <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>And bingo!!, got a dtrace script and a supporting perl script that ease the job of printing the stack that leaks memory. Both the scripts are available <a href="http://blogs.sun.com/roller/page/sanjeevb/20050614">here</a>. The output of the script was quite satisfactory, however, glib uses memory-pools that doesn&#8217;t actually free the memory, rather, mark it for re-use and similarly, its allocation routines return pointers from the pool, when available otherwise allocates fresh memory and maintain it in the pool.</p>
<p>The DTrace script in the link actually uses the standard syscall probes, which in this case wouldn&#8217;t be appropriate. So, I came up with the following script for glib:</p>
<pre>#!/usr/sbin/dtrace -s

pid$target:libglib-2.0.so.0:g_malloc:entry
{
   self-&gt;trace = 1;
   self-&gt;size = arg0;
}
pid$target:libglib-2.0.so.0:g_malloc:return
/self-&gt;trace == 1/
{
   printf("Ptr=0x%p Size=%d", arg1, self-&gt;size);
   ustack();
   self-&gt;trace = 0;
   self-&gt;size = 0;
}

pid$target:libglib-2.0.so.0:g_realloc:entry
{
   self-&gt;trace = 1;
   self-&gt;size = arg1;
   self-&gt;oldptr = arg0;
}

pid$target:libglib-2.0.so.0:g_realloc:return
/self-&gt;trace == 1/
{
   printf("Ptr=0x%p Oldptr=0x%p Size=%d", arg1, self-&gt;oldptr,
self-&gt;size);
   ustack();
   self-&gt;trace = 0;
   self-&gt;size = 0;
}

pid$target:libglib-2.0.so.0:g_malloc0:entry
/self-&gt;trace == 1/
{
   self-&gt;trace = 1;
   self-&gt;size = arg1;
}

pid$target:libglib-2.0.so.0:g_malloc0:return
/self-&gt;trace == 1/
{
   printf("Ptr=0x%p Size=%d", arg1, self-&gt;size);
   ustack();
   self-&gt;trace = 0;
   self-&gt;size = 0;
}

pid$target:libglib-2.0.so.0:g_free:entry
{
   printf("Ptr=0x%p ", arg0);
}
</pre>
<p>The test program to verify the script:</p>
<pre>#include
#include 

int
main ()
{
gchar* str = NULL;
int i;

for (i = 0; i </pre>
<p>DTrace reported &#8220;Zero&#8221; memory leaks and I sort of convinced that the script works and can be run on bigger application like <a href="http://www.gnome.org/projects/evolution">Evolution</a>.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vvaradhan.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vvaradhan.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vvaradhan.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vvaradhan.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vvaradhan.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vvaradhan.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vvaradhan.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vvaradhan.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vvaradhan.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vvaradhan.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vvaradhan.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vvaradhan.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vvaradhan.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vvaradhan.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vvaradhan.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vvaradhan.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vvaradhan.wordpress.com&amp;blog=310734&amp;post=7&amp;subd=vvaradhan&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vvaradhan.wordpress.com/2006/05/31/dtrace-and-glib/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8db2fe04476f633f5af2fe839fd1c2a2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vvaradhan</media:title>
		</media:content>
	</item>
	</channel>
</rss>
