MPD hickups - worth building a realtime kernel? May 21, 2011 02:51AM |
Registered: 12 years ago Posts: 5 |
Re: MPD hickups - worth building a realtime kernel? May 21, 2011 07:11AM |
Registered: 13 years ago Posts: 218 |
Re: MPD hickups - worth building a realtime kernel? May 21, 2011 07:32AM |
Registered: 12 years ago Posts: 5 |
#uname -a Linux test2 2.6.32-5-kirkwood #1 Tue Mar 8 10:56:14 UTC 2011 armv5tel GNU/Linux
# cat /etc/apt/sources.list deb http://cdn.debian.net/debian squeeze main
# mpd -V mpd (MPD: Music Player Daemon) 0.16.1 Copyright (C) 2003-2007 Warren Dukes <warren.dukes@gmail.com> Copyright (C) 2008-2010 Max Kellermann <max@duempel.org> This is free software; see the source for copying conditions. There is NO warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Supported decoders: [mad] mp3 mp2 [oggflac] ogg oga [flac] flac [sndfile] wav aiff aif au snd paf iff svx sf voc w64 pvf xi htk caf sd2 [audiofile] wav au aiff aif [faad] aac [mpcdec] mpc [wavpack] wv [ffmpeg] 16sv 3g2 3gp 4xm 8svx aa3 aac ac3 afc aif aifc aiff al alaw amr anim apc ape asf atrac au aud avi avm2 avs bap bfi c93 cak cin cmv cpk daud dct divx dts dv dvd dxa eac3 film flac flc fli fll flx flv g726 gsm gxf iss m1v m2v m2t m2ts m4a m4b m4v mad mj2 mjpeg mjpg mka mkv mlp mm mmf mov mp+ mp1 mp2 mp3 mp4 mpc mpeg mpg mpga mpp mpu mve mvi mxf nc nsv nut nuv oga ogm ogv ogx oma ogg omg psp pva qcp qt r3d ra ram rl2 rm rmvb roq rpl rvc shn smk snd sol son spx str swf tgi tgq tgv thp ts tsp tta xa xvid uv uv2 vb vid vob voc vp6 vmd wav wma wmv wsaud wsvga wv wve Supported outputs: shout null fifo alsa ao oss httpd recorder Supported encoders: null vorbis wave flac Supported protocols: file:// http:// mms:// mmsh:// mmst:// mmsu:// gopher:// rtp:// rtsp:// rtmp:// rtmpt:// rtmps://
music_directory "/var/lib/mpd/music" playlist_directory "/var/lib/mpd/playlists" volume_normalization "yes" db_file "/var/lib/mpd/tag_cache" log_file "/var/log/mpd.log" pid_file "/var/run/mpd/pid" state_file "/var/lib/mpd/state" user "mpd" bind_to_address "any" follow_outside_symlinks "yes" follow_inside_symlinks "yes" input { plugin "curl" } audio_output { type "alsa" name "My ALSA Device" #audio_output_format "48000:16:2" audio_output_format "48000:1" #samplerate_converter "Linear Interpolator" #samplerate_converter "Internal" #samplerate_converter "Fastest Sinc Interpolator" samplerate_converter "Best Sinc Interpolator" device "hw:1,0" # optional #format "44800:16:2" # optional #mixer_device "default" # optional #mixer_control "PCM" # optional #mixer_index "0" # optional } mixer_type "hardware" audio_buffer_size "4096" buffer_before_play "30%" filesystem_charset "UTF-8" id3v1_encoding "UTF-8"
# cat /etc/asound.conf . pcm.!default { type plug slave.pcm { type dmix ipc_key 1024 slave { pcm "hw:1,0" #rate 44800 } } }
top - 12:31:14 up 2:40, 1 user, load average: 0.03, 0.05, 0.00 Tasks: 49 total, 1 running, 48 sleeping, 0 stopped, 0 zombie Cpu(s): 7.6%us, 0.7%sy, 0.0%ni, 91.4%id, 0.0%wa, 0.3%hi, 0.0%si, 0.0%st Mem: 125724k total, 38984k used, 86740k free, 0k buffers Swap: 0k total, 0k used, 0k free, 20564k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 690 mpd 20 0 57000 7816 2272 S 4.3 6.2 7:37.88 mpd 3178 root 20 0 2552 1160 936 R 0.7 0.9 0:00.20 top 3184 root 20 0 1768 516 440 S 0.3 0.4 0:00.01 ping 1 root 20 0 2020 696 604 S 0.0 0.6 0:01.83 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.01 kthreadd 3 root 20 0 0 0 0 S 0.0 0.0 0:00.14 ksoftirqd/0 4 root RT 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/0 5 root 20 0 0 0 0 S 0.0 0.0 0:00.10 events/0 6 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuset 7 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khelper 8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 netns 9 root 20 0 0 0 0 S 0.0 0.0 0:00.00 async/mgr
Re: MPD hickups - worth building a realtime kernel? May 21, 2011 11:37AM |
Registered: 13 years ago Posts: 218 |
Re: MPD hickups - worth building a realtime kernel? May 21, 2011 01:44PM |
Registered: 12 years ago Posts: 5 |
# chkconfig --list |grep 5:on bootlogs 0:off 1:on 2:on 3:on 4:on 5:on 6:off mpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off ntp 0:off 1:off 2:on 3:on 4:on 5:on 6:off rc.local 0:off 1:off 2:on 3:on 4:on 5:on 6:off rmnologin 0:off 1:off 2:on 3:on 4:on 5:on 6:off ssh 0:off 1:off 2:on 3:on 4:on 5:on 6:off stop-bootlogd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
Re: MPD hickups - worth building a realtime kernel? May 21, 2011 03:35PM |
Registered: 13 years ago Posts: 218 |