Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#7825 - apr threading performance optimization

Attached to Project: Arch Linux
Opened by Igor Galić (jMCg) - Wednesday, 15 August 2007, 22:00 GMT
Last edited by Jan de Groot (JGC) - Saturday, 25 August 2007, 12:34 GMT
Task Type Feature Request
Category Packages: Current
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 2007.08 Don't Panic
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Extract from http://httpd.apache.org/docs/2.2/misc/perf-tuning.html#compiletime:

Linux on x86
By default, APR uses mutex-based atomics on Linux. If you configure with --enable-nonportable-atomics, however, APR generates code that uses a 486 opcode for fast hardware compare-and-swap. This will result in more efficient atomic operations, but the resulting executable will run only on 486 and later chips (and not on 386).

Additional info:
* 1.2.8 and the soon to be 1.2.9 are both affected, as they default to the i386 compatible code.

As Arch is targeted for i686, I suggest adding this configure option to apr.
This task depends upon

Closed by  Jan de Groot (JGC)
Saturday, 25 August 2007, 12:34 GMT
Reason for closing:  Fixed

Loading...