Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
xpcshell debug on Win7 take long on the minis
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
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
 
armenzg  
View profile  
 More options Dec 3 2010, 5:10 pm
Newsgroups: mozilla.dev.planning
From: armenzg <arme...@mozilla.com>
Date: Fri, 3 Dec 2010 14:10:51 -0800 (PST)
Local: Fri, Dec 3 2010 5:10 pm
Subject: xpcshell debug on Win7 take long on the minis
Next Tuesday I am going to ask for approval to finish up moving the
unit tests from the builders to the minis.
The last standing platform was Win2003 for debug unit tests which
would move to Win7 debug unit tests.
2 out of the 3 perma-oranges have been fixed today.

philor pointed out that xpcshell takes quite long on Windows 7 on the
minis compared to the runs on the IX/VMs combination for xpcshell.

I am writing this so we can all be aware of it when we bring this up
on Tuesday. For a small summary keep on reading or you can jump to the
full post with all the data and charts.

See you on Tuesday,
Armen

[1] http://armenzg.blogspot.com/2010/12/xpcshell-case-on-windows.html

PS = My apologies if my I used the averages for only one day as it was
the easiest data I could collect.

###############

The numbers:
* xpcshell debug on Win2003 (average in mins) - 46 mins
* xpcshell debug on Win7 (average in mins)       - 106 mins

It would have not been as bad if it didn't become the new longest test
suite to run but it has become.
The previous longest pole was:
* xpcshell opt on Win7 x64 (average in mins) - 80 mins

On my blog post I mention that the world would be happier if we
managed to run xpcshell in less time or break it into pieces. If
xpcshell on windows did not take that long, Window's longest poll
would instead be "mochitest-other" or "dromaeo" which would take
around 60 mins which is comparable to "mochitest-4 debug for
Fedora" (72 mins).


 
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.
Ted Mielczarek  
View profile  
 More options Dec 4 2010, 10:28 am
Newsgroups: mozilla.dev.planning
From: Ted Mielczarek <t...@mielczarek.org>
Date: Sat, 4 Dec 2010 10:28:10 -0500
Local: Sat, Dec 4 2010 10:28 am
Subject: Re: xpcshell debug on Win7 take long on the minis

On Fri, Dec 3, 2010 at 5:10 PM, armenzg <arme...@mozilla.com> wrote:
> The numbers:
> * xpcshell debug on Win2003 (average in mins) - 46 mins
> * xpcshell debug on Win7 (average in mins)       - 106 mins

> It would have not been as bad if it didn't become the new longest test
> suite to run but it has become.
> The previous longest pole was:
> * xpcshell opt on Win7 x64 (average in mins) - 80 mins

It sounds to me like the problem is "xpcshell tests take a long time
to run on Windows 7", since even the opt builds take extremely long to
run. We should try tracking down the root cause here, this is not
reasonable. I suspect there's some bug or bad interaction with our
xpcshell tests on Windows 7 that's making them take entirely too long
to run. I don't think we should look at splitting up the suite or
anything until we've determined why it's taking so long.

I happen to know that there are a lot of developers with Windows 7
machines nowadays, so a good first step would be to have some people
download builds+tests and try running the same commands we run on the
test slaves locally and see how long they take.

-Ted


 
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.
armenzg  
View profile  
 More options Dec 6 2010, 11:20 am
Newsgroups: mozilla.dev.planning
From: armenzg <arme...@mozilla.com>
Date: Mon, 6 Dec 2010 08:20:38 -0800 (PST)
Local: Mon, Dec 6 2010 11:20 am
Subject: Re: xpcshell debug on Win7 take long on the minis
On Dec 4, 10:28 am, Ted Mielczarek <t...@mielczarek.org> wrote:
> It sounds to me like the problem is "xpcshell tests take a long time
> to run on Windows 7", since even the opt builds take extremely long to
> run

Guess what? You are right.

Not just the hardware but maybe the OS (win7) might be at fault.
http://armenzg.blogspot.com/2010/12/test-suites-on-windows.html
xpcshell and reftests run worst. All other test suites are unaffected
by the switch (neither hardware nor OS nor graphics bound).

I will post the steps that we run for xpcshell so people can try to
reproduce/debug.

Cheers,
Armen


 
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.
armenzg  
View profile  
 More options Dec 6 2010, 12:53 pm
Newsgroups: mozilla.dev.planning
From: armenzg <arme...@mozilla.com>
Date: Mon, 6 Dec 2010 09:53:22 -0800 (PST)
Local: Mon, Dec 6 2010 12:53 pm
Subject: Re: xpcshell debug on Win7 take long on the minis
I believe this should do the trick:

#!/bin/sh.exe
FTP="http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds"
BRANCH=mozilla-central
OS=win32
TYPE=debug
BINARY=firefox-4.0b8pre.en-US.win32.zip
TESTS_PACKAGE=firefox-4.0b8pre.en-US.win32.tests.zip

if [[ ("$#" != 1 || ! ($1 =~ ^[0-9]+$) ) ]]; then
   echo "One argument required in the form of a unix timestamp"
   echo "We want to build an ftp tinderbox-builds URL:"
   echo "$FTP/$BRANCH-$OS-$TYPE/\$UNIX_TIMESTAMP"
   exit 1
fi
UNIX_TIMESTAMP=$1

wget --progress=dot:mega -N $FTP/$BRANCH-$OS-$TYPE/$UNIX_TIMESTAMP/
$BINARY
unzip -o $BINARY
wget --progress=dot:mega -N $FTP/$BRANCH-$OS-$TYPE/$UNIX_TIMESTAMP/
$TESTS_PACKAGE
unzip -o $TESTS_PACKAGE bin* certs* xpcshell*
if [ ! -d firefox/plugins ]; then mkdir firefox/plugins; fi && cp bin/
xpcshell.exe firefox && cp -R bin/components/* firefox/components/ &&
cp -R bin/plugins/* firefox/plugins/ && python -u xpcshell/
runxpcshelltests.py --symbols-path=symbols --manifest=xpcshell/tests/
all-test-dirs.list firefox/xpcshell.exe


 
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.
Ehsan Akhgari  
View profile  
 More options Dec 7 2010, 10:00 pm
Newsgroups: mozilla.dev.planning
From: Ehsan Akhgari <ehsan.akhg...@gmail.com>
Date: Tue, 07 Dec 2010 22:00:01 -0500
Local: Tues, Dec 7 2010 10:00 pm
Subject: Re: xpcshell debug on Win7 take long on the minis
On 10-12-06 11:20 AM, armenzg wrote:

> On Dec 4, 10:28 am, Ted Mielczarek <t...@mielczarek.org> wrote:
>> It sounds to me like the problem is "xpcshell tests take a long time
>> to run on Windows 7", since even the opt builds take extremely long to
>> run

> Guess what? You are right.

> Not just the hardware but maybe the OS (win7) might be at fault.
> http://armenzg.blogspot.com/2010/12/test-suites-on-windows.html
> xpcshell and reftests run worst. All other test suites are unaffected
> by the switch (neither hardware nor OS nor graphics bound).

Is it possible that the difference would be in our startup/shutdown
times?  I noticed that we're about 7% slower in our startup time on
Windows 7 compared to Windows XP <http://is.gd/in0q9>, and about 50%
slower in our shutdown times on the same OSes <http://is.gd/in0I9>.

(Note that the single most unusual thing about the xpcshell tests is
that we basically startup and shutdown Gecko for every test, compared to
once per suite).

If this is really the case, we should probably have blocking bugs on
file for investigating the issue...

Cheers,
Ehsan


 
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.
Clint Talbert  
View profile  
 More options Dec 8 2010, 3:31 pm
Newsgroups: mozilla.dev.planning
From: Clint Talbert <ctalb...@mozilla.com>
Date: Wed, 08 Dec 2010 12:31:16 -0800
Local: Wed, Dec 8 2010 3:31 pm
Subject: Re: xpcshell debug on Win7 take long on the minis
On 12/7/2010 7:00 PM, Ehsan Akhgari wrote:

> Is it possible that the difference would be in our startup/shutdown
> times?  I noticed that we're about 7% slower in our startup time on
> Windows 7 compared to Windows XP<http://is.gd/in0q9>, and about 50%
> slower in our shutdown times on the same OSes<http://is.gd/in0I9>.

> (Note that the single most unusual thing about the xpcshell tests is
> that we basically startup and shutdown Gecko for every test, compared to
> once per suite).

> If this is really the case, we should probably have blocking bugs on
> file for investigating the issue...

Ehsan, you're absolutely right.  I filed bug 617503 [1], on this
yesterday and started trying to profile it.  There is ongoing analysis
in that bug (many many thanks to Jimm), but yes, we're spending all our
time in startup/shutdown.

Clint
[1]: https://bugzilla.mozilla.org/show_bug.cgi?id=617503


 
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.
End of messages
« Back to Discussions « Newer topic     Older topic »