Wikia

Music Player Daemon Community Wiki

Watchlist Recent changes

Oprofile

Oprofile is a kernel based profiler on Linux. It is an excellent tool for system wide profiling. If MPD is slow, or you suspect it consumes too much CPU, we would like to see your oprofile report.

You have to use an oprofile enabled kernel. Most distributions ship oprofile as a kernel module. Load it with "modprobe oprofile".

Install the oprofile userspace utilities: "apt-get install oprofile" on Debian. Be sure to have a MPD with debugging symbols (package "mpd-dbg" on Debian).

Start MPD, and start the oprofile (as root):

opcontrol --reset
opcontrol --start

Now use MPD. Let it play something, trigger the problem where it consumes too much CPU. Let it run a few minutes. Then stop the oprofile:

opcontrol --stop

To generate the report, type:

opreport -g --symbols

Send this file to the mailing list or to the bug tracker.

See also Edit

Tuning

Pages on Music Player Daemon Community Wiki

Add a Page
543pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
114photos on this wiki
See more >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki