Bug 694981

Summary: Pulseaudio is trying to read .la files that doesn't exist, results much I/O during boot
Product: [Fedora] Fedora Reporter: Elad Alfassa <elad>
Component: pulseaudioAssignee: Lennart Poettering <lpoetter>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: brendan.jones.it, lkundrak, lpoetter
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-10 08:38:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
strace pulseaudio &> trace-full; cat trace-full | grep lib | grep la none

Description Elad Alfassa 2011-04-09 11:55:47 UTC
Created attachment 490952 [details]
strace pulseaudio &> trace-full; cat trace-full | grep lib | grep la

Traced with strace pulseaudio &> trace-full; cat trace-full | grep lib | grep la
I discovered that pulesaudio does a lot of I/O during boot (about 5 seconds).
Those la files doesn't exist in fedora, so pulseaudio should not try reading them, thus save I/O time and gain some speedup.

Comment 1 Brendan Jones 2011-04-10 08:11:40 UTC
The I/O you are seeing is libtool loading the .so of the same name.

Comment 2 Elad Alfassa 2011-04-10 08:20:35 UTC
Then why are all those "No such file or directory" errors? Those useless fopen calls can take 0.05 seconds each, and with 91 calls, it's 4.55 seconds of I/O that could be saved.