Initial add of defaria.com
[clearscm.git] / defaria.com / blogs / Status / archives / 2010_08.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard">
4 <head>
5    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6    <meta name="generator" content="Movable Type 5.2.3" />
7
8    <link rel="stylesheet" href="http://defaria.com/blogs/Status/styles-site.css" type="text/css" />
9    <link rel="alternate" type="application/atom+xml" title="Atom" href="http://defaria.com/blogs/Status/atom.xml" />
10    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://defaria.com/blogs/Status/index.xml"$>" />
11
12    <title>Status for Andrew DeFaria: August 2010 Archives</title>
13
14    <link rel="start" href="http://defaria.com/blogs/Status/" title="Home" />
15    <link rel="prev" href="http://defaria.com/blogs/Status/archives/2010_04.html" title="April 2010" />
16    <link rel="next" href="http://defaria.com/blogs/Status/archives/2010_09.html" title="September 2010" />
17 </head>
18 <body class="layout-one-column">
19    <div id="container">
20       <div id="container-inner" class="pkg">
21
22          <div id="banner">
23             <div id="banner-inner" class="pkg">
24                <h1 id="banner-header"><a href="http://defaria.com/blogs/Status/" accesskey="1">Status for Andrew DeFaria</a></h1>
25                <h2 id="banner-description">Searchable status reports and work log</h2>
26             </div>
27          </div>
28
29          <div id="pagebody">
30             <div id="pagebody-inner" class="pkg">
31                <div id="alpha">
32                   <div id="alpha-inner" class="pkg">
33                      
34                      <p class="content-nav">
35                         <a href="http://defaria.com/blogs/Status/archives/2010_04.html">&laquo; April 2010</a> |
36                         <a href="http://defaria.com/blogs/Status/">Main</a>
37                         | <a href="http://defaria.com/blogs/Status/archives/2010_09.html">September 2010 &raquo;</a>
38                      </p>
39                      
40                      
41                      <!--
42 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
43          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
44          xmlns:dc="http://purl.org/dc/elements/1.1/">
45 <rdf:Description
46     rdf:about="http://defaria.com/blogs/Status/archives/2010_08.html#entry-000742"
47     trackback:ping="http://defaria.com/mt/mt-tb.cgi/109"
48     dc:title="Starting a process without the DOS box"
49     dc:identifier="http://defaria.com/blogs/Status/archives/2010_08.html#entry-000742"
50     dc:subject="General Electric"
51     dc:description="I needed to start a process which had it&apos;s own window (a Perl/Tk app called diffbl.pl which I have yet to document over on ClearSCM). I want to start this process and not have that silly DOS window hanging around...."
52     dc:creator=""
53     dc:date="2010-08-18T13:29:46-06:00" />
54 </rdf:RDF>
55 -->
56
57
58                      <h2 class="date-header">August 18, 2010</h2>
59                      <a id="a000742"></a>
60                      <div class="entry" id="entry-742">
61                         <h3 class="entry-header">Starting a process without the DOS box</h3>
62                         <div class="entry-content">
63                            <div class="entry-body">
64                               <p>I needed to start a process which had it's own window (a Perl/Tk app called diffbl.pl which I have yet to document over on ClearSCM). I want to start this process and not have that silly DOS window hanging around. Normally I'd use Cygwin's run.exe but I cannot be assured that Cygwin will be on the users Windows box. How to start a windowed application sans the DOS box?</p>
65
66 <div class=code>
67 set sh = wscript.createobject ("wscript.shell")
68 sh.run "cqperl \\hcu-g97pnd1\Software\diffbl\bin\diffbl.pl", 0, false
69 </div>
70                               
71                               <p class="entry-footer">
72                                  <span class="post-footers">Posted by  at  1:29 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000742.html">Permalink</a>
73                                  
74                                  | <a href="http://defaria.com/blogs/Status/archives/000742.html#trackback">TrackBacks (0)</a>
75                               </p>
76                            </div>
77                         </div>
78                      </div>
79                      
80                      <!--
81 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
82          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
83          xmlns:dc="http://purl.org/dc/elements/1.1/">
84 <rdf:Description
85     rdf:about="http://defaria.com/blogs/Status/archives/2010_08.html#entry-000740"
86     trackback:ping="http://defaria.com/mt/mt-tb.cgi/107"
87     dc:title="Slow access on Unix UCM commands"
88     dc:identifier="http://defaria.com/blogs/Status/archives/2010_08.html#entry-000740"
89     dc:subject="General Electric"
90     dc:description="Found certain UCM commands to be 11-13 times slower on Unix than on Windows. Even though the registry host is the same host I was executing the commands on! Windows:time scm lsstream -short -invob \\p_cesb &gt; /dev/null real 0m1.198s user..."
91     dc:creator=""
92     dc:date="2010-08-02T18:48:43-06:00" />
93 </rdf:RDF>
94 -->
95
96
97                      <h2 class="date-header">August  2, 2010</h2>
98                      <a id="a000740"></a>
99                      <div class="entry" id="entry-740">
100                         <h3 class="entry-header">Slow access on Unix UCM commands</h3>
101                         <div class="entry-content">
102                            <div class="entry-body">
103                               <p>Found certain UCM commands to be 11-13 times slower on Unix than on Windows. Even though the registry host is the same host I was executing the commands on!</p>
104
105 <div class=code><pre>
106 Windows:time scm lsstream -short -invob \\p_cesb > /dev/null
107 real    0m1.198s
108 user    0m0.093s
109 sys     0m0.123s
110 Windows:time scm lsstream -short -invob \\p_ce > /dev/null
111 real    0m9.526s
112 user    0m0.045s
113 sys     0m0.123s
114 Windows:time scm lsact -short -invob $PVOB > /dev/null
115 real    0m38.788s
116 user    0m0.155s
117 sys     0m0.233s
118
119 Unix:time scm lsstream -short -invob /vobs/p_cesb > /dev/null
120 real    0m13.649s
121 user    0m0.152s
122 sys     0m0.203s
123 Unix:time scm lsstream -short -invob /vobs/p_ce > /dev/null
124 real    2m6.191s
125 user    0m0.832s
126 sys     0m1.501s
127 Unix:time scm lsact -short -invob $PVOB > /dev/null
128 real    8m52.516s
129 user    0m3.647s
130 sys     0m6.986s
131 </pre></div>
132
133 <p>Why is the Unix machine 11 – 13 times slower at getting information out of the Clearcase registry than a Windows client? Note the same does not hold true for other Clearcase registry queries (e.g. lsview takes the same amount of time on both platforms) but querying UCM stream information on the Unix system is vobdog slow! It’s not slow for projects or baselines but just streams… and activities.</p>
134
135                               
136                               <p class="entry-footer">
137                                  <span class="post-footers">Posted by  at  6:48 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000740.html">Permalink</a>
138                                  
139                                  | <a href="http://defaria.com/blogs/Status/archives/000740.html#trackback">TrackBacks (0)</a>
140                               </p>
141                            </div>
142                         </div>
143                      </div>
144                      
145                   </div>
146                </div>
147             </div>
148          </div>
149       </div>
150    </div>
151 </body>
152 </html>