Summary: | >=timezone-data-2011h: Russia: Medvedev's federal law "On calculation of time" causes performance degradation in affected regions | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dmitry Bilunov <kmeaw> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | bircoph, kaikaikai, maksbotan |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Updated timezone-data to patch the performance issue
A patch file used by the ebuild A test case that shows the performance degradation |
Description
Dmitry Bilunov
2011-10-07 12:37:11 UTC
Created attachment 289069 [details]
Updated timezone-data to patch the performance issue
Created attachment 289071 [details, diff]
A patch file used by the ebuild
This patch disables the optimization routine in zic and adds a zero-correction rule since 1996 till "max" so Europe/Moscow becomes UTC+4 forever since 2011.
It works around the performance issue.
Created attachment 289073 [details]
A test case that shows the performance degradation
% time ./test
Fri Oct 7 16:02:51 2011
./test 3.91s user 0.00s system 99% cpu 3.917 total
% sudo cp /tmp/goodzone /usr/share/zoneinfo/Europe/Moscow
% time ./test
Fri Oct 7 16:03:07 2011
./test 1.13s user 0.00s system 99% cpu 1.139 total
Really good report, BUT, these type of things really need to be reported upstream: http://www.twinsun.com/tz/tz-link.htm. However, I'm not sure that there IS a home right now.. http://thread.gmane.org/gmane.comp.time.tz/4133 there is: https://mm.icann.org/mailman/listinfo/tz |