From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Mike Broderick Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: why patches take so long] Date: Wed, 05 Nov 2003 17:54:23 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <3FA97F9F.7000405@mit.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1068072970 17638 80.91.224.253 (5 Nov 2003 22:56:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 Nov 2003 22:56:10 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Nov 05 23:56:08 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1AHWZL-0004un-00 for ; Wed, 05 Nov 2003 23:56:08 +0100 Original-Received: (qmail 21178 invoked by uid 5); 5 Nov 2003 22:55:59 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 21163 invoked by uid 49493); 5 Nov 2003 22:55:59 -0000 Original-Received: from broderic@MIT.EDU by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-5.6/5.0):. Processed in 0.726583 secs); 05 Nov 2003 22:55:59 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 5 Nov 2003 22:55:58 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HNW00K0EID9D0@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 05 Nov 2003 17:55:57 -0500 (EST) Original-Received: from pacific-carrier-annex.mit.edu (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.7.21.83]) by emroute1.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTPS id <0HNW00IA8ICS8H@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 05 Nov 2003 17:55:41 -0500 (EST) Original-Received: from central-city-carrier-station.mit.edu (CENTRAL-CITY-CARRIER-STATION.MIT.EDU [18.7.7.72]) by pacific-carrier-annex.mit.edu (8.12.4/8.9.2) with ESMTP id hA5Mtd7K027413 for ; Wed, 05 Nov 2003 17:55:39 -0500 (EST) Original-Received: from melbourne-city-street.mit.edu (MELBOURNE-CITY-STREET.MIT.EDU [18.7.21.86]) by central-city-carrier-station.mit.edu (8.12.4/8.9.2) with ESMTP id hA5MtdxE022515 for ; Wed, 05 Nov 2003 17:55:39 -0500 (EST) Original-Received: from mit.edu (VBALL.MIT.EDU [18.94.0.87]) ) by melbourne-city-street.mit.edu (8.12.4/8.12.4) with ESMTP id hA5Mtc4e002459 for ; Wed, 05 Nov 2003 17:55:38 -0500 (EST) Original-To: tru64-unix-managers X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a) Gecko/20030718 Xref: main.gmane.org gmane.os.tru64.managers:5741 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:5741 Thanks to replies from Bob Vickers, Dr Tom, and Steve Tom, et al, who all confirmed/concurred with me that the Tru64 patch process does take extraordinarily long and the process is painful for others. (I was hoping it was just me and would get a quick fix response :-).) Dr Tom's response is below since it was quite informative on the process. _Mike Welcome to the perverse world of "dupatch". I suspect (but I'd have to instrument the "dupatch" shell script to be sure) that a lot of the time when it seems to be "just sitting there" is spent in dependency analysis. It is, unfortunately, a tool that does NOT scale well in the face of many patches, and it's paranoid (because a bad patch can break a system, but also because the patch kitting process is unreliable and the people who wrote "dupatch" didn't seem to know how to get things right themselves -- oh, is my experience with the tool and developers showing?). You are of course right, it should NOT take all the time it takes to apply patches to the product, and the tool should be FAR more informative about what it is doing, especially if it's doing something that takes a long time. And the critical sections that take a long time should be rewritten to use compiled code, instead of shell scripting (the original implementation apparently assumed you could not deliver much in the way of tooling as a part of the patch kit, so they tried to do EVERYTHING in shell scripting, instead of identifying the complex and slow parts and implementing them with simple fast helpers). But trust me, it's NEVER going to get better. And "management" just can not understand why customers are frustrated with the patch process and aren't willing to apply new patches in a "timely manner". Mike Broderick wrote: > Is it normal for Tru64 patches to take an extraordinary amount of > time? Do others see this too? > > I've always thought patching Tru64 took too long but was usually > installing large patch kits (hundreds of patches) so didn't think much > of it. This past week I had to install PK#5 on 5.1a plus a single > file customer specific patch (fix ps output wrt brackets). The CSP > which replaces just one file and rebuilds the kernel took as long as > 27 minutes (not including the reboot) on an ES40 w/ four 500Mhz > processors and 10GB mem. On other DS20s two CPUs and 4-8GM mem it > took no less than 15 minutes. I realize that the patch process may > not take advantage of multiple CPUs, but 27 minutes to install a > single file is ridiculous. > There are parts where the process just sits there for 5 minutes or > more with no output and I can't figure out what it's doing at that > point. I'm in single user mode so I can't see what's going on from > another login. Is it possible that it's waiting for something that > isn't there so it eventually times out after waiting a few minutes (a > guess)? I'm hoping there's some explanation that I could work around > to speed the process up. > > > _Mike > >