Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 22661 invoked from network); 15 Dec 2010 22:44:25 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Dec 2010 22:44:25 -0000 Received: (qmail 75918 invoked by uid 500); 15 Dec 2010 22:44:25 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 75864 invoked by uid 500); 15 Dec 2010 22:44:25 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 75856 invoked by uid 99); 15 Dec 2010 22:44:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Dec 2010 22:44:25 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Dec 2010 22:44:22 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBFMi0Lf023061 for ; Wed, 15 Dec 2010 22:44:01 GMT Message-ID: <13591320.147851292453040836.JavaMail.jira@thor> Date: Wed, 15 Dec 2010 17:44:00 -0500 (EST) From: "Myrna van Lunteren (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-4807) analyze performance slow-down of suites.All/derbyall combo between Windows XP and Windows 2003 and Windows 2008. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-4807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12971875#action_12971875 ] Myrna van Lunteren commented on DERBY-4807: ------------------------------------------- I've been doing some reading and experimenting. It seems it's known that scheduled tasks run with a priority lower than default. See for instance these web pages: http://serverfault.com/questions/151824/process-runs-slower-as-a-scheduled-task-than-it-does-interactively http://bdbits.wordpress.com/2010/04/29/setting-a-scheduled-task-process-priority/ I guess having scheduled tasks have lower priority could make sense too, if these machines were used for other things than running these scheduled tasks, but they're not. Still, to my unexperienced eye, there seem to be no other important processes running. Perhaps things like firewall checking and clock synchronizations and the always present system idle processes and the like end up having a higher priority. So, as suggested on those pages, I changed the priority of my scheduled task by exporting it, modifying the priority in the resulting .xml file, and then importing the task. I tried priority 4 and got good results, e.g. the memory.TriggerTest (scheduled task run with scripts takes about twice as long as when started interactively, rather than a factor over 30 slower with default priority(7)). I'll experiment a bit more and report my findings here, then close this. > analyze performance slow-down of suites.All/derbyall combo between Windows XP and Windows 2003 and Windows 2008. > ---------------------------------------------------------------------------------------------------------------- > > Key: DERBY-4807 > URL: https://issues.apache.org/jira/browse/DERBY-4807 > Project: Derby > Issue Type: Task > Components: Test > Affects Versions: 10.6.2.1 > Environment: Windows XP, Windows 2003, Windows 2008, IBM JVM 1.6 (SR8), 1.5 (SR11) and weme 6.2 > Reporter: Myrna van Lunteren > Assignee: Myrna van Lunteren > Attachments: analysis_suitesall.xls > > > Setting up automated nightly test runs has been troublesome for 10.6 on windows because the set of tests (derbyall/suitesall with 3 different jvms) that completed within a day on a machine with similar hardware but running XP did not complete within a day on a machine running Windows 2008. > Switching to a machine with windows 2003 appeared to improve matters. Switching to a machine with XP, and the test finished. > Initially, my focus has been to try to get the tests to run consistently, now I will be analyzing this further. > I now have a separate machine that has the 3 OSs loaded on it, and will experiment, and gather data, using the 10.6.2 jars so the only difference is the OS. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.