Closed
Bug 542126
Opened 16 years ago
Closed 9 years ago
Investigate large Ts difference between rotating and static media on Linux
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: zwol, Assigned: joelr)
References
Details
Over in bug 525013, we discovered that Firefox is dramatically slower to start up under Linux than OSX on the same hardware, particularly when it's being loaded off a traditional spinning-platter hard drive. Compare these two graphs:
https://bugzilla.mozilla.org/attachment.cgi?id=422607 (OSX)
https://bugzilla.mozilla.org/attachment.cgi?id=423007 (Linux)
For purposes of this bug, ignore the three different lines on each graph. The y-axes are not the same, so pay attention to the scale. Linux builds are taking two or three *seconds* longer to start up on the same media, for spinning-platter hard drives. The difference is much smaller on SSD (the far right column) but it looks like OSX still has a ~300ms advantage.
A difference of this magnitude on the same hardware implies a serious problem at the OS level, I would be inclined to suspect that the Linux filesystem in use for these tests (ext4) is doing something very inefficient. We should investigate this with an eye to either finding some simple configuration changes that we can recommend to Linux users and distributions (on the order of "use btrfs not ext4" or "use these mount options"), or being able to report a bug to the Linux filesystem developers.
| Reporter | ||
Comment 1•16 years ago
|
||
I asked on irc.oftc.net #linuxfs and was told that latencytop <http://www.latencytop.org/> would be a good tool to investigate this with. The website is rather out of date. You don't have to patch the kernel, but you need >=2.6.25 and you may need to reconfigure it with CONFIG_LATENCYTOP turned on. Ubuntu should have a package of the user space utility. I don't know how to rebuild kernels on Ubuntu.
Comment 2•9 years ago
|
||
Sounds like a pretty serious performance issue. But my guess is it has been investigated in some way or another in the 7 years since there was activity on this bug.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
Updated•8 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•