From owner-freebsd-mobile@FreeBSD.ORG Wed Apr 23 16:33:51 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F47C37B401 for ; Wed, 23 Apr 2003 16:33:51 -0700 (PDT) Received: from gilmore.nas.nasa.gov (gilmore.nas.nasa.gov [129.99.33.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6051B43FAF for ; Wed, 23 Apr 2003 16:33:50 -0700 (PDT) (envelope-from tweten@nas.nasa.gov) Received: from gilmore.nas.nasa.gov (IDENT:Oq6/2ZpoIeokowqTpqvbV10M0fAqYD4S@localhost.nas.nasa.gov [127.0.0.1]) by gilmore.nas.nasa.gov (8.12.9/8.12.9) with ESMTP id h3NNXoXi003974 for ; Wed, 23 Apr 2003 16:33:50 -0700 (PDT) (envelope-from tweten@nas.nasa.gov) X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: mobile@freebsd.org From: Dave Tweten Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 23 Apr 2003 16:33:50 -0700 Message-ID: <3973.1051140830@gilmore.nas.nasa.gov> Subject: Really Slow Cron Job X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: David.E.Tweten@nasa.gov List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2003 23:33:51 -0000 I leave my ThinkPad X21 running and connected to the net almost all the time. Through the services of /etc/weekly.local, it does a full backup and then a complete cvsup and build of STABLE world, kernel, docs, and ports skeletons and databases, all in the wee dark hours every Saturday morning. At least that's the way it's supposed to work, and the way it does work when I run the script manually. Then, it takes a just a few hours (dominated by backup compression). When it is run by Cron, it takes all day Saturday, all day Sunday, and until I log in Monday. If I log in over the weekend, it completes quickly. When I changed the script to put timestamps in the log files, it looked like the machine ran quickly while accessing the net (to transfer the full backup or to do the cvsups). It then slowed way down for the make steps. My operating guess is this has something to do with power management. Can anyone enlighten me? If it's power management, can I turn it off from /etc/weekly.local and then turn it back on at the end? If there is a way, I haven't been able to find it. Any help will be appreciated. -- M/S 258-5 |1024-bit PGP fingerprint:|tweten@nas.nasa.gov NASA Ames Research Center | 41 B0 89 0A 8F 94 6C 59| (650) 604-4416 Moffett Field, CA 94035-1000| 7C 80 10 20 25 C7 2F E6|FAX: (650) 604-4377 We each earn what freedom of speech we defend for those who most offend us.