[asterisk-bugs] [JIRA] (ASTERISK-19595) Inefficient wav49 disk writes

Digium Subversion (JIRA) noreply at issues.asterisk.org
Thu Aug 8 13:43:03 CDT 2013


     [ https://issues.asterisk.org/jira/browse/ASTERISK-19595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Digium Subversion closed ASTERISK-19595.
----------------------------------------

    Resolution: Fixed
    
> Inefficient wav49 disk writes
> -----------------------------
>
>                 Key: ASTERISK-19595
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-19595
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Formats/format_wav_gsm
>    Affects Versions: 1.8.10.1, 10.2.1
>            Reporter: Byron Clark
>         Attachments: gsm_wav_only_update_header_on_close.patch
>
>
> Writing to a wav49 looks a lot like this:
> # Write GSM frame to end of file
> # Seek to end of file
> # Seek to header
> # Update file size
> # Seek to end of file
> # Repeat
> This pattern negates any attempt to use the stdio buffering setup in ast_writefile(). It also results in many small writes that require a seek going to the disk each second which translates to terrible disk performance when there are multiple wav49 files being written at the same time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list