Closed
Bug 1341447
Opened 8 years ago
Closed 8 years ago
Setting TZ=:/etc/localtime will result in in fewer syscalls
Categories
(bugzilla.mozilla.org :: Infrastructure, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: dylan, Assigned: fubar)
References
()
Details
From the perl-side, we call localtime() at least once per request.
From apache, /etc/localtime lookups can be triggered in other code paths.
If not too much a hassle, ensuring that TZ=:/etc/localtime for all the webheads (or all bugzilla servers) would be a modest performance improvement.
Assignee | ||
Comment 1•8 years ago
|
||
Added this to one web node and did an off the cuff test and looked like it cut down on the number of syscalls a fair bit. Have added it to the /etc/environment file in puppet and will work on rebooting nodes, starting with dev.
Assignee: nobody → klibby
Assignee | ||
Comment 2•8 years ago
|
||
dev and stage done. will work on prod this afternoon.
Assignee | ||
Comment 3•8 years ago
|
||
prod webheads all done. a quick on the webheads didn't show a huge number of stats on /etc/localtime so I won't reboot them now; there's a new kernel we should upgrade to soon-ish, which is soon enough.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•