Issue Details (XML | Word | Printable)

Key: CORE-2049
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Alexander Peshkov
Reporter: Alexander Peshkov
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Firebird Core

Performance regression - too many sigprocmask() system calls

Created: 22/Aug/08 09:07 AM   Updated: 26/Jan/09 09:24 AM
Component/s: Engine
Affects Version/s: 2.0.2, 2.0.3, 2.1.0, 2.0.4, 2.1.1
Fix Version/s: 2.0.5, 2.1.2

Time Tracking:
Not Specified

Planning Status: Unspecified


 Description  « Hide
Class SignalInhibit is using sigprocmask() system call to disable signals processing in critical parts of code. This leads to abnormally intensive flow of sigprocmask() system calls, causing performance problems in almost any engine operation mode.

 All   Comments   Work Log   Change History   Version Control   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Alexander Peshkov added a comment - 22/Aug/08 10:09 AM
Except when being in signal handler reverted to old way of signals disabling, which does not require system calls.

Great luck that HEAD is not touched - signals are not in use in it any more.