delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/09/24/18:27:28

X-Spam-Check-By: sourceware.org
From: Vinod K Gupta <vinod AT Princeton DOT EDU>
To: cygwin AT cygwin DOT com
Message-ID: <f176ec831e9cf.4516bff0@Princeton.EDU>
Date: Sun, 24 Sep 2006 17:27:12 -0500
X-Mailer: Sun Java(tm) System Messenger Express 6.2-5.05 (built Feb 16 2006)
MIME-Version: 1.0
Subject: Speeding up Cygwin deployment
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I  need to deploy cygwin and some addon software on about 100 Windows XP Pro machines in my department. It is taking about an hour to setup one machine. I thought of speeding up deployment by setting up one reference machine with all the packages customized to our needs, make a zip archive of C:\cygwin along with a couple of registry entries in cygwin.reg script and take it on a USB key to the target machine. It seems to be working except that I have not gained the anticipated speed, and thus this posting.

It took me only a minute to create a 180 MB archive from a 450 MB source using Windows builtin zipper (WinExplorer's Send to...zip) but unzipping on target is painfully slow (about 45 minutes). Yes, my anti-virus is temporarily turned off. I see that it is spending 90% of the time in those folders which have symlinks. In addition, there are some other interesting observations. To make the point clear I take example of two files:

C:\cygwin\usr\share\man\man1\allec.1
C:\cygwin\usr\X11R6\lib\X11\doc\html\atobm.1.html

Cygwin's ls lists both files as symlinks
WinExplorer lists allec.1 as shortcut and atobm.1.html as a normal file
DOS' dir does not list atobm.1.html at all.

I tried using stand-alone zip/unzip utilities from popular http://www.info-zip.org
"zip.exe -rq0! cygwin.zip cygwin" is blazingly fast to create archive (1 minute, great it allows no-compression option)

Unzipping by info-zip's unzip.exe was very fast (5 mins), preserved allec.1 as symlink but atobm.1.html was missing.

Unzipping by WinExplorer was slightly faster (still 30 mins!), preserved allec.1 as symlink but atobm.1.html was missing. 

So, the only thing that works is to use WinExplorer to zip and unzip but it does not serve the primary goal - deploy cygwin on 100 machines within 5-10 minutes per machine.

Any ideas?

Vinod
Princeton University

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019