Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion Patchadd performance
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Daniel Rock  
View profile  
 More options Aug 27 2007, 7:28 am
Newsgroups: comp.unix.solaris
From: "Daniel Rock" <v200...@deadcafe.de>
Date: Mon, 27 Aug 2007 11:28:07 +0000 (UTC)
Local: Mon, Aug 27 2007 7:28 am
Subject: Re: Patchadd performance

Tim Bradshaw <tfb+goo...@tfeb.org> wrote:
> Is there any simple reason why patching Solaris takes *so* long?

Problematic are jumbo patches, and with Solaris 10 patches to
Python, PostgreSQL, etc. if they upgrade the package to a newer release

For instance a PostgreSQL patch has to remove all files in
/usr/share/doc/pgsql/8.1.x and other locations (almost 1000) via removef
manually.  Each invocation of removef rewrites /var/sadm/install/contents
completely.  This file is on my machine almost 30MB large. So during
patching of PostgreSQL over 20GB is written just to
/var/sadm/install/contents.

You can try the following at the risk of corrupting the package database
(which could be manually correctable) if the machine crashes during
patchadd:

cp -p /var/sadm/install/contents /tmp/contents
mount -F lofs /tmp/contents /var/sadm/install/contents

[patchadd]

umount /var/sadm/install/contents
cp -p /tmp/contents /var/sadm/install/contents

Patching should now be faster since everything written to
/var/sadm/install/contents should now be written to tmpfs.

--
Daniel


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google