<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-19676010</id><updated>2011-04-21T20:29:19.252-07:00</updated><title type='text'>My Online PDA</title><subtitle type='html'>PDA every minute, Blog every day
(always hit browser &amp; reload button to view content)</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default?start-index=101&amp;max-results=100'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>286</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-19676010.post-2507493377277116577</id><published>2008-10-25T09:50:00.000-07:00</published><updated>2008-10-25T09:57:54.279-07:00</updated><title type='text'>Table Virtual World</title><content type='html'>&lt;html&gt;&lt;br /&gt;&lt;head&gt;&lt;br /&gt;&lt;title&gt; Table Virtual World&lt;br /&gt;&lt;/head&gt;&lt;br /&gt;&lt;body&gt;&lt;br /&gt;&lt;applet code="org.jdesktop.applet.util.JNLPAppletLauncher"&lt;br /&gt;        width=512 height=512&lt;br /&gt;        archive="lei-tableworld.jar,&lt;br /&gt;                 http://download.java.net/media/applet-launcher/applet-launcher.jar,&lt;br /&gt;                 http://download.java.net/media/java3d/webstart/release/j3d/latest/j3dcore.jar,&lt;br /&gt;                 http://download.java.net/media/java3d/webstart/release/j3d/latest/j3dutils.jar,&lt;br /&gt;                 http://download.java.net/media/java3d/webstart/release/vecmath/latest/vecmath.jar,&lt;br /&gt;                 http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jar,&lt;br /&gt;                 http://download.java.net/media/gluegen/webstart/gluegen-rt.jar"&gt;&lt;br /&gt;    &lt;param name="codebase_lookup" value="false"&gt;&lt;br /&gt;    &lt;param name="subapplet.classname" value="edu.nova.j3d.tableworld.Table"&gt;&lt;br /&gt;    &lt;param name="subapplet.displayname" value="Java 3D Project1"&gt;&lt;br /&gt;    &lt;param name="jnlpNumExtensions" value="1"&gt;&lt;br /&gt;    &lt;param name="jnlpExtension1" value="http://download.java.net/media/java3d/webstart/release/java3d-latest.jnlp"&gt;&lt;br /&gt;    &lt;param name="progressbar" value="true"&gt;&lt;br /&gt;    &lt;param name="noddraw.check" value="true"&gt;&lt;br /&gt;&lt;/applet&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/br&gt;&lt;br /&gt;Java3D Table Virtual World Features&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;  &lt;li&gt;The table is created with 4 legs. &lt;/li&gt;&lt;br /&gt;  &lt;li&gt;There are 7 objects (a lamp, a lightened box next to the lamp with a shade plane, an un-lightened lod, an image texture, a cart, a collision sensor and a water pool) that sit on the table top. In addition, there are 3 objects (the clock, the 3D photo and the moving star) in the universe, which is out of the table plane.&lt;/li&gt;&lt;br /&gt;  &lt;li&gt;The 3D wall image texture on the table is capable of being dragged across the table top by click and holding the left mouse key while dragging. &lt;/li&gt;&lt;br /&gt;  &lt;li&gt;The red lod will be translated to the predefined upper coordinated location back and forth while the mouse key is clicked. &lt;/li&gt;&lt;br /&gt;  &lt;li&gt;The 3D wall image texture will rotate in place with angle of 1 as the mouse key is clicked. &lt;/li&gt;&lt;br /&gt;  &lt;li&gt;The lighting effect is shown during the cycle of the moving of the star. &lt;/li&gt;&lt;br /&gt;  &lt;li&gt;The red lod will be translated to the predefined upper coordinated location back and forth while the mouse key is clicked. &lt;/li&gt;&lt;br /&gt;  &lt;li&gt;The 3D wall image texture will rotate in place with angle of 1 as the mouse key is clicked. &lt;/li&gt;&lt;br /&gt;  &lt;li&gt;The lighting effect is shown during the cycle of the moving of the star. &lt;/li&gt;&lt;br /&gt;  &lt;li&gt;The objects that exhibit behavior by cutomized Behavior class:a star is animated to move around the table and the water stand creates water pool. A clock is animated with ticking of clock. The cart is animated to move back and forth.&lt;/li&gt;&lt;br /&gt;  &lt;li&gt;All objects except the box are geometry objects created by LineArray, LineStripArray, TriangleFanArray, TriangleStripArray, QuadArray and IndexedQuadArray to replace the feature of VRML IndexedFaceSet node. &lt;/li&gt;&lt;br /&gt;  &lt;li&gt;All objects except the box are geometry objects created by LineArray, LineStripArray, TriangleFanArray, TriangleStripArray, QuadArray and IndexedQuadArray to replace the feature of VRML extrusion node. &lt;/li&gt;&lt;br /&gt;&lt;li&gt;The table can be dragged to any location by pointing to table and holding mouse key, but to go back to the original location by exit browser and restart the applet for convenience&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/body&gt;&lt;br /&gt;&lt;br /&gt;&lt;/html&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-2507493377277116577?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/2507493377277116577/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=2507493377277116577' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/2507493377277116577'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/2507493377277116577'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2008/10/table-virtual-world.html' title='Table Virtual World'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-8110970545875748961</id><published>2008-09-16T08:05:00.000-07:00</published><updated>2008-09-16T08:06:58.186-07:00</updated><title type='text'>VPN &amp; Ubuntu</title><content type='html'>My network pauses was resolved, and it seems to be the NetworkManager&lt;br /&gt;not using the  madwifi driver.&lt;br /&gt;&lt;br /&gt;In this case, following in daemon.log are used&lt;br /&gt;"blah....NetworkManager: &lt;info&gt; Supplicant state changed 0"   // when pausing&lt;br /&gt;"blah....NetworkManager: &lt;info&gt; Supplicant state changed 1"   // on resume&lt;br /&gt;&lt;br /&gt;The solution is to use "wicd", which works  perfectly with the madwifi/atheros driver.&lt;br /&gt;The directions are here&lt;br /&gt;&lt;a href="http://wicd.sourceforge.net/download.php"&gt;http://wicd.sourceforge.net/download.php&lt;/a&gt;.&lt;br /&gt;&lt;/info&gt;&lt;/info&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-8110970545875748961?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/8110970545875748961/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=8110970545875748961' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/8110970545875748961'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/8110970545875748961'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2008/09/vpn-ubuntu.html' title='VPN &amp; Ubuntu'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-6787639407713466092</id><published>2008-09-13T10:48:00.000-07:00</published><updated>2008-09-13T11:24:53.018-07:00</updated><title type='text'>Q-learning vs Model-based or knowledge-based Methods</title><content type='html'>1. Learn action-value representation -- Q value instead of learning utility&lt;br /&gt;2. Denote Q-values related to utility values&lt;br /&gt;3. Q function is a way of utility function, but Q function does not need a model for learning action selection. So it is model free since temporal difference does not need to know transition model but only handle the changes. How to deal with the things are no-change. It is a frame problem.&lt;br /&gt;4.  Agent function (an evaluation function) is represented by Q function instead of model + utility function&lt;br /&gt;5. Traditional AI is to build knowledge-based method (build a representation of some aspect of the environment in which agent is situated).&lt;br /&gt;6. environment becomes complex, the advantages of a knowledge-based approach become more apparent.  Knowledge-based model representation has met more success than Q-learning methods&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-6787639407713466092?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/6787639407713466092/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=6787639407713466092' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/6787639407713466092'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/6787639407713466092'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2008/09/q-learning-facts.html' title='Q-learning vs Model-based or knowledge-based Methods'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-3832522000300854535</id><published>2008-09-11T07:49:00.000-07:00</published><updated>2008-09-11T07:50:09.516-07:00</updated><title type='text'>zpool iostat -v ------------------ df-kh</title><content type='html'>zpool iostat -v is  much more intuitive than df -h&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-3832522000300854535?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/3832522000300854535/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=3832522000300854535' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/3832522000300854535'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/3832522000300854535'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2008/09/zpool-iostat-v-df-kh.html' title='zpool iostat -v ------------------ df-kh'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-2433979375842097682</id><published>2008-09-11T07:22:00.000-07:00</published><updated>2008-09-11T07:29:55.180-07:00</updated><title type='text'>Transform Discontinuous Function into Differentiable Function</title><content type='html'>A discrete independent variable leads to a discontinuous function. A infinitesimal change in the independent variable causes the dependent variable to switch from one variable to another.  This means that the value of the policy may also change discontinuously, which makes gradient-based search difficult.&lt;br /&gt;&lt;br /&gt;Softmax function : transform from a discontinuous function into differentiable function&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-2433979375842097682?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/2433979375842097682/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=2433979375842097682' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/2433979375842097682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/2433979375842097682'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2008/09/transform-discontinuous-function-into.html' title='Transform Discontinuous Function into Differentiable Function'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-5183390259111720683</id><published>2008-09-11T07:16:00.000-07:00</published><updated>2008-09-11T07:21:36.399-07:00</updated><title type='text'>CERN LHC &amp; Storage with Data Management</title><content type='html'>&lt;pre wrap=""&gt;&lt;a class="moz-txt-link-freetext" href="http://gridcafe.web.cern.ch/gridcafe/animations/LHCdata/LHCdata.html"&gt;http://gridcafe.web.cern.ch/gridcafe/animations/LHCdata/LHCdata.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It is an amazing new age of science. It claimed 20 petabyte by&lt;br /&gt;annual basis. Large storage and data management practices.&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-5183390259111720683?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/5183390259111720683/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=5183390259111720683' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/5183390259111720683'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/5183390259111720683'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2008/09/cern-lhc-storage-with-data-management.html' title='CERN LHC &amp; Storage with Data Management'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-6187359808106582167</id><published>2008-09-11T07:14:00.000-07:00</published><updated>2008-09-11T07:15:57.026-07:00</updated><title type='text'>DS 6.x instance configuration</title><content type='html'>&lt;div&gt; To configure 3 instances of DS, created on different host, (different IP and the same port) &lt;/div&gt;&lt;div&gt; under the same domain. With DSEE 6.x, it is possible to create and configure instances on those machines from the Directory Service Control Center (i.e. DSEE 6 Console).&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-6187359808106582167?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/6187359808106582167/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=6187359808106582167' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/6187359808106582167'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/6187359808106582167'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2008/09/ds-6x-instance-configuration.html' title='DS 6.x instance configuration'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-6087785112218369898</id><published>2008-09-11T07:11:00.000-07:00</published><updated>2008-09-11T07:14:19.415-07:00</updated><title type='text'>Mobile Data Management and Mobile Agent</title><content type='html'>&lt;pre wrap=""&gt;    * Data management in wireless networks&lt;br /&gt;   * Data management in sensor and mobile ad hoc networks&lt;br /&gt;   * Data management in mobile peer-to-peer networks&lt;br /&gt;   * Data mining for mobile applications&lt;br /&gt;   * Data presentation, scripting and exchange languages&lt;br /&gt;   * Data replication, migration and dissemination in mobile environments&lt;br /&gt;   * Data stream processing in mobile/sensor networks&lt;br /&gt;   * Indexing and query processing for moving objects&lt;br /&gt;   * Location and mobility semantics&lt;br /&gt;   * Location tracking of vehicles and moving objects&lt;br /&gt;   * Metadata management and exchanges&lt;br /&gt;   * Mobile access to the Web&lt;br /&gt;   * Mobile agents&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A conference: Mobile Data Mangement (MDM'09): Systems, Services and Middleware &lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-6087785112218369898?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/6087785112218369898/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=6087785112218369898' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/6087785112218369898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/6087785112218369898'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2008/09/mobile-data-management-and-mobile-agent.html' title='Mobile Data Management and Mobile Agent'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-889578570816376554</id><published>2007-10-24T10:18:00.000-07:00</published><updated>2007-10-24T10:19:15.212-07:00</updated><title type='text'>LB and DS FD overflow</title><content type='html'>Load Balancer will use tcp_connect to ping downline  systems it is protecting, and since this is not a protocol  understood by the app, you get that error. It also winds up leaving  an orphaned FD &lt;b class="moz-txt-star"&gt;&lt;span class="moz-txt-tag"&gt;*&lt;/span&gt;each&lt;span class="moz-txt-tag"&gt;*&lt;/span&gt;&lt;/b&gt; time.&lt;br /&gt;&lt;br /&gt;If you do find a LB is the source, the solution is to reset the LB  to use an acceptable protocol (http for web, ldap for DS, etc.).  Most all the LB's have ready-to-use scripted options in their  config-options.&lt;br /&gt;&lt;br /&gt;Although its not a true fix, another option is to reset the  idletimeout onthe DS to soemthing like 900/1800s so it can recoup  the wasted FD's periodically. This is a fine temporary fix,  sometimes cu's leave that situation in that state for years. But the  true fix is to re-config the LB to use the proper protocol .&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-889578570816376554?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/889578570816376554/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=889578570816376554' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/889578570816376554'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/889578570816376554'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/10/lb-and-ds-fd-overflow.html' title='LB and DS FD overflow'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-6337731984375151571</id><published>2007-10-24T06:52:00.000-07:00</published><updated>2007-10-24T06:54:46.103-07:00</updated><title type='text'>cron script from open solaris</title><content type='html'>&lt;pre wrap=""&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre wrap=""&gt;&lt;span class="moz-txt-citetags"&gt;&lt;/span&gt;For every command in the script?&lt;br /&gt;&lt;span class="moz-txt-citetags"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="moz-txt-citetags"&gt;&lt;/span&gt;&lt;a class="moz-txt-link-freetext" href="http://cvs.opensolaris.org/source/xref/jds/spec-files/trunk/cron-script.sh"&gt;http://cvs.opensolaris.org/source/xref/jds/spec-files/trunk/cron-script.sh&lt;/a&gt;&lt;span class="moz-txt-citetags"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="moz-txt-citetags"&gt;&lt;/span&gt;See if a single command experiment working first&lt;br /&gt;&lt;span class="moz-txt-citetags"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span class="moz-txt-citetags"&gt;&gt; &lt;/span&gt;Where does the redirection go? Inside the quoted command or for zlogin?&lt;br /&gt;&lt;span class="moz-txt-citetags"&gt;&gt; &lt;/span&gt;zlogin -l gbuild big-zone "the_command &lt;span class="moz-txt-citetags"&gt;&gt; &lt;/span&gt;zlogin -l gbuild big-zone "the_command" &lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-6337731984375151571?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/6337731984375151571/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=6337731984375151571' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/6337731984375151571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/6337731984375151571'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/10/cron-script-from-open-solaris.html' title='cron script from open solaris'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-5446311025801709523</id><published>2007-10-24T06:46:00.000-07:00</published><updated>2007-10-24T06:48:17.985-07:00</updated><title type='text'>DS DB index out of sync-poor performance</title><content type='html'>&lt;div style="margin: 0px;"&gt;DS is observed slower search response time on Solaris 10U3 compared to Windows.  The cache size is the same on the two boxes, even though it should be bigger on solaris (windows is 32bit, solaris is 64).&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px; min-height: 14px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;This search for example shows different etimes consistently :&lt;/div&gt;&lt;div style="margin: 0px; min-height: 14px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;On Windows the search took 0.079000 seconds :&lt;/div&gt;&lt;div style="margin: 0px; min-height: 14px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;[19/Oct/2007:15:33:41 +0200] conn=2062529 op=1 msgId=2 - SRCH base="ou=qp_na02,ou=apps,ou=internal,o=ericsson" scope=2 filter="(&amp;amp;(objectClass=groupOfUniqueNames)(uniqueMember=UID=XBMVIVI,OU=Partners,OU=External,O=ericsson))" attrs="cn"&lt;/div&gt;&lt;div style="margin: 0px;"&gt;[19/Oct/2007:15:33:42 +0200] conn=2062529 op=1 msgId=2 - RESULT err=0 tag=101 nentries=114 etime=0.079000&lt;/div&gt;&lt;div style="margin: 0px; min-height: 14px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;however this same search took 0.320350 seconds on solaris :&lt;/div&gt;&lt;div style="margin: 0px; min-height: 14px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;[19/Oct/2007:17:02:30 +0200] conn=460 op=1 msgId=2 - SRCH base="ou=qp_na02,ou=apps,ou=internal,o=ericsson" scope=2 filter="(&amp;amp;(objectClass=groupOfUniqueNames)(uniqueMember=UID=XBMVIVI,OU=Partners,OU=External,O=ericsson))" attrs="cn"&lt;/div&gt;&lt;div style="margin: 0px;"&gt;[19/Oct/2007:17:02:30 +0200] conn=460 op=1 msgId=2 - RESULT err=0 tag=101 nentries=114 etime=0.320350&lt;/div&gt;&lt;div style="margin: 0px; min-height: 14px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px; min-height: 14px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;In the solaris errors logs, i see lines like this "candidate &lt;candidate&gt; not found" :&lt;/candidate&gt;&lt;/div&gt;&lt;div style="margin: 0px; min-height: 14px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;[19/Oct/2007:17:02:30 +0200] - INFORMATION&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;- conn=-1 op=-1 msgId=-1 -&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;SRCH base="ou=qp_na02,ou=apps,ou=internal,o=ericsson" scope=2 deref=0 sizelimit=0 timelimit=0 attrsonly=0 filter="(&amp;amp;(objectClass=groupOfUniqueNames)(uniqueMember=UID=XBMVIVI,OU=Partners,OU=External,O=ericsson))" attrs="cn"&lt;/div&gt;&lt;div style="margin: 0px;"&gt;[19/Oct/2007:17:02:30 +0200] - INFORMATION&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;- conn=-1 op=-1 msgId=-1 -&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;mapping tree selected backend : unix&lt;/div&gt;&lt;div style="margin: 0px;"&gt;[19/Oct/2007:17:02:30 +0200] - INFORMATION&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;- conn=-1 op=-1 msgId=-1 -&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;mapping tree release backend : unix&lt;/div&gt;&lt;div style="margin: 0px;"&gt;[19/Oct/2007:17:02:30 +0200] - INFORMATION&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;- conn=-1 op=-1 msgId=-1 -&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;mapping tree selected backend : userRoot&lt;/div&gt;&lt;div style="margin: 0px;"&gt;[19/Oct/2007:17:02:30 +0200] - DEBUG&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;- conn=-1 op=-1 msgId=-1 - &lt;span class="Apple-converted-space"&gt;    &lt;/span&gt;be: 'o=ericsson' indextype: "eq" indexmask: 0x2&lt;/div&gt;&lt;div style="margin: 0px;"&gt;[19/Oct/2007:17:02:30 +0200] - DEBUG&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;- conn=-1 op=-1 msgId=-1 - &lt;span class="Apple-converted-space"&gt;    &lt;/span&gt;be: 'o=ericsson' indextype: "eq" indexmask: 0x2&lt;/div&gt;&lt;div style="margin: 0px;"&gt;[19/Oct/2007:17:02:30 +0200] - DEBUG&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;- conn=-1 op=-1 msgId=-1 - &lt;span class="Apple-converted-space"&gt;    &lt;/span&gt;be: 'o=ericsson' indextype: "eq" indexmask: 0x2&lt;/div&gt;&lt;div style="margin: 0px;"&gt;[19/Oct/2007:17:02:30 +0200] - DEBUG&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;- conn=-1 op=-1 msgId=-1 - &lt;span class="Apple-converted-space"&gt;    &lt;/span&gt;be: 'o=ericsson' indextype: "eq" indexmask: 0x2&lt;/div&gt;&lt;div style="margin: 0px;"&gt;[19/Oct/2007:17:02:30 +0200] - DEBUG&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;- conn=-1 op=-1 msgId=-1 -&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;candidate 306256 not found&lt;/div&gt;&lt;div style="margin: 0px;"&gt;[19/Oct/2007:17:02:30 +0200] - DEBUG&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;- conn=-1 op=-1 msgId=-1 -&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;candidate 307389 not found&lt;/div&gt;&lt;div style="margin: 0px;"&gt;[19/Oct/2007:17:02:30 +0200] - DEBUG&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;- conn=-1 op=-1 msgId=-1 -&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;candidate 309528 not found&lt;/div&gt;&lt;div style="margin: 0px;"&gt;[19/Oct/2007:17:02:30 +0200] - DEBUG&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;- conn=-1 op=-1 msgId=-1 -&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;candidate 309532 not found&lt;/div&gt;&lt;div style="margin: 0px;"&gt;[19/Oct/2007:17:02:30 +0200] - DEBUG&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;- conn=-1 op=-1 msgId=-1 -&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;candidate 309538 not found&lt;/div&gt;&lt;div style="margin: 0px;"&gt;[19/Oct/2007:17:02:30 +0200] - DEBUG&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;- conn=-1 op=-1 msgId=-1 -&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;candidate 309542 not found&lt;/div&gt;&lt;div style="margin: 0px;"&gt;[19/Oct/2007:17:02:30 +0200] - DEBUG&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;- conn=-1 op=-1 msgId=-1 -&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;candidate 309726 not found&lt;/div&gt;&lt;div style="margin: 0px;"&gt;[19/Oct/2007:17:02:30 +0200] - DEBUG&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;- conn=-1 op=-1 msgId=-1 -&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;candidate 309866 not found&lt;/div&gt;&lt;div style="margin: 0px;"&gt;[19/Oct/2007:17:02:30 +0200] - DEBUG&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;- conn=-1 op=-1 msgId=-1 -&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;candidate 309877 not found&lt;/div&gt;&lt;div style="margin: 0px;"&gt;[19/Oct/2007:17:02:30 +0200] - DEBUG&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;- conn=-1 op=-1 msgId=-1 -&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;candidate 309878 not found&lt;/div&gt;&lt;div style="margin: 0px;"&gt;[19/Oct/2007:17:02:30 +0200] - DEBUG&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;- conn=-1 op=-1 msgId=-1 -&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;candidate 309881 not found&lt;/div&gt;&lt;div style="margin: 0px;"&gt;[19/Oct/2007:17:02:30 +0200] - DEBUG&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;- conn=-1 op=-1 msgId=-1 -&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;candidate 309898 not found&lt;/div&gt;&lt;div style="margin: 0px;"&gt;[19/Oct/2007:17:02:30 +0200] - INFORMATION&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;- conn=-1 op=-1 msgId=-1 -&lt;span class="Apple-converted-space"&gt;  &lt;/span&gt;mapping tree release backend : userRoot&lt;/div&gt;&lt;div style="margin: 0px; min-height: 14px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px; min-height: 14px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt; it looks like the index is out of sync.&lt;/div&gt;&lt;div style="margin: 0px; min-height: 14px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-5446311025801709523?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/5446311025801709523/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=5446311025801709523' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/5446311025801709523'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/5446311025801709523'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/10/ds-db-index-out-of-sync-poor.html' title='DS DB index out of sync-poor performance'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-7284321961284214067</id><published>2007-10-24T06:41:00.000-07:00</published><updated>2007-10-24T06:43:49.258-07:00</updated><title type='text'>Zone attaching to shared storage</title><content type='html'>&lt;pre wrap=""&gt;Using "attach -F" (ie capital F) you can attach a shared storage&lt;br /&gt;to a different zone even it is not de-attached with it's original&lt;br /&gt;zone, if you previously created the zone configuration via "zonecfg -z &lt;zonename&gt;&lt;br /&gt;..." like on the original host.&lt;br /&gt;&lt;br /&gt;Of course you must make sure that only one node is really booting the&lt;br /&gt;zone at a time.&lt;/zonename&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-7284321961284214067?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/7284321961284214067/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=7284321961284214067' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/7284321961284214067'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/7284321961284214067'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/10/zone-attaching-to-shared-storage.html' title='Zone attaching to shared storage'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-506850422375327705</id><published>2007-10-11T13:01:00.000-07:00</published><updated>2007-10-11T13:04:56.671-07:00</updated><title type='text'>Scheme Setup</title><content type='html'>(1) install &lt;a href="http://www.scheme.com/petitechezscheme.html"&gt;Petite Chez Scheme&lt;/a&gt;&lt;br /&gt;(2) install eopl source code&lt;br /&gt;(3) change dir&lt;br /&gt;&lt;br /&gt;(cd "/home/test/eopl/intercept")&lt;br /&gt;(3) init code&lt;br /&gt;&lt;br /&gt;(load "chez-init.scm")&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-506850422375327705?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/506850422375327705/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=506850422375327705' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/506850422375327705'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/506850422375327705'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/10/scheme-setup.html' title='Scheme Setup'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-7685744664735750298</id><published>2007-10-08T19:28:00.000-07:00</published><updated>2007-10-09T09:00:09.693-07:00</updated><title type='text'>DB cache size for large DB on DS</title><content type='html'>The best results with a maximum of about 50 GB in database cache because of checkpoints. That is a concern here. But response times is over 1 second. It is caused by check pointing, reducing the db cache size may help. A very large db, and not a lot of memory. &lt;br /&gt;&lt;br /&gt;(1) Set both the entry cache and db cache to 100 mb each  offered the best performance - allowing the fs cache to do everything.   This was on Solaris 10 with the latest updates for ZFS. &lt;br /&gt;(2) modified the file system partitions to force direct io on the ones we  didn't want being cached - this way we reserved more of the fs cache for  LDAP. &lt;br /&gt;(3) Like if your logs are on a separate FS then you can exclude that  mount, etc. For the partition/disk that holds the database, set:   "noatime" &amp;amp;  "logging", and if "/data" is the disk that holds the  database, set:    tunefs -e 2097152 /data&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-7685744664735750298?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/7685744664735750298/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=7685744664735750298' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/7685744664735750298'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/7685744664735750298'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/10/db-cache-size-for-large-db-on-ds.html' title='DB cache size for large DB on DS'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-5522918553138278714</id><published>2007-10-06T07:30:00.000-07:00</published><updated>2007-10-06T07:31:13.337-07:00</updated><title type='text'>Host name vs Security Compliance</title><content type='html'>(1) update with latest security patches and fixes for OS, Tools,  dependencies&lt;br /&gt;(2) ensure no hostname is embeded in any UI component&lt;br /&gt;(3) no host name in URL or CLI&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-5522918553138278714?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/5522918553138278714/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=5522918553138278714' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/5522918553138278714'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/5522918553138278714'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/10/host-name-vs-security-compliance.html' title='Host name vs Security Compliance'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-1421633528467588793</id><published>2007-10-03T18:45:00.000-07:00</published><updated>2007-10-03T18:47:13.220-07:00</updated><title type='text'>News Analysis</title><content type='html'>&lt;span class="q"&gt;I'm doing a Master's Thesis project based on scanning web-based news&lt;br /&gt;topics and analyzing their frequency. I have a table containing rows that&lt;br /&gt;represent groups of news stories about a particular topic&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-1421633528467588793?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/1421633528467588793/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=1421633528467588793' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/1421633528467588793'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/1421633528467588793'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/10/news-analysis.html' title='News Analysis'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-843144333954606288</id><published>2007-10-03T18:40:00.000-07:00</published><updated>2007-10-03T18:43:22.738-07:00</updated><title type='text'>Adding Missing Values for Random Variables</title><content type='html'>Missing values for real-valued attributes could be implemented via Laplacian smoothing, by adding one initial default value to every attribute, either the mean of available observations for the attribute, or the mean of observations for some other similar subset of attributes, including possibly the set of all attributes.&lt;br /&gt;&lt;span class="ad"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-843144333954606288?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/843144333954606288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=843144333954606288' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/843144333954606288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/843144333954606288'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/10/adding-missing-values-for-random.html' title='Adding Missing Values for Random Variables'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-5125122357149391281</id><published>2007-09-29T09:59:00.000-07:00</published><updated>2007-09-29T10:03:37.620-07:00</updated><title type='text'>How to define a set of values</title><content type='html'>BNF is the way to define a set of values.  This set of rule calls grammar ---- BNF grammar defines a set of values.&lt;br /&gt;&lt;br /&gt;&lt;list-of-numbers&gt; &lt;list-of-numbers&gt; ::=  ()&lt;br /&gt;&lt;list-of-numbers&gt; &lt;list-of-numbers&gt; ::= (&lt;number&gt;&lt;number&gt;.&lt;list-of-numbers&gt;&lt;list-of-numbers&gt;)&lt;br /&gt;&lt;/list-of-numbers&gt;&lt;/list-of-numbers&gt;&lt;/number&gt;&lt;/number&gt;&lt;/list-of-numbers&gt;&lt;/list-of-numbers&gt;&lt;/list-of-numbers&gt;&lt;/list-of-numbers&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-5125122357149391281?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/5125122357149391281/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=5125122357149391281' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/5125122357149391281'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/5125122357149391281'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/09/how-to-define-set-of-values.html' title='How to define a set of values'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-2551605233605492241</id><published>2007-09-27T19:08:00.000-07:00</published><updated>2007-09-27T19:10:11.087-07:00</updated><title type='text'>ZFS and DS</title><content type='html'>MODS/WRITES with ZFS compression&lt;br /&gt;It would seem that using ZFS with compression could theoretically  yield some amazing write performance but I haven't done any testing  myself yet.   Any figures or observations here?&lt;br /&gt;&lt;br /&gt;CACHE COMPRESSION?&lt;br /&gt;I'm not  sure what they meant there because I have seen that ZFS uses ARC for  relinquishing memory to cache However, the memory  relinquishing algorithm was less than desirable for database apps .   But cache  compression was to minimize the memory footprint of the DS entries  within the FS cache which sounds great, if it were possible, for large  databases.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-2551605233605492241?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/2551605233605492241/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=2551605233605492241' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/2551605233605492241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/2551605233605492241'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/09/zfs-and-ds.html' title='ZFS and DS'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-3616077977313413998</id><published>2007-09-27T15:31:00.000-07:00</published><updated>2007-09-27T15:40:09.675-07:00</updated><title type='text'>Lamda Calculus</title><content type='html'>&lt;b&gt;lambda calculus&lt;/b&gt;, also &lt;b&gt;λ-calculus&lt;/b&gt;, is a formal system designed to investigate (1)function&lt;span style="text-decoration: underline;"&gt;&lt;/span&gt; definition, (2)function application (3) recursion.&lt;br /&gt;&lt;br /&gt;Lambda calculus can be used to define (1) what a &lt;span style="font-weight: bold;"&gt;computable function&lt;/span&gt; is. The question of whether two lambda calculus expressions are equivalent cannot be solved by a general algorithm. This was the first question, even before the (2) &lt;span style="font-weight: bold;"&gt;halting problem&lt;/span&gt; for which undecidability could be proved.  &lt;p&gt;Lambda calculus can be called the smallest universal programming language. It consists of a single&lt;br /&gt;&lt;/p&gt;&lt;p&gt;(1)transformation rule -----variable substitution&lt;/p&gt;&lt;p&gt;(2) function definition scheme.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight: bold;"&gt;Lambda calculus is universal in the sense that any computable function can be expressed and evaluated using this formalism&lt;/span&gt;. It is thus equivalent to the Turning Machine formalism.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Lambda calculus emphasizes the use of &lt;span style="font-weight: bold;"&gt;transformation rules(variable substitution)&lt;/span&gt; and does not care about the actual machine implementing them. It is an approach more related to software than to hardware.&lt;/p&gt; &lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-3616077977313413998?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/3616077977313413998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=3616077977313413998' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/3616077977313413998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/3616077977313413998'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/09/lamda-calculus.html' title='Lamda Calculus'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-1964910529663376241</id><published>2007-09-27T11:17:00.000-07:00</published><updated>2007-09-27T11:18:38.187-07:00</updated><title type='text'>Smba wit Solaris Zone</title><content type='html'>&lt;pre wrap=""&gt;touch /etc/krb5.keytab&lt;br /&gt;&lt;br /&gt;the smb.conf file was not configured to use kerberos keytab but it will try to.&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-1964910529663376241?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/1964910529663376241/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=1964910529663376241' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/1964910529663376241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/1964910529663376241'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/09/smba-wit-solaris-zone.html' title='Smba wit Solaris Zone'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-5942668768281309321</id><published>2007-09-27T10:24:00.000-07:00</published><updated>2007-09-27T10:31:39.520-07:00</updated><title type='text'>Storage Data Classification &amp; Storage Policies</title><content type='html'>Archive solution is designed for tape and disk storage devices. NAS package provides the file level representation of data. Storage Management System requires data classification and policies.&lt;br /&gt;&lt;br /&gt;Data classification is done based on the file system and a few other attributes. The attributes include file name, type, ownership, size, access rights and age.  Classification can done automatically using customer defined categories.&lt;br /&gt;&lt;br /&gt;The customer defined data classification categories are assigned to storage management policies. Policies control the placement of the files onto the various types of physical storage, replication, deletion, and access.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-5942668768281309321?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/5942668768281309321/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=5942668768281309321' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/5942668768281309321'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/5942668768281309321'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/09/storage-data-classification-storage.html' title='Storage Data Classification &amp; Storage Policies'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-101762480487408235</id><published>2007-09-27T08:33:00.000-07:00</published><updated>2007-09-27T08:34:25.163-07:00</updated><title type='text'>DS replication and search</title><content type='html'>Enabling or disabling the replication  should not impact the search&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-101762480487408235?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/101762480487408235/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=101762480487408235' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/101762480487408235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/101762480487408235'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/09/ds-replication-and-search.html' title='DS replication and search'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-5197707318343311007</id><published>2007-09-27T08:23:00.000-07:00</published><updated>2007-09-27T08:25:07.196-07:00</updated><title type='text'>Oracle Database and Solaris Zone</title><content type='html'>The Oracle data base product line comes in two significantly different forms:&lt;br /&gt;&lt;br /&gt;1) Oracle has a single machine version of their data base product. It supports zone deployment today.&lt;br /&gt;&lt;br /&gt;2) Oracle has version of their data base product that works cooperatively and concurrently on multiple nodes. This product is called Oracle RAC. Oracle RAC does not run in zones now. But it&lt;br /&gt;will do so soon&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-5197707318343311007?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/5197707318343311007/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=5197707318343311007' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/5197707318343311007'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/5197707318343311007'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/09/oracle-database-and-solaris-zone.html' title='Oracle Database and Solaris Zone'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-7996672935998352691</id><published>2007-09-27T08:19:00.000-07:00</published><updated>2007-09-27T08:22:37.127-07:00</updated><title type='text'>POSIX Thread, Select &amp; Poll</title><content type='html'>The model of simply using one thread per connection, while simpler to code and support,&lt;br /&gt;is viable for only a few to several hundred (possibly a few thousand) threads.&lt;br /&gt;&lt;br /&gt;From a performance perspective, select(3C) has stated in the man page (from circa Solaris 2.6 days IIRC) "poll(2) function is preferred over this function."  select(3C)  in Solaris is very inefficient as it has to translate in user space  from the bitfields and calls poll() to do the kernel work anyway.  Not to mention that recompiling an application that uses select(3C)  as a 64 bit binary can result in a 500% performance drop.  This occurs if they do not modify FD_SETSIZE, as this goes from 1024 in 32 bit compiles to 65536 in 64 bit compiles.  So avoid select like the plague if performance is at an issue for your application.  Select has been implemented as a direct syscall in several other Unix versions so code calling select(3C) will likely underperform on Solaris compared to other OSs.&lt;br /&gt;&lt;br /&gt;Even poll(2) suffers a lot of unnecessary performance degredation issues so, if dealing with thousands of descriptors, the far more scalable /dev/poll "man -s 7d poll" or Event Completion&lt;br /&gt;Framework should be used. Here's an article wrote back in 2002 comparing scalability of&lt;br /&gt;poll(2) and /dev/poll :&lt;br /&gt;&lt;br /&gt;&lt;a class="moz-txt-link-freetext" href="http://developers.sun.com/solaris/articles/polling_efficient.html"&gt;http://developers.sun.com/solaris/articles/polling_efficient.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And it seems /dev/poll has been considered a bit too complicated for a lot of real world uses, and also suffers some performance issues in cases of quickly changing lists of file descriptors to&lt;br /&gt;monitor, so the even newer Event Completion Framework/Ports have been created to deal with both issues :&lt;br /&gt;&lt;br /&gt;&lt;a class="moz-txt-link-freetext" href="http://developers.sun.com/solaris/articles/event_completion.html"&gt;http://developers.sun.com/solaris/articles/event_completion.html&lt;/a&gt;&lt;br /&gt;&lt;a class="moz-txt-link-freetext" href="http://partneradvantage.sun.com/protected/solaris10/adoptionkit/tech/tecf.html"&gt;http://partneradvantage.sun.com/protected/solaris10/adoptionkit/tech/tecf.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Both /dev/poll and Event Ports have been ported to Linux, so, whether they are POSIX standards, extentions,  or just de facto  standards since they are the only tools to do the job if the state of many thousands of connections must be polled, they must be considered.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-7996672935998352691?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/7996672935998352691/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=7996672935998352691' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/7996672935998352691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/7996672935998352691'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/09/posix-thread-select-poll.html' title='POSIX Thread, Select &amp; Poll'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-8131768122089104197</id><published>2007-09-27T08:09:00.000-07:00</published><updated>2007-09-27T08:11:02.300-07:00</updated><title type='text'>SAN Disk/ Tap backup with Solaris Container</title><content type='html'>Several  systems are set up as SAN media servers so that backup to tapes occurs from SAN-disk to SAN-tape rather than across a network.&lt;br /&gt;&lt;br /&gt;The simplest approach is for each non-global zone to send its backup  stream to the media server. It avoids potential security issues which  must be addressed if you backup the zones' file systems from the GZ.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-8131768122089104197?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/8131768122089104197/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=8131768122089104197' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/8131768122089104197'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/8131768122089104197'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/09/san-disk-tap-backup-with-solaris.html' title='SAN Disk/ Tap backup with Solaris Container'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-5931072020005139186</id><published>2007-09-27T08:05:00.000-07:00</published><updated>2007-09-27T08:32:44.335-07:00</updated><title type='text'>DS database mini cache size heristrics</title><content type='html'>dbase  cache at least enough to hold the indexes. It is true that during search DS first read the indexes then the  entries, but I would not make any assumption about what it means for the  database cache.  Usually when coding a cache algorithm. It is true for the  entry cache and the changelog cache, but I do not know if it is also  true for the DB cache.&lt;br /&gt;&lt;br /&gt;When there is not enough space to add some data, the data that was  not used since the oldest time are removed and the new one replace it. LRU, MRU.&lt;br /&gt;&lt;br /&gt;So if you have not enough data for both kind  of data, you will  rather ends up with the most frequently used indexes and entries pages  staying in the cache while the others go in and out&lt;br /&gt;IMHO, There is probably no "priority" about  indexes versus entries ...&lt;br /&gt;&lt;br /&gt;In modify things are much more complex: dn2entryid index is read  first then entry then all the indexes are read.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-5931072020005139186?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/5931072020005139186/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=5931072020005139186' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/5931072020005139186'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/5931072020005139186'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/09/ds-database-mini-cache-size-heristrics.html' title='DS database mini cache size heristrics'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-3691337410373416887</id><published>2007-09-27T07:50:00.000-07:00</published><updated>2007-09-27T07:53:14.109-07:00</updated><title type='text'>System Call vs. POSIX Thread on Select &amp; Poll</title><content type='html'>Solaris System calls select() (BSD)  poll() (AT&amp;amp;T)  are &lt;span class="moz-txt-underscore"&gt;&lt;span class="moz-txt-tag"&gt;_&lt;/span&gt;not&lt;span class="moz-txt-tag"&gt;_&lt;/span&gt;&lt;/span&gt; POSIX. BSD and AT&amp;amp;T unix used to have their own ways on this. POSIX threads is recommended than relying on select() or poll() if  you really want to write POSIX compliant code. With POSIX threads you  should be able to evade the need for using these two system calls.  Alternatively you could supply an extra .c file which contains the call  to the poll() system call; this file must be translated with the  _POSIX_C_SOURCE macro undefined. (You will be calling poll() even if you  call select(). As Solaris 2.x is derived from AT&amp;amp;T, poll(2) is used to  implement select(3C)).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-3691337410373416887?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/3691337410373416887/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=3691337410373416887' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/3691337410373416887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/3691337410373416887'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/09/system-call-vs-posix-thread-on-select.html' title='System Call vs. POSIX Thread on Select &amp; Poll'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-7539903932923043460</id><published>2007-09-06T12:54:00.000-07:00</published><updated>2007-09-06T12:58:16.896-07:00</updated><title type='text'>XWindows on Solaris 10</title><content type='html'>It requires FQ hostname in case of VPN client access&lt;br /&gt;&lt;br /&gt;(1) ssh -X &lt;fq&gt; -l &lt;username&gt;&lt;br /&gt;    on remote host directly execute UI application&lt;br /&gt;&lt;br /&gt;ssh -X forward x11, there is no need to export DISPLAY any more&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(2) vnc&lt;br /&gt;&lt;br /&gt;run vncserver on the remote server as&lt;br /&gt;&lt;br /&gt;vncserver &lt;fq&gt;:1&lt;br /&gt;may propmpt password if you do not have it now&lt;br /&gt;&lt;br /&gt;on the local client&lt;br /&gt;&lt;br /&gt;vncviewer &lt;fq&gt;:1&lt;br /&gt;type in password&lt;br /&gt;&lt;/fq&gt;&lt;/fq&gt;&lt;/username&gt;&lt;/fq&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-7539903932923043460?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/7539903932923043460/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=7539903932923043460' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/7539903932923043460'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/7539903932923043460'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/09/xwindows-on-solaris-10.html' title='XWindows on Solaris 10'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-7687849816507033641</id><published>2007-08-30T14:28:00.000-07:00</published><updated>2007-08-30T14:41:19.341-07:00</updated><title type='text'>SOA Enable C+</title><content type='html'>Many WS-enabling tools available on the market for C++,  such as gSOAP, OSS, etc. Other options, especially if you use Java  CAPS, are: TCP/IP,  HTTP with non-SOAP payload,  and JMS. SGF is always an option. Wrapping C++ with Java WS is not a very good idea.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The combination of gSOAP and JMS for integration with C++ and had  a successful production deployment&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-7687849816507033641?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/7687849816507033641/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=7687849816507033641' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/7687849816507033641'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/7687849816507033641'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/08/soa-enable-c.html' title='SOA Enable C+'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-5088431720955103492</id><published>2007-08-29T14:11:00.000-07:00</published><updated>2007-08-29T14:13:48.016-07:00</updated><title type='text'>Avoid of sysemt call time() on Solaris</title><content type='html'>&lt;pre wrap=""&gt;Some product heavily uses times() syscall to measure cpu time and system time.&lt;br /&gt;I'd like to get rid of any system call overhead if possible.&lt;br /&gt;&lt;br /&gt;http://developers.sun.com/solaris/articles/time_stamp.html&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;This article shows optimization the performance of enterprise systems that employ extensive time-stamping using the &lt;code&gt;time(2)&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-5088431720955103492?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/5088431720955103492/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=5088431720955103492' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/5088431720955103492'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/5088431720955103492'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/08/avoid-of-sysemt-call-time-on-solaris.html' title='Avoid of sysemt call time() on Solaris'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-5362179992649838161</id><published>2007-08-29T14:07:00.000-07:00</published><updated>2007-08-29T14:08:38.201-07:00</updated><title type='text'>File Descriptor and Solaris Sockets</title><content type='html'>rlim_fd_max is the same as rlim_fd_curr then this means that they  are only allocating 256 file descriptors.  Sett the rlim_fd_max to at least 2048 or higher for highly loaded system&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-5362179992649838161?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/5362179992649838161/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=5362179992649838161' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/5362179992649838161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/5362179992649838161'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/08/file-descriptor-and-solaris-sockets.html' title='File Descriptor and Solaris Sockets'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-7168200223204556301</id><published>2007-08-17T15:08:00.000-07:00</published><updated>2007-08-17T15:09:29.637-07:00</updated><title type='text'>JMS design and analysis</title><content type='html'>(1) Design Pattern: Publish Subscription&lt;br /&gt;&lt;br /&gt;1 Producer -----(1 Message) ---&gt; Topic (Destination) ----&gt; K Consumers&lt;br /&gt;K Producers ----(K Messages) ---&gt; Topic (Destination) ---&gt; K Consumers&lt;br /&gt;&lt;br /&gt;(2) Service Reliability: Message Reliability:&lt;br /&gt;&lt;br /&gt;With normal topic subscription, only active consumers subscribed&lt;br /&gt;to the topic will receive messages.&lt;br /&gt;&lt;br /&gt;With durable subscriptions, the inactive consumers are ensured&lt;br /&gt;to receive the message as subsequently becomes active.&lt;br /&gt;&lt;br /&gt;Intuitively, the topic does not hold the messages it receives&lt;br /&gt;unless it has inactive consumers with durable subscriptions.&lt;br /&gt;&lt;br /&gt;Hence, durable subscription is the service reliability practice&lt;br /&gt;&lt;br /&gt;(3) Best Practice-1: Development with Unified Domain Model&lt;br /&gt;&lt;br /&gt;Even though the domain-specific interfaces (Queue, Topic)&lt;br /&gt;are backward supported for legacy purposes, The best development&lt;br /&gt;practice is to use the Unified Domain Interface,&lt;br /&gt;which transparently support P-P, Pub-Sub Models.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(4) Best Practice-2: Use Administered Object Store&lt;br /&gt;&lt;br /&gt;The connection factory is recommended to create and reconfigured&lt;br /&gt;with the administration tools. Admin objects such as ConnectionFactory&lt;br /&gt;is then placed in an Administered Object Store. It decouples JMS application&lt;br /&gt;code and portable among different JMS providers.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(5) Best Practice-3: J2EE Client By Resource Annotation&lt;br /&gt;&lt;br /&gt;Use @Resource and no exception handing in J2EE 1.5 as best&lt;br /&gt;practices.&lt;br /&gt;&lt;br /&gt;(5) Code Segment: to show message life cycle&lt;br /&gt;&lt;br /&gt;Use Unified Domain createConnection method is in  javax.jms.ConnectionFactory&lt;br /&gt;&lt;br /&gt;Hashtable env = new Hashtable();&lt;br /&gt;env.put(Context.INITIAL_CONTEXT_FACTORY,&lt;br /&gt;"com.sun.jndi.fscontext.RefFSContextFactory");&lt;br /&gt;env.put(Context.PROVIDER_URL, &lt;a class="moz-txt-link-rfc2396E" href="file:///amberroad:/sun_mq_admin_objects"&gt;"file:///amberroad:/sun_mq_admin_objects"&lt;/a&gt;);&lt;br /&gt;Context ctx = new InitialContext(env);&lt;br /&gt;String CF_LOOKUP_NAME = "ARConnectionFactory";&lt;br /&gt;ConnectionFactory arFactory = (ConnectionFactory) ctx.lookup&lt;br /&gt;(CF_LOOKUP_NAME);&lt;br /&gt;String DEST_LOOKUP_NAME = "ARTopic";&lt;br /&gt;Destination arTopic = (Destination) ctx.lookup(DEST_LOOKUP_NAME);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Connection arConnection = null;&lt;br /&gt;Session arsession = null;&lt;br /&gt;try {&lt;br /&gt;arConnection = myFactory.createConnection("amberroad", "amberroad");&lt;br /&gt;arConnection.setExceptionListener(this);&lt;br /&gt;arsession = arConnection.createSession(false, Session.AUTO_ACKNOWLEDGE);&lt;br /&gt;MessageProducer arProducer = arSession.createProducer(arTopic);&lt;br /&gt;String arSelector = "/* Text of selector here */";&lt;br /&gt;MessageConsumer&lt;br /&gt;arConsumer = arSession.createDurableSubscriber(arTopic, "arConsumer",  arSelector, true);&lt;br /&gt;TextMessage arMsg = mySession.createTextMessage();&lt;br /&gt;arMsg.setText("AmberRoad Test");&lt;br /&gt;// at message level specification&lt;br /&gt;arMsg.setJMSReplyTo(replyDest);&lt;br /&gt;arMsg.setJMSDeliveryMode(DeliveryMode.PERSISTENT);&lt;br /&gt;arMsg.setDisableMessageTimestamp(9L);&lt;br /&gt;arMsg.setJMSPriority(Message.DEFAULT_PRIORITY);&lt;br /&gt;arMsg.setJMSExpiration(1000L);&lt;br /&gt;arProducer.send(arTopic, arMsg);&lt;br /&gt;&lt;br /&gt;// if it is not at message level, at producer level specification&lt;br /&gt;&lt;br /&gt;arProducer.send(arDest, arMsg, DeliveryMode.PERSISTENT, 9, 1000);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;// if set up async listener&lt;br /&gt;&lt;br /&gt;ARMessageListener arListener = new ARMessageListener();&lt;br /&gt;arConsumer.setMessageListener(arListener);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;// blocking receiver&lt;br /&gt;arConnection.start();&lt;br /&gt;Message inMsg = arConsumer.receiveNoWait(); // distributed apps&lt;br /&gt;&lt;br /&gt;outMsg.clearBody();// consumer does&lt;br /&gt;--------------------&lt;br /&gt;&lt;br /&gt;arConnection.stop(); // in case to suspend messaging&lt;br /&gt;&lt;br /&gt;finally{&lt;br /&gt;&lt;br /&gt;mySession.unsubscribe("arConsumer");&lt;br /&gt;arConnection.close();&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Note&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(1) for the publish/subscribe domain to create durable topic subscriptions,&lt;br /&gt;a client identifier arrangement is done by configuring the client runtime&lt;br /&gt;to provide a unique client identifier automatically for each JMS  application.&lt;br /&gt;&lt;br /&gt;(2) For message consumption, with auto-acknowledge mode, the Message Queue&lt;br /&gt;client runtime immediately sends a client acknowledgment for each message&lt;br /&gt;it delivers to the message consumer; it then blocks waiting for a return&lt;br /&gt;broker acknowledgment confirming that the broker has received the client&lt;br /&gt;acknowledgment. It leaves JMS application code free.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(3) For message producers, the broker’s acknowledgment behavior&lt;br /&gt;depends on the message’s delivery mode defined in Message Header.&lt;br /&gt;The broker acknowledges the receipt of persistent messages for  persistent messages&lt;br /&gt;but not of non persistent ones; It is not configurable by the client.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For Receiving Messages Asynchronously&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;public class ARMessageListener implements MessageListener&lt;br /&gt;{&lt;br /&gt;public void onMessage (Message inMsg) throws JMSException&lt;br /&gt;{&lt;br /&gt;Destination replyDest = inMsg.getJMSReplyTo();&lt;br /&gt;long timeStamp = inMsg.getLongProperty("JMSXRcvTimestamp");&lt;br /&gt;Enumeration propNames = inMsg.getPropertyNames();&lt;br /&gt;String eachName;&lt;br /&gt;Object eachValue;&lt;br /&gt;&lt;br /&gt;while ( propNames.hasMoreElements() )&lt;br /&gt;{&lt;br /&gt;eachName = propNames.nextElement();&lt;br /&gt;eachValue = inMsg.getObjectProperty(eachName);&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;String textBody = inMsg.getText();&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-7168200223204556301?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/7168200223204556301/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=7168200223204556301' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/7168200223204556301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/7168200223204556301'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/08/jms-design-and-analysis.html' title='JMS design and analysis'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-234689441123570934</id><published>2007-08-16T10:53:00.000-07:00</published><updated>2007-08-16T10:56:43.356-07:00</updated><title type='text'>Weka running for Linux and Unix</title><content type='html'>(1) Under package weka.gui&lt;br /&gt;&lt;br /&gt;LookAndFeel.props&lt;br /&gt;&lt;br /&gt;(2) uncomment the first configuration&lt;br /&gt;&lt;br /&gt;# Look'n'Feel configuration file&lt;br /&gt;# $Revision: 1.1.2.2 $&lt;br /&gt;&lt;br /&gt;# the theme to use, none specified or empty means the system default one&lt;br /&gt;Theme=javax.swing.plaf.metal.MetalLookAndFeel&lt;br /&gt;#Theme=com.sun.java.swing.plaf.gtk.GTKLookAndFeel&lt;br /&gt;#Theme=com.sun.java.swing.plaf.motif.MotifLookAndFeel&lt;br /&gt;#Theme=com.sun.java.swing.plaf.windows.WindowsLookAndFeel&lt;br /&gt;#Theme=com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-234689441123570934?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/234689441123570934/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=234689441123570934' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/234689441123570934'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/234689441123570934'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/08/weka-running-for-linux-and-unix.html' title='Weka running for Linux and Unix'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-5589228498737638853</id><published>2007-08-15T14:34:00.000-07:00</published><updated>2007-08-15T14:36:34.015-07:00</updated><title type='text'>Classification Time Complexity</title><content type='html'>NBTree is O(n^3)&lt;br /&gt;Decision trees is O(n^2)&lt;br /&gt;Naive Bayes is O(n).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-5589228498737638853?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/5589228498737638853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=5589228498737638853' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/5589228498737638853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/5589228498737638853'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/08/classification-time-complexity.html' title='Classification Time Complexity'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-1959151315229988664</id><published>2007-08-12T17:13:00.000-07:00</published><updated>2007-08-12T17:15:19.328-07:00</updated><title type='text'>NBTree Algorithmic Time Complexity</title><content type='html'>NBTree uses cross-validation at each node level to&lt;br /&gt;make a decision to split or construct a naive Bayes&lt;br /&gt;model.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-1959151315229988664?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/1959151315229988664/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=1959151315229988664' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/1959151315229988664'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/1959151315229988664'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/08/nbtree-algorithmic-time-complexity.html' title='NBTree Algorithmic Time Complexity'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-6966420931603014501</id><published>2007-08-10T15:45:00.001-07:00</published><updated>2007-08-10T15:50:02.154-07:00</updated><title type='text'>Curse of dynamic programming and stochastic control</title><content type='html'>(1) Curse of parameteric approximation to cost-to-go function&lt;br /&gt; (2) modeling without closed form objective function&lt;br /&gt;&lt;br /&gt;function approximation, iterative optimization, neural network learning, dynamic programming&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-6966420931603014501?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/6966420931603014501/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=6966420931603014501' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/6966420931603014501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/6966420931603014501'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/08/curse-of-dynamic-programming-and_10.html' title='Curse of dynamic programming and stochastic control'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-8653787714567924398</id><published>2007-08-10T15:45:00.000-07:00</published><updated>2007-08-10T15:47:58.967-07:00</updated><title type='text'>Curse of dynamic programming and stochastic control</title><content type='html'>(1) Curse of parameteric approximation to cost-to-go function&lt;br /&gt;   (2) modeling without closed form objective function&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-8653787714567924398?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/8653787714567924398/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=8653787714567924398' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/8653787714567924398'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/8653787714567924398'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/08/curse-of-dynamic-programming-and.html' title='Curse of dynamic programming and stochastic control'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-4730725034976581187</id><published>2007-08-06T17:37:00.000-07:00</published><updated>2007-08-06T17:42:16.984-07:00</updated><title type='text'>Attribute Selection With Weka</title><content type='html'>Uing the tab "Select attributes" in Weka to do some&lt;br /&gt;wrapper-based feature subset selection.  I encounter several different&lt;br /&gt;search methods.&lt;br /&gt;&lt;br /&gt;Greedy stepwise with parameters&lt;br /&gt;"conservativeForwardSelection" = False&lt;br /&gt;"searchBackwards" = False&lt;br /&gt;&lt;br /&gt;It does forward selection starting from an empty set of&lt;br /&gt;attributes. It stops adding attributes as soon as there&lt;br /&gt;is no single addition that improves apon the current&lt;br /&gt;best subset's merit score.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Greedy stepwise with parameter&lt;br /&gt;"conservativeForwardSelection" = True, and&lt;br /&gt;"searchBackwards" = False&lt;br /&gt;&lt;br /&gt;It does the same and it will continue to add new features as&lt;br /&gt;long as it does not decrease the merit of the current best subset.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;BestFirst with parameter "direction" = Forward&lt;br /&gt;BestFirst is a beam search. It allows backtracking to&lt;br /&gt;explore other promising search paths.&lt;br /&gt;&lt;br /&gt;The "More" button in the GenericObjectEditor&lt;br /&gt;when selecting/altering parameters for&lt;br /&gt;search methods in the Explorer.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-4730725034976581187?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/4730725034976581187/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=4730725034976581187' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/4730725034976581187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/4730725034976581187'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/08/attribute-selection-with-weka.html' title='Attribute Selection With Weka'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-2791709183350265049</id><published>2007-08-02T13:02:00.000-07:00</published><updated>2007-08-02T13:03:00.173-07:00</updated><title type='text'>Zone and CPU shares</title><content type='html'>$ pooladm -e&lt;br /&gt;$ pooladm -s&lt;br /&gt;$ pooladm -c&lt;br /&gt;&lt;br /&gt;$ poolcfg -c 'create pset pset1 (uint.min = 2 ; uint.max = 2)'&lt;br /&gt;$ poolcfg -c 'create pset pset2 (uint.min = 1 ; uint.max = 1)'&lt;br /&gt;&lt;br /&gt;$ poolcfg -c 'create pool pool1'&lt;br /&gt;$ poolcfg -c 'create pool pool2'&lt;br /&gt;&lt;br /&gt;$ poolcfg -c 'associate pool pool1 (pset pset1)'&lt;br /&gt;$ poolcfg -c 'associate pool pool2 (pset pset2)'&lt;br /&gt;&lt;br /&gt;$ pooladm -c&lt;br /&gt;&lt;br /&gt;Assuming, the zones are up &amp; running:&lt;br /&gt;$ poolbind -p pool1 -i machine1&lt;br /&gt;$ poolbind -p pool2 -i machine2&lt;br /&gt;$ poolbind -p pool2 -i machine3&lt;br /&gt;$ poolbind -p pool2 -i machine4&lt;br /&gt;$ poolbind -p pool2 -i machine5&lt;br /&gt;&lt;br /&gt;To make the bindings persistent, use&lt;br /&gt;$ zonecfg -z &lt;zone&gt; set pool=&lt;pool&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-2791709183350265049?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/2791709183350265049/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=2791709183350265049' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/2791709183350265049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/2791709183350265049'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/08/zone-and-cpu-shares.html' title='Zone and CPU shares'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-1429693949440350838</id><published>2007-08-02T12:55:00.000-07:00</published><updated>2007-08-02T12:56:15.818-07:00</updated><title type='text'>Sun Cluster supports Zone</title><content type='html'>SC3.2 does support treating a zone as a cluster node. See http://docs.sun.com/app/docs/doc/819-6611/6n8k5u1mc?a=view#gdamq&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-1429693949440350838?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/1429693949440350838/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=1429693949440350838' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/1429693949440350838'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/1429693949440350838'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/08/sun-cluster-supports-zone.html' title='Sun Cluster supports Zone'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-5916715088649281876</id><published>2007-08-02T12:52:00.000-07:00</published><updated>2007-08-02T12:53:52.250-07:00</updated><title type='text'>Zone memory limits and SWAP issues</title><content type='html'>There is no memory limit for Zones. A zone's processes are allowed to &lt;br /&gt;use as much RAM and swap as they want. Resource controls can do this&lt;br /&gt;&lt;br /&gt;Fork calls fail when there isn't enough swap space.  It returns with error &lt;br /&gt;ENOMEM, which is 12.  The second failure in your log below returned a status &lt;br /&gt;of 12.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-5916715088649281876?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/5916715088649281876/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=5916715088649281876' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/5916715088649281876'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/5916715088649281876'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/08/zone-memory-limits-and-swap-issues.html' title='Zone memory limits and SWAP issues'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-8053130569842993064</id><published>2007-08-02T12:41:00.000-07:00</published><updated>2007-08-02T12:42:12.128-07:00</updated><title type='text'>Sample Size and Dimensionality</title><content type='html'>Sample size and dimensionality are critical to parametric optimization&lt;br /&gt;of machine learning and prediction. Small datasets with high&lt;br /&gt;dimensionality poses the low ROC problem in research community.&lt;br /&gt;&lt;br /&gt;A naive Bayes classifier (Maron, 1961) is a simple probabilistic&lt;br /&gt;classifier based on applying Bayes’ theorem with strong independence&lt;br /&gt;assumptions. Depending on the precise nature of the probability model,&lt;br /&gt;naive Bayes classifiers can be trained very&lt;br /&gt;efficiently in a supervised learning setting. In many practical&lt;br /&gt;applications, parameter estimation for naive Bayes models uses the&lt;br /&gt;method of maximum likelihood. Recent researches on Bayesian&lt;br /&gt;classification problem has shown that there are some theoretical reasons&lt;br /&gt;for the apparently unreasonable efficacy of naive Bayes&lt;br /&gt;classifiers(Zhang, 2004). Because independent variables are assumed,&lt;br /&gt;only the variances of the variables for each class need to be determined&lt;br /&gt;and not the entire covariance matrix. Hence, Naive Bayes classifier&lt;br /&gt;requires small training data for classification prediction. &lt;br /&gt;&lt;br /&gt;Support vector machines (SVMs) is another set of supervised learning&lt;br /&gt;methods for classification (Cortes &amp; Vapnik, 1995). It maps input&lt;br /&gt;vectors to a higher dimensional space where a maximal separating&lt;br /&gt;hyperplane is created. Two parallel hyper-planes&lt;br /&gt;are constructed on each side of the hyperplane that separates samples.&lt;br /&gt;The separating hyperplane is the hyperplane that maximizes the distance&lt;br /&gt;between the two parallel hyper-planes. The larger the margin or distance&lt;br /&gt;between these parallel hyper-planes is, The better the generalization&lt;br /&gt;error of the classifier will be. It requires large samples.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-8053130569842993064?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/8053130569842993064/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=8053130569842993064' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/8053130569842993064'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/8053130569842993064'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/08/sample-size-and-dimensionality.html' title='Sample Size and Dimensionality'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-8442575938111693842</id><published>2007-08-02T12:38:00.000-07:00</published><updated>2007-08-02T12:40:02.884-07:00</updated><title type='text'>TCP monitoring</title><content type='html'>(1) List all tcp tunnables&lt;br /&gt;&lt;br /&gt;   ndd /dev/tcp \?&lt;br /&gt;&lt;br /&gt;(2)  get a  tcp tunnable values&lt;br /&gt;&lt;br /&gt;ndd -get /dev/tcp tcp_conn_req_max_q0&lt;br /&gt;&lt;br /&gt;(3) set a tcp tunnable&lt;br /&gt;&lt;br /&gt;ndd -set /dev/tcp tcp_conn_req_max_q0&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-8442575938111693842?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/8442575938111693842/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=8442575938111693842' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/8442575938111693842'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/8442575938111693842'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/08/tcp-monitoring.html' title='TCP monitoring'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-6207196777352112276</id><published>2007-07-31T22:04:00.000-07:00</published><updated>2007-07-31T22:05:01.630-07:00</updated><title type='text'>divide my dataset to subsets to perform some experiments on each</title><content type='html'>You can add an ID attribute to all your data using the AddID filter in&lt;br /&gt;weka.filters.unsupervised.attribute. Following this you can create your&lt;br /&gt;splits explicitly using filters in the weka.filters.unsupervised.instance package (e.g. RemovePercentage, RemoveRange and RemoveFolds) or use the cross-validation (or&lt;br /&gt;percentage split) evaluation options in the Explorer. In order to make&lt;br /&gt;sure that the ID attribute is not used by the learned models you can&lt;br /&gt;use the weka.classifiers.meta.FilteredClassifier in conjunction with&lt;br /&gt;your chosen classifier and the weka.filters.unsupervised.attribute.Remove filter in order to remove the ID attribute just prior to constructing a classifier (and at&lt;br /&gt;testing time too). With the current snapshot of the developer&lt;br /&gt;version of Weka, you can also output additional attributes alongside the&lt;br /&gt;predictions (in your case, the ID attribute).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-6207196777352112276?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/6207196777352112276/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=6207196777352112276' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/6207196777352112276'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/6207196777352112276'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/07/divide-my-dataset-to-subsets-to-perform.html' title='divide my dataset to subsets to perform some experiments on each'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-1097345268083428348</id><published>2007-07-31T13:56:00.000-07:00</published><updated>2007-07-31T14:40:00.201-07:00</updated><title type='text'>Applying Quantum Principles to GAs for Multiple Objective Scheduling</title><content type='html'>Multi-objective scheduling problem has been proposed in literature (T'kindt et. al., 1996). However, conventional meta heuristics-based methods, such as GA algorithms, were studied with single objective function to derive combinatorial optimization. &lt;br /&gt;&lt;br /&gt;Recent advances of GAs and multi-objective researches (Han et. al., 2005) applied principles of Quantum Computers to stochastic optimization problems. In addition, Q bit representation and permutation-based GA was advocated by researchers (Li &amp; Wang, 2007).  For multi-objective scheduling Q bit GA needs to obtain good approximation for both co-operative and competitive task environment. Moreover, Q bit-based permutation, crossover operators, selection, encoding, generation processes and fitness values are required to explore and exploit the large or high dimensional state spaces. It is a relaxed minimization problem with the Q-bit.&lt;br /&gt;&lt;br /&gt;Algorithm evaluation needs to combine a vector of all local objective function values for each job. However, local optimum per job and global optimum for entire task environment indicates further layer of constraint based satisfaction with enumeration of iterative policy and state transitions. Other than the optimization of enumeration, parallelization may need to considered at both system and application level. Furthermore, pipelined processing and data parallelization are critical to reduce both time and space complexities.&lt;br /&gt;&lt;br /&gt;Han et. al. (2005). A quantum-inspired genetic algorithm for flow shop scheduling. Springer-Velag.&lt;br /&gt;T'kindt et. al.(1996). Multicriteria Scheduling: Theory, Models and Algorithms. Springer-Velag, 2002.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-1097345268083428348?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/1097345268083428348/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=1097345268083428348' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/1097345268083428348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/1097345268083428348'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/07/applying-quantum-principles-to-gas-for.html' title='Applying Quantum Principles to GAs for Multiple Objective Scheduling'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-3516841439393898635</id><published>2007-07-31T13:29:00.000-07:00</published><updated>2007-07-31T13:32:49.371-07:00</updated><title type='text'>Enable and Disable dhcpagent</title><content type='html'>To enable and disable DHCP Agent&lt;br /&gt;&lt;br /&gt;sys-unconfig&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-3516841439393898635?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/3516841439393898635/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=3516841439393898635' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/3516841439393898635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/3516841439393898635'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/07/enable-and-disable-dhcpagent.html' title='Enable and Disable dhcpagent'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-7763773544268234482</id><published>2007-07-26T22:31:00.000-07:00</published><updated>2007-07-26T22:33:01.111-07:00</updated><title type='text'>Balance Dataset</title><content type='html'>A dataset with 2 unbalanced classes.  7,500 rows belong to Class A&lt;br /&gt;and 2,500 rows belong to Class B.  How do I randomly select rows from&lt;br /&gt;Class A and Class B to balance the dataset&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Using weka.filters.supervised.instance.SpreadSubsample with a&lt;br /&gt;value of 1 (uniform) for the distributionSpread parameter.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-7763773544268234482?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/7763773544268234482/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=7763773544268234482' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/7763773544268234482'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/7763773544268234482'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/07/balance-dataset.html' title='Balance Dataset'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-7229955533759146246</id><published>2007-07-24T11:13:00.000-07:00</published><updated>2007-07-24T11:14:38.818-07:00</updated><title type='text'>Selective Attribute for classification training</title><content type='html'>The easiest way to do this would be to first make a copy of the&lt;br /&gt;Instances object (Instances copyt = new Instances(train)) holding your &lt;br /&gt;training data. Then for each instance that has values that you don't&lt;br /&gt;want to train on set them to "missing". I.e. assume i is an instance&lt;br /&gt;and the value at attribute 3 is to be skipped when training naive &lt;br /&gt;Bayes, then i.setMissing(2) would do the trick. Note, that this&lt;br /&gt;approach is specific to the way that naive Bayes works.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-7229955533759146246?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/7229955533759146246/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=7229955533759146246' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/7229955533759146246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/7229955533759146246'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/07/selective-attribute-for-classification.html' title='Selective Attribute for classification training'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-560200748939871903</id><published>2007-07-24T07:43:00.000-07:00</published><updated>2007-07-24T07:46:26.516-07:00</updated><title type='text'>BI Feature Selection</title><content type='html'>A BI Feature selection descritipn:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;"The random search method (weka.attributeSelection.RandomSearch)&lt;br /&gt;in the attribute selection package that can be combined with any&lt;br /&gt;feature subset evaluator in order to search for good subsets randomly.&lt;br /&gt;If no start set is supplied, Random search starts from a random point&lt;br /&gt;and reports the best subset found. If a start set is supplied, Random&lt;br /&gt;searches randomly for subsets that are as good or better than the&lt;br /&gt;start point with the same or or fewer attributes."&lt;br /&gt;&lt;br /&gt;But heuristically, with some confidence, the 50000&lt;br /&gt;features selected using Chi-squared correlation produce a more&lt;br /&gt;accurate SVM model than 50000 features selected uniformly at random.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-560200748939871903?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/560200748939871903/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=560200748939871903' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/560200748939871903'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/560200748939871903'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/07/bi-feature-selection.html' title='BI Feature Selection'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-6901000275797197328</id><published>2007-07-19T20:39:00.000-07:00</published><updated>2007-07-19T20:41:44.800-07:00</updated><title type='text'>CPU performance counter</title><content type='html'>(1) AMD Performance Counter, http://developer.amd.com/article_print.jsp?id=90 &lt;br /&gt;(2) cpustat and cputrack , trapstat&lt;br /&gt;(3) lib.cpc&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-6901000275797197328?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/6901000275797197328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=6901000275797197328' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/6901000275797197328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/6901000275797197328'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/07/cpu-performance-counter.html' title='CPU performance counter'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-1043723521614886643</id><published>2007-07-19T19:06:00.001-07:00</published><updated>2007-07-19T19:08:51.050-07:00</updated><title type='text'>ID Problem Formulation</title><content type='html'>(1) Since I formulated the ID as stochastic DP problem. It owns&lt;br /&gt;properties&lt;br /&gt;of dynamic.  &lt;br /&gt;(2) To handle large state space and unknown attack type, the DP problem&lt;br /&gt;transformed into adaptive tuning problem. Adaptiveness in terms of tunning&lt;br /&gt;the networks interactively.  &lt;br /&gt;&lt;br /&gt;The properties of problem formulation has been addressed in the problem&lt;br /&gt;formulation section.  I have mathematical proof for the above items.  It has been&lt;br /&gt;further addressed in the methodology section of the formal paper.  &lt;br /&gt;&lt;br /&gt;As for the time constraints, do you mean I need time to implement the&lt;br /&gt;entire mathematical framework as a software ? If so, it is true that I need to implement it&lt;br /&gt;myself since existing tools such as MatLab only handle traditional weights tuning for fixed&lt;br /&gt;neuro networks. In addition, no RL toolbox yet.  This research counts on my own implementation for proposed algorithmic operations.  As for the dataset preprocessing, it will not be issue for&lt;br /&gt;me since I/O formating is ok for me.&lt;br /&gt;&lt;br /&gt;False alarm ratio is only evaluated from known attacks from research&lt;br /&gt;point of review.  In real time system operation,  it can not be proved by research framework.&lt;br /&gt; This is the motivation 67to come up with "Tuning" framework for online detection in order to&lt;br /&gt;reduce the false alarm ratio.Hence, false alarm problem is relaxed as the problem of "Tuning" of DP 5tproblem.  This is one 1of the major advantagesyt of this research proposal.&lt;br /&gt;&lt;br /&gt;Dataset is only critical for traditional neuro learning but not this&lt;br /&gt;research.  parameter is not restricted for this research either.  All these are traditional neuro&lt;br /&gt;learning problem.  That is 238x3ethe motivation to propose RL based "Tuning" framework.  This is one of major advantages of this&lt;br /&gt;research proposal. For the specific host and network attack (spoofing&lt;br /&gt;and memory overflow)&lt;br /&gt;I have mathematical proof for this research.  For the implementation, I&lt;br /&gt;have to start with arbitrary&lt;br /&gt;parameters and architecture.  It is important to know that there is no&lt;br /&gt;readily training set of state&lt;br /&gt;and ROC function in DP context.  The possible way is to evaluate the ROC&lt;br /&gt;function by simulation&lt;br /&gt;state decisions. Afterwards, using RL based interactive algorithm to&lt;br /&gt;improve the ROC value.  That&lt;br /&gt;is the most key point of the research design.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-1043723521614886643?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/1043723521614886643/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=1043723521614886643' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/1043723521614886643'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/1043723521614886643'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/07/id-problem-formulation.html' title='ID Problem Formulation'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-8911268560543762948</id><published>2007-07-19T19:00:00.000-07:00</published><updated>2007-07-19T19:01:57.058-07:00</updated><title type='text'>Versioning Manager Output</title><content type='html'>Singleton VersioningManager can output any JComponent to the console&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-8911268560543762948?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/8911268560543762948/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=8911268560543762948' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/8911268560543762948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/8911268560543762948'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/07/versioning-manager-output.html' title='Versioning Manager Output'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-5414057983889140115</id><published>2007-07-19T18:54:00.000-07:00</published><updated>2007-07-19T18:59:52.578-07:00</updated><title type='text'>NB Back End Threaded Progresses</title><content type='html'>(1) Runnable for backend long run processes and  Progress Handle management&lt;br /&gt;Runnable allRunnable = new Runnable() {&lt;br /&gt;            WorkspaceMgr mgr = null;&lt;br /&gt;            Workspace ws = PerforceConfig.getDefault().getDefaultWorkspace();&lt;br /&gt;            ProgressHandle handle = null;&lt;br /&gt;&lt;br /&gt;            public void run() {&lt;br /&gt;                try {&lt;br /&gt;                    handle = ProgressHandleFactory.createHandle(NbBundle.getMessage(PerforceAnnotator.class, "CTL_PopupMenuItem_ViewAllChangelist"));&lt;br /&gt;                    mgr = new WorkspaceMgr(ws);&lt;br /&gt;                    handle.start();&lt;br /&gt;                    showAllChangelist(changes);&lt;br /&gt;                    SwingUtilities.invokeLater(new Runnable() {&lt;br /&gt;&lt;br /&gt;                        public void run() {&lt;br /&gt;                            ChangelistView comp = ChangelistView.findInstance();&lt;br /&gt;                            VersioningOutputManager.getInstance().addComponent(NbBundle.getMessage(PerforceAnnotator.class, "CTL_PopupMenuItem_ViewAllChangelist"), comp);&lt;br /&gt;                            comp.setContext(ctx, changes);&lt;br /&gt;                            comp.setDisplayName(NbBundle.getMessage(PerforceAnnotator.class, "CTL_PopupMenuItem_ViewAllChangelist"));&lt;br /&gt;                            //comp.open();&lt;br /&gt;                            comp.requestActive();&lt;br /&gt;                        }&lt;br /&gt;                    });&lt;br /&gt;                } catch (WorkspaceException ex) {&lt;br /&gt;                    Exceptions.printStackTrace(ex);&lt;br /&gt;                } finally {&lt;br /&gt;                    handle.finish();&lt;br /&gt;                }&lt;br /&gt;            }&lt;br /&gt;        };&lt;br /&gt;&lt;br /&gt;(2) UI current thread context&lt;br /&gt;&lt;br /&gt; if (cmd.equals(NbBundle.getMessage(PerforceAnnotator.class, "CTL_PopupMenuItem_ViewAllChangelist"))) {&lt;br /&gt;            RequestProcessor.getDefault().post(allRunnable);&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;(3) So, current thread, spawn thread for progress bar and backend process, back to UI population&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-5414057983889140115?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/5414057983889140115/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=5414057983889140115' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/5414057983889140115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/5414057983889140115'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/07/nb-back-end-threaded-progresses.html' title='NB Back End Threaded Progresses'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-2967603380436363368</id><published>2007-07-19T18:19:00.000-07:00</published><updated>2007-07-19T19:04:47.763-07:00</updated><title type='text'>Performance Analysis and Methodology</title><content type='html'>Performance analysis and methodologies are very broad topics. It is about optimization. Performance as a set of Bellman equations to solve. Traditional states and performance functions&lt;br /&gt;enumerations does not address the performance evaluation issues&lt;br /&gt;since a traditional MDP problem results in large state transitions&lt;br /&gt;or high dimensional performance feature extractions. For a networking&lt;br /&gt;only related problem formulation may involved into 30+ performance&lt;br /&gt;parameters and for Solaris kernel, it involves 100+ parameters.&lt;br /&gt;Hence, dynamic and adaptive performance analysis and associated&lt;br /&gt;resource utilization analysis may reach the optimum&lt;br /&gt;performance function evaluation with fast convergence.&lt;br /&gt;&lt;br /&gt;It is involved with Performance Metrics (Parameters, feature extractions),  Performance Functions, Performance Evaluations, Performance Learning, Performance Instrumentation, Performance Management and Adaptive Tuning etc.  It really depends on specific issues to formulate the specific problem into adequate function, models to resolve the performance issues.&lt;br /&gt;&lt;br /&gt;In addition, from CS analysis and design methods such as dynamic programming, divide by conquer, greedy and amortization. They are popular techniques to address performance from subproblem to global problems. However, to achieve end-to-end performance gains such as network tuning, global optimum may be the most concerns instead of local optimum. In addition, queuing theory has been widely adopts for traditional SMP based performance management and capacity planning.&lt;br /&gt;Core based parallelism and pipelining introducing many new issues down&lt;br /&gt;the road.  Is queuing still works well for parallelism paradigm, if not&lt;br /&gt;what will be the optimization, if yes, what will be proper queue&lt;br /&gt;partitioning etc&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In general quantitative methods should be the main theme of the analysis&lt;br /&gt;and evaluation.  It is hard to generalize as a whole but specific to&lt;br /&gt;the target problem formulations.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-2967603380436363368?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/2967603380436363368/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=2967603380436363368' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/2967603380436363368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/2967603380436363368'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/07/performance-analysis-and-methodology.html' title='Performance Analysis and Methodology'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-578765656959326220</id><published>2007-07-19T18:13:00.000-07:00</published><updated>2007-07-19T18:15:40.364-07:00</updated><title type='text'>P4 Annotation For Security Compliance Auditing</title><content type='html'>P4 annotate is the solution to discover the code change per version and who submit the change&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-578765656959326220?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/578765656959326220/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=578765656959326220' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/578765656959326220'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/578765656959326220'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/07/p4-annotation-for-security-compliance.html' title='P4 Annotation For Security Compliance Auditing'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-2356083007091928778</id><published>2007-07-13T11:45:00.000-07:00</published><updated>2007-07-13T11:47:53.490-07:00</updated><title type='text'>P4 job</title><content type='html'>(1) P4 job specification can be customized&lt;br /&gt;(2) create p4 job with the above specification&lt;br /&gt;(3) lookup jobs assigned to specific developers&lt;br /&gt;(4) developer edit src and submit the changelist&lt;br /&gt;(5) developer run "fix" to associated submitted "changeNo" with job to ensure job is in closed state&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-2356083007091928778?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/2356083007091928778/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=2356083007091928778' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/2356083007091928778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/2356083007091928778'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/07/p4-job.html' title='P4 job'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-7956658889940839952</id><published>2007-07-13T10:02:00.001-07:00</published><updated>2007-07-13T10:02:35.998-07:00</updated><title type='text'>P4 Labeling</title><content type='html'>It is not encourage to use label but changelist.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-7956658889940839952?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/7956658889940839952/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=7956658889940839952' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/7956658889940839952'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/7956658889940839952'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/07/p4-labeling.html' title='P4 Labeling'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-1054271004110733954</id><published>2007-07-13T09:57:00.000-07:00</published><updated>2007-07-13T11:49:48.403-07:00</updated><title type='text'>P4 branch</title><content type='html'>(1) Branch can be created with "integrate" for the "From Files" to "To Files" following by "submit"&lt;br /&gt;    However, Branch is the best practice to create branch. Because, with branches, &lt;br /&gt;    integrate -b branchname -r (bi-direction population can happen)&lt;br /&gt;(2) any working branch can only populate the change with "integrate" with "submit" again. All    conflicts willl be reported during submission phases.  &lt;br /&gt;(3) resolve action will be taken by user&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-1054271004110733954?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/1054271004110733954/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=1054271004110733954' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/1054271004110733954'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/1054271004110733954'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/07/p4-branch.html' title='P4 branch'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-3870891618086294129</id><published>2007-07-13T09:43:00.000-07:00</published><updated>2007-07-13T09:44:37.885-07:00</updated><title type='text'>HTTP/S for Performance Management Analysis/Report</title><content type='html'>First, it is a common engineering practice for&lt;br /&gt;agent to collect data for analysis and report&lt;br /&gt;layers in system management space.  It happens&lt;br /&gt;to all industrial players.&lt;br /&gt;In addition, three tier performance management&lt;br /&gt;architecture is also considered as the best&lt;br /&gt;practice to scale to large data center performance&lt;br /&gt;management. It can be further processing for event&lt;br /&gt;collaboration for even larger performance&lt;br /&gt;management crossing data centers.&lt;br /&gt;&lt;br /&gt;Second, HTTPS is a security compliant requirement.&lt;br /&gt;It is part of compliance practice.&lt;br /&gt;&lt;br /&gt;The only limitation is that it is coming from&lt;br /&gt;hosts and server domain management. If goes to&lt;br /&gt;small devices management such as fans or power controller&lt;br /&gt;The only methods now is SNMP or SNMP/S.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-3870891618086294129?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/3870891618086294129/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=3870891618086294129' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/3870891618086294129'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/3870891618086294129'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/07/https-for-performance-management.html' title='HTTP/S for Performance Management Analysis/Report'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-4052807274904570105</id><published>2007-07-13T09:33:00.000-07:00</published><updated>2007-07-13T09:35:07.811-07:00</updated><title type='text'>Crypto on T2000</title><content type='html'>Crytpo framework supports SCA6000 crypto provider for all NG zones, if it's configured.changes to the crypto framework config can only be done from the Global zone. You can list the providers from within the non-global zone but cannot change.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-4052807274904570105?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/4052807274904570105/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=4052807274904570105' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/4052807274904570105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/4052807274904570105'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/07/crypto-on-t2000.html' title='Crypto on T2000'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-7173260083446394243</id><published>2007-07-05T11:18:00.000-07:00</published><updated>2007-07-05T11:19:11.738-07:00</updated><title type='text'>Solaris Resource Management</title><content type='html'>From resource control, prcess level&lt;br /&gt;control will pass in pid which is run&lt;br /&gt;time only.  So we create project to&lt;br /&gt;assigned user progress to modify the&lt;br /&gt;resource control per project based without&lt;br /&gt;knowing pid.  Of course, I want to try&lt;br /&gt;pid too.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(1)Create a project&lt;br /&gt;# projadd -U progress -p 8888 openedge&lt;br /&gt;(2)  projmod -c "It is project for resource control on openedge database" openedge&lt;br /&gt;(3)List projects created&lt;br /&gt;# project -l&lt;br /&gt;ksh: project:  not found&lt;br /&gt;# projects -l&lt;br /&gt;system    (System built-in project, project id 0)&lt;br /&gt;        projid : 0&lt;br /&gt;        comment: ""&lt;br /&gt;        users  : (none)&lt;br /&gt;        groups : (none)&lt;br /&gt;        attribs:&lt;br /&gt;user.root (System built-in project, project id 1)&lt;br /&gt;        projid : 1&lt;br /&gt;        comment: ""&lt;br /&gt;        users  : (none)&lt;br /&gt;        groups : (none)&lt;br /&gt;        attribs:&lt;br /&gt;noproject (System built-in project, project id 2)&lt;br /&gt;        projid : 2&lt;br /&gt;        comment: ""&lt;br /&gt;        users  : (none)&lt;br /&gt;        groups : (none)&lt;br /&gt;        attribs:&lt;br /&gt;default          (System built-in project, project id 3&lt;br /&gt;        projid : 3&lt;br /&gt;        comment: ""&lt;br /&gt;        users  : (none)&lt;br /&gt;        groups : (none)&lt;br /&gt;        attribs:&lt;br /&gt;group.staff (System built-in project, project id 10)&lt;br /&gt;        projid : 10&lt;br /&gt;        comment: ""&lt;br /&gt;        users  : (none)&lt;br /&gt;        groups : (none)&lt;br /&gt;        attribs:&lt;br /&gt;openedge (Project we created with designated id 8888)&lt;br /&gt;        projid : 8888&lt;br /&gt;        comment: "It is project for resource control on openedge database"&lt;br /&gt;        users  : progress&lt;br /&gt;        groups : (none)&lt;br /&gt;        attribs:&lt;br /&gt;(3) check project membership&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;id -p &lt;userID&gt;&lt;br /&gt;&lt;br /&gt;# id -p&lt;br /&gt;uid=0(root) gid=0(root) projid=1(user.root)&lt;br /&gt;&lt;br /&gt;You can see root belongs to built-in project id1 which is user.root&lt;br /&gt;&lt;br /&gt;# prstat -J&lt;br /&gt;   PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP&lt;br /&gt;   707 noaccess  222M  133M sleep   59    0   0:01:47 0.0% java/55&lt;br /&gt;  1025 root     4776K 4232K cpu8    59    0   0:00:00 0.0% prstat/1&lt;br /&gt;   118 root     5216K 4728K sleep   59    0   0:00:02 0.0% nscd/26&lt;br /&gt;   117 root     4640K 4008K sleep   59    0   0:00:00 0.0% picld/4&lt;br /&gt;   125 root     2592K 2080K sleep   59    0   0:00:00 0.0% syseventd/14&lt;br /&gt;   258 daemon   2752K 2432K sleep   59    0   0:00:00 0.0% statd/1&lt;br /&gt;   371 root     4856K 1672K sleep   59    0   0:00:00 0.0% automountd/2&lt;br /&gt;    97 root     2552K 2176K sleep   59    0   0:00:00 0.0% snmpdx/1&lt;br /&gt;    55 root     9160K 7528K sleep   59    0   0:00:01 0.0% snmpd/1&lt;br /&gt;   308 root     2080K 1224K sleep   59    0   0:00:00 0.0% smcboot/1&lt;br /&gt;   259 daemon   2432K 2136K sleep   60  -20   0:00:00 0.0% nfs4cbd/2&lt;br /&gt;   249 root     2728K 1632K sleep   59    0   0:00:00 0.0% cron/1&lt;br /&gt;     9 root       11M   10M sleep   59    0   0:00:19 0.0% svc.configd/17&lt;br /&gt;     7 root       19M   17M sleep   59    0   0:00:08 0.0% svc.startd/12&lt;br /&gt;   136 daemon   4680K 3528K sleep   59    0   0:00:00 0.0% kcfd/5&lt;br /&gt;PROJID    NPROC  SIZE   RSS MEMORY      TIME  CPU PROJECT&lt;br /&gt;     1        5   10M 9488K   0.0%   0:00:00 0.0% user.root&lt;br /&gt;     3        1 1376K 1280K   0.0%   0:00:00 0.0% default&lt;br /&gt;     0       37  390M  257M   0.7%   0:02:21 0.0% system&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Total: 43 processes, 218 lwps, load averages: 0.01, 0.01, 0.01&lt;br /&gt;&lt;br /&gt;# id -p root&lt;br /&gt;uid=0(root) gid=0(root) projid=1(user.root)&lt;br /&gt;# id -p daemon&lt;br /&gt;uid=1(daemon) gid=1(other) projid=3(default)&lt;br /&gt;# id -p noaccess&lt;br /&gt;uid=60002(noaccess) gid=60002(noaccess) projid=3(default)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;svcadm enable system/pools:default (resource pools framework)&lt;br /&gt;svcadm enable system/pools/dynamic:default (dynamic resource pools)&lt;br /&gt;svcadm enable svc:/system/pools:default (enable DRP service)&lt;br /&gt;&lt;br /&gt;Check if pool services and dynamic pool service are enabled&lt;br /&gt;&lt;br /&gt;# svcs *pool*&lt;br /&gt;STATE          STIME    FMRI&lt;br /&gt;online         11:10:01 svc:/system/pools:default&lt;br /&gt;online         11:11:05 svc:/system/pools/dynamic:default&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-7173260083446394243?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/7173260083446394243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=7173260083446394243' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/7173260083446394243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/7173260083446394243'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/07/solaris-resource-management.html' title='Solaris Resource Management'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-4350060628444793515</id><published>2007-07-05T11:16:00.000-07:00</published><updated>2007-07-05T11:17:04.840-07:00</updated><title type='text'>Share Memory setting in Soalris 10 or +</title><content type='html'>(1) If it is a shared memory issue,  it may not be zone specific but S10 specific. Since it&lt;br /&gt;    /etc/system is not good practice but following S10 resource control practices&lt;br /&gt;(2) Using prctl to project or even process based control. However, you need to create&lt;br /&gt;     project and assign user which running the process to the project.  I have experienced&lt;br /&gt;     some bugs before to do this assignment.  However, to login as the user then su to&lt;br /&gt;    root to assign the project&lt;br /&gt;(3) projmod -s -K "project.max-shm-memory=(privileged, 8GB, deny) xxx&lt;br /&gt;&lt;br /&gt;You may need to run it in global zone first before moving into local zone.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-4350060628444793515?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/4350060628444793515/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=4350060628444793515' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/4350060628444793515'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/4350060628444793515'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/07/share-memory-setting-in-soalris-10-or.html' title='Share Memory setting in Soalris 10 or +'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-6514410139987934231</id><published>2007-07-05T10:39:00.000-07:00</published><updated>2007-07-05T10:40:08.445-07:00</updated><title type='text'>Core and LDOM Performance Management</title><content type='html'>Core and LDOM based system operations introduces parametric &lt;br /&gt;modeling and approximation optimization problems from &lt;br /&gt;traditional execution time to throughput, IPC, parallelism &lt;br /&gt;and pipelining.  This is applied to OS modeling and &lt;br /&gt;performance management. It impacts the predictive &lt;br /&gt;monitoring, analysis and  reporting. This has been my &lt;br /&gt;engineering interests since I worked in&lt;br /&gt;system management and integration spaces.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-6514410139987934231?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/6514410139987934231/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=6514410139987934231' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/6514410139987934231'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/6514410139987934231'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/07/core-and-ldom-performance-management.html' title='Core and LDOM Performance Management'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-5618561923156410745</id><published>2007-07-03T08:15:00.000-07:00</published><updated>2007-07-03T08:16:12.061-07:00</updated><title type='text'></title><content type='html'>From CMT perspective, out T1, AMD, Intel x86 platforms does introduce variance from traditional&lt;br /&gt;SMP platforms.  First, from HW platform point of view, physical processor structures changed to core&lt;br /&gt;based, Second from Solaris point of view, kernel CPU structures, CPC counters, CPUTrack, CPUStat&lt;br /&gt;Kstat changed (including all core changes),  Third, from system management point of  SNMP MIBII&lt;br /&gt;database structure changed.  This will impact current system management parametric model learning and system management view design.&lt;br /&gt;From LDOM perspective, more virtualization based predictive modeling and reporting design needs to&lt;br /&gt;be enhanced to predict and measure physical resources, kernel CPU structures, CPC counters and MIB&lt;br /&gt;structures.&lt;br /&gt;&lt;br /&gt;In general, to have system management to be earlier CMT and LDOM adaptor, they could need some level of support from Sun.  This is just a proactive assessments.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-5618561923156410745?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/5618561923156410745/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=5618561923156410745' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/5618561923156410745'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/5618561923156410745'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/07/from-cmt-perspective-out-t1-amd-intel.html' title=''/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-4342120107086281564</id><published>2007-06-29T15:57:00.000-07:00</published><updated>2007-06-29T15:59:13.976-07:00</updated><title type='text'>Load Generation Appliance</title><content type='html'>Spirent AVALANCHE LOAD TESTING APPLIANCE&lt;br /&gt;&lt;br /&gt;http://www.spirentfederal.com/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-4342120107086281564?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/4342120107086281564/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=4342120107086281564' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/4342120107086281564'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/4342120107086281564'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/load-generation-appliance.html' title='Load Generation Appliance'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-2924651725530094069</id><published>2007-06-25T09:42:00.000-07:00</published><updated>2007-06-25T09:43:11.476-07:00</updated><title type='text'>S12 Compliation flag</title><content type='html'>S12 update compilation flag: -xarch=v9 is deprecated, use -m64 to create 64-bit programs&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-2924651725530094069?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/2924651725530094069/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=2924651725530094069' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/2924651725530094069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/2924651725530094069'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/s12-compliation-flag.html' title='S12 Compliation flag'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-8384787035444369378</id><published>2007-06-20T13:34:00.000-07:00</published><updated>2007-06-20T13:35:46.047-07:00</updated><title type='text'>Long Pause GC ?</title><content type='html'>GC can be well tunned from 1.5.x above.&lt;br /&gt;&lt;br /&gt;http://www.sun.com/bigadmin/content/submitted/cms_gc_logs.html &lt;br /&gt;http://java.sun.com/performance/reference/whitepapers/tuning.html&lt;br /&gt;http://twiki.sfbay.sun.com/pub/MDE/ISVESystemsProjects/TS-2885-14.pdf&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-8384787035444369378?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/8384787035444369378/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=8384787035444369378' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/8384787035444369378'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/8384787035444369378'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/long-pause-gc.html' title='Long Pause GC ?'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-7341758720274311316</id><published>2007-06-20T13:33:00.001-07:00</published><updated>2007-06-20T13:33:56.757-07:00</updated><title type='text'>Interesting military Security Training, Open Solaris</title><content type='html'>http://www.gcn.com/print/26_09/43562-1.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-7341758720274311316?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/7341758720274311316/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=7341758720274311316' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/7341758720274311316'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/7341758720274311316'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/interesting-military-security-training.html' title='Interesting military Security Training, Open Solaris'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-108781280894473886</id><published>2007-06-20T13:28:00.000-07:00</published><updated>2007-06-20T13:29:42.888-07:00</updated><title type='text'>NB Debug Thread Dead Lock</title><content type='html'>It seems SMP helps NB debugger for current build&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-108781280894473886?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/108781280894473886/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=108781280894473886' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/108781280894473886'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/108781280894473886'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/nb-debug-thread-dead-lock.html' title='NB Debug Thread Dead Lock'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-1644662533593970108</id><published>2007-06-19T08:30:00.000-07:00</published><updated>2007-06-19T18:31:58.186-07:00</updated><title type='text'>Workspace Management</title><content type='html'>Main Menu Action is triggered by "Annotator"&lt;br /&gt;&lt;br /&gt;(1) CreateWorkspaceAction -- Currently Setup Workspace and save the extra UpdateWorkspace Action&lt;br /&gt;    This action is triggered by "Annotator" getAction routine&lt;br /&gt;(2) Needs Remove Workspace Action to remove current Preferences cache and Remote depot.&lt;br /&gt;    This action is triggered by "Annotator" getAction routine&lt;br /&gt;(3)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-1644662533593970108?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/1644662533593970108/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=1644662533593970108' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/1644662533593970108'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/1644662533593970108'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/workspace-management.html' title='Workspace Management'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-6725235652116159959</id><published>2007-06-18T17:18:00.000-07:00</published><updated>2007-06-20T13:30:54.096-07:00</updated><title type='text'>NB Short Build</title><content type='html'>cvs -d :pserver:leiliu@cvsnetbeansorg.sfbay.sun.com:/cvs login&lt;br /&gt;cvs -d :pserver:leiliu@cvsnetbeansorg.sfbay.sun.com:/cvs co -P standard_nowww&lt;br /&gt;&lt;br /&gt;cvs -d :pserver:leiliu@cvs.netbeans.org:/cvs login&lt;br /&gt;cvs -d :pserver:leiliu@cvs.netbeans.org:/cvs co -P standard_nowww&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ant -Dcluster.config=standard&lt;br /&gt;&lt;br /&gt;or may need to try ant build-nozip first.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;With CVS functions&lt;br /&gt;&lt;br /&gt;ant -Dcluster.config=basic&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-6725235652116159959?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/6725235652116159959/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=6725235652116159959' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/6725235652116159959'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/6725235652116159959'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/nb-short-build.html' title='NB Short Build'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-5998750987445120044</id><published>2007-06-18T17:16:00.000-07:00</published><updated>2007-06-18T17:18:37.276-07:00</updated><title type='text'>NB cached .netbeans dir caused problem</title><content type='html'>(1) It is recommended to clean up the .netbeans dir under $HOME in order to have new build working&lt;br /&gt;fully.&lt;br /&gt;(2) a short build&lt;br /&gt;&lt;br /&gt;cvs -d :pserver:leiliu@cvsnetbeansorg.sfbay.sun.com:/cvs login&lt;br /&gt;cvs -d :pserver:leiliu@cvsnetbeansorg.sfbay.sun.com:/cvs co -P standard_nowww&lt;br /&gt;&lt;br /&gt;cvs -d :pserver:leiliu@cvs.netbeans.org:/cvs login&lt;br /&gt;cvs -d :pserver:leiliu@cvs.netbeans.org:/cvs co -P standard_nowww&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ant -Dcluster.config=standard&lt;br /&gt;&lt;br /&gt;or may need to try ant build-nozip first.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-5998750987445120044?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/5998750987445120044/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=5998750987445120044' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/5998750987445120044'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/5998750987445120044'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/nb-cached-netbeans-dir-caused-problem.html' title='NB cached .netbeans dir caused problem'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-4397210114758637581</id><published>2007-06-16T09:13:00.000-07:00</published><updated>2007-06-16T09:38:20.637-07:00</updated><title type='text'>NB Plugin</title><content type='html'>1. rename cvsmodule as perforce&lt;br /&gt;2. change all project and service meta data  -&gt;&gt;&gt;&gt;&gt; Here is PerforceVCS&lt;br /&gt;3. replace.sh cvs -&gt; perforce, CVS -&gt; Perforce&lt;br /&gt;4. PerforceRoot change back to CVSRoot first.&lt;br /&gt;&lt;br /&gt;We can get a build now.&lt;br /&gt;&lt;br /&gt;Change Menu action name: Each Action has &lt;br /&gt;&lt;br /&gt;public String getName() {&lt;br /&gt;        return NbBundle.getBundle(CreateWorkspaceAction.class).getString("CTL_MenuItem_XX_Label");&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;CTL_MenuItem_XX_Label is located in Bundle.properties file of each action package&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-4397210114758637581?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/4397210114758637581/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=4397210114758637581' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/4397210114758637581'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/4397210114758637581'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/nb-plugin.html' title='NB Plugin'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-2995938168713321370</id><published>2007-06-15T19:53:00.000-07:00</published><updated>2007-06-15T20:11:45.525-07:00</updated><title type='text'>Problem of Broadcom Wireless Controller on S11 with Acer Ferrari 3400 laptop</title><content type='html'>I have ferrari 3400 latop with S11 OS kernel 5.11 snv_64a i86pc i386 i86pc&lt;br /&gt;&lt;br /&gt;(1) Locate Wireless Controller as Broadcom BCM4306 802.11b/g Wireless LAN Controller&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# /usr/X11/bin/scanpci -v&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;pci bus 0x0000 cardnum 0x09 function 0x00: vendor 0x14e4 device 0x4320&lt;br /&gt; Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller&lt;br /&gt; CardVendor 0x185f card 0x1220 (Wistron NeWeb Corp. TravelMate 290E WLAN Mini-PCI Card)&lt;br /&gt;  STATUS    0x0000  COMMAND 0x0006&lt;br /&gt;  CLASS     0x02 0x80 0x00  REVISION 0x03&lt;br /&gt;  BIST      0x00  HEADER 0x00  LATENCY 0x40  CACHE 0x00&lt;br /&gt;  BASE0     0xd0014000  addr 0xd0014000  MEM&lt;br /&gt;  MAX_LAT   0x00  MIN_GNT 0x00  INT_PIN 0x01  INT_LINE 0x0a&lt;br /&gt;  BYTE_0    0x01  BYTE_1  0x00  BYTE_2  0xc2  BYTE_3  0x07&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(2)  modinfo | grep bcm&lt;br /&gt;&lt;br /&gt;Found the driver is not loaded&lt;br /&gt;&lt;br /&gt;(3) Manually loaded driver&lt;br /&gt;&lt;br /&gt; modload /kernel/drv/amd64/bcmndis&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# modinfo | grep bcm&lt;br /&gt;201 fffffffff7a39000  a3598 222   1  bcmndis (bcmndis(ndis wrapper 1.6))&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(4) # grep bcm /etc/driver_aliases&lt;br /&gt;bcmndis "pci14e4,4320"&lt;br /&gt;bcmndis "pci14e4,1a"&lt;br /&gt;&lt;br /&gt;(5) update_drv -a -i '"pci14e4,1a"' bcmndis&lt;br /&gt;("pci14e4,1a") already in use as a driver or alias&lt;br /&gt;&lt;br /&gt;(6) &lt;br /&gt; dladm show-link&lt;br /&gt;bcmndis0        type: legacy    mtu: 1500       device: bcmndis0&lt;br /&gt;bge0            type: non-vlan  mtu: 1500       device: bge0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(7)  ifconfig bcmndis0 plumb&lt;br /&gt;&lt;br /&gt;(8) ifconfig -a&lt;br /&gt;lo0: flags=2001000849&lt;UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL&gt; mtu 8232 index 1&lt;br /&gt;        inet 127.0.0.1 netmask ff000000 &lt;br /&gt;bge0: flags=201004843&lt;UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4,CoS&gt; mtu 1500 index 2&lt;br /&gt;        inet 192.168.1.100 netmask ffffff00 broadcast 192.168.1.255&lt;br /&gt;        ether 0:c0:9f:9e:41:5 &lt;br /&gt;ip.tun0: flags=10010008d1&lt;UP,POINTOPOINT,RUNNING,NOARP,MULTICAST,IPv4,FIXEDMTU&gt; mtu 1366 index 3&lt;br /&gt;        inet tunnel src 192.168.1.100 tunnel dst 192.18.32.151&lt;br /&gt;        tunnel security settings  esp (aes-cbc/hmac-md5)&lt;br /&gt;        tunnel hop limit 60 &lt;br /&gt;        inet 129.150.13.3 --&gt; 129.145.40.124 netmask ffffffff &lt;br /&gt;bcmndis0: flags=201000842&lt;BROADCAST,RUNNING,MULTICAST,IPv4,CoS&gt; mtu 1500 index 4&lt;br /&gt;        inet 0.0.0.0 netmask 0 &lt;br /&gt;        ether 0:b:6b:4c:4a:ec &lt;br /&gt;(9)&lt;br /&gt; wificonfig -i bcmndis0 scan&lt;br /&gt;essid   bssid             type          encryption      signallevel&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It failed to discovered any router or access point.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;However, if we boot as 32 bit kernel then it works&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-2995938168713321370?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/2995938168713321370/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=2995938168713321370' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/2995938168713321370'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/2995938168713321370'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/problem-of-broadcom-wireless-controller.html' title='Problem of Broadcom Wireless Controller on S11 with Acer Ferrari 3400 laptop'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-6816192141322745335</id><published>2007-06-15T15:53:00.001-07:00</published><updated>2007-06-15T15:54:37.349-07:00</updated><title type='text'>Adaptive Buffer Tuning for Data Intensive Algebraic Operations in Purpose of Parallel and Distributed Processing</title><content type='html'>Both pervasive directional graphs and intensive algebraic operations require buffer management for stochastic data processes with constrained computing resources. Algebraic computation states in final stages tend to be readily identified within finite time horizon by sensing very abrupt transitions in system and network state spaces. But in early stages of constraints, these changes are hard to predict and difficult to distinguish from usual state fluctuations. Dynamic buffer allocation and replacement are the major techniques to construct structures for algebraic operations to ensure finite resource assesses. Hence, dynamic buffering function and control optimization are the major primitives to construct utilities for stochastic system processes to ensure converged resource accesses. To provide adaptation to large dimensional states, this research proposes a formal model-free buffer utility framework rooted from reinforcement learning methods and dynamic programming techniques to provide self organization of buffers to exploit parallel based buffer tuning processes. To time and space complexity reduction within the large state spaces, dynamic hidden neurons with incremental tuning is proposed for non-linear value function approximation to derive optimization procedures for optimal algebraic computational policies. For numeric and information evaluation, convergence analysis and error estimation are presented. Finally, a simulation test-bed and tuning results are deliberated.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-6816192141322745335?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/6816192141322745335/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=6816192141322745335' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/6816192141322745335'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/6816192141322745335'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/adaptive-buffer-tuning-for-data.html' title='Adaptive Buffer Tuning for Data Intensive Algebraic Operations in Purpose of Parallel and Distributed Processing'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-596323310502883696</id><published>2007-06-15T14:35:00.000-07:00</published><updated>2007-06-15T14:53:27.540-07:00</updated><title type='text'>CVS Server Setup on Solaris 10</title><content type='html'>(1) download cvs binary&lt;br /&gt;(2) init cvs repository&lt;br /&gt;    a. create repository root directory /usr/local/cvs-repository&lt;br /&gt;    b. create a Solaris system user/group as: cvs/cvs&lt;br /&gt;    c. grant ownership of /usr/local/cvs-repository to Solaris user/group cvs/cvs&lt;br /&gt;    d. cvs -d /usr/local/cvs-repository init&lt;br /&gt;       This will create repository CVSROOT under /usr/local/cvs-repository&lt;br /&gt;(3) create cvs user/password&lt;br /&gt;    a. create a password file as "passwd" under CVSROOT directory &lt;br /&gt;    b. user pl file below to create encoded password for cvs user&lt;br /&gt;    c. assign password to solaris user "cvs"&lt;br /&gt;&lt;br /&gt;The CVS password file is CVSROOT/passwd in the repository. It was not&lt;br /&gt;created by default when you ran cvs init, because CVS doesn't know for&lt;br /&gt;sure that you'll be using pserver. Even if the password file had been&lt;br /&gt;created, CVS would have no way of knowing what usernames and passwords&lt;br /&gt;to create. So, you'll have to create one yourself; here's a sample&lt;br /&gt;CVSRoot/passwd file:&lt;br /&gt;&lt;br /&gt;     &lt;cvs username&gt;:&lt;encoded password from pl file&gt;:&lt;Solaris system username&gt;&lt;br /&gt;Here is the perl script to generate encoded password&lt;br /&gt; #!/usr/bin/perl&lt;br /&gt;     &lt;br /&gt;     srand (time());&lt;br /&gt;     my $randletter = "(int (rand (26)) + (int (rand (1) + .5) % 2 ? 65 : 97))";&lt;br /&gt;     my $salt = sprintf ("%c%c", eval $randletter, eval $randletter);&lt;br /&gt;     my $plaintext = shift;&lt;br /&gt;     my $crypttext = crypt ($plaintext, $salt);&lt;br /&gt;     &lt;br /&gt;     print "${crypttext}\n";&lt;br /&gt;     &lt;br /&gt;&lt;br /&gt;I keep the preceding script in /usr/local/bin/pass.pl:&lt;br /&gt;&lt;br /&gt;     pass.pl "passwd"&lt;br /&gt;&lt;br /&gt;     output : Urmh23wFp1aOs&lt;br /&gt;     &lt;br /&gt;Then use the output passwd adding line in CVSROOT/passwd file     &lt;br /&gt;&lt;br /&gt;cvs:Urmh23wFp1aOs:cvs&lt;br /&gt;&lt;br /&gt;(Here we create cvs user and solaris user same as "cvs")&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The format is as simple as it looks. Each line is:&lt;br /&gt;&lt;br /&gt;     &lt;USERNAME&gt;:&lt;ENCRYPTED_PASSWORD&gt;:&lt;OPTIONAL_SYSTEM_USERNAME&gt;&lt;br /&gt;&lt;br /&gt;    c. in the /etc/inetd.conf add one line as&lt;br /&gt;&lt;br /&gt;cvspserver stream tcp nowait root /opt/sfw/bin/cvs cvs --allow-root=/usr/local/cvs-repository pserver&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;   d. On Solaris 10 inetd.conf change does not take effect other than SFM service profile.&lt;br /&gt;      using "inetconv" command to convert the inetd.conf as  /var/svc/manifest/network/rpc/100235_1-rpc_ticotsord.xml&lt;br /&gt;      In addition, add online in /etc/services to give permission&lt;br /&gt;     cvspserver      2401/tcp&lt;br /&gt;   e. this service file will be auto started by SFM daemon&lt;br /&gt;   f. verify pserver service is started&lt;br /&gt;      # svcs | grep cvs&lt;br /&gt;      online         14:18:27 svc:/network/cvspserver/tcp:default&lt;br /&gt;  g. use login test&lt;br /&gt;&lt;br /&gt;     cvs -d :pserver:cvs@&lt;host&gt;:/usr/local/cvs-repository login&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-596323310502883696?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/596323310502883696/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=596323310502883696' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/596323310502883696'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/596323310502883696'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/cvs-server-setup-on-solaris-10.html' title='CVS Server Setup on Solaris 10'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-7679212064415428728</id><published>2007-06-14T18:44:00.000-07:00</published><updated>2007-06-28T11:17:08.173-07:00</updated><title type='text'>Kernel Module Load and Network setup</title><content type='html'>1. all amd64 drivers&lt;br /&gt;&lt;br /&gt;/kernel/drv/amd64&lt;br /&gt;&lt;br /&gt;2. acer 3400, bcmndis is the WIFI driver&lt;br /&gt;&lt;br /&gt;3. modinfo | grep bcmndis&lt;br /&gt;&lt;br /&gt;to check if the module is loaded&lt;br /&gt;&lt;br /&gt;4. modload bcmndis&lt;br /&gt;&lt;br /&gt;5. ifconfig bcmndis0 plumb&lt;br /&gt;&lt;br /&gt;6. wificonfig -i bcmndis0 scan&lt;br /&gt;&lt;br /&gt;7. setup connection with wificonfig&lt;br /&gt;&lt;br /&gt;8. there is link to update broadcom driver&lt;br /&gt;&lt;br /&gt;http://blogs.sun.com/pradhap/entry/ferrari_4000_flash_install&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-7679212064415428728?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/7679212064415428728/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=7679212064415428728' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/7679212064415428728'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/7679212064415428728'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/kernel-module-load-and-network-setup.html' title='Kernel Module Load and Network setup'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-7680017201092421506</id><published>2007-06-13T22:35:00.001-07:00</published><updated>2007-06-13T22:35:48.958-07:00</updated><title type='text'>Setup Acer Solaris x86 WIFI</title><content type='html'>Acer Aspire 9300, Solaris X86, Atheros Wifi NIC&lt;br /&gt;Submitted by spp on Tue, 2006-10-31 12:22.&lt;br /&gt;&lt;br /&gt;Got the Atheros 802.11abg NIC working on my new Acer laptop under Solaris X86. I tried to follow the instructions at the atheros driver page, but they are a little out of date. The atheros driver has been integrated into OpenSolaris, so only one or two instructions are correct. However, it did put me on the right track.&lt;br /&gt;&lt;br /&gt;First we need to make sure the driver is attached and we can start the interface&lt;br /&gt;&lt;br /&gt;   1. Find the vendor and device IDs&lt;br /&gt;      #/usr/X11/bin/scanpci&lt;br /&gt;      pci bus 0x0004 cardnum 0x05 function 0x00: vendor 0x168c device 0x001a&lt;br /&gt;      Atheros Communications, Inc. AR5005G 902.11abg NIC&lt;br /&gt;   2. Check in /etc/driver_aliases for Atheros (ath) mappings. Format of file is 'alias "pciXXXX,YYYY"' where XXXX is "vendor 0xXXXX" and YYYY is "device 0xYYYY" minus any beginning zeros.&lt;br /&gt;      #grep ath /etc/driver_aliases&lt;br /&gt;      ath "pci168c,13"&lt;br /&gt;      ath "pci168c,1014"&lt;br /&gt;   3. update the driver to include the new device (note that the single quotes are needed in order to pass through the double quotes&lt;br /&gt;      #update_drv -a -i '"pci168c,1a"' ath&lt;br /&gt;   4. now, plumb the interface&lt;br /&gt;      #ifconfig ath0 plumb&lt;br /&gt;   5. either now, or before the plumb, you can find out what wifi access points are available&lt;br /&gt;      #wificonfig scan&lt;br /&gt;      essid bssid type encryption signallevel&lt;br /&gt;      you should see a list here&lt;br /&gt;&lt;br /&gt;At this point, the instructions say that if you aren't running authentication, you can just use "ifconfig ath0 dhcp", but I am using encryption, so I moved on to trying to use wificonfig. Unfortunately, there are some mistakes here (possibly out of date and changed, not strictly incorrect). The biggest issue I found was that the instructions always reference using "-i [interface]", but that option isn't valid for most of the configuration (and the error message doesn't really make it easy to see).&lt;br /&gt;&lt;br /&gt;   1. create a profile to store my ESSID and WEP information in (write-only profile, non-readable). Names changed for security... not that wepkey# has to be the actual WEP key, not the passphrase, which makes life significantly more difficult.&lt;br /&gt;      #wificonfig createprofile home essid=HOME encryption=WEP wepkey1=10hexkey&lt;br /&gt;   2. activate the profile&lt;br /&gt;      #wificonfig connect home&lt;br /&gt;      wificonfig: connecting to profile 'home'&lt;br /&gt;   3. Now, like the earlier instructions, you can start dhcp&lt;br /&gt;      #ifconfig ath0 dhcp&lt;br /&gt;   4. And, make sure we have connection&lt;br /&gt;      #ifconfig ath0&lt;br /&gt;      ath0: flags=201004843&lt;UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4,CoS&gt; mtu 1500 index 3&lt;br /&gt;      inet 192.168.21.100 netmask ffffff00 broadcast 192.168.21.255&lt;br /&gt;      ether 0:16:cf:6f:a:92&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-7680017201092421506?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/7680017201092421506/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=7680017201092421506' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/7680017201092421506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/7680017201092421506'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/setup-acer-solaris-x86-wifi.html' title='Setup Acer Solaris x86 WIFI'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-3820142062885680893</id><published>2007-06-12T12:39:00.000-07:00</published><updated>2007-06-12T12:40:07.699-07:00</updated><title type='text'>LDAPv3 Unauthenticated binding</title><content type='html'>LDAPv3 specifications have introduced a unituitive feature with regards to authentication : the unauthenticated bind.&lt;br /&gt;When an LDAP application provides a DN but no password, the Bind request is succesfull, BUT the user is not authenticated and has the same access rights as an Anonymous user.&lt;br /&gt;&lt;br /&gt;Note that DS 6.0 now has a configuration parameter to disable unauthenticated Binds, and remove this unconventional authentication "feature" of LDAPv3.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-3820142062885680893?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/3820142062885680893/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=3820142062885680893' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/3820142062885680893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/3820142062885680893'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/ldapv3-unauthenticated-binding.html' title='LDAPv3 Unauthenticated binding'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-2239625229833871552</id><published>2007-06-12T12:21:00.001-07:00</published><updated>2007-06-12T12:21:58.092-07:00</updated><title type='text'>LDOM Virtual Disk</title><content type='html'>LDom vdisks are not SCSI disks .  Therefore, the missing SCSI target ID&lt;br /&gt;and disks have the name cNdNsN.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-2239625229833871552?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/2239625229833871552/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=2239625229833871552' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/2239625229833871552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/2239625229833871552'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/ldom-virtual-disk.html' title='LDOM Virtual Disk'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-5158302264995170573</id><published>2007-06-12T11:41:00.001-07:00</published><updated>2007-06-12T11:41:56.866-07:00</updated><title type='text'>Bind raw or block disk to disk service</title><content type='html'>bind a raw disk (/dev/rdsk/c1t1d0)&lt;br /&gt;bind to a block disk (/dev/dsk/c1t1d0) to a disk service.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-5158302264995170573?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/5158302264995170573/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=5158302264995170573' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/5158302264995170573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/5158302264995170573'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/bind-raw-or-block-disk-to-disk-service.html' title='Bind raw or block disk to disk service'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-442962802207073517</id><published>2007-06-12T10:32:00.000-07:00</published><updated>2007-06-12T10:35:04.009-07:00</updated><title type='text'>Zones and ZFS Pool</title><content type='html'>Two zones created on a cluster in node 1 in a ZFS pool, since I need to have the zones in an installed state on each node in the cluster. There is a way to bypass having to install the zones on each node in the cluster?  It is using shared storage and moving the zfs pools back and forth.&lt;br /&gt;&lt;br /&gt;Just three simple steps&lt;br /&gt;&lt;br /&gt;1. zonecfg -z zone1 export&gt;myfile&lt;br /&gt;2. failover the storage with the root path to the second node&lt;br /&gt;3. get myfily over to the second node&lt;br /&gt;4 configure the zone with zonecfg export -f myfile&lt;br /&gt;5 attach the zone with -F&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-442962802207073517?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/442962802207073517/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=442962802207073517' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/442962802207073517'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/442962802207073517'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/two-zones-created-on-cluster-in-node-1.html' title='Zones and ZFS Pool'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-3549320566261683171</id><published>2007-06-12T07:46:00.000-07:00</published><updated>2007-06-12T07:49:13.807-07:00</updated><title type='text'>NB Build and run</title><content type='html'>export ANT_OPTS="-Xmx196m"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;mkdir netbeans&lt;br /&gt;cd netbeans&lt;br /&gt;cvs -d :pserver:leiliu@cvs.netbeans.org:/shared/data/ccvs/repository -q co nbbuild&lt;br /&gt;ant -f nbbuild/build.xml checkout&lt;br /&gt;ant -f nbbuild/build.xml&lt;br /&gt;&lt;br /&gt;netbeans/nbbuild/netbeans/bin/netbeans to invoke IDE&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-3549320566261683171?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/3549320566261683171/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=3549320566261683171' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/3549320566261683171'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/3549320566261683171'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/nb-build-and-run.html' title='NB Build and run'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-8545124441871170431</id><published>2007-06-12T07:37:00.000-07:00</published><updated>2007-06-12T10:28:31.780-07:00</updated><title type='text'>FIPS compliance Security Crypto Module</title><content type='html'>Federal Information Processing Standards (FIPS) are publicly announced standards developed by the United States Federal government for use by all non-military government agencies and by government contractors. Many FIPS standards are modified versions of standards used in the wider community (ANSI, IEEE, ISO, etc.)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The National Institute of Standards and Technology (NIST) issued the 140 Publication Series to coordinate the requirements and standards for cryptographic modules which include both hardware and software components for use by departments and agencies of the United States federal government. FIPS 140 does not purport to provide sufficient conditions to guarantee that a module conforming to its requirements is secure, still less that a system built using such modules is secure. The requirements cover not only the cryptographic modules themselves but also their documentation and (at the highest security level) some aspects of the comments contained in the source code.&lt;br /&gt;&lt;br /&gt;http://en.wikipedia.org/wiki/FIPS_140&lt;br /&gt;http://en.wikipedia.org/wiki/Federal_Information_Processing_Standard&lt;br /&gt;&lt;br /&gt;Sun's Cryptographic Accelerator 6000 provides exactly such a storage mechanism and API/tool set. The Cryptographic Accelerator is available for Solaris (SPARC and x86/x64) and Linux and is FIPS 140-2 Level 3 certified. It's key storage mechanism is also RF shielded and tamper-proof. It's probably one of the fastest cards on the market for accelerating SSL, IPsec/IKE and other general crypto and it's inexpensive (less than $1500 list).&lt;br /&gt;&lt;br /&gt;http://www.sun.com/products/networking/sslaccel/suncryptoaccel6000/details.xml&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-8545124441871170431?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/8545124441871170431/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=8545124441871170431' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/8545124441871170431'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/8545124441871170431'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/fips-compliance-security-crypto-module.html' title='FIPS compliance Security Crypto Module'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-8792492901568162649</id><published>2007-06-11T13:26:00.000-07:00</published><updated>2007-06-11T13:28:56.690-07:00</updated><title type='text'>ld: fatal: symbol is multiply-defined:</title><content type='html'>ld: fatal: symbol `bar' is multiply-defined:&lt;br /&gt;        (file foo.o and file bar.o);&lt;br /&gt;ld: fatal: File processing errors. No output written to int.o&lt;br /&gt;&lt;br /&gt;foo.c and bar.c have conflicting definitions for the symbol bar. Because the link-editor cannot determine which should dominate, the link-edit usually terminates with an error message. You can use the link-editor's -z muldefs option to suppress this error condition, and allow the first symbol definition to be taken.&lt;br /&gt;&lt;br /&gt;resolve with compiling flag with &lt;br /&gt;&lt;br /&gt;-z muldefs&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-8792492901568162649?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/8792492901568162649/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=8792492901568162649' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/8792492901568162649'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/8792492901568162649'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/ld-fatal-symbol-is-multiply-defined.html' title='ld: fatal: symbol is multiply-defined:'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-3414245880128028634</id><published>2007-06-11T12:23:00.000-07:00</published><updated>2007-06-11T13:26:43.584-07:00</updated><title type='text'>LDOM Items</title><content type='html'>(1) SPARC only for Niagara Platforms Solaris DOM0 and Any OSs DOMU&lt;br /&gt;(2) x86, Solaris DOM0, and any OS domU&lt;br /&gt;(3) x86, other OS DOM0 is not verified yet.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-3414245880128028634?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/3414245880128028634/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=3414245880128028634' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/3414245880128028634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/3414245880128028634'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/ldom-items.html' title='LDOM Items'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-4411948901666669173</id><published>2007-06-10T19:22:00.000-07:00</published><updated>2007-06-10T19:24:33.389-07:00</updated><title type='text'>fatal: relocation error: R_AMD64_PC32</title><content type='html'>I am developing a c simulation tool. I am invoking one of dynamic library&lt;br /&gt;(my home grown library named as: randlib.so)&lt;br /&gt;&lt;br /&gt;It has a function as&lt;br /&gt;&lt;br /&gt;double unifrand(double, double, long*);&lt;br /&gt;&lt;br /&gt;In my simulation application, I invoke the above function with&lt;br /&gt;&lt;br /&gt;seed = 1236537;&lt;br /&gt;ran_no = unifrnd(0.0,1.0,&amp;seed);&lt;br /&gt;&lt;br /&gt;I have flag below to build&lt;br /&gt;&lt;br /&gt;cc -m64 -o dist/Debug/Sun12-Solaris-x86/simperturbation build/Debug/Sun12-Solaris-x86/estimator.o build/Debug/Sun12-Solaris-x86/spoptimze.o -R/SunStudioProjects/randlib/dist/Debug/Sun12-Solaris-x86 -R/usr/sfw/lib/64 -lm /SunStudioProjects/randlib/dist/Debug/Sun12-Solaris-x86/randlib.so&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;However, during runtime, I have error blow:&lt;br /&gt;&lt;br /&gt;ld.so.1: simperturbation: fatal: relocation error: R_AMD64_PC32: file /SunStudioProjects/randlib/dist/Debug/Sun12-Solaris-x86/randlib.so: symbol unifrnd: value 0x2800112fedf does not fit&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If I run list dynamic dependencies with the target simulation application binary,&lt;br /&gt;&lt;br /&gt;ldd simperturbation&lt;br /&gt;libm.so.2 =&gt; /lib/64/libm.so.2&lt;br /&gt;randlib.so =&gt; /SunStudioProjects/randlib/dist/Debug/Sun12-Solaris-x86/randlib.so&lt;br /&gt;libc.so.1 =&gt; /lib/64/libc.so.1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;As I compiled the DLL with -Kpic flag. It works&lt;br /&gt;&lt;br /&gt;The URL below helps. &lt;br /&gt;&lt;br /&gt;http://blogs.sun.com/rie/entry/my_relocations_don_t_fit&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-4411948901666669173?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/4411948901666669173/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=4411948901666669173' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/4411948901666669173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/4411948901666669173'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/fatal-relocation-error-ramd64pc32.html' title='fatal: relocation error: R_AMD64_PC32'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-6238503449034286012</id><published>2007-06-10T01:48:00.000-07:00</published><updated>2007-06-10T01:50:00.731-07:00</updated><title type='text'>binary &amp; library Info and In question</title><content type='html'>(1) file &lt;binary&gt;&lt;br /&gt;(2) ldd &lt;binary&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-6238503449034286012?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/6238503449034286012/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=6238503449034286012' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/6238503449034286012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/6238503449034286012'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/binary-library-info-and-in-question.html' title='binary &amp; library Info and In question'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-3498251505156984885</id><published>2007-06-10T01:11:00.000-07:00</published><updated>2007-06-10T01:13:23.229-07:00</updated><title type='text'>Stochastic Systems</title><content type='html'>governing variables -&gt; system behavior&lt;br /&gt;&lt;br /&gt;random variables -&gt; stochastic system&lt;br /&gt;&lt;br /&gt;large number: Not large until the change does not impact the system behavior&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-3498251505156984885?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/3498251505156984885/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=3498251505156984885' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/3498251505156984885'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/3498251505156984885'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/stochastic-systems.html' title='Stochastic Systems'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-8020840301224843950</id><published>2007-06-10T00:48:00.001-07:00</published><updated>2007-06-10T01:03:43.083-07:00</updated><title type='text'>Complier flag for simulation Tool</title><content type='html'>1. Flag for 64 bit memory model of x86 platform architecture&lt;br /&gt;2. Dynamic Library&lt;br /&gt;3. Dynamic Link&lt;br /&gt;4. Math Library&lt;br /&gt;5. Runtime Search Path&lt;br /&gt;6. -I include directory&lt;br /&gt;&lt;br /&gt;cc -m64  -c -g +w -I/SunStudioProjects/randlib -o build/Debug/Sun12-Solaris-x86/spoptimze.o spoptimze.c&lt;br /&gt;&lt;br /&gt;cc -m64   -o dist/Debug/Sun12-Solaris-x86/simperturbation build/Debug/Sun12-Solaris-x86/estimator.o  build/Debug/Sun12-Solaris-x86/spoptimze.o -R/SunStudioProjects/randlib/dist/Debug/Sun12-Solaris-x86  -lm  /SunStudioProjects/randlib/dist/Debug/Sun12-Solaris-x86/randlib.so&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-8020840301224843950?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/8020840301224843950/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=8020840301224843950' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/8020840301224843950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/8020840301224843950'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/complier-flag-for-simulation-tool_10.html' title='Complier flag for simulation Tool'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-4216410061707811114</id><published>2007-06-10T00:48:00.000-07:00</published><updated>2007-06-10T00:50:50.265-07:00</updated><title type='text'>Complier flag for simulation Tool</title><content type='html'>1. Flag for 64 bit memory model of x86 platform architecture&lt;br /&gt;2. Dynamic Library&lt;br /&gt;3. Dynamic Link&lt;br /&gt;&lt;br /&gt;cc -m64   -o dist/Debug/Sun12-Solaris-x86/simperturbation build/Debug/Sun12-Solaris-x86/estimator.o  build/Debug/Sun12-Solaris-x86/spoptimze.o -R/SunStudioProjects/randlib/dist/Debug/Sun12-Solaris-x86  -lm  /SunStudioProjects/randlib/dist/Debug/Sun12-Solaris-x86/randlib.so&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-4216410061707811114?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/4216410061707811114/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=4216410061707811114' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/4216410061707811114'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/4216410061707811114'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/complier-flag-for-simulation-tool.html' title='Complier flag for simulation Tool'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-2824002566757555102</id><published>2007-06-09T14:33:00.000-07:00</published><updated>2007-06-09T14:34:39.750-07:00</updated><title type='text'>Social Network</title><content type='html'>CEpedia and Koda are typical Sun Social network&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-2824002566757555102?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/2824002566757555102/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=2824002566757555102' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/2824002566757555102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/2824002566757555102'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/social-network.html' title='Social Network'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-1337556104363162214</id><published>2007-06-09T14:30:00.000-07:00</published><updated>2007-06-09T14:33:40.287-07:00</updated><title type='text'>NIO or IO</title><content type='html'>It seems block or non-blocking address the FD limitation previously existing on the server. There is a work around to improve the FD limitation.  However, from server socket processing with sequential by nature.  I tend to suggest to take blocking IO for normal mid-large workload but small-mid workload take unblocking approach since it functionally replicate Queuing algorithms&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-1337556104363162214?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/1337556104363162214/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=1337556104363162214' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/1337556104363162214'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/1337556104363162214'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/nio-or-io.html' title='NIO or IO'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-125480731515519906</id><published>2007-06-09T14:28:00.000-07:00</published><updated>2007-06-09T14:30:23.667-07:00</updated><title type='text'>Inetmenu good for Laptop</title><content type='html'>It is a good tool to assign IP for laptop&lt;br /&gt;&lt;br /&gt;It requires root to run then get IP from DHCP server or Wireless Access Points.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-125480731515519906?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/125480731515519906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=125480731515519906' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/125480731515519906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/125480731515519906'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/inetmenu-good-for-laptop.html' title='Inetmenu good for Laptop'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-2516502062543800281</id><published>2007-06-09T14:22:00.000-07:00</published><updated>2007-06-09T14:28:28.414-07:00</updated><title type='text'>S11 NV build Laptop</title><content type='html'>(1). Solaris Express, Developer version build installation&lt;br /&gt;(2). If it is under SWAN, it will bypass a lot of setup to go straight with default&lt;br /&gt;   NIS process.  &lt;br /&gt;(3). It requires sys-unconfig process if you want change other things. Do not enable DHCP here&lt;br /&gt;     but use inetmenu&lt;br /&gt;&lt;br /&gt;However, sys-unconfig will not give you option to change host name&lt;br /&gt;&lt;br /&gt;So, it is important to get hostname change process.&lt;br /&gt;&lt;br /&gt;To change the hostname on a Solaris system:&lt;br /&gt;&lt;br /&gt;1. Change the hostname in /etc/nodename&lt;br /&gt;2. Run uname -S new_hostname to change the nodename for your current session.&lt;br /&gt;3. Change the hostname in /etc/hostname.network_interface (e.g. /etc/hostname.hme0)&lt;br /&gt;4. Run hostname new_hostname to change the hostname for your current session.&lt;br /&gt;5. Change the hostname in /etc/hosts&lt;br /&gt;6. Change the hostname in /etc/net/*/hosts (/etc/net/ticlts/hosts, /etc/net/ticots/hosts, /etc/net/ticotsord/hosts)&lt;br /&gt;for directory in ticlts ticots ticotsord&lt;br /&gt;do&lt;br /&gt;  cd /etc/net/$directory&lt;br /&gt;  sed 's/old_hostname/new_hostname/g' hosts &gt; hosts.new&lt;br /&gt;  mv hosts.new hosts&lt;br /&gt;done&lt;br /&gt;Solaris 7 or later additional instructions:&lt;br /&gt;7. Change the hostname in DUMPADM_SAVDIR= line in /etc/dumpadm.conf&lt;br /&gt;&lt;br /&gt;Solaris 10 additional instructions:&lt;br /&gt;8. Change the hostname in /etc/inet/ipnodes&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;However, all x86 updates. should visit community software (csw package download)&lt;br /&gt;http://www.blastwave.org/packages.php&lt;br /&gt;&lt;br /&gt;blastwave.org&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This includes wget, pkg-get, tetex etc.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-2516502062543800281?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/2516502062543800281/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=2516502062543800281' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/2516502062543800281'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/2516502062543800281'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/s11-nv-build-laptop.html' title='S11 NV build Laptop'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-5030114612684002742</id><published>2007-06-09T14:12:00.000-07:00</published><updated>2007-06-09T14:16:50.366-07:00</updated><title type='text'>WTS 2007 Paper Publication</title><content type='html'>Exchange information on advances in mobile communications and wireless networking technology, management, applications, and security in a very pleasant Southern California conference environment with leaders and experts from industry, governmental agencies, and universities around the world at the Wireless Telecommunications Symposium.&lt;br /&gt;&lt;br /&gt;WTS 2007 will focus on The Future of Wireless Communications. Planned highlights of WTS 2007 include:&lt;br /&gt;&lt;br /&gt;    * An IEEE Communications Society Co-Sponsored Welcoming Dinner with Internet Pioneer Vinton G. Cerf, Vice President and Chief Internet Evangelist at Google, as guest speaker&lt;br /&gt;    * Addresses and presentations by some of the most respected executives and researchers in the wireless communications industry&lt;br /&gt;    * Panel discussions including Future Directions in Wireless Communications Research, Wireless Network Security, New Wireless Communications Ventures, Wireless Communications Investments, Mobile Wireless Services and Business, Wireless Communications Business Strategy, Advances in Satellite Communications, and The Future of Deep Space Communications&lt;br /&gt;    * A tutorial on Portable Emergency Networks and a Wireless Network Security Workshop&lt;br /&gt;    * Presentations of accepted academic and practitioner applied research papers; a poster paper session; a doctoral students session&lt;br /&gt;    * A tour of Universal Studios Hollywood followed by a reception at CityWalk&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;      Peer-reviewed proceedings will be published by the IEEE and will be available on its Xplore online publication system. A CD containing the invited speakers' presentations and accepted applied research papers will be distributed to registrants at the conference. Applicable student papers are welcome. Awards will be given for the outstanding undergraduate and graduate papers submitted.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;http://www.csupomona.edu/~wtsi/doc/WTS_2007-Accepted_Paper_Program.htm&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;My Paper on Lock contention is located by IEEE Explorer&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-5030114612684002742?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/5030114612684002742/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=5030114612684002742' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/5030114612684002742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/5030114612684002742'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/wts-2007-paper-publication.html' title='WTS 2007 Paper Publication'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-68646170033372069</id><published>2007-06-09T14:04:00.000-07:00</published><updated>2007-06-09T14:12:12.153-07:00</updated><title type='text'>ICACT2007 Paper publication</title><content type='html'>http://www.icact.org/program/program.asp#3&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It is Feb 2007&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;My Paper stated as Index and SOA Performance&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Please visit IEEE Explorer&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-68646170033372069?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/68646170033372069/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=68646170033372069' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/68646170033372069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/68646170033372069'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2007/06/icact2007-paper-publication.html' title='ICACT2007 Paper publication'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-116554363432654612</id><published>2006-12-07T17:57:00.000-08:00</published><updated>2006-12-07T18:07:14.863-08:00</updated><title type='text'>ISCIT2006</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/x/blogger/2357/1952/1600/485321/IMG_1222.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/x/blogger/2357/1952/320/272823/IMG_1222.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-116554363432654612?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/116554363432654612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=116554363432654612' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/116554363432654612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/116554363432654612'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2006/12/iscit2006.html' title='ISCIT2006'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19676010.post-116319127392363998</id><published>2006-11-10T12:39:00.000-08:00</published><updated>2006-11-10T12:53:33.613-08:00</updated><title type='text'>Hash Distribution Algorithm</title><content type='html'>For a hash-based distribution algorithm, the most difficult part is to define what hash function would avoid re-distribution. To reduce entry re-distribution, it is also possible to configure the proxy with the maximum number of distribution "slots" upfront, say 10 slots, then associate multiple slots with each service instance.&lt;br /&gt;&lt;br /&gt;S1,S2,S3 --&gt; SVC1&lt;br /&gt;S4,S5,S6 --&gt; SVC2&lt;br /&gt;S7, S8, S7, S10 --&gt; SVC3&lt;br /&gt;&lt;br /&gt;When the amount of entries stored on SVC1 exceed some limits, a new service instance is set up (say SVC4), one (or more) slots formerly managed by SVC1 are moved to SVC4 (the content of SVC1 is re-distributed  to SVC1 and SVC4) and the proxy configuration is changed accordingly, for instance&lt;br /&gt;&lt;br /&gt;S1,S2 --&gt; SVC1&lt;br /&gt;S3 --&gt; SVC4&lt;br /&gt;S4,S5,S6 --&gt; SVC2&lt;br /&gt;S7, S8, S7, S10 --&gt; SVC3&lt;br /&gt;&lt;br /&gt;This does not solve the re-distribution problem. However, it is much easier to deal with this issue as the number of entries to be re-distributed is much smaller compared to a configuration where the max number of slots has not been planned upfront.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19676010-116319127392363998?l=ttoulliu2002.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ttoulliu2002.blogspot.com/feeds/116319127392363998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19676010&amp;postID=116319127392363998' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/116319127392363998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19676010/posts/default/116319127392363998'/><link rel='alternate' type='text/html' href='http://ttoulliu2002.blogspot.com/2006/11/hash-distribution-algorithm.html' title='Hash Distribution Algorithm'/><author><name>Lei Liu</name><uri>http://www.blogger.com/profile/15837787582375477889</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
