mpd + high cpu usage

Iasen Kostov tbyte at OTEL.net
Wed Feb 23 04:08:26 PST 2005


Iasen Kostov wrote:

> Hi,
>    I'm running some pptp servers using poptop+ppp and now I'm trying 
> how the situation will look like with mpd. I'm comparing two pptp ACs 
> - one using poptop+ppp and one using mpd. Both have 250 connected 
> users who are generating about 1MByte/sec.
>
> poptop+ppp :
>
> CPU states: 13.6% user,  0.0% nice, 12.1% system, 20.6% interrupt, 
> 53.7% idle
>
> and many ppp + pptpctrl
>
> mpd:
>
> CPU states: 11.7% user,  0.0% nice, 33.1% system, 36.2% interrupt, 
> 19.1% idle
>
> 90677 root     111    0 11100K 10028K RUN    175:27 39.75% 39.75% mpd
> or
> 90677 root     111    0 11100K 10028K select 175:17 37.84% 37.84% mpd
>
> Interesting thing is that sometimes cpu usage of mpd falls to 3-4% and 
> the processor goes to 80% idle but only for a few seconds.
>
System is FreeBSD 5.3-STABLE #0: Sat Dec 11 02:13:32 EET 2004 on CPU: 
Intel(R) Pentium(R) 4 CPU 3.00GHz (3006.83-MHz 686-class CPU) with 1G RAM

#:> mpd -v
Version 3.18 (root at LANGW5.otel.net 19:21 21-Feb-2005)


Regards


More information about the freebsd-net mailing list