Closed
Bug 889475
Opened 11 years ago
Closed 6 years ago
Why are xpcshell tests so much faster on WinXP than on Win7/8?
Categories
(Testing :: XPCShell Harness, defect)
Tracking
(Not tracked)
RESOLVED
INACTIVE
People
(Reporter: ted, Unassigned)
References
Details
I did a Windows-only Try push investigating bug 874647, and I noticed that our xpcshell tests seem to be substantially faster on WinXP than on Win7 or Win8. On my Try push the WinXP opt xpcshell run took 27 minutes, Win7 opt took 54 minutes, and Win8 opt took 64 minutes:
https://tbpl.mozilla.org/?tree=Try&rev=952274c52b4c
These are all running on the new IX slaves, so they should be on equivalent hardware.
Reporter | ||
Comment 1•11 years ago
|
||
Actually this is probably just a dupe of our old bug 617503 that we never found any root cause for. :-(
Reporter | ||
Comment 2•11 years ago
|
||
(Although it shows up on the new IX hardware, which is an interesting data point.)
Comment 3•11 years ago
|
||
Is it possible that we haven't disabled the search indexing service on win7/win8 slave configuration?
Flags: needinfo?(bhearsum)
Comment 4•11 years ago
|
||
Are we using FAT drives for win7/win8?
Comment 5•11 years ago
|
||
(In reply to Benjamin Smedberg [:bsmedberg] from comment #3)
> Is it possible that we haven't disabled the search indexing service on
> win7/win8 slave configuration?
I'm not sure off the top of my head, cc'ing a couple of people that might know. If they don't I'll try to look into this tomorrow.
Comment 6•11 years ago
|
||
We also might want to check ipv6 networking, we fixed something like this before -
http://mxr.mozilla.org/mozilla-central/source/testing/xpcshell/head.js#68
maybe this regressed somehow.
Comment 7•11 years ago
|
||
Maybe Windows Defender? It's enabled by default on Vista+.
http://en.wikipedia.org/wiki/Windows_Defender
Comment 8•11 years ago
|
||
(In reply to Jim Mathies [:jimm] from comment #6)
> We also might want to check ipv6 networking, we fixed something like this
> before -
>
> http://mxr.mozilla.org/mozilla-central/source/testing/xpcshell/head.js#68
>
> maybe this regressed somehow.
Rather we should add tests for IPv6. IPv6 networking is sometimes broken silently because of lacking the tests.
Comment 9•11 years ago
|
||
XP:
* Indexing is off ("Allow Indexing Service to index this disk for fast file searching" is checked, Indexing Service is disabled)
* Disk is NTFS
* IPv6 is disabled
* Windows Defender is not installed
Windows 7:
* Indexing is off ("Allow files on this drive to have contents indexed in addition to file properties" is checked, but the Windows Search service is off)
* Disk is NTFS
* IPv6 is enabled
* Windows Defender is on.
Windows 8:
* Indexing is off ("Allow files on this drive to have contents indexed in addition to file properties" is checked, but the Windows Search service is off)
* Disk is NTFS
* IPv6 is enabled
* Windows Defender is on
I filed bug 889976 to get it disabled.
Comment 10•11 years ago
|
||
Unrelated but when did we switch to ntfs? (That's great!) I think we have some xpcshell tests specific to ntfs features we can enable now.
Comment 11•11 years ago
|
||
We've been using NTFS for as long as I can remember! Maybe since 2008 or 2009?
Flags: needinfo?(bhearsum)
Comment 12•11 years ago
|
||
We used to use FAT32 specifically because it was significantly faster than NTFS, at least if you have ACL-checking turned on. I still keep my build partitions on FAT32 for that reason.
Comment 13•11 years ago
|
||
(In reply to Benjamin Smedberg [:bsmedberg] from comment #12)
> We used to use FAT32 specifically because it was significantly faster than
> NTFS, at least if you have ACL-checking turned on. I still keep my build
> partitions on FAT32 for that reason.
I'm not sure what happened to this. Not sure if it was a conscious choice or not. I'm not sure this makes as much of a difference on test machines, though. I just looked and the build machine drives are NTFS too =\.
Comment 14•11 years ago
|
||
Windows Defender is disabled now (per https://bugzilla.mozilla.org/show_bug.cgi?id=889976#c2)
Comment 15•11 years ago
|
||
Is ipv6 a requirement for the tester machines or should I disable it as well ?
Reporter | ||
Comment 16•11 years ago
|
||
Per comment 6 we don't currently need ipv6 networking.
Comment 17•11 years ago
|
||
I miss read that comment. I will get it turned off.
Comment 18•11 years ago
|
||
So did anything improve here?
Reporter | ||
Comment 19•11 years ago
|
||
I don't have a good way to say for sure, but poking around the buildcharts shows:
http://brasstacks.mozilla.com/gofaster/buildchart.html#/builds/5ea208e46b01405ea3ad68483a7b274d
xpcshell on XP taking 25 minutes
xpcshell on Win7 taking 54 minutes
xpcshell on Win8 taking 64 minutes.
...which is just about identical to what I said in comment 0. :-(
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
You need to log in
before you can comment on or make changes to this bug.
Description
•