Opened 22 months ago

Last modified 22 months ago

#18216 new enhancement

ffmpeg shows little usage of a large number of threads

Reported by: humdinger Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System/Kernel Version: R1/beta4
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Please refer to the forum thread ffmpeg's threads/cpu usage.

While ffmpeg under Linux shows a similarly large number of threads, it has a combined cpu usage of around 70%, while Haiku is at a max of 50%. Overall speed reported by ffmpeg for a test encoding is around 13x under Linux, 9.5x under Haiku.

As waddlesplash said:

This looks like a job for scheduling_recorder and DebugAnalyzer to determine where the bottlenecks are, if it doesn't appear I/O is the problem. Probably worth opening a ticket, as this looks like something that could be "low-hanging fruit" performance-wise.

Change History (1)

comment:1 by waddlesplash, 22 months ago

Component: Kits/Kernel KitSystem/Kernel
Note: See TracTickets for help on using tickets.