Skip to content

Very slow when ripping multiple CDs at once due to performance bug in sox_ng #669

@dseomn

Description

@dseomn

While trying to rip 5 CDs at the same time, my CPU seems to be a bottleneck. Looking at top, sox seems to using the vast majority of the CPU time, and the Calculating peak level step is taking a while. The CPU is an Intel i5-11600 (6 cores, released in 2021), so I was surprised that that was a bottleneck for ripping CDs.

Looking at the documentation and code, it looks like the only thing the peak level is used for is to discard silent tracks 0. Would it make sense to add an option to skip peak detection on tracks 1+ to remove the CPU bottleneck?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions